/* =====================================================
   DualityPay — Private Payment Core
   Landing Page Stylesheet v2.0
   ===================================================== */

/* ===========================================
   1. DESIGN TOKENS
   =========================================== */
:root {
    /* Backgrounds — violet-black spectrum (fintech depth) */
    --bg: #070011;
    --bg2: #0a0518;
    --bg3: #0f0a1f;
    --bg-card: #110a22;
    --bg-card-h: #170f2e;
    --bg-elev: #1c1336;

    /* Text hierarchy */
    --tx: #F8FAFC;
    --tx2: #A1A1AA;
    --tx3: #8A8FA0;

    /* Borders */
    --bd: rgba(255,255,255,.045);
    --bd2: rgba(255,255,255,.08);
    --bdh: rgba(124,58,237,.3);

    /* Brand palette */
    --purple: #8b5cf6;
    --purple-l: #a78bfa;
    --purple-d: #7c3aed;
    --purple-deep: #4C1D95;
    --indigo: #6366f1;
    --green: #00F5C8;
    --red: #FF4D6D;
    --amber: #F5B84B;
    --cyan: #06b6d4;

    /* Brand accents — unified tones used across hero/map/dashboard */
    --brand-violet: #A020F0;
    --brand-magenta: #C026FF;
    --brand-deep: #6B00FF;
    --brand-indigo: #4F46E5;
    --accent-mint: #00F5C8;
    --grad-brand: linear-gradient(135deg, #6B00FF, #A020F0, #C026FF);

    /* Gradients */
    --grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    --grad-s: linear-gradient(135deg, rgba(124,58,237,.08), rgba(99,102,241,.04));
    --grad-btn: linear-gradient(135deg, #6d28d9 0%, #9333ea 55%, #c084fc 100%);

    /* Radii */
    --r: 16px;
    --rl: 24px;

    /* Timing */
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-out: cubic-bezier(.22,1,.36,1);
    --ease-in: cubic-bezier(.55,.06,.68,.19);
}

/* ===========================================
   2. RESET & BASE
   =========================================== */
*, *::before, *::after { 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);
    color: var(--tx);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
    opacity: .4;
}

::selection { background: rgba(139,92,246,.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,.5); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===========================================
   3. LOADER
   =========================================== */
#loader {
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at center, rgba(14,14,24,1) 0%, rgba(10,10,18,1) 100%);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    flex-direction: column; gap: 1.5rem;
    transition: opacity .6s;
}
.loader-mascote {
    width: 160px; height: 160px; object-fit: contain;
    filter: drop-shadow(0 0 32px rgba(124,58,237,.45));
}
.loader-spinner {
    width: 32px; height: 32px;
    border: 2px solid rgba(139,92,246,0.15);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: loaderSpin .8s linear infinite;
}

/* noscript fallback */
noscript + * { visibility: visible !important; }

/* ===========================================
   4. NAVIGATION
   =========================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; padding: 0 2rem;
    transition: all .35s var(--ease);
}
.nav.scrolled {
    background: rgba(10,10,18,.95);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(139,92,246,.1);
    box-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.nav-i {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 84px;
}
.nav-logo {
    display: flex; align-items: center; gap: .75rem;
    font-weight: 800; font-size: 1.35rem;
}
.nav-logo img { max-height: 72px; width: auto; object-fit: contain; }
.nav-lk {
    display: flex; align-items: center; gap: 2.25rem; list-style: none;
}
.nav-lk a {
    font-size: .8125rem; font-weight: 500; color: var(--tx2);
    transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-lk a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
    height: 1.5px; background: var(--purple-l); border-radius: 2px;
    transition: right .3s var(--ease);
}
.nav-lk a:hover { color: var(--tx); }
.nav-lk a:hover::after { right: 0; }
.nav-act { display: flex; align-items: center; gap: .75rem; }
.nav-mob {
    display: none; background: none; border: none;
    color: var(--tx); cursor: pointer; padding: .5rem;
}

/* ===========================================
   5. BUTTONS
   =========================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; padding: .7rem 1.6rem; border-radius: 12px;
    font-weight: 600; font-size: .8125rem; cursor: pointer;
    border: none; transition: all .3s var(--ease);
    position: relative; overflow: hidden;
}

/* Primary — gradient with shimmer */
.btn-p {
    background: var(--grad-btn); color: #fff;
    box-shadow: 0 4px 20px rgba(139,92,246,.38), 0 1px 0 rgba(255,255,255,.1) inset;
}
.btn-p::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(circle at 50% 120%, rgba(192,132,252,.25), transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.btn-p::after {
    content: ''; position: absolute; top: 0; left: -110%;
    width: 70%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,.52), 0 1px 0 rgba(255,255,255,.15) inset; }
.btn-p:hover::before { opacity: 1; }
.btn-p:hover::after { left: 130%; }
.btn-p:active { transform: translateY(0); box-shadow: 0 2px 12px rgba(139,92,246,.35); }

/* Outline */
.btn-o {
    background: transparent; border: 1px solid rgba(255,255,255,.09); color: var(--tx);
    transition: all .3s var(--ease);
}
.btn-o:hover {
    background: rgba(139,92,246,.06); border-color: rgba(139,92,246,.28);
    box-shadow: 0 0 16px rgba(139,92,246,.1);
}

/* Ghost */
.btn-g { background: transparent; color: var(--tx2); }
.btn-g:hover { color: var(--tx); }

/* Large */
.btn-lg { padding: .9rem 2.2rem; font-size: .9375rem; border-radius: 14px; }

/* ===========================================
   6. HERO
   =========================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 7rem 2rem 4rem; overflow: hidden;
}
.hero-cv { position: absolute; inset: 0; z-index: 0; }
.hero-glow {
    position: absolute; top: -250px; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(139,92,246,.12) 0%, rgba(99,102,241,.06) 40%, transparent 70%);
    filter: blur(80px); pointer-events: none; z-index: 1;
}
.hero-glow2 {
    position: absolute; bottom: -300px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.06), transparent 60%);
    filter: blur(80px); pointer-events: none; z-index: 1;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 100%);
    z-index: 1;
}
.hero-ct {
    max-width: 1200px; margin: 0 auto; width: 100%;
    position: relative; z-index: 5; text-align: center;
}

/* Hero badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem 1.1rem; border-radius: 100px;
    background: rgba(139,92,246,.07); border: 1px solid rgba(139,92,246,.2);
    font-size: .7rem; font-weight: 700; color: var(--purple-l);
    margin-bottom: 2.5rem; text-transform: uppercase; letter-spacing: .1em;
    box-shadow: 0 0 24px rgba(139,92,246,.08);
}

/* Hero title */
.hero-t {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 900;
    line-height: 1.08; margin-bottom: 1.75rem; letter-spacing: -.03em;
}
.hero-t .w { color: #fff; }

/* Hero subtitle */
.hero-sub {
    font-size: 1.0625rem; color: var(--tx2);
    max-width: 580px; margin: 0 auto 2.75rem; line-height: 1.75;
}

/* Hero buttons */
.hero-btns {
    display: flex; justify-content: center; gap: 1rem;
    flex-wrap: wrap; margin-bottom: 4rem;
}

/* Stats Row */
.hero-line {
    width: 100%; max-width: 700px; margin: 0 auto;
    height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,.25), transparent);
}
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; max-width: 650px; margin: 3.5rem auto 0;
}
.hs-v {
    font-size: 2.5rem; font-weight: 900; letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff 30%, var(--purple-l) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hs-l {
    font-size: .6875rem; color: var(--tx3); text-transform: uppercase;
    letter-spacing: .12em; margin-top: .35rem; font-weight: 600;
}

/* ===========================================
   7. HOLOGRAPHIC PAY SWITCH
   =========================================== */
.hps-container {
    position: relative; display: inline-block;
    min-height: 1.15em; vertical-align: bottom;
}
.hps-word {
    display: inline-block; opacity: 0;
    transform: translateY(12px); filter: blur(6px);
    animation: none; position: absolute; left: 0; top: 0;
    white-space: nowrap;
}
.hps-word.active {
    position: relative; opacity: 1;
    transform: translateY(0); filter: blur(0);
    animation: hpsIn .6s var(--ease-out) forwards, hpsGradient 4s linear infinite;
}
.hps-word.exiting {
    animation: hpsOut .45s var(--ease-in) forwards;
}
.hps-scan {
    position: absolute; top: 0; left: -10%;
    width: 120%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(168,85,247,.12) 45%, rgba(192,132,252,.2) 50%, rgba(168,85,247,.12) 55%, transparent 100%);
    opacity: 0; pointer-events: none; z-index: 2;
}
.hps-scan.flash { animation: hpsScan .7s var(--ease) forwards; }
.hps-glow {
    position: absolute; inset: -20px -40px;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124,58,237,.08), transparent 70%);
    pointer-events: none; opacity: 0; transition: opacity .5s;
}
.hps-word.active ~ .hps-glow { opacity: 1; }
.hps-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 40%, #e9d5ff 70%, #c084fc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: hpsGradient 4s linear infinite;
}

