/* =========================================================================
   Nexora — dark futuristic Web3 design system
   ========================================================================= */

:root {
    --bg-0: #030712;
    --bg-1: #050816;
    --bg-2: #080B18;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --neon: #00F5C8;
    --neon-2: #1DE9B6;
    --blue: #00B7FF;
    --blue-2: #3B82F6;
    --purple: #A855F7;
    --purple-2: #8B5CF6;

    --text: #FFFFFF;
    --text-soft: #D6E1FF;
    --text-mute: #8A94A6;

    --grad-main: linear-gradient(120deg, #00F5C8 0%, #00B7FF 45%, #A855F7 100%);
    --grad-soft: linear-gradient(120deg, #1DE9B6, #3B82F6);
    --radius: 22px;
    --radius-sm: 14px;
    --maxw: 1200px;
    --shadow-glow: 0 0 40px rgba(0, 245, 200, 0.25);
    --font: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated mesh-gradient backdrop for the whole page */
body::before {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -2;
    background:
        radial-gradient(40% 40% at 15% 18%, rgba(0, 245, 200, 0.16), transparent 60%),
        radial-gradient(45% 45% at 85% 12%, rgba(59, 130, 246, 0.18), transparent 60%),
        radial-gradient(50% 50% at 75% 85%, rgba(168, 85, 247, 0.16), transparent 60%),
        radial-gradient(40% 40% at 10% 80%, rgba(0, 183, 255, 0.12), transparent 60%);
    filter: blur(20px);
    animation: meshFloat 22s ease-in-out infinite alternate;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(3,7,18,0.4), rgba(3,7,18,0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}
@keyframes meshFloat {
    0%   { transform: translate(0,0) scale(1); }
    100% { transform: translate(-3%, 2%) scale(1.08); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; overflow-x: clip; }
.section-sm { padding: 64px 0; position: relative; overflow-x: clip; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.eyebrow {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--neon);
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    margin-bottom: 18px;
}

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
.lead { color: var(--text-soft); font-size: 1.08rem; max-width: 640px; }
.muted { color: var(--text-mute); }
.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad-main);
    color: #021018;
    box-shadow: 0 8px 30px rgba(0, 245, 200, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 44px rgba(0, 183, 255, 0.45); }
.btn-ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--neon); box-shadow: 0 0 26px rgba(0,245,200,0.22); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .7; cursor: progress; }

/* ---- Cards ------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,183,255,0.12); }
.card .icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(0,245,200,0.18), rgba(168,85,247,0.18));
    border: 1px solid var(--border-strong);
    margin-bottom: 20px;
    color: var(--neon);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-mute); font-size: 0.96rem; }

/* glowing top edge accent for some cards */
.card.glow::before {
    content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
    background: var(--grad-main); opacity: .6;
}

/* ---- Decorative blobs / spheres --------------------------------------- */
.blob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
    z-index: -1; pointer-events: none;
    animation: blobFloat 14s ease-in-out infinite alternate;
}
.blob.cyan   { background: radial-gradient(circle, #00F5C8, transparent 70%); }
.blob.blue   { background: radial-gradient(circle, #00B7FF, transparent 70%); }
.blob.purple { background: radial-gradient(circle, #A855F7, transparent 70%); }
@keyframes blobFloat { 0% { transform: translate(0,0); } 100% { transform: translate(20px,-30px) scale(1.12); } }

.sphere {
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), rgba(0,245,200,0.5) 22%, rgba(59,130,246,0.4) 55%, rgba(168,85,247,0.35) 100%);
    box-shadow: inset -18px -22px 60px rgba(0,0,0,0.55), 0 30px 80px rgba(0,183,255,0.35);
    position: relative;
}
.sphere::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 70% 75%, rgba(168,85,247,0.5), transparent 55%);
    mix-blend-mode: screen;
}

/* ---- Header ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 60;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(5, 8, 22, 0.72);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand .mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: var(--grad-main);
    display: grid; place-items: center; color: #021018; font-weight: 800;
    box-shadow: 0 0 22px rgba(0,245,200,0.5);
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
    font-size: 0.96rem; color: var(--text-soft); position: relative; padding: 6px 0;
    transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
    background: var(--grad-main); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--border);
    cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.hamburger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero -------------------------------------------------------------- */
.hero { padding: 80px 0 90px; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font); font-size: 1.7rem; font-weight: 700; }
.hero-stats .lbl { font-size: 0.82rem; color: var(--text-mute); }

.hero-visual { position: relative; height: 460px; display: grid; place-items: center; }
.hero-visual .sphere { width: 300px; height: 300px; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit {
    position: absolute; border: 1px solid var(--border-strong); border-radius: 50%;
    animation: spin 30s linear infinite;
}
.orbit.o1 { width: 380px; height: 380px; }
.orbit.o2 { width: 480px; height: 480px; border-style: dashed; animation-duration: 46s; animation-direction: reverse; }
.orbit .chip {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2);
    border: 1px solid var(--border-strong); display: grid; place-items: center;
    font-size: 0.7rem; font-weight: 700; backdrop-filter: blur(6px);
}
.particles { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.particles i {
    position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--neon);
    opacity: .6; animation: rise 9s linear infinite;
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } 20% { opacity: .7; } to { transform: translateY(-120px); opacity: 0; } }

/* ---- Steps / generic 3-col ------------------------------------------- */
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.step-label { font-family: var(--font); font-size: .8rem; letter-spacing: .2em; color: var(--neon); text-transform: uppercase; }
.start-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--neon); font-weight: 600; font-size: .92rem; }
.start-link:hover { gap: 11px; }

