.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: var(--space-xl);
    overflow: hidden;
    isolation: isolate;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero__aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.75;
    mix-blend-mode: screen;
}

.hero__aurora--1 {
    width: min(90vw, 720px);
    height: min(70vw, 560px);
    top: -15%;
    right: -10%;
    background: radial-gradient(
        circle,
        rgba(91, 154, 255, 0.35) 0%,
        rgba(59, 91, 219, 0.2) 35%,
        transparent 70%
    );
    animation: aurora-drift 22s ease-in-out infinite alternate;
}

.hero__aurora--2 {
    width: min(70vw, 540px);
    height: min(60vw, 480px);
    bottom: -5%;
    right: 5%;
    background: radial-gradient(
        circle,
        rgba(123, 92, 240, 0.28) 0%,
        rgba(59, 91, 219, 0.12) 40%,
        transparent 70%
    );
    animation: aurora-drift 30s ease-in-out infinite alternate-reverse;
}

.hero__aurora--3 {
    width: min(50vw, 400px);
    height: min(45vw, 360px);
    top: 20%;
    left: -8%;
    background: radial-gradient(
        circle,
        rgba(77, 212, 255, 0.12) 0%,
        transparent 65%
    );
    animation: aurora-drift 26s ease-in-out infinite alternate;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.hero__glow--visual {
    width: min(100vw, 900px);
    height: min(90vw, 800px);
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(91, 154, 255, 0.22) 0%,
        rgba(123, 92, 240, 0.14) 35%,
        transparent 65%
    );
}

.hero__glow--text {
    width: min(60vw, 480px);
    height: min(50vw, 400px);
    top: 30%;
    left: -5%;
    background: radial-gradient(
        circle,
        rgba(59, 91, 219, 0.1) 0%,
        transparent 70%
    );
}

.hero__grid-texture {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(180, 191, 208, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 191, 208, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 15%, transparent 75%);
}

.hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.hero__visual-wrap {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

@media (min-width: 960px) {
    .hero__visual-wrap {
        top: calc(var(--header-height) + 0.75rem);
        right: clamp(0rem, 1vw, 1rem);
        width: min(58vw, 760px);
        height: min(calc(100svh - var(--header-height) - 1.5rem), 760px);
        max-height: calc(100svh - var(--header-height) - 1.5rem);
        transform: none;
        opacity: 1;
        overflow: hidden;
    }
}

@media (max-width: 959px) {
    .hero__visual-wrap {
        top: 6%;
        right: 50%;
        width: 130vw;
        height: 130vw;
        max-width: 520px;
        max-height: 520px;
        transform: translate(50%, 0);
        opacity: 0.5;
        overflow: hidden;
    }
}

.hero__content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 38rem;
    padding-block: var(--space-md);
}

@media (max-width: 959px) {
    .hero__content {
        padding-top: min(42vw, 240px);
    }
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 24px rgba(214, 185, 120, 0.2);
}

.hero__title {
    font-size: clamp(2.25rem, 6.5vw, 3.875rem);
    font-weight: 700;
    line-height: 1.06;
    margin-bottom: var(--space-md);
}

.hero__title-accent {
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        var(--champagne) 55%,
        var(--cyan) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__lead {
    font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    max-width: 34rem;
}

.hero__highlight {
    font-size: clamp(1rem, 2vw, 1.0625rem);
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 480px) {
    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* Hero 3D Tunnel Visual */
.tunnel-visual {
    --px: 0px;
    --py: 0px;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.tunnel-visual__ambient {
    position: absolute;
    inset: -8%;
    background:
        radial-gradient(ellipse 80% 70% at 52% 50%, rgba(91, 154, 255, 0.2) 0%, transparent 58%),
        radial-gradient(ellipse 60% 50% at 68% 62%, rgba(123, 92, 240, 0.14) 0%, transparent 52%);
    filter: blur(36px);
    pointer-events: none;
}

.tunnel-visual__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}

.tunnel-visual__glow--violet {
    width: 48%;
    height: 42%;
    top: 14%;
    right: 6%;
    background: rgba(123, 92, 240, 0.22);
    animation: glow-pulse 11s ease-in-out infinite;
}

.tunnel-visual__glow--cyan {
    width: 42%;
    height: 36%;
    bottom: 16%;
    left: 10%;
    background: rgba(77, 212, 255, 0.18);
    animation: glow-pulse 9s ease-in-out infinite reverse;
}

.tunnel-visual__glow--core {
    width: 38%;
    height: 32%;
    top: 38%;
    left: 38%;
    background: rgba(91, 154, 255, 0.16);
    filter: blur(88px);
    animation: tunnel-focal-glow 7s ease-in-out infinite;
}

.tunnel-visual__beam {
    position: absolute;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(77, 212, 255, 0.28),
        rgba(214, 185, 120, 0.08),
        rgba(123, 92, 240, 0.16),
        transparent
    );
    filter: blur(0.5px);
    pointer-events: none;
    opacity: 0.4;
}

.tunnel-visual__beam--1 {
    width: 120%;
    top: 44%;
    left: -10%;
    transform: rotate(-5deg);
    animation: showcase-beam-drift 18s ease-in-out infinite;
}

.tunnel-visual__beam--2 {
    width: 90%;
    bottom: 34%;
    right: -4%;
    transform: rotate(8deg);
    animation: showcase-beam-drift 22s ease-in-out infinite reverse;
}

.tunnel-visual__scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1100px;
    perspective-origin: 46% 50%;
    transform-style: preserve-3d;
}