/* ===========================================
   8. SECTIONS — Layout
   =========================================== */
.sec { padding: 7rem 2rem; position: relative; }
.sec-alt { background: var(--bg2); }
.sec-i { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

/* Section depth overlays */
.sec::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(139,92,246,.028), transparent 70%);
    pointer-events: none; z-index: 0;
}
.sec-alt::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 35% at 50% 100%, rgba(99,102,241,.025), transparent 70%);
    pointer-events: none; z-index: 0;
}

/* Section header */
.sec-h { text-align: center; max-width: 650px; margin: 0 auto 4.5rem; }
.sec-t {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800;
    margin-bottom: 1rem; letter-spacing: -.02em; text-align: center;
}
.sec-sub { font-size: 1rem; color: var(--tx2); line-height: 1.75; }

/* Section & showcase tags — pill with live dot */
.sec-tag, .sh-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .28rem .85rem .28rem .65rem; border-radius: 100px;
    background: rgba(139,92,246,.07); border: 1px solid rgba(139,92,246,.16);
    font-size: .6875rem; font-weight: 700; color: var(--purple-l);
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
}
.sec-tag::before, .sh-tag::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--purple-l);
    box-shadow: 0 0 7px var(--purple-l), 0 0 14px rgba(167,139,250,.4);
    flex-shrink: 0;
}

/* Showcase row */
.sh-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; margin-bottom: 6rem;
}
.sh-row:last-child { margin-bottom: 0; }
.sh-row.rev .sh-vis { order: -1; }
.sh-t {
    font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800;
    margin-bottom: 1rem; line-height: 1.2; letter-spacing: -.02em;
}
.sh-p { font-size: 1rem; color: var(--tx2); line-height: 1.8; margin-bottom: 1.5rem; }
.sh-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.sh-list li {
    display: flex; align-items: center; gap: .75rem;
    padding: .45rem 0; color: var(--tx2); font-size: .9375rem;
}
.sh-list li i { color: var(--green); font-size: 1.1rem; filter: drop-shadow(0 0 4px rgba(0,245,200,.35)); }

/* ===========================================
   9. VISUAL CARDS
   =========================================== */
.vc {
    background: rgba(20,20,34,.85); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.06); border-radius: 20px;
    padding: 2rem; position: relative; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(139,92,246,.04), 0 16px 48px rgba(0,0,0,.35);
}
.vc::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, #6d28d9, #a855f7, #c084fc);
}
.vc-h {
    display: flex; align-items: center; gap: .6rem;
    margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bd);
}
.vc-dot { width: 10px; height: 10px; border-radius: 50%; }
.vc-name {
    margin-left: .5rem; font-size: .7rem; color: var(--tx3);
    font-family: 'JetBrains Mono', monospace;
}

/* Futuristic Dashboard Card */
.vc-dash {
    background: rgba(10,10,18,.7); backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(107,0,255,.15);
    box-shadow: 0 0 60px rgba(107,0,255,.06), 0 12px 40px rgba(0,0,0,.3);
}
.vc-dash::before { background: linear-gradient(90deg, #6B00FF, #A020F0, var(--green)); }
.dash-stat-card {
    border-radius: 12px; padding: .6rem .7rem;
    transition: all .3s; cursor: default; position: relative; overflow: hidden;
}
.dash-stat-card:hover { transform: translateY(-2px); filter: brightness(1.1); }
.dash-stat-icon {
    width: 26px; height: 26px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; margin-bottom: .35rem;
}
.dash-stat-label {
    font-size: .42rem; font-weight: 700; color: #555;
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem;
}
.dash-stat-value { font-size: 1rem; font-weight: 800; line-height: 1; margin-bottom: .2rem; }
.dash-stat-change { font-size: .4rem; font-weight: 700; display: flex; align-items: center; gap: .1rem; }
.dash-stat-change.up { color: var(--green); }
.dash-stat-change.down { color: #ef4444; }

/* ===========================================
   10. CODE BLOCK
   =========================================== */
.code {
    background: var(--bg3); border-radius: var(--r);
    border: 1px solid var(--bd2); overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(139,92,246,.06);
}
.code-h {
    display: flex; align-items: center; gap: .5rem;
    padding: .65rem 1rem; background: rgba(255,255,255,.025);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.code-d { width: 11px; height: 11px; border-radius: 50%; }
.code-pa {
    margin-left: .6rem; font-size: .7rem; color: var(--tx3);
    font-family: 'JetBrains Mono', monospace;
}
.code-b {
    padding: 1.25rem; font-size: .75rem; color: #c9d1d9;
    line-height: 1.85; overflow-x: auto;
}
.code, pre, .code-b { width: 100%; max-width: 100vw; box-sizing: border-box; overflow-x: auto; }
.kw { color: #ff7b72; } .str { color: #a5d6ff; } .key { color: #79c0ff; } .fn { color: #d2a8ff; }

/* ===========================================
   11. SECURITY SECTION
   =========================================== */
.sec-vis {
    background: transparent; border: none; border-radius: 0;
    box-shadow: none; padding: 0 0 2rem; text-align: center;
    position: relative; overflow: visible;
}
.sec-vis::before { display: none; }
.sec-icon {
    width: 54px; height: 54px; margin: 0 auto 1.2rem;
    border-radius: 0; background: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--purple); box-shadow: none;
}
.sec-badges {
    display: flex; justify-content: center; gap: .75rem;
    margin-top: 2rem; flex-wrap: wrap;
}
.sbadge {
    background: var(--bg); border: 1px solid var(--bd); border-radius: 12px;
    padding: .65rem 1.1rem; text-align: center;
    transition: all .3s; cursor: default;
}
.sbadge:hover {
    border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.05);
    transform: translateY(-2px);
}
.sbadge-v { font-size: 1.15rem; font-weight: 800; }
.sbadge-l { font-size: .6rem; color: var(--tx3); font-weight: 600; }
.glow-p { animation: secGlow 3s ease-in-out infinite; }

/* Security Core Rings */
.sec-core-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid; pointer-events: none; opacity: .08;
}
.sec-core-ring--1 {
    width: 280px; height: 280px; top: 50%; left: 50%;
    transform: translate(-50%,-50%); border-color: var(--purple);
    animation: spin 30s linear infinite;
}
.sec-core-ring--2 {
    width: 340px; height: 340px; top: 50%; left: 50%;
    transform: translate(-50%,-50%); border-color: var(--indigo);
    animation: spin 22s linear infinite reverse; border-style: dashed;
}
.sec-core-ring--3 {
    width: 400px; height: 400px; top: 50%; left: 50%;
    transform: translate(-50%,-50%); border-color: rgba(168,85,247,.5);
    animation: spin 40s linear infinite; border-style: dotted;
}

/* ===========================================
   12. PRICING
   =========================================== */
.pr-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; max-width: 740px; margin: 0 auto;
}
.pr-card {
    padding: 2.25rem; border-radius: 20px;
    background: linear-gradient(145deg, rgba(20,20,34,.9), rgba(14,14,24,.95));
    border: 1px solid rgba(255,255,255,.055);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: all .35s; position: relative; overflow: hidden;
}
.pr-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--grad); opacity: 0; transition: opacity .3s;
}
.pr-card:hover {
    border-color: var(--bdh); transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(139,92,246,.15);
}
.pr-card:hover::before { opacity: 1; }
.pr-card:last-child {
    border-color: rgba(139,92,246,.2);
    background: linear-gradient(145deg, rgba(25,18,45,.9), rgba(18,14,32,.95));
}
.pr-type {
    font-size: .75rem; font-weight: 700; color: var(--tx3);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem;
}
.pr-val {
    font-size: 2.5rem; font-weight: 900; margin-bottom: .15rem;
    letter-spacing: -.02em;
}
.pr-val small { font-size: .9rem; font-weight: 500; color: var(--tx3); }
.pr-feat { list-style: none; padding: 0; margin: 1.25rem 0; }
.pr-feat li {
    display: flex; align-items: center; gap: .7rem;
    font-size: .8125rem; color: var(--tx2); padding: .4rem 0;
}
.pr-feat li i { color: var(--green); font-size: .875rem; }
.pr-card:active { box-shadow: 0 0 0 2px var(--purple); }