/* ---- Advanced features (tabs) ----------------------------------------- */
.feature-tabs { display: flex; flex-direction: column; gap: 14px; }
.feature-tab {
    text-align: left; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 22px 24px; cursor: pointer; transition: .3s; color: var(--text);
}
.feature-tab:hover { border-color: var(--border-strong); }
.feature-tab.active { border-color: var(--neon); background: var(--surface-2); box-shadow: 0 0 30px rgba(0,245,200,0.12); }
.feature-tab h3 { display: flex; align-items: center; gap: 12px; }
.feature-tab .body { max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .4s; }
.feature-tab.active .body { max-height: 240px; margin-top: 14px; }
.feature-tab ul { list-style: none; display: grid; gap: 10px; }
.feature-tab li { display: flex; gap: 10px; color: var(--text-soft); font-size: .95rem; }
.feature-tab li::before { content: "→"; color: var(--neon); }
.feature-visual { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(160deg, rgba(0,183,255,0.12), rgba(168,85,247,0.12)); border: 1px solid var(--border); display: grid; place-items: center; }

/* ---- Multi-chain orbital grid ----------------------------------------- */
.token-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 40px; }
.token {
    aspect-ratio: 1; border-radius: 18px; background: var(--surface); border: 1px solid var(--border);
    display: grid; place-items: center; font-family: var(--font); font-weight: 700; color: var(--text-soft);
    transition: .3s; position: relative;
}
.token:hover { border-color: var(--neon); color: #fff; transform: translateY(-4px); box-shadow: 0 0 26px rgba(0,245,200,0.18); }

/* ---- Marquee (partners) ----------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.partner {
    width: 200px; height: 92px; flex: 0 0 auto; border-radius: var(--radius-sm);
    background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center;
    font-family: var(--font); font-weight: 700; color: var(--text-mute); letter-spacing: .05em;
}

/* ---- Final / generic CTA ---------------------------------------------- */
.cta-band {
    border-radius: var(--radius); padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(150deg, rgba(0,245,200,0.1), rgba(59,130,246,0.08), rgba(168,85,247,0.1));
    border: 1px solid var(--border);
}
.kinetic { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 30px;
    font-family: var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); font-size: .9rem; }