.tunnel-visual__rig {
    position: relative;
    width: 72%;
    height: 72%;
    transform-style: preserve-3d;
    transform:
        rotateY(14deg) rotateX(7deg)
        translate(calc(var(--px) * 0.35), calc(var(--py) * 0.25));
}

.tunnel-visual__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    pointer-events: none;
}

.tunnel-visual__ring-face {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.125rem;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        rgba(22, 36, 62, 0.22) 0%,
        rgba(10, 18, 36, 0.08) 48%,
        rgba(16, 28, 50, 0.16) 100%
    );
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tunnel-visual__ring-edge {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(77, 212, 255, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(123, 92, 240, 0.08),
        0 0 18px rgba(77, 212, 255, 0.06);
    animation: tunnel-edge-pulse 8s ease-in-out infinite;
}

.tunnel-visual__ring-shimmer {
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 42%,
        rgba(77, 212, 255, 0.08) 50%,
        rgba(214, 185, 120, 0.04) 56%,
        transparent 100%
    );
    animation: showcase-shimmer 12s ease-in-out infinite;
    pointer-events: none;
}

.tunnel-visual__ring--l1 {
    width: 142%;
    transform: translate(-50%, -50%) translateZ(110px)
        translate(calc(var(--px) * 0.55), calc(var(--py) * 0.38));
    opacity: 0.1;
    filter: blur(2px);
}

.tunnel-visual__ring--l2 {
    width: 124%;
    transform: translate(-50%, -50%) translateZ(70px)
        translate(calc(var(--px) * 0.48), calc(var(--py) * 0.34));
    opacity: 0.14;
    filter: blur(1.5px);
}

.tunnel-visual__ring--l3 {
    width: 108%;
    transform: translate(-50%, -50%) translateZ(30px)
        translate(calc(var(--px) * 0.4), calc(var(--py) * 0.28));
    opacity: 0.18;
    filter: blur(1px);
}

.tunnel-visual__ring--l4 {
    width: 94%;
    transform: translate(-50%, -50%) translateZ(-10px)
        translate(calc(var(--px) * 0.32), calc(var(--py) * 0.22));
    opacity: 0.24;
}

.tunnel-visual__ring--l5 {
    width: 80%;
    transform: translate(-50%, -50%) translateZ(-50px)
        translate(calc(var(--px) * 0.26), calc(var(--py) * 0.18));
    opacity: 0.34;
}

.tunnel-visual__ring--l6 {
    width: 66%;
    transform: translate(-50%, -50%) translateZ(-90px)
        translate(calc(var(--px) * 0.2), calc(var(--py) * 0.14));
    opacity: 0.42;
}

.tunnel-visual__ring--l7 {
    width: 52%;
    transform: translate(-50%, -50%) translateZ(-130px)
        translate(calc(var(--px) * 0.14), calc(var(--py) * 0.1));
    opacity: 0.5;
}

.tunnel-visual__ring--l8 {
    width: 40%;
    transform: translate(-50%, -50%) translateZ(-170px)
        translate(calc(var(--px) * 0.1), calc(var(--py) * 0.07));
    opacity: 0.58;
}

