/* =============================================================================
   VANTAGE — official site design system
   Dark navy + glowing cyan "VA" identity. Shared across every page.
   ============================================================================= */

/* ----------------------------- Design tokens ----------------------------- */
:root {
    /* Backgrounds — deep navy gradient pulled from the logo */
    --bg-deep:   #050c14;
    --bg:        #081320;
    --bg-elev:   #0d1c2c;
    --bg-panel:  #0f2032;
    --navy:      #0b1a29;

    /* Cyan identity + glow */
    --cyan:      #6fe0e6;
    --cyan-2:    #3fb8c4;
    --cyan-deep: #1c6f7c;
    --cyan-glow: rgba(111, 224, 230, 0.55);

    /* Steel/slate accents (the "CLIENT" wordmark tone) */
    --steel:     #8fa8bd;

    /* Text */
    --text:      #eaf3f8;
    --text-dim:  #9fb3c4;
    --text-faint:#5f7488;

    /* Lines + glass */
    --border:    rgba(120, 190, 210, 0.12);
    --border-hi: rgba(120, 190, 210, 0.28);
    --glass:     rgba(15, 32, 50, 0.55);

    /* Accent gradient */
    --grad: linear-gradient(135deg, #7fe9ee 0%, #3fb8c4 55%, #2b93a8 100%);

    /* Shadows */
    --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --shadow-cy: 0 12px 40px -8px rgba(63, 184, 196, 0.35);

    --radius:    18px;
    --radius-sm: 12px;
    --maxw:      1180px;
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Ambient page background: layered radial glows + the base navy. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 600px at 78% -5%, rgba(63, 184, 196, 0.16), transparent 60%),
        radial-gradient(700px 500px at 12% 8%, rgba(43, 93, 120, 0.18), transparent 55%),
        radial-gradient(1000px 800px at 50% 110%, rgba(28, 111, 124, 0.12), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

/* Constellation canvas sits above the gradient, below content. */
#constellation {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.55;
    pointer-events: none;
}

h1, h2, h3, h4, .display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    padding: 7px 14px;
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    background: rgba(63, 184, 196, 0.06);
    backdrop-filter: blur(6px);
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
    animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ------------------------------ Buttons ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
                background 0.35s var(--ease), border-color 0.35s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad);
    color: #04222a;
    box-shadow: var(--shadow-cy);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px -6px rgba(63, 184, 196, 0.6);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: var(--border-hi);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: var(--cyan-2);
    background: rgba(63, 184, 196, 0.08);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ------------------------------ Navbar ----------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
                backdrop-filter 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(8, 19, 32, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .name { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand .name span { color: var(--steel); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link {
    font-size: 0.92rem;
    color: var(--text-dim);
    transition: color 0.25s var(--ease);
    position: relative;
}
.nav-links a.link:hover { color: var(--text); }
.nav-links a.link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* ------------------------------- Hero ------------------------------------ */
.hero {
    position: relative;
    padding: 190px 0 120px;
    text-align: center;
    overflow: hidden;
}
.hero-logo {
    width: 132px;
    height: auto;
    margin: 0 auto 30px;
    border-radius: 22px;
    filter: drop-shadow(0 0 40px rgba(63, 184, 196, 0.4));
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    margin: 22px 0 20px;
    font-weight: 700;
}
.hero p.sub {
    max-width: 620px;
    margin: 0 auto 38px;
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    color: var(--text-dim);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 66px;
    flex-wrap: wrap;
}
.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    font-weight: 600;
}
.stat .label {
    font-size: 0.82rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ----------------------------- Sections ---------------------------------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    margin: 18px 0 14px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------------------------- Feature grid ------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature {
    background: linear-gradient(160deg, var(--bg-panel), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
                box-shadow 0.4s var(--ease);
}
.feature::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-2), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.feature:hover {
    transform: translateY(-6px);
    border-color: var(--border-hi);
    box-shadow: var(--shadow);
}
.feature:hover::before { opacity: 1; }
.feature .ico {
    width: 50px; height: 50px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: rgba(63, 184, 196, 0.1);
    border: 1px solid var(--border-hi);
    color: var(--cyan);
}
.feature h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.96rem; }

/* ----------------------------- Pricing ----------------------------------- */
.pricing-wrap { display: flex; justify-content: center; }
.price-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(165deg, var(--bg-panel), var(--navy));
    border: 1px solid var(--border-hi);
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.price-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 80% -10%, rgba(63,184,196,0.18), transparent 60%);
    pointer-events: none;
}
.price-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    padding: 5px 12px;
    margin-bottom: 20px;
}
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 3.2rem; font-weight: 600; }
.price-amount span { font-size: 1rem; color: var(--text-faint); font-weight: 400; }
.price-list { list-style: none; margin: 26px 0 30px; }
.price-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 0;
    color: var(--text-dim);
    font-size: 0.96rem;
    border-bottom: 1px solid var(--border);
}
.price-list li svg { color: var(--cyan); flex-shrink: 0; }

