/* QuicBizz public pages: dark theme.
   Loaded after the page styles. Everything here is scoped to html[data-theme="dark"], so light mode is not touched.
   Design rules for this file:
   - one neutral graphite scale, no navy and no purple wash
   - flat surfaces separated by hairline borders, not by glow or coloured shadow
   - one blue: a lighter one for text and links, a deeper one for filled buttons (white text on it passes 4.5:1)
   - no gradient text, no orbs, no mesh, no grid, no tinted icon tiles */

html[data-theme="dark"]{
  color-scheme:dark;
  --ink:#08090b;
  --bg:#0d0e11;
  --white:#14161a;        /* cards and raised surfaces */
  --surface:#1a1d22;      /* inputs, chips, wells */
  --alt:#101215;          /* alternate section band */
  --border:#262a31;
  --border-2:#353a43;
  --text:#ebedf0;
  --sub:#a3a9b3;
  --muted:#848b96;
  --accent:#7ea6ff;       /* text and links */
  --accent-h:#a5bfff;
  --accent-soft:#6b93f5;
  --fill:#3568e8;         /* filled buttons and badges, white text */
  --fill-h:#3b6df0;
  --violet:#9f93e6;
  --violet-soft:#b3a8ee;
  --teal:#45b7ac;
  --green:#55c486;
  --green-l:#14261b;
  --amber:#d6a24a;
  --accent-l:#1a1d22;     /* privacy page tint */
}
html[data-theme="dark"] ::selection{background:rgba(126,166,255,.28);color:#fff}
html[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#2e333b}
html[data-theme="dark"] code{background:var(--surface);color:var(--text)}

/* ---- navigation ---- */
html[data-theme="dark"] nav{background:rgba(13,14,17,.72);border-bottom-color:transparent}
html[data-theme="dark"] nav.scrolled{background:rgba(13,14,17,.94);border-bottom-color:var(--border);box-shadow:none}
html[data-theme="dark"] .mob-menu{background:rgba(13,14,17,.98)}
html[data-theme="dark"] .hamburger span{background:var(--text)}
html[data-theme="dark"] .nav-logo-mark,html[data-theme="dark"] .footer-logo-mark{background:var(--fill);box-shadow:none}
html[data-theme="dark"] .nav-logo em,html[data-theme="dark"] .footer-logo em{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:#9db8ff;color:#9db8ff}
html[data-theme="dark"] .theme-btn{background:var(--white);border-color:var(--border)}
html[data-theme="dark"] .theme-btn:hover{border-color:var(--border-2);color:var(--text)}

/* ---- buttons ---- */
html[data-theme="dark"] .btn-primary{background:var(--fill);color:#fff;box-shadow:none}
html[data-theme="dark"] .btn-primary::before{background:var(--fill-h)}
html[data-theme="dark"] .btn-primary:hover{box-shadow:none}
html[data-theme="dark"] .btn-secondary{background:var(--white);border-color:var(--border-2);box-shadow:none}
html[data-theme="dark"] .btn-secondary:hover{border-color:#4a505b;box-shadow:none}
html[data-theme="dark"] .btn-ghost:hover{background:var(--surface)}
html[data-theme="dark"] .nav-links a:hover,html[data-theme="dark"] .mob-menu a:hover{background:var(--surface)}

/* ---- announcement bar ---- */
html[data-theme="dark"] .announce{background:#233b7a}

/* ---- hero ---- */
html[data-theme="dark"] .hero{background:var(--bg)}
html[data-theme="dark"] .hero-mesh,html[data-theme="dark"] .hero-grid-bg,html[data-theme="dark"] .hero-orb-1,html[data-theme="dark"] .hero-orb-2,html[data-theme="dark"] .hero-orb-3{display:none}
html[data-theme="dark"] .hero-badge{background:var(--surface);border-color:var(--border);color:var(--sub)}
html[data-theme="dark"] h1.hero-h em,html[data-theme="dark"] h2.sec-h em,html[data-theme="dark"] .x-head h2 em,html[data-theme="dark"] .proof-n .accent{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:#9db8ff;color:#9db8ff;animation:none}
html[data-theme="dark"] .x-pg-hero h1 [style*="color:var(--accent)"]{color:#9db8ff!important}
html[data-theme="dark"] .hero-proof{border-top-color:var(--border)}
html[data-theme="dark"] .sec-label::before{background:var(--accent);height:2px}
html[data-theme="dark"] .x-pg-hero{background:none;border-bottom:1px solid var(--border)}

/* ---- hero chat demo ---- */
html[data-theme="dark"] .demo-card{background:var(--white);border:1px solid var(--border);box-shadow:0 28px 50px -28px rgba(0,0,0,.7)}
html[data-theme="dark"] .demo-hdr{background:var(--surface);border-bottom:1px solid var(--border)}
html[data-theme="dark"] .demo-hdr::before{display:none}
html[data-theme="dark"] .demo-av{background:var(--fill);border-color:transparent}
html[data-theme="dark"] .demo-name{color:var(--text)}
html[data-theme="dark"] .demo-online{color:var(--sub)}
html[data-theme="dark"] .demo-dot,html[data-theme="dark"] .wa-dot{box-shadow:none}
html[data-theme="dark"] .demo-msgs{background:var(--bg)}
html[data-theme="dark"] .demo-footer{background:var(--white);border-top-color:var(--border)}
html[data-theme="dark"] .demo-input-fake{background:var(--surface);color:var(--muted);border-color:var(--border)}
html[data-theme="dark"] .demo-send-btn{background:var(--fill);box-shadow:none}
html[data-theme="dark"] .bubble-av{background:var(--surface);color:#9db8ff}
html[data-theme="dark"] .bubble-bot,html[data-theme="dark"] .typing-ind{background:var(--white);border-color:var(--border);box-shadow:none;color:var(--text)}
html[data-theme="dark"] .bubble-user{background:var(--fill);box-shadow:none}

/* ---- bands: ticker, trust bar, stats, call to action, footer ---- */
html[data-theme="dark"] .ticker::before{background:linear-gradient(90deg,var(--white),transparent)}
html[data-theme="dark"] .ticker::after{background:linear-gradient(270deg,var(--white),transparent)}
html[data-theme="dark"] .ticker-sep{background:var(--muted);opacity:.5}
html[data-theme="dark"] .trust-check{background:var(--green-l);color:var(--green)}
html[data-theme="dark"] .x-alt{background:var(--alt)}
html[data-theme="dark"] .x-sec{border-top-color:var(--border)}

html[data-theme="dark"] .stats-strip{background:var(--alt);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
html[data-theme="dark"] .stats-strip::before{display:none}
html[data-theme="dark"] .stat-card{background:transparent;border-color:var(--border)}
html[data-theme="dark"] .stat-card:hover{background:var(--white)}
html[data-theme="dark"] .strip-n{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:#f3f4f6;color:#f3f4f6}
html[data-theme="dark"] .strip-l{color:#8c929c}

html[data-theme="dark"] .cta-band{background:var(--alt);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
html[data-theme="dark"] .cta-band::before{display:none}
html[data-theme="dark"] .cta-band h2{color:#f3f4f6}
html[data-theme="dark"] .cta-band p{color:#9aa0aa}
html[data-theme="dark"] .cta-band [style*="rgba(255,255,255,.22)"]{color:#7d838e!important}
html[data-theme="dark"] .cta-dark{background:transparent;color:#f3f4f6;border-color:#3a3f48;backdrop-filter:none}
html[data-theme="dark"] .cta-dark:hover{background:var(--surface);border-color:#4a505b;box-shadow:none}

html[data-theme="dark"] footer{background:var(--ink);border-top:1px solid #17191d}
html[data-theme="dark"] .footer-desc,html[data-theme="dark"] .social-note{color:#8a909a}
html[data-theme="dark"] .footer-col h4{color:#7d838e}
html[data-theme="dark"] .footer-col a{color:#9aa0aa}
html[data-theme="dark"] .footer-col a:hover{color:#fff}
html[data-theme="dark"] .footer-social a{background:transparent;border-color:#23262c;color:#9aa0aa}
html[data-theme="dark"] .footer-social a:hover{background:var(--surface);border-color:#3a3f48;color:#fff;box-shadow:none}
html[data-theme="dark"] .footer-bottom{border-top-color:#1d2025}
html[data-theme="dark"] .footer-copy{color:#7d838e}
html[data-theme="dark"] .footer-legal a{color:#8a909a}
html[data-theme="dark"] .footer-legal a:hover{color:#d5d8dd}

/* ---- cards ---- */
html[data-theme="dark"] .svc,html[data-theme="dark"] .feat-card,html[data-theme="dark"] .testi,html[data-theme="dark"] .plan,html[data-theme="dark"] .mf,
html[data-theme="dark"] .x-card,html[data-theme="dark"] .x-chi,html[data-theme="dark"] .x-win,html[data-theme="dark"] .x-cmp>div{background:var(--white);border-color:var(--border);box-shadow:none}
html[data-theme="dark"] .x-alt .x-card{background:var(--bg)}
html[data-theme="dark"] .svc:hover,html[data-theme="dark"] .feat-card:hover,html[data-theme="dark"] .testi:hover,html[data-theme="dark"] .plan:hover,html[data-theme="dark"] .mf:hover,
html[data-theme="dark"] .x-card:hover,html[data-theme="dark"] .x-chi:hover{border-color:var(--border-2);box-shadow:none}
html[data-theme="dark"] .svc::before,html[data-theme="dark"] .svc::after,html[data-theme="dark"] .feat-card::before,html[data-theme="dark"] .testi::before{display:none}
html[data-theme="dark"] .svc-num{background:none;-webkit-text-fill-color:#1f2328;color:#1f2328}
html[data-theme="dark"] .testi-quote,html[data-theme="dark"] .testi:hover .testi-quote{color:#1f2328}
html[data-theme="dark"] .testi-stars{color:#d6a24a}
html[data-theme="dark"] .testi-av{background:var(--surface);color:var(--sub)}
html[data-theme="dark"] .feat-preview{background:var(--surface);border-color:var(--border)}
html[data-theme="dark"] .feat-card:hover .feat-preview{background:var(--surface);border-color:var(--border-2);box-shadow:none}
html[data-theme="dark"] .x-win{box-shadow:0 24px 44px -28px rgba(0,0,0,.7)}
html[data-theme="dark"] .x-bar{background:var(--surface);border-bottom-color:var(--border)}
html[data-theme="dark"] .x-bar i{background:#3a3f48}
html[data-theme="dark"] .x-row{background:var(--bg);border-color:var(--border)}
html[data-theme="dark"] .x-cmp .good{border-color:#3d63c4;box-shadow:none}
html[data-theme="dark"] .x-cmp .bad li::before{color:#e5736f}
html[data-theme="dark"] .lang-pill{background:var(--white);border-color:var(--border);color:var(--sub)}
html[data-theme="dark"] .lang-pill.active{background:var(--fill);border-color:var(--fill);color:#fff}
html[data-theme="dark"] .sparkbar-col{background:#2a3350}
html[data-theme="dark"] .feat-card:hover .sparkbar-col,html[data-theme="dark"] .x-bars i{background:#5f86e8}

/* ---- icon tiles: one neutral tile, one icon colour ---- */
html[data-theme="dark"] .svc-ico,html[data-theme="dark"] .feat-icon-wrap,html[data-theme="dark"] .x-ico,html[data-theme="dark"] .mf-ico{background:var(--surface)!important;border:1px solid var(--border)}
html[data-theme="dark"] .svc-ico,html[data-theme="dark"] .feat-icon-wrap{color:#9db8ff!important}
html[data-theme="dark"] .x-sc i{background:var(--surface);border:1px solid var(--border)}
html[data-theme="dark"] .x-sc{background:var(--bg);border-color:var(--border)}

/* ---- tags, chips, badges: quiet and neutral ---- */
html[data-theme="dark"] .tag,html[data-theme="dark"] .tag-a{background:var(--surface);color:var(--sub);border:1px solid var(--border)}
html[data-theme="dark"] .tag-a{color:#9db8ff}
html[data-theme="dark"] .badge-blue,html[data-theme="dark"] .badge-purple,html[data-theme="dark"] .badge-green,html[data-theme="dark"] .badge-amber,html[data-theme="dark"] .badge-teal{background:var(--surface)!important;color:var(--sub)!important;border:1px solid var(--border)}
html[data-theme="dark"] [style*="background:rgba(22,163,74,.07)"],html[data-theme="dark"] [style*="background:rgba(217,119,6,.07)"]{background:var(--surface)!important;border:1px solid var(--border);color:var(--sub)!important}
html[data-theme="dark"] .x-chip{background:var(--surface);color:var(--sub)}
html[data-theme="dark"] .x-chip.red{background:#2a1618;color:#f0a3a3}
html[data-theme="dark"] .x-chip.amb{background:#2a2112;color:#e6bd6b}
html[data-theme="dark"] .x-chip.grn{background:#14261b;color:#7fcf9c}
html[data-theme="dark"] .x-chip.blu{background:#17213a;color:#9bb4ee}
html[data-theme="dark"] .x-chip.pur{background:#221b36;color:#b9a8ec}
html[data-theme="dark"] .x-av{background:var(--fill)}
html[data-theme="dark"] .x-av.v{background:#6d5bd0}
html[data-theme="dark"] .x-av.g{background:#2a8454}
html[data-theme="dark"] .x-av.a{background:#9a5f10}
html[data-theme="dark"] .x-av.t{background:#1c807a}
html[data-theme="dark"] .x-bub.b{background:var(--fill)}

/* ---- steps, pricing, FAQ ---- */
html[data-theme="dark"] .steps-grid::before{background:var(--border)}
html[data-theme="dark"] .step-n{background:var(--white);border-color:var(--border);box-shadow:none;color:var(--accent)}
html[data-theme="dark"] .step:hover .step-n{background:var(--fill);border-color:var(--fill);color:#fff;box-shadow:none}
html[data-theme="dark"] .plan.featured,html[data-theme="dark"] .plan.featured:hover{border-color:#3d63c4;box-shadow:none}
html[data-theme="dark"] .plan-pop{background:var(--fill);box-shadow:none}
html[data-theme="dark"] .plan-btn{background:transparent;color:var(--text);border-color:var(--border-2);box-shadow:none}
html[data-theme="dark"] .plan-btn::before{background:var(--fill)}
html[data-theme="dark"] .plan-btn:hover,html[data-theme="dark"] .plan.featured .plan-btn{color:#fff;border-color:var(--fill);box-shadow:none}
html[data-theme="dark"] .faq-i{border-color:var(--border)}
html[data-theme="dark"] .faq-ico{background:var(--surface);color:var(--sub)}
html[data-theme="dark"] .faq-i.open .faq-ico{background:var(--fill);color:#fff;box-shadow:none}
html[data-theme="dark"] .mf-new{background:var(--fill)}
html[data-theme="dark"] .x-tab{background:var(--white);border-color:var(--border);color:var(--sub)}
html[data-theme="dark"] .x-tab:hover{color:var(--text);border-color:var(--border-2)}
html[data-theme="dark"] .x-tab[aria-selected="true"]{background:var(--fill);border-color:var(--fill);color:#fff;box-shadow:none}

/* ---- voice call mock ---- */
html[data-theme="dark"] .x-call{background:var(--white);border:1px solid var(--border);box-shadow:0 28px 50px -28px rgba(0,0,0,.7)}
html[data-theme="dark"] .x-orb{background:#243a7a;box-shadow:0 0 0 10px rgba(126,166,255,.07),0 0 0 22px rgba(126,166,255,.035);animation-name:xpulse-d}
html[data-theme="dark"] .x-wave i{background:#7e93c9}
html[data-theme="dark"] .x-cap{background:var(--surface);color:#d8dbe0}
html[data-theme="dark"] .x-cbtns span{background:var(--surface)}
html[data-theme="dark"] .x-cbtns span.end{background:#c9403c}
@keyframes xpulse-d{50%{box-shadow:0 0 0 14px rgba(126,166,255,.07),0 0 0 28px rgba(126,166,255,.03)}}

/* ---- subpages (features, security, demo) ---- */
html[data-theme="dark"] .x-toc a,html[data-theme="dark"] .x-node,html[data-theme="dark"] .x-uc a,html[data-theme="dark"] .x-uc div{background:var(--white);border-color:var(--border)}
html[data-theme="dark"] .x-node em{background:var(--surface)}
html[data-theme="dark"] .x-kpi{background:var(--bg);border-color:var(--border)}

/* ---- demo page sandbox chat ---- */
html[data-theme="dark"] .dm-note{background:var(--green-l);border-color:#24402f}
html[data-theme="dark"] .dm-chat{box-shadow:0 28px 50px -28px rgba(0,0,0,.7)}
html[data-theme="dark"] .dm-hdr{background:var(--surface);border-bottom:1px solid var(--border);color:var(--text)}
html[data-theme="dark"] .dm-av{background:var(--fill);color:#fff}
html[data-theme="dark"] .dm-b.u{background:var(--fill);color:#fff}
html[data-theme="dark"] .dm-q button{border-color:var(--border-2);color:var(--accent)}
html[data-theme="dark"] .dm-q button:hover{background:var(--fill);border-color:var(--fill);color:#fff}
html[data-theme="dark"] .dm-in button{background:var(--fill);color:#fff}

/* ---- privacy and terms page ---- */
html[data-theme="dark"] .page-hero{background:var(--bg)}
html[data-theme="dark"] .page-badge{background:var(--surface);border-color:var(--border);color:var(--sub)}
html[data-theme="dark"] .doc-section h2{border-bottom-color:var(--border)}
html[data-theme="dark"] .highlight-box{background:var(--surface);border-color:var(--border)}
html[data-theme="dark"] .warn-box{background:#241b10;border-color:#3d2d16}
html[data-theme="dark"] .warn-box p{color:#e6bd6b}
html[data-theme="dark"] .toc ul li a:hover,html[data-theme="dark"] .toc ul li a.active{background:var(--surface)}
html[data-theme="dark"] .doc-tab.active{background:var(--white);box-shadow:none}
html[data-theme="dark"] .data-table th{background:var(--surface)}
html[data-theme="dark"] .data-table tr:hover td{background:var(--surface)}
html[data-theme="dark"] .contact-card{background:var(--white);border-color:var(--border)}
html[data-theme="dark"] .contact-icon{background:var(--surface);border:1px solid var(--border)}
html[data-theme="dark"] .nav-back{background:transparent;border-color:var(--border)}
html[data-theme="dark"] .nav-back:hover{border-color:var(--border-2);color:var(--text)}
html[data-theme="dark"] [style*="background:var(--text)"]{background:var(--ink)!important;border-top:1px solid #17191d}
html[data-theme="dark"] [style*="background:var(--text)"] [style*="rgba(255,255,255,.3)"]{color:#8a909a!important}
html[data-theme="dark"] [style*="background:var(--text)"] a[style*="rgba(255,255,255,.5)"]{color:#9aa0aa!important}