.tunnel-visual__ring--l1 .tunnel-visual__ring-edge { border-color: rgba(180, 191, 208, 0.12); }
.tunnel-visual__ring--l2 .tunnel-visual__ring-edge { border-color: rgba(77, 212, 255, 0.14); }
.tunnel-visual__ring--l3 .tunnel-visual__ring-edge { border-color: rgba(91, 154, 255, 0.17); }
.tunnel-visual__ring--l4 .tunnel-visual__ring-edge { border-color: rgba(77, 212, 255, 0.21); }
.tunnel-visual__ring--l5 .tunnel-visual__ring-edge {
    border-color: rgba(123, 92, 240, 0.34);
    box-shadow:
        inset 0 0 0 1px rgba(77, 212, 255, 0.1),
        0 0 14px rgba(77, 212, 255, 0.08);
}
.tunnel-visual__ring--l6 .tunnel-visual__ring-edge {
    border-color: rgba(77, 212, 255, 0.42);
    box-shadow:
        inset 0 0 0 1px rgba(91, 154, 255, 0.12),
        0 0 16px rgba(77, 212, 255, 0.1);
}
.tunnel-visual__ring--l7 .tunnel-visual__ring-edge {
    border-color: rgba(91, 154, 255, 0.48);
    box-shadow:
        inset 0 0 0 1px rgba(77, 212, 255, 0.14),
        0 0 18px rgba(91, 154, 255, 0.11);
}
.tunnel-visual__ring--l8 .tunnel-visual__ring-edge {
    border-color: rgba(77, 212, 255, 0.54);
    box-shadow:
        inset 0 0 0 1px rgba(123, 92, 240, 0.1),
        0 0 20px rgba(77, 212, 255, 0.12);
}

.tunnel-visual__focal {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) translateZ(-220px)
        translate(calc(var(--px) * 0.08), calc(var(--py) * 0.06));
    z-index: 10;
}

.tunnel-visual__focal-glow {
    position: absolute;
    width: 165%;
    height: 175%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-12px);
    background:
        radial-gradient(ellipse 72% 62% at 50% 50%, rgba(77, 212, 255, 0.4) 0%, transparent 58%),
        radial-gradient(ellipse 92% 82% at 50% 50%, rgba(91, 154, 255, 0.2) 0%, transparent 66%),
        radial-gradient(ellipse 105% 92% at 50% 50%, rgba(123, 92, 240, 0.12) 0%, transparent 74%);
    filter: blur(20px);
    pointer-events: none;
    animation: tunnel-focal-glow 6s ease-in-out infinite;
}

.tunnel-visual__focal-beam {
    position: absolute;
    width: 240%;
    height: 130%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-20px);
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(77, 212, 255, 0.08) 35%,
        rgba(91, 154, 255, 0.14) 50%,
        rgba(123, 92, 240, 0.06) 58%,
        rgba(77, 212, 255, 0.08) 65%,
        transparent 100%
    );
    filter: blur(16px);
    opacity: 0.62;
    pointer-events: none;
    animation: tunnel-focal-glow 8s ease-in-out infinite reverse;
}

.tunnel-visual__logo-wrap {
    position: relative;
    z-index: 2;
    width: min(100%, 17.5rem);
    transform: translateZ(8px);
}

.tunnel-visual__logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter:
        brightness(0) invert(1) contrast(1.06)
        drop-shadow(0 0 8px rgba(180, 220, 255, 0.22))
        drop-shadow(0 0 18px rgba(77, 212, 255, 0.2))
        drop-shadow(0 4px 14px rgba(0, 0, 0, 0.32));
    opacity: 1;
}

.tunnel-visual__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 12;
    transform-style: preserve-3d;
}

.tunnel-visual__particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(77, 212, 255, 0.55);
}

.tunnel-visual__particle:nth-child(1) { top: 18%; left: 78%; animation: tunnel-particle-in 18s ease-in-out infinite; }
.tunnel-visual__particle:nth-child(2) { top: 72%; left: 82%; animation: tunnel-particle-in 21s ease-in-out infinite 2s; opacity: 0.45; }
.tunnel-visual__particle:nth-child(3) { top: 28%; left: 16%; animation: tunnel-particle-in 16s ease-in-out infinite 1s; opacity: 0.4; }
.tunnel-visual__particle:nth-child(4) { top: 62%; left: 12%; animation: tunnel-particle-in 20s ease-in-out infinite 3s; opacity: 0.35; }
.tunnel-visual__particle:nth-child(5) { top: 44%; left: 88%; animation: tunnel-particle-in 17s ease-in-out infinite 0.5s; opacity: 0.5; }
.tunnel-visual__particle:nth-child(6) { top: 52%; left: 50%; animation: tunnel-particle-in 19s ease-in-out infinite 1.5s; opacity: 0.3; }