.kinetic span { animation: pulse 3s ease-in-out infinite; }
.kinetic span:nth-child(2){animation-delay:.4s}.kinetic span:nth-child(3){animation-delay:.8s}
.kinetic span:nth-child(4){animation-delay:1.2s}.kinetic span:nth-child(5){animation-delay:1.6s}
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1;color:var(--neon)} }

/* ---- Stats row --------------------------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat .big { font-family: var(--font); font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 700; }
.stat .cap { color: var(--text-mute); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }

/* ---- Split sections ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-mask {
    border-radius: var(--radius); overflow: hidden; position: relative; min-height: 380px;
    background: linear-gradient(150deg, rgba(0,245,200,0.16), rgba(168,85,247,0.18));
    border: 1px solid var(--border); display: grid; place-items: center;
}
.stat-overlay { position: absolute; padding: 14px 18px; border-radius: 14px; background: rgba(5,8,22,0.78);
    border: 1px solid var(--border-strong); backdrop-filter: blur(8px); }
.stat-overlay .big { font-family: var(--font); font-size: 1.6rem; font-weight: 700; }
.stat-overlay .cap { font-size: .76rem; color: var(--text-mute); }
.badge-mini { display: inline-flex; gap: 8px; align-items: center; padding: 9px 15px; border-radius: 100px;
    background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--text-soft); }

/* ---- Tabs (mission/vision/goal) --------------------------------------- */
.tabs-nav { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tab-btn { font-family: var(--font); padding: 11px 22px; border-radius: 100px; background: var(--surface);
    border: 1px solid var(--border); color: var(--text-soft); cursor: pointer; transition: .25s; }
.tab-btn.active { background: var(--grad-main); color: #021018; border-color: transparent; }
.tab-panel { display: none; animation: fadeIn .4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Testimonials carousel -------------------------------------------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s ease; }
.testimonial { flex: 0 0 100%; padding: 8px; }
.testimonial .card { padding: 36px; }
.stars { color: var(--neon); letter-spacing: 3px; margin-bottom: 14px; }
.who { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center;
    font-family: var(--font); font-weight: 700; color: #021018; }
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); border: none; cursor: pointer; transition: .25s; }
.dot.active { background: var(--neon); width: 26px; border-radius: 6px; }
@media (min-width: 880px){ .testimonial { flex: 0 0 50%; } }

/* ---- Forms ------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; color: var(--text-soft); margin-bottom: 8px; font-weight: 500; }
.field .req { color: var(--neon); }
.input, .select, .textarea {
    width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border); color: #fff; font-family: var(--font-body); font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: #5b6577; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,245,200,0.15); }
.textarea { resize: vertical; min-height: 130px; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #ff5c7a; box-shadow: 0 0 0 3px rgba(255,92,122,0.15); }
.error-msg { color: #ff849b; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid .error-msg { display: block; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--text-soft); }
.checkbox input { margin-top: 4px; accent-color: var(--neon); width: 17px; height: 17px; }
.form-note { font-size: .9rem; color: var(--text-mute); }
.form-alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .92rem; }
.form-alert.ok { background: rgba(0,245,200,0.1); border: 1px solid rgba(0,245,200,0.4); color: var(--neon-2); }
.form-alert.err { background: rgba(255,92,122,0.1); border: 1px solid rgba(255,92,122,0.4); color: #ff849b; }

/* searchable country dropdown */
.country-select { position: relative; }
.country-toggle { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.country-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
    background: #0a0f1f; border: 1px solid var(--border-strong); border-radius: 12px; padding: 8px; display: none; max-height: 260px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.country-menu.open { display: block; }
.country-search { width: 100%; padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: #fff; margin-bottom: 8px; }
.country-list { max-height: 190px; overflow-y: auto; }
.country-list div { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .94rem; }
.country-list div:hover, .country-list div.hi { background: var(--surface-2); }
.country-list::-webkit-scrollbar { width: 8px; }
.country-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }

/* ---- Contact info cards ------------------------------------------------ */
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ---- Auth layout ------------------------------------------------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(160deg, rgba(0,245,200,0.08), rgba(59,130,246,0.06), rgba(168,85,247,0.1)); overflow: hidden; }
.auth-aside h2 { margin: 18px 0; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .back-home { font-size: .9rem; color: var(--text-mute); margin-bottom: 24px; display: inline-block; }
.auth-links { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--text-mute); }
.auth-links a { color: var(--neon); }
.password-wrap { position: relative; }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-mute); cursor: pointer; font-size: .8rem; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid a { color: var(--text-soft); font-size: .94rem; }
.footer-grid a:hover { color: var(--neon); }
.footer-brand p { color: var(--text-mute); margin: 16px 0 22px; max-width: 320px; font-size: .95rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border);
    display: grid; place-items: center; color: var(--text-soft); transition: .25s; }