/* Placeholder box where the SellAuth embed will be dropped in. */
.sellauth-slot {
    margin-top: 6px;
    min-height: 54px;
}

/* -------------------- 3D interactive launcher showcase ------------------- */
.showcase { padding: 60px 0 100px; }
.showcase-stage {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    perspective: 1600px;
}
.showcase-tilt {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.25s var(--ease);
    will-change: transform;
}
.showcase-glow {
    position: absolute;
    inset: -8% -4% -14%;
    background: radial-gradient(closest-side, rgba(63,184,196,0.4), transparent 72%);
    filter: blur(50px);
    opacity: 0.75;
    z-index: -1;
    transform: translateZ(-60px);
}
.showcase-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-hi);
    box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,0.4);
    background: var(--bg-elev);
    transform: translateZ(20px);
}
.showcase-frame img { width: 100%; display: block; }
/* Sheen that sweeps as the panel tilts. */
.showcase-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    transform: translateX(var(--sheen, -30%));
    transition: transform 0.2s var(--ease);
    pointer-events: none;
}
/* Floating chips that parallax at different depths. */
.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--glass);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    color: var(--text);
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.float-chip.c1 { top: 8%;  left: -6%;  transform: translateZ(70px); }
.float-chip.c2 { top: 44%; right: -8%; transform: translateZ(95px); }
.float-chip.c3 { bottom: 6%; left: 10%; transform: translateZ(55px); }
@media (max-width: 720px) {
    .float-chip.c1 { left: 2%; }
    .float-chip.c2 { right: 2%; }
}

/* ---------------------------- Trust / counter ---------------------------- */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.trust .t-item {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 18px;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.trust .t-item:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.trust .t-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
}
.trust .t-label { color: var(--text-faint); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------------------------- Pricing tiers ------------------------------ */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, var(--bg-panel), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 24px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: var(--shadow); }
.plan.popular {
    border-color: var(--cyan-2);
    box-shadow: var(--shadow-cy);
}
.plan.popular::before {
    content: "Most popular";
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #04222a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.plan .p-name { font-size: 1.02rem; color: var(--text-dim); font-weight: 600; }
.plan .p-price { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 600; margin: 10px 0 2px; }
.plan .p-price span { font-size: 0.95rem; color: var(--text-faint); font-weight: 400; }
.plan .p-unit { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 22px; min-height: 20px; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .plan-grid { grid-template-columns: 1fr; } }

/* ------------------------------- FAQ ------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 500;
    padding: 20px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-q .plus { color: var(--cyan); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
    color: var(--text-dim);
}
.faq-a p { padding: 0 22px 22px; }

/* ------------------------------ CTA band --------------------------------- */
.cta-band {
    text-align: center;
    background: linear-gradient(150deg, var(--bg-panel), var(--navy));
    border: 1px solid var(--border-hi);
    border-radius: 28px;
    padding: 66px 30px;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 50% -30%, rgba(63,184,196,0.22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-dim); max-width: 500px; margin: 0 auto 30px; }

/* ------------------------------ Footer ----------------------------------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 50px 0 34px;
    margin-top: 40px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 14px; }
.footer p.small { color: var(--text-faint); font-size: 0.88rem; max-width: 320px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--text-faint);
    font-size: 0.85rem;
}
.footer-bottom .disclaimer { max-width: 640px; }

/* --------------------------- Scroll reveal ------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ------------------------- Shimmer on gradient --------------------------- */
.grad-text.shine {
    background-size: 220% auto;
    animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* ----------------------------- Marquee ----------------------------------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
    background: rgba(8, 19, 32, 0.4);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: scroll-x 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--text-dim);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.12rem;
    font-weight: 500;
    white-space: nowrap;
}
.marquee-item::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 9px var(--cyan-glow);
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* --------------------------- How it works -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
    position: relative;
    background: linear-gradient(160deg, var(--bg-panel), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--border-hi); }