/* ===========================================
   13. FEATURES GRID
   =========================================== */
.fg > div {
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(145deg, rgba(20,20,34,.92), rgba(14,14,24,.97));
    border: 1px solid rgba(255,255,255,.055);
    box-shadow: 0 2px 16px rgba(0,0,0,.2);
    position: relative; overflow: hidden;
}
.fg > div:hover {
    border-color: rgba(139,92,246,.22);
    box-shadow: 0 8px 36px rgba(139,92,246,.13), 0 2px 16px rgba(0,0,0,.3);
}

/* Feature card scan line on hover */
.fg > div::after {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,.04), transparent);
    transition: none; pointer-events: none;
}
.fg > div:hover::after { animation: cardScan .8s ease-out; }

/* ===========================================
   14. FAQ
   =========================================== */
.faq-grid {
    display: block; max-width: 780px; margin: 0 auto; padding: 0;
    width: 100%; box-sizing: border-box;
}
.faq-vis { position: relative; }
.faq-hero-card {
    background: var(--bg-card); border: 1px solid var(--bd2);
    border-radius: var(--rl); padding: 2.5rem; text-align: center;
    position: relative; overflow: hidden;
}
.faq-hero-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--grad);
}

/* FAQ items container */
.faq-items {
    display: flex; flex-direction: column; gap: .6rem;
    background: none; border: none; box-shadow: none;
    border-radius: 0; padding: 0; margin: 0 auto;
    max-width: 780px; width: 100%;
}

/* FAQ card style */
.faq-it.faq-card {
    background: var(--bg-card); border: 1px solid var(--bd2);
    border-radius: 20px; margin-bottom: 1rem; padding: 0;
    box-shadow: 0 2px 16px rgba(139,92,246,.06);
    transition: box-shadow .25s, background .25s, border-color .25s, transform .25s;
    cursor: pointer; overflow: hidden;
}
.faq-it.faq-card:hover {
    box-shadow: 0 6px 32px rgba(139,92,246,.15);
    border-color: rgba(139,92,246,.35);
    transform: translateY(-2px);
}
.faq-it.faq-card.active {
    background: var(--bg-card-h);
    border-color: var(--purple);
    box-shadow: 0 0 0 1px rgba(139,92,246,.2), 0 8px 40px rgba(139,92,246,.1);
}
.faq-it.faq-card:last-child { margin-bottom: 0; }

/* FAQ question button */
.faq-q {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; padding: 1.35rem 1.75rem;
    background: none; border: none; cursor: pointer;
    color: var(--tx); font-size: 1.05rem; font-weight: 700;
    text-align: left; font-family: inherit; gap: 1rem;
    transition: color .2s; position: relative;
}
.faq-q i { transition: transform .3s; color: var(--tx3); font-size: .8rem; flex-shrink: 0; }
.faq-it.active .faq-q i { transform: rotate(180deg); color: var(--purple-l); }

/* FAQ answer */
.faq-a {
    font-size: .97rem; color: var(--tx2);
    padding: 0 1.75rem; background: none;
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease), padding .3s;
    text-align: left; line-height: 1.7;
}
.faq-it.active .faq-a { max-height: 300px; padding-bottom: 1.5rem; }
.faq-a-inner { font-size: .8125rem; color: var(--tx2); line-height: 1.85; }

/* ===========================================
   15. METRICS STRIP
   =========================================== */
.mstat {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: .75rem; margin-bottom: 1.5rem;
}
.ms {
    background: var(--bg3); border: 1px solid var(--bd2);
    border-radius: 14px; padding: .85rem 1rem;
}
.ms-l {
    font-size: .65rem; color: var(--tx3); margin-bottom: .3rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.ms-v { font-size: 1.05rem; font-weight: 800; color: var(--tx); }

/* ===========================================
   16. TRUST BAR
   =========================================== */
.trust-bar {
    display: flex; gap: 1.5rem; justify-content: center;
    flex-wrap: wrap; margin-top: 3.5rem;
    padding-top: 2rem; border-top: 1px solid var(--bd);
}
.trust-item {
    display: flex; align-items: center; gap: .5rem;
    font-size: .75rem; color: var(--tx3); font-weight: 500;
    padding: .45rem 1rem; border-radius: 100px;
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05);
    transition: all .3s;
}
.trust-item:hover {
    background: rgba(139,92,246,.07); border-color: rgba(139,92,246,.18);
    transform: translateY(-1px);
}
.trust-item i { color: var(--green); font-size: .875rem; }

/* ===========================================
   17. CTA SECTION
   =========================================== */
.cta {
    position: relative; padding: 7rem 2rem;
    text-align: center; overflow: hidden;
    border-top: 1px solid rgba(139,92,246,.08);
    border-bottom: 1px solid rgba(139,92,246,.08);
}
.cta-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,.09) 0%, rgba(99,102,241,.05) 50%, rgba(139,92,246,.07) 100%);
    border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd);
}
.cta-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 500px; height: 350px;
    background: radial-gradient(ellipse, rgba(139,92,246,.1), transparent);
    filter: blur(60px); pointer-events: none;
}

/* ===========================================
   18. FOOTER
   =========================================== */