.socials a:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: .88rem; flex-wrap: wrap; gap: 12px; }

/* ---- Cookie banner ----------------------------------------------------- */
.cookie {
    position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90; max-width: 560px; margin: 0 auto;
    background: rgba(8,11,24,0.92); border: 1px solid var(--border-strong); border-radius: 16px;
    padding: 18px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between;
    backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .5s;
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: .9rem; color: var(--text-soft); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions a { font-size: .86rem; color: var(--text-mute); align-self: center; }

/* ---- Reveal animation -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
    .hero-grid, .split, .cols-3, .cols-2, .stats-row, .info-cards, .footer-grid, .advanced-grid { grid-template-columns: 1fr; }
    .token-grid { grid-template-columns: repeat(4,1fr); }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .hero-visual { height: 340px; overflow: hidden; }
    .hero-visual .sphere { width: 220px; height: 220px; }
    .orbit.o1 { width: 300px; height: 300px; }
    .orbit.o2 { width: 360px; height: 360px; }
    .blob { filter: blur(48px); }
    .nav-cta .btn { display: none; }
    .hamburger { display: flex; }

    /* mobile nav becomes a drawer that slides in from the LEFT */
    .nav-links {
        position: fixed; top: 0; left: 0; height: 100dvh; width: min(80vw, 320px);
        flex-direction: column; align-items: flex-start; gap: 22px;
        padding: 96px 28px 28px; margin: 0;
        background: rgba(5,8,22,0.98); backdrop-filter: blur(18px);
        border-right: 1px solid var(--border);
        transform: translateX(-100%); transition: transform .32s ease; z-index: 70;
    }
    .nav-links li { width: 100%; }
    .nav-links a { font-size: 1.05rem; }
    .nav-links .btn { display: inline-flex; margin-top: 6px; }
    .nav-links.open { transform: translateX(0); box-shadow: 0 0 60px rgba(0,0,0,0.6); }

    .nav-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 65;
        opacity: 0; pointer-events: none; transition: opacity .3s;
    }
    .nav-overlay.show { opacity: 1; pointer-events: auto; }

    .section { padding: 70px 0; }
}
/* keep the drawer off-canvas on desktop where the row nav is used */
.nav-overlay { display: none; }
@media (max-width: 980px) { .nav-overlay { display: block; } }
body.nav-open { overflow: hidden; }
@media (max-width: 560px) {
    .token-grid { grid-template-columns: repeat(3,1fr); }
    .cookie { flex-direction: column; align-items: flex-start; }
    .cta-band { padding: 40px 22px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   GOLD THEME  (scoped to .theme-gold — applied on the homepage only)
   Champagne-gold accents on the same dark base.
   ========================================================================= */
.theme-gold {
    --neon:     #E8C77A;   /* bright gold — accents, links, icons */
    --neon-2:   #F2DEA6;   /* champagne highlight */
    --blue:     #D4AF37;   /* classic gold */
    --blue-2:   #C9A14A;   /* muted gold */
    --purple:   #9C7A2E;   /* deep bronze-gold */
    --purple-2: #7E5F22;
    --grad-main: linear-gradient(120deg, #F2DEA6 0%, #D4AF37 46%, #9C7A2E 100%);
    --grad-soft: linear-gradient(120deg, #F2DEA6, #C9A14A);
    --shadow-glow: 0 0 40px rgba(232, 199, 122, 0.28);
    --border-strong: rgba(242, 222, 166, 0.18);
}

/* falling gold snow canvas (created by main.js) */
.gold-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }

/* page-wide mesh backdrop -> warm gold tones */
body.theme-gold::before {
    background:
        radial-gradient(40% 40% at 15% 18%, rgba(232, 199, 122, 0.16), transparent 60%),
        radial-gradient(45% 45% at 85% 12%, rgba(212, 175, 55, 0.16), transparent 60%),
        radial-gradient(50% 50% at 75% 85%, rgba(156, 122, 46, 0.18), transparent 60%),
        radial-gradient(40% 40% at 10% 80%, rgba(201, 161, 74, 0.12), transparent 60%);
}

/* buttons */
.theme-gold .btn-primary { box-shadow: 0 8px 30px rgba(232, 199, 122, 0.30); }
.theme-gold .btn-primary:hover { box-shadow: 0 12px 44px rgba(212, 175, 55, 0.5); }
.theme-gold .btn-ghost:hover { box-shadow: 0 0 26px rgba(232, 199, 122, 0.24); }

/* cards + icons */
.theme-gold .card:hover { box-shadow: 0 18px 50px rgba(0,0,0,0.5), 0 0 30px rgba(232, 199, 122, 0.14); }
.theme-gold .card .icon { background: linear-gradient(135deg, rgba(232,199,122,0.20), rgba(156,122,46,0.20)); }

/* decorative blobs */
.theme-gold .blob.cyan   { background: radial-gradient(circle, #E8C77A, transparent 70%); }
.theme-gold .blob.blue   { background: radial-gradient(circle, #D4AF37, transparent 70%); }
.theme-gold .blob.purple { background: radial-gradient(circle, #9C7A2E, transparent 70%); }

/* 3D spheres */
.theme-gold .sphere {
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.92), rgba(232,199,122,0.55) 22%, rgba(201,161,74,0.45) 55%, rgba(156,122,46,0.4) 100%);
    box-shadow: inset -18px -22px 60px rgba(0,0,0,0.55), 0 30px 80px rgba(201,161,74,0.38);
}
.theme-gold .sphere::after { background: radial-gradient(circle at 70% 75%, rgba(156,122,46,0.5), transparent 55%); }

/* brand mark glow */
.theme-gold .brand .mark { box-shadow: 0 0 22px rgba(232, 199, 122, 0.5); }

/* advanced features */
.theme-gold .feature-tab.active { box-shadow: 0 0 30px rgba(232, 199, 122, 0.14); }
.theme-gold .feature-visual { background: linear-gradient(160deg, rgba(201,161,74,0.14), rgba(156,122,46,0.14)); }

/* tokens + cta band */
.theme-gold .token:hover { box-shadow: 0 0 26px rgba(232, 199, 122, 0.20); }
.theme-gold .cta-band { background: linear-gradient(150deg, rgba(232,199,122,0.10), rgba(212,175,55,0.07), rgba(156,122,46,0.10)); }

/* split illustrations (about / contact / media masks) */
.theme-gold .media-mask { background: linear-gradient(150deg, rgba(232,199,122,0.16), rgba(156,122,46,0.18)); }

/* forms — focus + valid alert glow */
.theme-gold .input:focus,
.theme-gold .select:focus,
.theme-gold .textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(232,199,122,0.18); }
.theme-gold .form-alert.ok { background: rgba(232,199,122,0.10); border-color: rgba(232,199,122,0.4); color: var(--neon-2); }

/* auth split panel backdrop */
.theme-gold .auth-aside { background: linear-gradient(160deg, rgba(232,199,122,0.10), rgba(212,175,55,0.06), rgba(156,122,46,0.12)); }

/* ---- Brand logo image (public + auth) ---- */
.brand .brand-logo { height: 40px; width: auto; border-radius: 9px; display: block; object-fit: contain; }
.footer-brand .brand .brand-logo { height: 38px; }
.auth-aside .brand .brand-logo { height: 44px; }