@media (max-width: 959px) {
    .tunnel-visual__beam--2,
    .tunnel-visual__glow--core,
    .tunnel-visual__ring--l6,
    .tunnel-visual__ring--l7,
    .tunnel-visual__ring--l8,
    .tunnel-visual__particle:nth-child(n+5) {
        display: none;
    }

    .tunnel-visual__rig {
        width: 82%;
        height: 82%;
        transform:
            rotateY(8deg) rotateX(5deg)
            translate(calc(var(--px) * 0.2), calc(var(--py) * 0.14));
    }

    .tunnel-visual__ring--l1 {
        width: 132%;
        transform: translate(-50%, -50%) translateZ(70px)
            translate(calc(var(--px) * 0.3), calc(var(--py) * 0.2));
        opacity: 0.12;
    }

    .tunnel-visual__ring--l2 {
        width: 112%;
        transform: translate(-50%, -50%) translateZ(35px)
            translate(calc(var(--px) * 0.24), calc(var(--py) * 0.16));
        opacity: 0.16;
    }

    .tunnel-visual__ring--l3 {
        width: 94%;
        transform: translate(-50%, -50%) translateZ(0px)
            translate(calc(var(--px) * 0.18), calc(var(--py) * 0.12));
        opacity: 0.22;
    }

    .tunnel-visual__ring--l4 {
        width: 76%;
        transform: translate(-50%, -50%) translateZ(-35px)
            translate(calc(var(--px) * 0.14), calc(var(--py) * 0.1));
        opacity: 0.28;
    }

    .tunnel-visual__ring--l5 {
        width: 58%;
        transform: translate(-50%, -50%) translateZ(-70px)
            translate(calc(var(--px) * 0.1), calc(var(--py) * 0.07));
        opacity: 0.36;
    }

    .tunnel-visual__focal {
        transform: translate(-50%, -50%) translateZ(-150px)
            translate(calc(var(--px) * 0.06), calc(var(--py) * 0.04));
    }

    .tunnel-visual__logo-wrap {
        width: min(100%, 14rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__aurora--1,
    .hero__aurora--2,
    .hero__aurora--3,
    .tunnel-visual__glow--violet,
    .tunnel-visual__glow--cyan,
    .tunnel-visual__glow--core,
    .tunnel-visual__beam--1,
    .tunnel-visual__beam--2,
    .tunnel-visual__rig,
    .tunnel-visual__ring,
    .tunnel-visual__ring-edge,
    .tunnel-visual__ring-shimmer,
    .tunnel-visual__focal,
    .tunnel-visual__focal-glow,
    .tunnel-visual__focal-beam,
    .tunnel-visual__particle {
        animation: none;
    }

    .tunnel-visual__rig {
        transform: rotateY(14deg) rotateX(7deg);
    }

    .tunnel-visual__ring--l1 { transform: translate(-50%, -50%) translateZ(110px); }
    .tunnel-visual__ring--l2 { transform: translate(-50%, -50%) translateZ(70px); }
    .tunnel-visual__ring--l3 { transform: translate(-50%, -50%) translateZ(30px); }
    .tunnel-visual__ring--l4 { transform: translate(-50%, -50%) translateZ(-10px); }
    .tunnel-visual__ring--l5 { transform: translate(-50%, -50%) translateZ(-50px); }
    .tunnel-visual__ring--l6 { transform: translate(-50%, -50%) translateZ(-90px); }
    .tunnel-visual__ring--l7 { transform: translate(-50%, -50%) translateZ(-130px); }
    .tunnel-visual__ring--l8 { transform: translate(-50%, -50%) translateZ(-170px); }
    .tunnel-visual__focal { transform: translate(-50%, -50%) translateZ(-220px); }

    @media (max-width: 959px) {
        .tunnel-visual__rig {
            transform: rotateY(8deg) rotateX(5deg);
        }

        .tunnel-visual__ring--l1 { transform: translate(-50%, -50%) translateZ(70px); }
        .tunnel-visual__ring--l2 { transform: translate(-50%, -50%) translateZ(35px); }
        .tunnel-visual__ring--l3 { transform: translate(-50%, -50%) translateZ(0px); }
        .tunnel-visual__ring--l4 { transform: translate(-50%, -50%) translateZ(-35px); }
        .tunnel-visual__ring--l5 { transform: translate(-50%, -50%) translateZ(-70px); }
        .tunnel-visual__focal { transform: translate(-50%, -50%) translateZ(-150px); }
    }
}