.ft {
    background: var(--bg2); border-top: 1px solid rgba(139,92,246,.1);
    padding: 4rem 2rem 2rem;
}
.ft-i { max-width: 1200px; margin: 0 auto; }
.ft-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.ft-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.ft-logo img { max-height: 48px; width: auto; }
.ft-desc { font-size: .8125rem; color: var(--tx3); line-height: 1.75; }
.ft-h {
    font-size: .75rem; font-weight: 700; color: var(--tx);
    margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .08em;
}
.ft-lk { list-style: none; padding: 0; }
.ft-lk li { margin-bottom: .6rem; }
.ft-lk a {
    font-size: .8125rem; color: var(--tx3);
    transition: all .25s;
}
.ft-lk a:hover { color: var(--purple-l); padding-left: .25rem; }
.ft-bot {
    padding-top: 2rem; border-top: 1px solid var(--bd);
    display: flex; justify-content: space-between; align-items: center;
    font-size: .75rem; color: var(--tx3);
}

/* ===========================================
   19. MOBILE MENU
   =========================================== */
.mm {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10,10,18,.98); backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    padding: 2rem; overflow-y: auto;
}
.mm.open { transform: translateX(0); }
.mm-h {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 3rem;
}
.mm-c {
    background: none; border: none; color: var(--tx);
    cursor: pointer; font-size: 1.5rem;
}
.mm-nav a {
    display: block; padding: 1rem 0; font-size: 1.4rem;
    font-weight: 700; color: var(--tx);
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: padding-left .2s, color .2s;
}
.mm-nav a:hover { padding-left: .75rem; color: var(--purple-l); }
.mm-act { margin-top: 2rem; }
.mm-act .btn { width: 100%; margin-bottom: 1rem; }

/* ===========================================
   20. MARQUEE / INTEGRATIONS
   =========================================== */
.mq-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track {
    display: flex; gap: 1rem; width: max-content;
    will-change: transform;
}
.mq-track.left { animation: marqueeLeft 35s linear infinite; }
.mq-track.right { animation: marqueeRight 40s linear infinite; }
.mq-track:hover { animation-play-state: paused; }
.mq-item {
    display: flex; align-items: center; gap: .85rem;
    padding: .75rem 1.6rem; border-radius: 14px;
    background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05);
    white-space: nowrap; transition: all .45s var(--ease);
    flex-shrink: 0; cursor: default;
}
.mq-item:hover {
    background: rgba(139,92,246,.07); border-color: rgba(139,92,246,.22);
    transform: translateY(-3px); box-shadow: 0 8px 28px rgba(139,92,246,.1);
}
.mq-logo {
    height: 38px; width: auto; max-width: 120px;
    object-fit: contain; flex-shrink: 0; opacity: .7;
    transition: all .45s var(--ease);
}
.mq-logo.svg-white { filter: brightness(0) invert(1); }
.mq-item:hover .mq-logo { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 12px rgba(107,0,255,.35)); }
.mq-item:hover .mq-logo.svg-white { filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(107,0,255,.35)); }
.mq-initial {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; color: #fff;
    flex-shrink: 0; opacity: .6; transition: all .45s var(--ease);
}
.mq-item:hover .mq-initial { opacity: 1; transform: scale(1.1); }
.mq-name {
    font-size: .85rem; font-weight: 700;
    color: rgba(255,255,255,.5); letter-spacing: .02em;
    transition: color .45s;
}
.mq-item:hover .mq-name { color: rgba(255,255,255,.95); }

/* ===========================================
   21. LIVE INDICATOR
   =========================================== */
.live {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); display: inline-block;
    margin-right: .35rem; position: relative;
}
.live::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: 50%; border: 2px solid var(--green);
    animation: livePulse 1.5s ease-out infinite;
}

/* ===========================================
   22. SIMULATOR (legacy, kept for compat)
   =========================================== */
.sim {
    max-width: 680px; margin: 0 auto; border-radius: var(--rl);
    background: rgba(20,20,34,.9); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bd2); position: relative; overflow: hidden;
    box-shadow: 0 0 40px rgba(139,92,246,.08), 0 16px 48px rgba(0,0,0,.35);
}
.sim::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.sim-head { padding: 1.5rem 2rem 0; position: relative; z-index: 2; text-align: center; }
.sim-head h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .25rem; }
.sim-head p { font-size: .8125rem; color: var(--tx3); }
.sim-body { padding: 1.25rem 2rem 1.75rem; position: relative; z-index: 2; }
.sim-top-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.sim-input-wrap { margin-bottom: 0; }
.sim-input-wrap label { display: block; font-size: .65rem; font-weight: 700; color: var(--tx3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.sim-input { width: 100%; padding: .85rem 1rem; background: var(--bg); border: 1px solid var(--bd2); border-radius: 12px; color: var(--tx); font-size: 1.15rem; font-weight: 700; font-family: inherit; outline: none; transition: border-color .3s, box-shadow .3s; }
.sim-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.sim-results { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 0; }
.sim-card { padding: .9rem; border-radius: 12px; text-align: center; transition: transform .3s, box-shadow .3s; }
.sim-card:hover { transform: translateY(-2px); }
.sim-card-fee { background: rgba(239,68,68,.05); border: 1px solid rgba(239,68,68,.1); }
.sim-card-net { background: rgba(139,92,246,.05); border: 1px solid rgba(139,92,246,.1); }
.sim-card-label { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .25rem; }
.sim-card-value { font-size: 1.3rem; font-weight: 800; transition: all .4s; }
.sim-chart-wrap { background: var(--bg); border: 1px solid var(--bd); border-radius: 16px; padding: 1rem 1.25rem; }
.sim-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.sim-chart-head span { font-size: .7rem; font-weight: 600; color: var(--tx3); }
.sim-chart { display: flex; align-items: flex-end; gap: 3px; height: 100px; }
.sim-bar { flex: 1; border-radius: 4px 4px 0 0; position: relative; cursor: pointer; transition: all .5s var(--ease); min-height: 4px; }
.sim-bar:hover { filter: brightness(1.4); transform: scaleY(1.05); }
.sim-bar .sim-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--bg-elev); border: 1px solid var(--bd2); border-radius: 8px; padding: .35rem .65rem; font-size: .6rem; font-weight: 700; color: var(--tx); white-space: nowrap; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 10; }
.sim-bar:hover .sim-tip { opacity: 1; }
.sim-btn { width: 100%; padding: .75rem; border: none; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: .875rem; cursor: pointer; transition: all .3s; font-family: inherit; margin-top: 1rem; position: relative; overflow: hidden; }
.sim-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,.35); }
.sim-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); transform: translateX(-100%); transition: none; }
.sim-btn.flash::after { transform: translateX(100%); transition: transform .6s; }

/* Dashboard Chart */
.ichart { position: relative; display: flex; align-items: flex-end; gap: 5px; height: 140px; padding: .75rem; background: rgba(255,255,255,.02); border-radius: 16px; border: 1px solid var(--bd2); }
.cbar { flex: 1; border-radius: 4px 4px 0 0; transition: all .4s; cursor: pointer; position: relative; min-height: 4px; }
.cbar:hover { filter: brightness(1.3); }
.cbar .tt { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--bg-elev); border: 1px solid var(--bd2); border-radius: 8px; padding: .35rem .6rem; font-size: .65rem; font-weight: 600; color: var(--tx); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 10; }
.cbar:hover .tt { opacity: 1; }

