/* ============================================================
   ATLAS LANDING — visual system mirrors src/ui/.../wwwroot/css/app.css
   Tokens, fonts, gradient-noise backdrop and the neon-green accent
   are all carried over from the operator portal so the two surfaces
   feel like one product.
   ============================================================ */

/* ---- 1. TOKENS ---- */
:root {
    /* Backgrounds (dark) */
    --color-bg-base:        #111315;
    --color-bg-surface:     #1D2125;
    --color-bg-elevated:    #282C31;
    --color-bg-overlay:     #1A1D21;
    --color-bg-hover:       #2A2E33;

    /* Borders */
    --color-border:         rgba(255, 255, 255, 0.08);
    --color-border-strong:  rgba(255, 255, 255, 0.14);

    /* Accent — neon green (matches operator portal) */
    --color-accent:         #8FFF00;
    --color-accent-dim:     rgba(143, 255, 0, 0.15);
    --color-accent-hover:   #7AE000;
    --color-accent2:        #FD7557;
    --color-accent2-dim:    rgba(253, 117, 87, 0.15);

    /* Text */
    --color-text-primary:   #FFFFFF;
    --color-text-secondary: #8A8F98;
    --color-text-muted:     #5A5F66;
    --color-text-on-accent: #111315;

    /* Status */
    --color-success:        #34D399;
    --color-warning:        #FBBF24;
    --color-danger:         #F87171;
    --color-info:           #60A5FA;

    /* Radii */
    --radius-sm:    6px;
    --radius-md:    10px;
    --radius-lg:    14px;
    --radius-xl:    18px;
    --radius-2xl:   24px;
    --radius-full:  9999px;

    /* Spacing */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

    /* Typography — DM Sans for Latin, Inter for Cyrillic */
    --font-family:  'DM Sans', 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-cyr: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm:        0 1px 3px rgba(0,0,0,0.08);
    --shadow-card:      0 4px 24px rgba(0,0,0,0.3);
    --shadow-dropdown:  0 8px 32px rgba(0,0,0,0.4);
    --shadow-glow:      0 0 24px rgba(143,255,0,0.35);

    /* Transitions */
    --transition:       150ms ease;
    --transition-md:    250ms ease;
    --transition-spring: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Topbar */
    --topbar-h: 72px;
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
    --color-bg-base:        #F8FAFC;
    --color-bg-surface:     #FFFFFF;
    --color-bg-elevated:    #F1F5F9;
    --color-bg-overlay:     #F8FAFC;
    --color-bg-hover:       #F1F5F9;

    --color-border:         #E2E8F0;
    --color-border-strong:  #CBD5E1;

    --color-accent:         #4F46E5;       /* Indigo (mirrors portal light) */
    --color-accent-dim:     #EEF2FF;
    --color-accent-hover:   #4338CA;
    --color-accent2:        #DC2626;
    --color-accent2-dim:    #FEF2F2;

    --color-text-primary:   #0F172A;
    --color-text-secondary: #64748B;
    --color-text-muted:     #94A3B8;
    --color-text-on-accent: #FFFFFF;

    --color-success: #16A34A;
    --color-warning: #D97706;
    --color-danger:  #DC2626;
    --color-info:    #2563EB;

    --shadow-card:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-dropdown:  0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
    --shadow-glow:      0 4px 24px rgba(79,70,229,0.25);
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

html, body {
    height: 100%;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--color-text-primary);
    background-color: var(--color-bg-base);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 5%,  rgba(45, 50, 56, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 85% 0%,  rgba(143, 255, 0, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 20%, rgba(35, 39, 44, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 120% 120% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[data-theme="light"] body {
    background-color: var(--color-bg-base);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 5%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 85% 0%, rgba(79, 70, 229, 0.04) 0%, transparent 60%);
}

/* Noise overlay (Atlas signature texture) */
body::after {
    content: '';
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}
[data-theme="light"] body::after { display: none; }

#app, .layout { position: relative; z-index: 1; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

button { font-family: inherit; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

/* Boot splash (shown until WASM loads) */
.boot {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-bg-base);
    z-index: 1000;
}
.boot-globe {
    width: 64px; height: 64px;
    color: var(--color-text-primary);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   4. TOPBAR (mirrors portal .topbar layout)
   ============================================================ */
.topbar {
    position: sticky; top: 0; z-index: 100;
    height: var(--topbar-h);
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(17, 19, 21, 0.85) 0%, rgba(17, 19, 21, 0.55) 100%);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}
[data-theme="light"] .topbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.70) 100%);
    border-bottom: 1px solid var(--color-border);
}