.step .n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    margin-bottom: 16px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: 9px; }
.step p { color: var(--text-dim); font-size: 0.96rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------- Testimonials -------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
    background: linear-gradient(160deg, var(--bg-panel), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow); }
.review .stars { color: #f2c94c; letter-spacing: 3px; margin-bottom: 14px; font-size: 0.95rem; }
.review p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 20px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who .nm { font-weight: 600; font-size: 0.94rem; }
.review .who .rl { color: var(--text-faint); font-size: 0.82rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ------------------------- Community (Discord) --------------------------- */
.community {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(88,101,242,0.14), var(--bg-panel));
    border: 1px solid var(--border-hi);
    border-radius: 24px;
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
}
.community::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(500px 240px at 12% -20%, rgba(88,101,242,0.28), transparent 60%);
    pointer-events: none;
}
.community > * { position: relative; }
.community .c-txt h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.community .c-txt p { color: var(--text-dim); }
.community .c-live { display: inline-flex; align-items: center; gap: 8px; color: #8ff0b4; font-size: 0.86rem; margin-top: 10px; }
.community .c-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s var(--ease) infinite; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6b77f5; transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(88,101,242,0.5); }

/* ============================ AUTH PAGES ================================= */
.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 100px 20px 60px;
}
.auth-card {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(165deg, var(--bg-panel), var(--navy));
    border: 1px solid var(--border-hi);
    border-radius: 24px;
    padding: 40px 38px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: cardIn 0.7s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.auth-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 80% -10%, rgba(63,184,196,0.16), transparent 60%);
    pointer-events: none;
}
.auth-card > * { position: relative; }
.auth-logo { width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 20px; display: block; filter: drop-shadow(0 0 20px rgba(63,184,196,0.4)); }
.auth-card h1 { font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-dim); font-size: 0.95rem; margin-bottom: 28px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.field input {
    width: 100%;
    background: rgba(6, 14, 22, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 15px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.96rem;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus {
    outline: none;
    border-color: var(--cyan-2);
    box-shadow: 0 0 0 3px rgba(63, 184, 196, 0.14);
}
.field input::placeholder { color: var(--text-faint); }

.auth-msg {
    font-size: 0.9rem;
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: none;
}
.auth-msg.show { display: block; }
.auth-msg.err { background: rgba(255, 70, 85, 0.1); border: 1px solid rgba(255, 70, 85, 0.3); color: #ff8b96; }
.auth-msg.ok  { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #8ff0b4; }

.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-foot { text-align: center; margin-top: 22px; color: var(--text-dim); font-size: 0.9rem; }
.auth-foot a { color: var(--cyan); }
.auth-back { position: fixed; top: 24px; left: 24px; color: var(--text-dim); font-size: 0.9rem; display: inline-flex; gap: 7px; align-items: center; z-index: 10; }
.auth-back:hover { color: var(--text); }

/* ============================ DASHBOARD ================================== */
.dash-body { min-height: 100vh; }
.dash-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8, 19, 32, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.dash-nav-inner {
    max-width: 1240px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
/* Account menu (top-right) */
.account { position: relative; }
.account-btn {
    display: flex; align-items: center; gap: 11px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 8px 7px 16px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.25s var(--ease);
}
.account-btn:hover { border-color: var(--border-hi); }
.account-btn .who { text-align: right; line-height: 1.2; }
.account-btn .who .u { font-weight: 600; font-size: 0.92rem; }
.account-btn .who .s { font-size: 0.74rem; color: var(--cyan); }
.avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--grad); color: #04222a;
    display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.account-menu {
    position: absolute; right: 0; top: calc(100% + 10px);
    background: var(--bg-panel);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 8px;
    min-width: 190px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.account.open .account-menu { opacity: 1; visibility: visible; transform: none; }
.account-menu a, .account-menu button {
    display: flex; align-items: center; gap: 10px;
    width: 100%; text-align: left;
    background: none; border: none; color: var(--text-dim);
    font-family: inherit; font-size: 0.9rem;
    padding: 10px 12px; border-radius: 9px; cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.account-menu a:hover, .account-menu button:hover { background: var(--bg-elev); color: var(--text); }
.account-menu .sep { height: 1px; background: var(--border); margin: 6px 4px; }

.dash-main { max-width: 1240px; margin: 0 auto; padding: 34px 24px 80px; }
.dash-head { margin-bottom: 28px; }
.dash-head h1 { font-size: 2rem; }
.dash-head p { color: var(--text-dim); }

.dash-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
    align-items: start;
}
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.panel {
    background: linear-gradient(165deg, var(--bg-panel), var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    animation: cardIn 0.6s var(--ease) both;
}
.panel + .panel { margin-top: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { font-size: 1.15rem; }
.panel-head .tag { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

/* Subscription status */
.sub-status { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.sub-ring {
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: conic-gradient(var(--cyan) var(--pct, 0%), rgba(255,255,255,0.06) 0);
    flex-shrink: 0;
}
.sub-ring .inner { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-panel); display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; }
.sub-info .state { font-size: 1.15rem; font-weight: 600; }
.sub-info .state.active { color: #8ff0b4; }
.sub-info .state.expired { color: #ff8b96; }
.sub-info .meta { color: var(--text-dim); font-size: 0.9rem; }

/* Duration buy buttons inside dashboard */
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-opt {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: 13px; padding: 15px 16px;
    cursor: pointer; text-align: left;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.buy-opt:hover { transform: translateY(-3px); border-color: var(--cyan-2); box-shadow: var(--shadow-cy); }
.buy-opt .d { font-weight: 600; }
.buy-opt .p { color: var(--cyan); font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; }
.buy-opt.pop { border-color: var(--cyan-2); }

/* Download + hwid rows */
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.dash-row:last-child { border-bottom: none; }
.dash-row .lbl { font-size: 0.94rem; }
.dash-row .lbl small { display: block; color: var(--text-faint); font-size: 0.82rem; }

/* Shoutbox */
.shout-log {
    height: 300px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px;
    padding-right: 6px; margin-bottom: 14px;
}
.shout-log::-webkit-scrollbar { width: 6px; }
.shout-log::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.shout {
    display: flex; gap: 10px; align-items: flex-start;
    animation: cardIn 0.4s var(--ease) both;
}
.shout .avatar { width: 30px; height: 30px; font-size: 0.8rem; flex-shrink: 0; }
.shout .body { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px; }
.shout .body .u { font-size: 0.8rem; color: var(--cyan); font-weight: 600; margin-bottom: 2px; }
.shout .body .t { font-size: 0.92rem; color: var(--text); }
.shout-form { display: flex; gap: 10px; }
.shout-form input {
    flex: 1; background: rgba(6,14,22,0.6); border: 1px solid var(--border);
    border-radius: 100px; padding: 11px 16px; color: var(--text); font-family: inherit; font-size: 0.92rem;
}
.shout-form input:focus { outline: none; border-color: var(--cyan-2); }
.shout-form button { border-radius: 100px; padding: 11px 20px; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}
@media (max-width: 620px) {
    .feature-grid { grid-template-columns: 1fr; }
    .hero { padding: 150px 0 90px; }
    .hero-stats { gap: 30px; }
    .nav-cta .btn-ghost { display: none; }
    .footer-inner { flex-direction: column; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