/* ===========================================
   23. KEYFRAME ANIMATIONS
   =========================================== */
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderFade { 0% { opacity: .6; } 100% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes livePulse { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes secGlow { 0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,.12); } 50% { box-shadow: 0 0 40px rgba(139,92,246,.25); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bar-anim { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes marqueeLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marqueeRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes pulseRing { 0%, 100% { opacity: .3; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .6; transform: translate(-50%,-50%) scale(1.04); } }
@keyframes hpsIn { 0% { opacity: 0; transform: translateY(14px) scale(.97); filter: blur(8px); } 40% { filter: blur(2px); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes hpsOut { 0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } 60% { filter: blur(4px); } 100% { opacity: 0; transform: translateY(-12px) scale(.97); filter: blur(10px); } }
@keyframes hpsScan { 0% { opacity: 0; transform: translateX(-100%); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }
@keyframes hpsGradient { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes cardScan { 0% { left: -60%; } 100% { left: 110%; } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,.1); } 50% { box-shadow: 0 0 40px rgba(139,92,246,.25); } }

/* Premium Animation Keyframes */
@keyframes breathGlow { 0%, 100% { box-shadow: 0 0 12px rgba(139,92,246,.06), inset 0 0 12px rgba(139,92,246,.02); } 50% { box-shadow: 0 0 24px rgba(139,92,246,.12), inset 0 0 20px rgba(139,92,246,.04); } }
@keyframes scanShine { 0% { transform: translateX(-100%) skewX(-15deg); } 100% { transform: translateX(400%) skewX(-15deg); } }
@keyframes codeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes borderTrace { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes gradientText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes subtlePulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ctaBreath { 0%, 100% { box-shadow: 0 4px 20px rgba(139,92,246,.38), 0 0 0 0 rgba(139,92,246,0); } 50% { box-shadow: 0 8px 32px rgba(139,92,246,.5), 0 0 0 6px rgba(139,92,246,.06); } }
@keyframes liveBeacon { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes codeScan { 0% { top: -2px; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: calc(100% + 2px); opacity: 0; } }

/* Reveal animations */
.rv {
    opacity: 0; transform: translateY(32px) scale(.995);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.rv.vis { opacity: 1; transform: translateY(0) scale(1); }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; } .rv-d4 { transition-delay: .4s; }
.bar-a { transform-origin: bottom; animation: bar-anim .8s ease-out forwards; }
.float { animation: float 6s ease-in-out infinite; }
.shimmer { background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,.06) 50%, transparent 100%); background-size: 200% 100%; animation: shimmer 3s infinite; }

/* ===========================================
   23b. PREMIUM ANIMATIONS — Component Styles
   =========================================== */

/* --- Metrics Strip Premium --- */
.metric-card {
    position: relative; overflow: hidden;
    animation: breathGlow 5s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
}
.metric-card::after {
    content: ''; position: absolute; top: 0; left: -30%;
    width: 25%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,.06), transparent);
    pointer-events: none; opacity: 0;
    animation: scanShine 8s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
}
.metric-card:nth-child(1) { --card-delay: 0s; }
.metric-card:nth-child(2) { --card-delay: 1.2s; }
.metric-card:nth-child(3) { --card-delay: 2.4s; }
.metric-card:nth-child(4) { --card-delay: 3.6s; }
.metric-card:hover {
    border-color: rgba(139,92,246,.3);
    box-shadow: 0 8px 32px rgba(139,92,246,.15), 0 0 20px rgba(139,92,246,.08);
}
.metric-card:hover::after { opacity: 1; animation-duration: 1.2s; }

.metrics-trust-item {
    transition: all .3s var(--ease); cursor: default;
    padding: .35rem .75rem; border-radius: 8px;
}
.metrics-trust-item:hover {
    background: rgba(139,92,246,.06);
    transform: translateY(-1px);
}
.metrics-trust-item i {
    transition: transform .3s var(--ease);
}
.metrics-trust-item:hover i {
    animation: subtlePulse 1.5s ease-in-out infinite;
}

/* Stagger reveal for metric cards */
.metrics-strip-grid .metric-card { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.metrics-strip-grid.vis .metric-card { opacity: 1; transform: translateY(0); }
.metrics-strip-grid.vis .metric-card:nth-child(1) { transition-delay: .05s; }
.metrics-strip-grid.vis .metric-card:nth-child(2) { transition-delay: .15s; }
.metrics-strip-grid.vis .metric-card:nth-child(3) { transition-delay: .25s; }
.metrics-strip-grid.vis .metric-card:nth-child(4) { transition-delay: .35s; }

/* --- API Section Premium --- */
.api-section { position: relative; }
.api-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(139,92,246,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 10%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.api-aura {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(139,92,246,.04), transparent 65%);
    filter: blur(40px); pointer-events: none; z-index: 0;
}

/* API headline gradient animation */
.api-headline-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 40%, #a855f7 70%, #06b6d4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradientText 6s linear infinite;
}

/* API list stagger */
.rv .sh-list li {
    opacity: 0; transform: translateX(-12px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.rv.vis .sh-list li { opacity: 1; transform: translateX(0); }
.rv.vis .sh-list li:nth-child(1) { transition-delay: .1s; }
.rv.vis .sh-list li:nth-child(2) { transition-delay: .2s; }
.rv.vis .sh-list li:nth-child(3) { transition-delay: .3s; }
.rv.vis .sh-list li:nth-child(4) { transition-delay: .4s; }
.sh-list li i {
    transition: all .3s var(--ease);
}
.sh-list li:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(0,245,200,.4));
}
.sh-list li:hover {
    padding-left: .25rem;
}

/* Documentation button premium */
.btn-doc {
    position: relative; overflow: hidden;
}
.btn-doc::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(139,92,246,.3), rgba(99,102,241,.1), rgba(139,92,246,.3));
    background-size: 200% 200%;
    opacity: 0; transition: opacity .4s;
    z-index: -1;
}
.btn-doc:hover::before { opacity: 1; animation: borderTrace 2s linear infinite; }
.btn-doc:hover {
    border-color: rgba(139,92,246,.4);
    box-shadow: 0 4px 24px rgba(139,92,246,.2), 0 0 12px rgba(139,92,246,.1);
    transform: translateY(-2px);
}
.btn-doc:hover i { transform: translateX(3px); }
.btn-doc i { transition: transform .3s var(--ease); }

/* --- Code Block Terminal Premium --- */
.code-premium {
    position: relative;
    animation: codeFloat 8s ease-in-out infinite;
    transition: box-shadow .4s var(--ease);
}
.code-premium:hover {
    animation-play-state: paused;
    box-shadow: 0 16px 48px rgba(139,92,246,.18), 0 0 0 1px rgba(139,92,246,.12);
}

/* Moving border glow for code block */
.code-premium::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6d28d9, #a855f7, #c084fc, #a855f7, #6d28d9, transparent);
    background-size: 200% 100%;
    animation: borderTrace 4s linear infinite;
}

/* Code scan line */
.code-scan {
    position: absolute; left: 0; right: 0; top: -2px;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(139,92,246,.25) 50%, transparent 90%);
    pointer-events: none; z-index: 5;
    animation: codeScan 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Live API indicator */
.code-live {
    display: flex; align-items: center; gap: .35rem;
    margin-left: auto;
}
.code-live-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: liveBeacon 2s ease-in-out infinite;
}
.code-live-text {
    font-size: .55rem; font-weight: 700; color: var(--tx3);
    text-transform: uppercase; letter-spacing: .08em;
}