.topbar__brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
    color: inherit;
    user-select: none;
}
.topbar__logo-wrap { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.topbar__logo {
    width: 48px; height: 48px;
    color: var(--color-text-primary);
    transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 300ms ease;
    position: relative; z-index: 1;
}
.topbar__logo-core { color: var(--color-accent); }
[data-theme="light"] .topbar__logo { color: var(--color-accent); }
[data-theme="light"] .topbar__logo-core { color: var(--color-accent); }

.topbar__logo-glow {
    position: absolute; inset: -10px;
    background: radial-gradient(circle, rgba(143,255,0,0.35) 0%, transparent 70%);
    border-radius: 50%; opacity: 0;
    transition: opacity 300ms ease;
}
.topbar__brand:hover .topbar__logo {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 8px rgba(143,255,0,0.5));
}
.topbar__brand:hover .topbar__logo-glow { opacity: 1; }

.topbar__title {
    font-size: 22px; font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
    background: linear-gradient(90deg, var(--color-text-primary) 0%, var(--color-text-primary) 40%, var(--color-accent) 60%, var(--color-text-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-position 600ms ease;
}
.topbar__brand:hover .topbar__title { background-position: 100% 0; }
.topbar__sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1;
}

/* Inline nav (centered) */
.topbar__nav {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 5px;
}
[data-theme="light"] .topbar__nav { background: var(--color-bg-elevated); }

.nav-link {
    display: inline-flex; align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 13px; font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-link:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}
[data-theme="light"] .nav-link:hover { background: #FFFFFF; }

.topbar__right {
    display: flex; align-items: center; gap: 10px;
}

/* Theme toggle pill */
.t-toggle {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: 50%;
    transition: all var(--transition);
}
.t-toggle:hover { color: var(--color-accent); border-color: var(--color-accent); }
[data-theme="light"] .t-toggle { background: var(--color-bg-elevated); }

/* Language picker (custom dropdown) */
.lang {
    position: relative;
}
.lang__trigger {
    height: 40px;
    padding: 0 14px;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    font-size: 13px; font-weight: 600;
    transition: all var(--transition);
}
[data-theme="light"] .lang__trigger { background: var(--color-bg-elevated); }
.lang__trigger:hover { color: var(--color-accent); border-color: var(--color-accent); }
.lang__chev { transition: transform 200ms ease; }
.lang.open .lang__chev { transform: rotate(180deg); }

.lang__list {
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 180px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: var(--shadow-dropdown);
    display: none;
    z-index: 200;
}
.lang.open .lang__list { display: block; }
.lang__item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-size: 13px; font-weight: 500;
    cursor: pointer;
    background: none; border: 0; width: 100%; text-align: left;
}
.lang__item:hover { background: var(--color-bg-elevated); }
.lang__item.active { background: var(--color-accent-dim); color: var(--color-accent); font-weight: 700; }

/* Portal CTA — emphasized green pill */
.cta-portal {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 18px;
    background: var(--color-accent);
    color: var(--color-text-on-accent);
    font-weight: 700; font-size: 13px;
    border: 0;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 0 0 0 var(--color-accent);
}
.cta-portal:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-on-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
    text-decoration: none;
}
.cta-portal svg { width: 14px; height: 14px; }

/* ============================================================
   5. SECTION SCAFFOLD
   ============================================================ */
section { position: relative; z-index: 1; }

.section {
    padding: 120px 0;
    position: relative;
}
.section--tight { padding: 80px 0; }
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--color-accent);
    padding: 5px 12px;
    background: var(--color-accent-dim);
    border: 1px solid rgba(143, 255, 0, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}
