:root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #b6b6b6;
    --line: rgba(255, 255, 255, 0.16);
    --line-soft: rgba(255, 255, 255, 0.08);
    --glow: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    letter-spacing: 0.02em;
}

.stage {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    isolation: isolate;
}

.aurora,
.aurora::before,
.aurora::after {
    position: absolute;
    inset: -20vmax;
    content: "";
    pointer-events: none;
    z-index: -3;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.10), transparent 60%);
    will-change: transform;
    animation: drift 16s ease-in-out infinite alternate;
}

.aurora::before {
    animation-duration: 24s;
    animation-delay: -6s;
    transform: translate(-12%, -8%);
}

.aurora::after {
    animation-duration: 20s;
    animation-delay: -11s;
    transform: translate(10%, 12%);
}

.scanlines {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.25;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 4px,
        rgba(255, 255, 255, 0.04) 5px,
        rgba(255, 255, 255, 0.04) 6px
    );
    /* static — no animation to avoid continuous repaints */
}

.grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(to right, var(--line-soft) 1px, transparent 1px) 0 0 / 50px 50px,
        linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px) 0 0 / 50px 50px;
    mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
}

.panel {
    width: min(760px, 92vw);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(1.6rem, 2.8vw, 2.8rem);
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
    animation: panel-in 900ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 1.25rem;
    animation: rise 900ms 120ms both;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    opacity: 1;
    animation: dot-blink 2s ease-in-out infinite;
}

h1 {
    font-size: clamp(2.4rem, 10vw, 6.1rem);
    line-height: 0.96;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: rise 900ms 250ms both;
    text-wrap: balance;
}

.subtitle {
    margin-top: 1.15rem;
    max-width: 62ch;
    color: #d6d6d6;
    line-height: 1.65;
    font-size: clamp(0.98rem, 2vw, 1.14rem);
    animation: rise 900ms 380ms both;
}

.actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    animation: rise 900ms 500ms both;
}

.btn,
.ghost {
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 0.82rem 1.2rem;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.btn {
    background: #fff;
    color: #000;
    font-weight: 700;
}

.ghost {
    color: #fff;
    background: transparent;
}

.btn:hover,
.ghost:hover {
    transform: translateY(-2px);
}

.btn:hover {
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.18);
}

.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line-soft);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.7rem 1.6rem;
    flex-wrap: wrap;
    animation: rise 900ms 640ms both;
}

.contact p {
    color: #d6d6d6;
    font-size: 0.94rem;
}

.contact strong {
    color: #fff;
    letter-spacing: 0.09em;
}

.ticker-wrap {
    margin-top: 2rem;
    overflow: hidden;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.7rem 0;
    animation: rise 900ms 760ms both;
}

.ticker {
    white-space: nowrap;
    display: inline-block;
    min-width: 100%;
    will-change: transform;
    animation: ticker 16s linear infinite;
    color: #e8e8e8;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

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

@keyframes drift {
    0% {
        transform: translate(-5%, -2%) scale(1);
    }
    50% {
        transform: translate(4%, 3%) scale(1.08);
    }
    100% {
        transform: translate(-2%, 6%) scale(0.96);
    }
}

@media (max-width: 680px) {
    .stage {
        padding: 1rem;
    }

    .panel {
        border-radius: 22px;
    }

    .contact {
        align-items: flex-start;
    }
}