/* Code syntax highlights premium */
.code-premium .kw { color: #ff7b72; text-shadow: 0 0 8px rgba(255,123,114,.15); }
.code-premium .str { color: #a5d6ff; text-shadow: 0 0 8px rgba(165,214,255,.1); }
.code-premium .key { color: #79c0ff; text-shadow: 0 0 6px rgba(121,192,255,.1); }
.code-premium .fn { color: #d2a8ff; text-shadow: 0 0 8px rgba(210,168,255,.15); }

/* --- Integrations Premium --- */
.mq-item {
    filter: brightness(.7) saturate(.6);
    transition: filter .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.mq-item:hover {
    filter: brightness(1) saturate(1);
}

/* Integrations ecosystem header (extracted from inline) */
.integrations {
    margin-top: 4rem; padding-top: 2.5rem;
    border-top: 1px solid var(--bd);
    text-align: center; position: relative; overflow: hidden;
}
.integrations-aura {
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 200px;
    background: radial-gradient(ellipse, rgba(124,58,237,.07), transparent 70%);
    pointer-events: none;
}
.integrations-eyebrow {
    display: flex; align-items: center; justify-content: center;
    gap: .6rem; margin-bottom: .35rem; position: relative;
}
.integrations-eyebrow-dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 10px var(--accent-mint), 0 0 30px rgba(0,245,200,.2);
    animation: blink 1.5s infinite;
}
.integrations-eyebrow p {
    font-size: .6rem; font-weight: 800; color: rgba(255,255,255,.45);
    text-transform: uppercase; letter-spacing: .18em; margin: 0;
}
.integrations-title {
    font-size: 1.15rem; font-weight: 800; margin: 0 0 .15rem;
    background: linear-gradient(135deg, #fff 0%, rgba(124,58,237,.8) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.integrations-sub {
    font-size: .68rem; color: var(--tx3); opacity: .7; margin-bottom: 1.8rem;
}

/* Edge fade for marquee — professional vanishing borders */
.mq-wrap {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* --- Features Cards Premium --- */
.feature-card-premium {
    position: relative; overflow: hidden;
}
.feature-card-premium::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.12), transparent 55%);
    opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.feature-card-premium:hover::before { opacity: 1; }
.feature-card-premium:hover {
    border-color: rgba(139,92,246,.22) !important;
    box-shadow: 0 12px 40px rgba(139,92,246,.12) !important;
    transform: translateY(-4px) !important;
}

/* --- Pricing featured card: animated border trace --- */
.pr-card:last-child::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, #6d28d9, #a855f7, #c084fc, #a855f7, #6d28d9, transparent);
    background-size: 200% 100%;
    animation: borderTrace 4s linear infinite;
}

/* --- Neon divider utility --- */
.neon-divider {
    position: relative; height: 1px; max-width: 1200px;
    margin: 0 auto; border: 0;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,.35), transparent);
    overflow: visible;
}
.neon-divider::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-l), transparent);
    filter: blur(1px);
    animation: dividerSweep 6s ease-in-out infinite;
}
@keyframes dividerSweep { 0% { transform: translateX(-50%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(330%); opacity: 0; } }

/* --- Security section pulse --- */
.sec-vis .sec-icon {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* --- CTA Premium --- */
.cta-btn-premium {
    animation: ctaBreath 4s ease-in-out infinite;
}
.cta-btn-premium:hover {
    animation: none;
    box-shadow: 0 12px 40px rgba(139,92,246,.55), 0 0 0 4px rgba(139,92,246,.1) !important;
}

/* --- FAQ Premium --- */
.faq-it.faq-card {
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.faq-it.faq-card.active .faq-q {
    color: var(--purple-l);
}

/* =====================================================
   PREMIUM SECTIONS REFINEMENT v3
   (Features · FAQ · Security · Background depth)
   ===================================================== */

/* ---- Background depth: header spotlight + opt-in tech grid ---- */
.sec-h { position: relative; }
.sec-h::before {
    content: ''; position: absolute; left: 50%; top: 45%;
    transform: translate(-50%, -50%);
    width: min(520px, 90%); height: 260px;
    background: radial-gradient(ellipse, rgba(139,92,246,.11), transparent 70%);
    filter: blur(8px); pointer-events: none; z-index: -1;
}
.sec-grid::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(139,92,246,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000, transparent 82%);
    mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000, transparent 82%);
}

/* ---- FEATURES — premium glass cards ---- */
.feat-card {
    padding: 1.75rem; border-radius: 20px; cursor: default;
    transition: transform .4s var(--ease), border-color .4s var(--ease),
                box-shadow .4s var(--ease), background .4s var(--ease);
}
.feat-card .ctl {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--grad); opacity: 0; transition: opacity .35s var(--ease);
    border-radius: 20px 20px 0 0;
}
.fg > div:hover .ctl { opacity: 1; }
.feat-card--hl .ctl { opacity: 1; }
.feat-card--hl {
    background: linear-gradient(150deg, rgba(124,58,237,.1), rgba(14,14,24,.96)) !important;
    border-color: rgba(139,92,246,.2) !important;
}
.feat-badge {
    position: absolute; top: 1.3rem; right: 1.3rem;
    font-size: .56rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; line-height: 1; padding: .3rem .55rem;
    border-radius: 100px; background: var(--fcb); color: var(--fc);
    border: 1px solid rgba(255,255,255,.08);
}
.feat-ico {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.15rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; background: var(--fcb); color: var(--fc);
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fg > div:hover .feat-ico {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px -8px var(--fc);
}
.feat-title { font-size: 1rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.01em; }
.feat-text { font-size: .8125rem; color: var(--tx2); line-height: 1.7; }

/* ---- FAQ — 2-column with trust aside ---- */
.faq-grid {
    display: grid; grid-template-columns: .82fr 1.35fr;
    gap: 2.5rem; max-width: 1080px; align-items: start;
}
.faq-aside { position: sticky; top: 100px; }
.faq-aside-card {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, rgba(124,58,237,.1), rgba(255,255,255,.02));
    border: 1px solid var(--bd2); border-radius: 24px; padding: 2rem; text-align: left;
}
.faq-aside-card::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(139,92,246,.18), transparent 70%);
    pointer-events: none;
}
.faq-aside-ico {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--purple-l); margin-bottom: 1.1rem;
    background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.2);
    box-shadow: 0 0 22px rgba(139,92,246,.15);
}
.faq-aside-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .6rem; letter-spacing: -.02em; }
.faq-aside-card p { font-size: .875rem; color: var(--tx2); line-height: 1.7; margin-bottom: 1.4rem; }
.faq-aside-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.faq-aside-stat .v { font-size: 1.35rem; font-weight: 800; color: var(--purple-l); line-height: 1; }
.faq-aside-stat .l { font-size: .65rem; color: var(--tx3); font-weight: 600; margin-top: .25rem; }
.faq-q {
    -webkit-tap-highlight-color: transparent;
}
.faq-it.active .faq-a { max-height: 600px; }

/* ---- SECURITY — layered architecture ---- */
.sec-arch { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.sec-item {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.15rem 1.25rem; border-radius: 18px;
    background: rgba(255,255,255,.018); border: 1px solid var(--bd2);
    position: relative; overflow: hidden;
    transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.sec-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, transparent, var(--sc), transparent);
    opacity: .55;
}
.sec-item:hover {
    border-color: var(--scb); background: var(--scbg); transform: translateX(4px);
}
.sec-item-ico {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; color: var(--sc); background: var(--scbg);
    border: 1px solid var(--scb); box-shadow: 0 0 16px -4px var(--sc);
}
.sec-item-h {
    font-weight: 700; font-size: .9375rem; margin-bottom: .3rem;
    display: flex; align-items: center; gap: .55rem;
}
.sec-item-status {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .56rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--accent-mint);
    padding: .15rem .45rem; border-radius: 100px;
    background: rgba(0,245,200,.08); border: 1px solid rgba(0,245,200,.15);
}
.sec-item-status::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent-mint); box-shadow: 0 0 6px var(--accent-mint);
    animation: blink 1.8s infinite;
}
.sec-item-t { font-size: .8125rem; color: var(--tx2); line-height: 1.7; }