[data-theme="light"] .eyebrow { border-color: #C7D2FE; }

h1, h2, h3, h4 { color: var(--color-text-primary); letter-spacing: -0.02em; line-height: 1.15; }
.h-display { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
.h-section { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--color-text-secondary); line-height: 1.6; }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 10px;
    background: rgba(52, 211, 153, 0.10);
    color: #6EE7B7;
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    margin-bottom: 28px;
}
.hero__badge .pulse {
    width: 7px; height: 7px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero__title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 28px;
}
.hero__title .accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #B8FF5A 50%, var(--color-accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
    display: inline-block;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 36px;
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 52px; padding: 0 24px;
    border-radius: var(--radius-full);
    font-size: 14px; font-weight: 700;
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-text-on-accent);
    box-shadow: 0 8px 32px rgba(143, 255, 0, 0.25);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-text-on-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(143, 255, 0, 0.35);
    text-decoration: none;
}
.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary);
    border-color: var(--color-border-strong);
}
[data-theme="light"] .btn--ghost { background: var(--color-bg-surface); }
.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
}

/* Hero visual — orbiting globe */
.hero__visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
    margin-left: auto;
}
.hero-globe {
    width: 100%; height: 100%;
    color: var(--color-text-primary);
    animation: rotate-slow 60s linear infinite;
}
.hero-globe-core { color: var(--color-accent); }
[data-theme="light"] .hero-globe { color: var(--color-accent); }
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.hero__halo {
    position: absolute; inset: -10%;
    background: radial-gradient(circle at 50% 50%, rgba(143, 255, 0, 0.18) 0%, transparent 55%);
    pointer-events: none; z-index: -1;
    animation: halo-pulse 6s ease-in-out infinite;
}
@keyframes halo-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1.0; transform: scale(1.05); }
}

/* Floating particles */
.particle {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-accent);
    opacity: 0.8;
}
.particle--1 { top: 20%; left: 12%; animation: float 8s ease-in-out infinite; }
.particle--2 { top: 75%; left: 18%; animation: float 10s ease-in-out infinite -2s; }
.particle--3 { top: 40%; right: 15%; animation: float 12s ease-in-out infinite -4s; }
.particle--4 { bottom: 22%; right: 10%; animation: float 9s ease-in-out infinite -6s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(8px, -12px); }
    50%      { transform: translate(-6px, -20px); }
    75%      { transform: translate(-10px, -8px); }
}

/* ============================================================
   7. STATS STRIP
   ============================================================ */
.stats {
    padding: 56px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(8px);
}
[data-theme="light"] .stats { background: rgba(255, 255, 255, 0.6); }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat {
    text-align: center;
}
.stat__value {
    font-size: 44px; font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.03em; line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat__label {
    font-size: 11px; font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

/* ============================================================
   8. FEATURES
   ============================================================ */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition-md);
    position: relative; overflow: hidden;
}
.feature::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(143, 255, 0, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-md);
    pointer-events: none;
}
.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 255, 0, 0.25);
    box-shadow: var(--shadow-dropdown);
}
.feature:hover::before { opacity: 1; }

.feature__icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-accent-dim);
    border: 1px solid rgba(143, 255, 0, 0.25);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}
