body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 74% 14%, rgba(124, 201, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 18% 12%, rgba(246, 179, 90, 0.15), transparent 24rem),
        linear-gradient(180deg, #030407 0%, #05070d 42%, #030407 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 72%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3,4,7,0.2), rgba(3,4,7,0.92) 82%);
}

#three-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.home-hero {
    min-height: calc(100svh - 3.35rem);
    padding-top: clamp(5.6rem, 11vh, 7.4rem);
    padding-bottom: clamp(2rem, 5vh, 3.25rem);
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 62% 44%, rgba(246, 179, 90, 0.08), transparent 25rem),
        linear-gradient(180deg, rgba(3,4,7,0.06), rgba(3,4,7,0.62));
}

.home-hero > .mx-auto {
    position: relative;
    z-index: 3;
}

.font-display { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }

.glass {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.hairline {
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
}

.mission-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.055);
    color: rgba(247,242,234,0.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.mission-pill::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 18px rgba(117,240,176,0.9);
}

.headline {
    font-size: clamp(2.8rem, 8.8vw, 7.85rem);
    line-height: 0.88;
    letter-spacing: 0;
}

.hero-emblem {
    transform-style: preserve-3d;
}

.hero-logo {
    animation: logo-float 6.5s ease-in-out infinite;
}

.space-lane {
    position: absolute;
    left: -12%;
    right: -12%;
    z-index: 2;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(124, 201, 255, 0.22), transparent);
    opacity: 0.55;
    transform: rotate(-11deg);
}

.lane-one {
    top: 34%;
    animation: lane-drift 13s linear infinite;
}

.lane-two {
    top: 62%;
    opacity: 0.34;
    transform: rotate(-16deg);
    animation: lane-drift 18s linear infinite reverse;
}

.spacecraft {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    color: rgba(247, 242, 234, 0.52);
    filter: drop-shadow(0 0 18px rgba(124, 201, 255, 0.34));
    will-change: transform;
}

.rocket {
    left: -4rem;
    top: 32%;
    font-size: 1.15rem;
    color: rgba(246, 179, 90, 0.72);
    animation: rocket-pass 18s linear infinite;
}

.satellite {
    font-size: 1rem;
}

.satellite-one {
    right: 9%;
    top: 23%;
    animation: satellite-drift 16s ease-in-out infinite;
}

.satellite-two {
    left: 12%;
    bottom: 18%;
    opacity: 0.46;
    animation: satellite-drift 22s ease-in-out infinite reverse;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.text-balance { text-wrap: balance; }

.copy-toast {
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.orbit {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    transform: rotate(-16deg);
    opacity: 0.78;
}

.orbit::after {
    content: "";
    position: absolute;
    top: 12%;
    left: 15%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 22px rgba(124,201,255,0.85);
}

.trajectory {
    background:
        linear-gradient(90deg, rgba(246,179,90,0.9), rgba(124,201,255,0.75)),
        linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.1));
    height: 1px;
}

.step-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 0 0 6px rgba(247,242,234,0.07), 0 0 28px rgba(246,179,90,0.45);
}

.btn-primary {
    background: linear-gradient(135deg, #fff6df 0%, #f6b35a 44%, #ff6b4a 100%);
    color: #170d06;
    box-shadow: 0 16px 48px rgba(255, 107, 74, 0.22);
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--ink);
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.nav-link {
    color: rgba(247,242,234,0.68);
    transition: color 180ms ease;
}

.nav-link:hover { color: var(--ink); }

.ticker {
    position: relative;
    z-index: 4;
    margin-top: 0;
    mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.ticker-track {
    width: max-content;
    animation: drift 34s linear infinite;
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes logo-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -12px, 0) rotate(1.2deg); }
}

@keyframes lane-drift {
    from { background-position: 0 0; transform: translateX(-3%) rotate(-11deg); }
    to { background-position: 28rem 0; transform: translateX(3%) rotate(-11deg); }
}

@keyframes rocket-pass {
    0% { transform: translate3d(-6vw, 8vh, 0) rotate(-18deg); opacity: 0; }
    12% { opacity: 0.75; }
    72% { opacity: 0.75; }
    100% { transform: translate3d(112vw, -18vh, 0) rotate(-18deg); opacity: 0; }
}

@keyframes satellite-drift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
    50% { transform: translate3d(-24px, 16px, 0) rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticker-track,
    .hero-logo,
    .space-lane,
    .spacecraft { animation: none; }
}

@media (max-width: 767px) {
    .orbit { inset: 12%; }
    .home-hero {
        min-height: calc(100svh - 3.2rem);
        padding-top: 5.3rem;
    }
    .headline {
        font-size: clamp(2.55rem, 14vw, 4.45rem);
    }
    .rocket,
    .satellite-two {
        display: none;
    }
}

@media (max-height: 820px) and (min-width: 768px) {
    .home-hero {
        padding-top: 5.1rem;
        padding-bottom: 0.85rem;
    }

    .headline {
        font-size: clamp(2.7rem, 7.4vw, 6.4rem);
    }

    .mission-pill {
        margin-bottom: 1rem !important;
    }

    .home-hero p {
        margin-top: 0.9rem !important;
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
    }

    .hero-actions {
        margin-top: 1rem !important;
    }

    .hero-stats {
        margin-top: 1.15rem !important;
    }

    .hero-emblem {
        max-width: 520px !important;
    }
}

@media (max-height: 720px) and (min-width: 768px) {
    .home-hero {
        min-height: calc(100svh - 2.85rem);
        padding-bottom: 1.75rem;
    }

    .home-hero .hairline {
        padding: 0.75rem !important;
    }
}