/* Security Core: tech grid + holographic scanner */
.sec-vis { position: relative; }
.sec-vis::before {
    display: block; content: ''; position: absolute;
    left: 12%; right: 12%; top: 8%; height: 2px; z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,.55), transparent);
    box-shadow: 0 0 12px rgba(139,92,246,.5);
    animation: secScan 5s ease-in-out infinite; pointer-events: none;
}
.sec-vis::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(139,92,246,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,.05) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 25%, transparent 70%);
    mask-image: radial-gradient(circle at 50% 35%, #000 25%, transparent 70%);
}
.sec-vis > * { position: relative; z-index: 2; }
@keyframes secScan {
    0%, 100% { transform: translateY(0); opacity: 0; }
    8% { opacity: 1; }
    50% { transform: translateY(200px); opacity: 1; }
    60% { opacity: 0; }
}

/* --- Stagger reveal utility --- */
.rv-stagger > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rv-stagger.vis > * { opacity: 1; transform: translateY(0); }
.rv-stagger.vis > *:nth-child(1) { transition-delay: .05s; }
.rv-stagger.vis > *:nth-child(2) { transition-delay: .12s; }
.rv-stagger.vis > *:nth-child(3) { transition-delay: .19s; }
.rv-stagger.vis > *:nth-child(4) { transition-delay: .26s; }
.rv-stagger.vis > *:nth-child(5) { transition-delay: .33s; }
.rv-stagger.vis > *:nth-child(6) { transition-delay: .4s; }

/* Left/right reveal for split sections — triggered by parent .rv.vis */
.rv .rv-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s; }
.rv .rv-right { opacity: 0; transform: translateX(30px); transition: opacity .7s var(--ease) .25s, transform .7s var(--ease) .25s; }
.rv.vis .rv-left, .rv.vis .rv-right { opacity: 1; transform: translateX(0); }

/* ===========================================
   24. RESPONSIVE — Desktop (≤1024px)
   =========================================== */
@media (max-width: 1024px) {
    .sh-row { grid-template-columns: 1fr; gap: 2.5rem; }
    .sh-row.rev .sh-vis { order: 0; }
    .pr-grid { grid-template-columns: 1fr; }
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .fg { grid-template-columns: repeat(2, 1fr) !important; }
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 720px; }
    .faq-aside { position: static; }
    .faq-aside-card { text-align: center; }
    .faq-aside-ico { margin-left: auto; margin-right: auto; }
    .faq-aside-stats { justify-content: center; }

    .hero-globe-section {
        grid-template-columns: 1fr !important; text-align: center !important; gap: 1.5rem !important;
    }
    .hero-globe-section > div:first-child {
        order: 2; max-width: 100%; width: 100%; margin: 0 auto; padding: 0 .5rem; box-sizing: border-box;
    }
    .hero-globe-section > div:first-child p,
    .hero-globe-section > div:first-child h3 { text-align: left; }
    .hero-globe-section > div:last-child { order: 1; max-width: 100%; width: 100%; margin: 0 auto; }
}

/* ===========================================
   25. RESPONSIVE — Tablet (≤768px)
   =========================================== */