[data-theme="light"] .feature__icon { border-color: #C7D2FE; }
.feature__icon svg { width: 22px; height: 22px; }

.feature__title {
    font-size: 17px; font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}
.feature__body {
    font-size: 13.5px; line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ============================================================
   9. GEOGRAPHIES
   ============================================================ */
.geos__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 20px;
}
.geo-card {
    position: relative;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition-md), border-color var(--transition-md);
}
.geo-card:hover { transform: translateY(-3px); border-color: var(--color-border-strong); }
.geo-card__flag {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.geo-card__title {
    font-size: 24px; font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.geo-card__currency {
    font-size: 12px; font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.geo-card__body {
    font-size: 13.5px; line-height: 1.6;
    color: var(--color-text-secondary);
}
.geo-card--ghost {
    border-style: dashed;
    border-color: var(--color-border-strong);
    background: transparent;
    box-shadow: none;
}
.geo-card--ghost .geo-card__title { color: var(--color-text-secondary); }
.geo-card--ghost::after {
    content: '+';
    position: absolute; top: 28px; right: 28px;
    font-size: 32px; font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1;
}

/* ============================================================
   10. INTEGRATION
   ============================================================ */
.int__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.int__copy { display: flex; flex-direction: column; justify-content: center; }
.int__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.int__sub  { font-size: 16px; color: var(--color-text-secondary); margin-bottom: 28px; }
.int__cta  {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--color-accent);
    font-size: 14px; font-weight: 700;
    padding: 12px 20px;
    border: 1px solid rgba(143, 255, 0, 0.30);
    background: var(--color-accent-dim);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    align-self: flex-start;
    text-decoration: none;
}
.int__cta:hover {
    background: var(--color-accent);
    color: var(--color-text-on-accent);
    text-decoration: none;
}
[data-theme="light"] .int__cta { border-color: #C7D2FE; }

.int__code {
    background: #0E1012;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.int__tabs {
    display: flex; gap: 4px;
    padding: 12px 12px 0;
    background: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
}
.int__tab {
    padding: 8px 14px;
    background: none; border: 0;
    color: var(--color-text-muted);
    font-size: 12px; font-weight: 700;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.int__tab:hover { color: var(--color-text-primary); }
.int__tab.active {
    color: var(--color-accent);
    background: #0E1012;
    border-bottom-color: var(--color-accent);
}
.int__pre {
    margin: 0;
    padding: 20px 24px;
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #E5E7EB;
    overflow-x: auto;
    white-space: pre;
    min-height: 320px;
}
.int__pre .tk-key  { color: #8FFF00; }
.int__pre .tk-str  { color: #6EE7B7; }
.int__pre .tk-num  { color: #FCD34D; }
.int__pre .tk-com  { color: #5A5F66; font-style: italic; }
.int__pre .tk-kw   { color: #93C5FD; }

/* ============================================================
   11. CONTACT
   ============================================================ */
.contact__layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact__copy { padding-right: 40px; }
.contact__channels { margin-top: 28px; }
.contact__channel {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: all var(--transition);
}
.contact__channel:hover { border-color: var(--color-accent); transform: translateX(4px); }
.contact__channel-icon {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-accent-dim);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    flex-shrink: 0;
}
.contact__channel-text { font-size: 13px; }
.contact__channel-text b { color: var(--color-text-primary); display: block; font-weight: 700; }
.contact__channel-text span { color: var(--color-text-secondary); }

.form-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
    width: 100%;
    background: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}
[data-theme="light"] .form-row input,
[data-theme="light"] .form-row textarea { background: var(--color-bg-base); }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--color-text-muted); }
.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--color-accent);
    background: rgba(143, 255, 0, 0.04);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-error {
    background: rgba(248, 113, 113, 0.10);
    color: #FCA5A5;
    border: 1px solid rgba(248, 113, 113, 0.25);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 16px;
}
.form-success {
    background: rgba(52, 211, 153, 0.10);
    color: #6EE7B7;
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 18px 18px;
    border-radius: var(--radius-md);
    text-align: center;
}
.form-success b { color: #A7F3D0; display: block; margin-bottom: 4px; font-size: 16px; font-weight: 700; }

.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 56px 0 32px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}
[data-theme="light"] .footer { background: var(--color-bg-surface); }

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer__brand .topbar__title { font-size: 20px; }
.footer__tagline {
    color: var(--color-text-secondary);
    font-size: 13px;
    margin-top: 14px;
    max-width: 320px;
}
.footer__col-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}
.footer__col a {
    display: block;
    color: var(--color-text-secondary);
    font-size: 13px; font-weight: 500;
    padding: 4px 0;
    transition: color var(--transition);
}
.footer__col a:hover { color: var(--color-accent); }

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================================
   13. SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1.in-view { transition-delay: 80ms; }
.reveal--delay-2.in-view { transition-delay: 160ms; }
.reveal--delay-3.in-view { transition-delay: 240ms; }
.reveal--delay-4.in-view { transition-delay: 320ms; }
.reveal--delay-5.in-view { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-globe, .hero__title .accent, body { animation: none; }
}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero__copy { margin: 0 auto; }
    .hero__visual { margin: 0 auto; max-width: 360px; }
    .hero__ctas { justify-content: center; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .geos__grid { grid-template-columns: 1fr 1fr; }
    .geo-card--ghost { grid-column: span 2; }
    .int__layout, .contact__layout { grid-template-columns: 1fr; gap: 32px; }
    .contact__copy { padding-right: 0; }
    .topbar__nav { display: none; }
}

@media (max-width: 640px) {
    .topbar { padding: 0 16px; gap: 12px; }
    .topbar__sub { display: none; }
    .container { padding: 0 16px; }
    .section { padding: 80px 0; }
    .features__grid { grid-template-columns: 1fr; }
    .geos__grid { grid-template-columns: 1fr; }
    .geo-card--ghost { grid-column: span 1; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stat__value { font-size: 32px; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .form-card { padding: 24px; }
    .lang__trigger span { display: none; }
}