@media (max-width: 768px) {
    /* Reduce premium animations on mobile */
    .metric-card { animation: none; }
    .metric-card::after { display: none; }
    .code-premium { animation: none; }
    .code-scan { display: none; }
    .api-section::before { display: none; }
    .cta-btn-premium { animation: none; }
    /* v3 sections: reduce decorative load on mobile */
    .sec-grid::before { background-size: 32px 32px; opacity: .6; }
    .sec-h::before { filter: none; width: min(340px, 92%); height: 200px; }
    .sec-vis::before { display: none; }
    .sec-item:hover { transform: none; }
    .feat-card--hl { background: var(--bg-card) !important; }

    /* Nav */
    .nav-lk { display: none; }
    .nav-act .btn { display: none; }
    .nav-mob { display: block; }
    .nav { padding: 0 1rem !important; }
    .nav-i { height: 56px; padding: 0 !important; }
    .nav-logo { font-size: 1.1rem; height: 56px; }
    .nav-logo img { max-height: 52px; padding: 4px 0 4px 2px; }
    .nav-mob { padding: 8px 0 !important; height: 56px; }

    /* Hero */
    .hero { padding: 5rem .75rem 2rem; min-height: auto; }
    .hero-t { font-size: 2.25rem; }
    .hero-sub { font-size: .95rem; padding: 0 .25rem; }
    .hero-btns { gap: .6rem; }
    .hero-stats { gap: 1rem; }
    .hs-v { font-size: 1.75rem; }

    /* Sections */
    .sec { padding: 3rem .75rem; }
    .sec-i { padding: 0 .25rem; }
    .sec-h { margin-bottom: 2rem; }
    .sec-t, .sh-t { font-size: 1.1rem !important; }
    .sh-p, .sec-sub { font-size: .95rem; }

    /* Layout */
    .sh-row { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
    .sh-row.rev .sh-vis { order: 0; }
    .sh-vis { display: flex !important; flex-direction: column !important; align-items: center; }
    .sh-vis .code { width: 100%; }
    .sh-list { margin-bottom: 1.5rem; }
    .fg { grid-template-columns: 1fr !important; }
    .faq-grid { grid-template-columns: 1fr; }
    .mstat { grid-template-columns: 1fr 1fr 1fr; }

    /* Cards */
    .vc { padding: 1rem; border-radius: 14px !important; }
    .vc-h { margin-bottom: 1rem; padding-bottom: .5rem; }
    .sec-vis { padding: 1.5rem !important; border-radius: 14px !important; }
    .pr-card { border-radius: 14px !important; padding: 1rem !important; }
    .faq-it.faq-card { border-radius: 14px !important; }
    .sbadge { padding: .5rem .7rem; }

    /* Code block */
    .code-h { padding: .5rem .5rem; }
    .code-b { padding: .7rem; font-size: .7rem; }
    .code-b pre { white-space: pre-wrap; word-break: break-all; }

    /* Footer */
    .ft-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ft-bot { flex-direction: column; gap: 1rem; text-align: center; }

    /* Map */
    .hero-globe-section > div:last-child { max-width: 100%; width: 100%; }
    .hero-globe-section > div:last-child .brazil-map-card { padding: .5rem; border-radius: 12px; }
    .hero-globe-section > div:last-child .brazil-map-card svg { min-height: 420px; }
    .hero-globe-section > div:last-child .float { display: none; }
    .hero-globe-section > div:first-child { max-width: 100%; padding: 0 .25rem; }

    /* Buttons */
    .btn { display: block; width: 100%; max-width: 340px; }

    /* Centering */
    .sec-i, .sh-row, .pr-grid, .faq-grid, .mstat, .fg {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box;
        padding-left: .5rem; padding-right: .5rem;
    }
    .hero-ct { padding-left: .5rem; padding-right: .5rem; }

    /* Mobile footer */
    .ft, .ft-i, .ft-grid { width: 100% !important; max-width: 100% !important; box-sizing: border-box; padding-left: .5rem !important; padding-right: .5rem !important; }
}

/* ===========================================
   26. RESPONSIVE — Mobile (≤480px)
   =========================================== */
@media (max-width: 480px) {
    html, body { overflow-x: hidden; }
    .hero-t { font-size: 1.3rem !important; }
    .hero { padding: 3.5rem .5rem 1rem; }
    .sec { padding: 2rem .5rem; }
    .sec-i { padding: 0 .2rem; }
    .sec-t { font-size: 1.1rem !important; }
    .btn, .btn-lg { font-size: .89rem; }
    .nav-logo img { max-height: 44px; padding: 6px 0; }
    .nav-logo { height: 52px; }
    .nav { padding: 0 .5rem !important; }
    .nav-i { padding: 0 !important; height: 48px; }
    .nav-mob { height: 40px; }
    .vc { padding: .7rem; }
    .sec-vis { padding: 1rem !important; }
    .pr-card { padding: .7rem !important; }
    .faq-grid, .pr-grid, .mstat { gap: .7rem !important; }
    .sh-p, .sec-sub { font-size: .89rem; }
    .code-b { padding: .5rem !important; font-size: .58rem !important; }
    .code-b pre { white-space: pre-wrap !important; word-break: break-all !important; font-size: .55rem !important; }
    .code-pa { font-size: .5rem !important; }
    .hero-stats { gap: .75rem; }
    .hs-v { font-size: 1.35rem; }
    .sim-results { grid-template-columns: 1fr; }
    .sim-top-row { grid-template-columns: 1fr; }
    .fg { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .fg > div { padding: 1.25rem !important; text-align: left !important; }
    .faq-items { max-width: 100% !important; }
    .faq-q { padding: 1.1rem 1.2rem; font-size: .97rem; }
    .faq-a { padding-left: 1.2rem; padding-right: 1.2rem; }
    .hero-globe-section > div:last-child .brazil-map-card svg { min-height: 360px; }
    .hero-globe-section > div:first-child h3 { font-size: 1.35rem !important; }
    .metrics-strip-grid { grid-template-columns: 1fr !important; }
}

/* ===========================================
   27. RESPONSIVE — Max-width 900px
   =========================================== */
@media (max-width: 900px) {
    body, .container, .sec, .sec-i, .faq-grid, .faq-items, .pr-card, .vc {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box;
        padding-left: .75rem !important; padding-right: .75rem !important;
    }
    .sh-row > div, .sh-vis, .code, .code-b, pre {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box;
        overflow-x: auto; word-wrap: break-word;
    }
    .sh-vis .code { overflow-x: hidden !important; }
    .sh-vis .code-b { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .sh-vis .code-b pre { white-space: pre-wrap !important; word-break: break-all !important; font-size: .62rem !important; line-height: 1.6 !important; }
    .sh-vis .code-pa { font-size: .58rem !important; }
    .sh-t, .sh-p, .sh-list, .sh-list li { word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
    .faq-grid, .faq-items { display: block !important; }

    .faq-items { max-width: 100%; padding-left: .5rem !important; padding-right: .5rem !important; }
    .faq-q { padding: 1.1rem 1.2rem; font-size: .97rem; }
    .faq-a { padding-left: 1.2rem; padding-right: 1.2rem; }

    .sh-vis .code-b { padding: .6rem !important; font-size: .6rem !important; line-height: 1.7 !important; }
    .sh-vis .code-h { padding: .4rem .6rem; font-size: .55rem; }
    .sh-vis .code-pa { font-size: .5rem !important; }
}

/* ===========================================
   28. ACCESSIBILITY
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    .hps-word, .hps-word.active, .hps-word.exiting {
        animation: none !important; filter: none !important; transform: none !important;
        transition: opacity .3s !important;
    }
    .hps-word.active { opacity: 1; }
    .hps-word.exiting { opacity: 0; }
    .hps-scan { display: none !important; }
    .hps-gradient { animation: none !important; }
    .rv { transition: opacity .3s !important; transform: none !important; }
    .rv .rv-left, .rv .rv-right { opacity: 1 !important; transform: none !important; transition: opacity .3s !important; }
    .rv-stagger > * { transition: opacity .3s !important; transform: none !important; }
    .hero-cv, .hero-glow, .hero-glow2 { display: none !important; }
    .float { animation: none !important; }
    .shimmer { animation: none !important; }
    .mq-track { animation: none !important; }
    .loader-spinner { animation: loaderSpin .8s linear infinite; }
    .sec-core-ring { animation: none !important; }
    .glow-p { animation: none !important; }
    /* Premium animations disable */
    .metric-card { animation: none !important; }
    .metric-card::after { animation: none !important; display: none !important; }
    .code-premium { animation: none !important; }
    .code-premium::before { animation: none !important; }
    .code-scan { display: none !important; }
    .code-live-dot { animation: none !important; }
    .api-headline-gradient { animation: none !important; }
    .cta-btn-premium { animation: none !important; }
    .pr-card:last-child::before { animation: none !important; }
    .neon-divider::after { animation: none !important; display: none !important; }
    .feature-card-premium::before { display: none !important; }
    .sec-vis .sec-icon { animation: none !important; }
    .sec-vis::before { display: none !important; }
    .sec-item-status::before { animation: none !important; }
    .metrics-trust-item:hover i { animation: none !important; }
    .metrics-strip-grid .metric-card { opacity: 1; transform: none; }
    .rv .sh-list li { opacity: 1; transform: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .loader-spinner, #loader { animation-duration: .8s !important; transition-duration: .6s !important; }
}

/* ===========================================
   29. UTILITY CLASSES — reduce inline styles
   =========================================== */

/* Metrics strip section */
.metrics-strip {
    position: relative; padding: 3.5rem 2rem; overflow: hidden;
    border-top: 1px solid rgba(139,92,246,.07);
    border-bottom: 1px solid rgba(139,92,246,.07);
    background: var(--bg2);
}
.metrics-strip-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(139,92,246,.03), transparent 70%);
    pointer-events: none;
}
.metrics-strip-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.metrics-strip-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; align-items: center;
}
.metric-card {
    text-align: center; padding: 1.5rem 1rem; border-radius: 20px;
    background: rgba(255,255,255,.015); border: 1px solid rgba(255,255,255,.04);
    transition: all .35s;
}
.metric-card:hover {
    border-color: rgba(139,92,246,.2); background: rgba(139,92,246,.04);
    transform: translateY(-3px);
}
.metric-val {
    font-size: 2.1rem; font-weight: 900; letter-spacing: -.03em;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.1; margin-bottom: .35rem;
}
.metric-val--purple { background: linear-gradient(135deg, #fff 30%, var(--purple-l) 100%); -webkit-background-clip: text; background-clip: text; }
.metric-val--green { background: linear-gradient(135deg, #fff 30%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; }
.metric-val--amber { background: linear-gradient(135deg, #fff 30%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; }
.metric-label {
    font-size: .65rem; font-weight: 700; color: var(--tx3);
    text-transform: uppercase; letter-spacing: .12em;
}
.metrics-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 2rem; flex-wrap: wrap; margin-top: 2rem;
    padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.04);
}
.metrics-trust-item {
    display: flex; align-items: center; gap: .5rem;
    font-size: .72rem; font-weight: 600; color: var(--tx3);
}

/* Footer badge pills */
.ft-badges { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ft-badge {
    display: flex; align-items: center; gap: .35rem;
    font-size: .65rem; font-weight: 600; color: var(--tx3);
    padding: .3rem .65rem; border-radius: 8px;
}
.ft-badge--green { background: rgba(0,245,200,.06); border: 1px solid rgba(0,245,200,.1); }
.ft-badge--purple { background: rgba(139,92,246,.06); border: 1px solid rgba(139,92,246,.1); }
.ft-badge--cyan { background: rgba(6,182,212,.06); border: 1px solid rgba(6,182,212,.1); }

/* Footer social links */
.ft-social { display: flex; gap: 1rem; }
.ft-social a {
    color: var(--tx3); transition: color .2s; font-size: 1.15rem;
}
.ft-social a:hover { color: var(--purple-l); }

/* Hero badge live dot */
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 8px var(--green);
    animation: blink 1.5s infinite; flex-shrink: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--purple-l); outline-offset: 2px;
    border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }
.faq-q:focus-visible { outline: 2px solid var(--purple-l); outline-offset: -2px; }
