/* ============================================================
   QcHelper marketing site — brand: indigo #6366f1 → blue #3b82f6
   Dark theme matching the app (surfaces #0b0b16 … #232a36)
   ============================================================ */

:root {
  --bg: #0b0b16;
  --bg-raise: #11151d;
  --bg-panel: #0e0e1e;
  --bg-card: #12121f;
  --border: #232a36;
  --border-soft: #1b2029;
  --ink: #eceef8;
  --ink-soft: #b9bdd8;
  --ink-mute: #8a8fa8;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --periwinkle: #8ea2ff;
  --red: #ef5a6a;
  --green: #7ee2a8;
  --grad: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  --grad-cta: linear-gradient(90deg, #6366f1, #7c5ff0);
  --radius: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--periwinkle); text-decoration: none; }
a:hover { color: #aab8ff; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  font-weight: 700; font-size: 15.5px; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(99,102,241,0.5); color: #fff; }
.btn-ghost {
  background: rgba(99,102,241,0.08); color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(99,102,241,0.16); color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 11, 22, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border-soft); background: rgba(11,11,22,0.92); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-brand .name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.nav-brand .by { font-size: 11px; color: var(--ink-mute); display: block; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: 10px 18px; font-size: 14px; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border); border-radius: 10px;
  color: var(--ink); font-size: 20px; padding: 6px 12px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 70px;
  background:
    radial-gradient(90% 70% at 75% 5%, rgba(99,102,241,0.16) 0%, rgba(11,11,22,0) 60%),
    radial-gradient(60% 50% at 15% 25%, rgba(59,130,246,0.10) 0%, rgba(11,11,22,0) 65%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--periwinkle);
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.025em;
}
.hero .lede {
  margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 34em;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-sub { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }
.hero-shot { position: relative; }
.hero-shot .frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid #2c2c52;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(99,102,241,0.22);
}
.shot-caption { margin-top: 10px; font-size: 12px; color: var(--ink-mute); text-align: center; }

/* ---------- stats strip ---------- */
.stats { padding-top: 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.stat .n {
  font-size: 34px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .d { font-size: 13.5px; color: var(--ink-mute); margin-top: 6px; line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 96px 0 0; }
.section-pad { padding-bottom: 96px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #818cf8; margin-bottom: 12px;
}
.section h2.title {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  max-width: 21em;
}
.section .lede { margin-top: 16px; font-size: 17px; color: var(--ink-soft); max-width: 44em; }

/* ---------- problem ---------- */
.pains { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.pain .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); margin-bottom: 14px; }
.pain b { font-size: 15.5px; color: var(--ink); display: block; margin-bottom: 6px; }
.pain p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }
.bigstat {
  margin-top: 26px; background: var(--bg-panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 30px 36px;
  display: flex; align-items: center; gap: 36px;
}
.bigstat .n { font-size: 54px; font-weight: 800; color: var(--periwinkle); line-height: 1; white-space: nowrap; letter-spacing: -0.02em; }
.bigstat .d { font-size: 15px; color: var(--ink-soft); }
.bigstat .d b { color: #fff; }
.quote {
  margin-top: 26px; border-left: 4px solid var(--indigo); padding: 6px 0 6px 22px;
  font-size: 19px; font-style: italic; color: var(--ink-soft); max-width: 40em;
}
.quote b { font-style: normal; color: var(--periwinkle); }

/* ---------- product ---------- */
.fullshot {
  margin-top: 44px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #2c2c52;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 50px rgba(99,102,241,0.15);
}
.featgrid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 20px 24px;
}
.feat b { font-size: 15.5px; display: block; margin-bottom: 5px; }
.feat span { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }

/* ---------- pillars ---------- */
.pillars { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
  display: flex; flex-direction: column;
}
.pillar .ph { padding: 24px 26px 20px; }
.pillar h3 { font-size: 19px; font-weight: 800; }
.pillar h3 .no { color: var(--indigo); margin-right: 8px; }
.pillar .ph p { margin-top: 8px; font-size: 14.5px; color: var(--ink-mute); line-height: 1.6; }
.pillar .img { background: var(--bg-panel); padding: 16px; flex: 1; display: flex; align-items: center; }
.pillar .img img { border-radius: 8px; }
.pillar .diagram {
  background: var(--bg-panel); padding: 26px; flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center;
}
.revrow { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 700; flex-wrap: wrap; }
.revtag { border-radius: 9px; padding: 8px 14px; white-space: nowrap; }
.revB { background: #3a2530; color: #ff9daa; text-decoration: line-through; }
.revArrow { color: var(--periwinkle); font-size: 19px; }
.revC { background: #1f2b4b; color: var(--periwinkle); border: 1px solid #46589a; }
.revnote { font-size: 12.5px; color: var(--ink-mute); max-width: 30em; margin: 0 auto; }
.privrows { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.privrow { display: flex; gap: 12px; font-size: 13px; line-height: 1.5; }
.privrow .m { flex: 0 0 auto; font-weight: 800; width: 52px; }
.stay { color: var(--green); } .sent { color: var(--periwinkle); } .never { color: #ff9daa; }
.privrow .x { color: #d5d8ee; }

/* ---------- how it works ---------- */
.hsteps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hstep {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 24px 26px;
}
.hstep .k {
  width: 40px; height: 40px; border-radius: 11px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 16px;
}
.hstep b { font-size: 16.5px; display: block; margin-bottom: 6px; }
.hstep p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }
.hstep p em { color: var(--ink-soft); }
.faq-title { margin-top: 56px; }
.faq-link { margin-top: 24px; font-size: 15px; }

/* ---------- demo ---------- */
.demo-wrap { margin-top: 44px; max-width: 940px; margin-left: auto; margin-right: auto; }
.demo-wrap video {
  width: 100%; border-radius: var(--radius);
  border: 1px solid #2c2c52;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(99,102,241,0.2);
  background: #000;
}

/* ---------- audience ---------- */
.aud-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.aud {
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.25);
  color: var(--ink-soft); border-radius: 999px; padding: 10px 20px;
  font-size: 14.5px; font-weight: 600;
}

/* ---------- pilot ---------- */
.pilotgrid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pcard {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 22px 26px;
}
.pcard b { font-size: 15.5px; display: block; margin-bottom: 6px; }
.pcard p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }
.coststrip {
  margin-top: 22px; background: var(--bg-panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 18px 26px;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.7;
}
.coststrip b { color: #fff; }
.about {
  margin-top: 22px; background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 22px 26px;
}
.about h3 { font-size: 16px; margin-bottom: 6px; }
.about p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.6; }

/* ---------- CTA band ---------- */
.ctaband {
  margin-top: 64px;
  background: var(--grad-cta);
  border-radius: 20px; color: #fff; padding: 40px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: 0 24px 70px rgba(99,102,241,0.35);
}
.ctaband .t1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.ctaband .t2 { font-size: 15px; color: #f4f4ff; margin-top: 6px; }
.ctaband .r { text-align: right; font-size: 17px; font-weight: 700; line-height: 1.7; }
.ctaband .r a { color: #fff; }
.ctaband .r a:hover { text-decoration: underline; color: #fff; }

/* ---------- footer ---------- */
.footer { margin-top: 96px; border-top: 1px solid var(--border-soft); padding: 40px 0 48px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand { display: flex; align-items: center; gap: 10px; }
.footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer .brand b { font-size: 16px; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.fineprint { margin-top: 26px; font-size: 12px; color: var(--ink-mute); line-height: 1.7; max-width: 62em; }

/* ---------- security page ---------- */
.page-head { padding: 140px 0 0; }
.arch { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 0.55fr 1.1fr; gap: 0; align-items: stretch; }
.archbox { border-radius: var(--radius); padding: 26px 28px; }
.archbox h3 { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.archbox ul { list-style: none; }
.archbox li { font-size: 14px; line-height: 1.55; padding-left: 18px; position: relative; margin-bottom: 10px; color: var(--ink-soft); }
.archbox li::before { content: '•'; position: absolute; left: 2px; color: var(--indigo); }
.ws { background: var(--bg-card); border: 1px solid #3a4260; }
.cloud { background: var(--bg-panel); border: 1px solid #2c2c52; }
.archlink { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; }
.archlink .arrow { font-size: 26px; color: var(--indigo); font-weight: 700; }
.archlink .lbl { font-size: 12px; color: var(--ink-mute); text-align: center; line-height: 1.5; }
.archlink .lbl b { color: var(--ink); }

.tablewrap { margin-top: 34px; overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); }
table.flow, table.cap { width: 100%; border-collapse: collapse; min-width: 640px; }
table.flow th, table.flow td, table.cap th, table.cap td {
  text-align: left; padding: 14px 18px; font-size: 14px; line-height: 1.55; vertical-align: top;
}
table.flow th, table.cap th {
  background: var(--bg-panel); color: var(--periwinkle);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
table.flow td, table.cap td { border-top: 1px solid var(--border-soft); color: var(--ink-soft); }
table.flow td:first-child, table.cap td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.cap td:first-child { white-space: normal; min-width: 170px; }
.tag { display: inline-block; border-radius: 7px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag.local { background: rgba(126,226,168,0.14); color: var(--green); }
.tag.tls { background: rgba(142,162,255,0.14); color: var(--periwinkle); }
.tag.no { background: rgba(255,157,170,0.13); color: #ff9daa; }
td .not { color: #ff9daa; font-weight: 700; }

.seclist { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.secitem {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 18px 22px; font-size: 14px; color: var(--ink-mute); line-height: 1.6;
}
.secitem b { color: var(--ink); display: block; margin-bottom: 3px; font-size: 14.5px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid, .pains, .hsteps { grid-template-columns: 1fr; }
  .pillars, .featgrid, .pilotgrid, .seclist { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; gap: 0; }
  .archlink { padding: 18px 0; }
  .archlink .arrow { transform: rotate(90deg); }
  .ctaband { flex-direction: column; align-items: flex-start; text-align: left; }
  .ctaband .r { text-align: left; }
  .bigstat { flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(11,11,22,0.98); border-bottom: 1px solid var(--border-soft);
    padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .btn { margin-top: 8px; }
  .nav-burger { display: block; }
  .section { padding-top: 72px; }
  .hero { padding-top: 120px; }
}

/* ============================================================
   EFFECTS LAYER
   ============================================================ */

/* scroll progress bar */
.scrollbar {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--grad); box-shadow: 0 0 12px rgba(99,102,241,0.8);
}

/* active nav link */
.nav-links a.active { color: #fff; text-shadow: 0 0 18px rgba(142,162,255,0.8); }

/* animated hero background: drifting orbs + blueprint grid */
.hero { overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px);
}
.hero-bg::before {
  width: 560px; height: 560px; top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(99,102,241,0.32), rgba(99,102,241,0) 70%);
  animation: orbA 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  width: 460px; height: 460px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(59,130,246,0.22), rgba(59,130,246,0) 70%);
  animation: orbB 20s ease-in-out infinite alternate;
}
@keyframes orbA { from { transform: translate(0,0) scale(1); } to { transform: translate(-90px, 60px) scale(1.15); } }
@keyframes orbB { from { transform: translate(0,0) scale(1); } to { transform: translate(80px, -50px) scale(1.1); } }
.hero-grid, .hero .stats { position: relative; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(142,162,255,0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(142,162,255,0.05) 0 1px, transparent 1px 46px);
  mask-image: radial-gradient(80% 60% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 60% 20%, #000 30%, transparent 75%);
}

/* gradient shimmer on hero accent line */
.hero h1 .accent, .unl h2 .accent {
  background: linear-gradient(110deg, #6366f1 20%, #9db1ff 42%, #3b82f6 60%, #6366f1 85%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- hero live-answer chat mock ---------- */
.chatmock {
  background: linear-gradient(180deg, #12121f, #0e0e1e);
  border: 1px solid #2c2c52; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(99,102,241,0.25);
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.cm-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-soft);
  font-size: 13.5px; font-weight: 700;
}
.cm-head img { width: 20px; height: 20px; border-radius: 6px; }
.cm-live {
  margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green);
  background: rgba(126,226,168,0.1); border: 1px solid rgba(126,226,168,0.3);
  padding: 3px 10px; border-radius: 999px;
}
.cm-live::before { content: '● '; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.cm-body { padding: 20px 18px 22px; min-height: 265px; display: flex; flex-direction: column; gap: 14px; }
.cm-q {
  align-self: flex-end; max-width: 88%;
  background: var(--grad); color: #fff;
  border-radius: 14px 14px 4px 14px; padding: 11px 15px;
  font-size: 14px; font-weight: 600; line-height: 1.5;
  box-shadow: 0 6px 22px rgba(99,102,241,0.35);
  min-height: 22px;
}
.cm-q .caret { display: inline-block; width: 2px; height: 1em; background: #fff; vertical-align: text-bottom; margin-left: 2px; opacity: 0; }
.cm-q.typing .caret { opacity: 1; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cm-a {
  align-self: flex-start; max-width: 92%; display: flex; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cm-a.show { opacity: 1; transform: none; }
.cm-a .av {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px;
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; letter-spacing: -0.04em;
}
.cm-a .bubble {
  background: #181d27; border: 1px solid var(--border-soft);
  border-radius: 4px 14px 14px 14px; padding: 12px 15px;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.cm-a .bubble b { color: #fff; }
.cm-cite {
  align-self: flex-start; margin-left: 38px;
  font-size: 12.5px; font-weight: 700; color: var(--periwinkle);
  background: rgba(142,162,255,0.1); border: 1px solid rgba(142,162,255,0.35);
  padding: 6px 13px; border-radius: 999px;
  opacity: 0; transform: translateY(6px) scale(0.95);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cm-cite.show { opacity: 1; transform: none; }
.cm-cite.honest { color: var(--green); background: rgba(126,226,168,0.09); border-color: rgba(126,226,168,0.35); }

/* ---------- question marquee ---------- */
.marquee {
  margin-top: 46px; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq {
  white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 10px 20px; margin-right: 14px;
}
.mq::before { content: '💬 '; }

/* ---------- unlimited strip ---------- */
.unl {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(90% 130% at 50% -20%, rgba(99,102,241,0.22), rgba(14,14,30,0) 60%), var(--bg-panel);
  border: 1px solid #2c2c52; border-radius: 24px;
  padding: 64px 40px 60px;
}
.unl-inf {
  font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(110deg, #6366f1 20%, #9db1ff 45%, #3b82f6 65%, #6366f1 85%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4.5s linear infinite;
  filter: drop-shadow(0 0 26px rgba(99,102,241,0.45));
}
.unl h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
.unl p { margin: 16px auto 0; font-size: 17px; color: var(--ink-soft); max-width: 42em; }
.unl .fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-mute); }

/* ---------- hover lifts & glows ---------- */
.stat, .pain, .feat, .pcard, .hstep, .secitem, .aud {
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.stat:hover, .pain:hover, .feat:hover, .pcard:hover, .hstep:hover, .secitem:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4), 0 0 30px rgba(99,102,241,0.12);
}
.aud:hover { transform: translateY(-2px); border-color: rgba(99,102,241,0.6); color: #fff; }
.pillar { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pillar:hover {
  transform: translateY(-4px); border-color: rgba(99,102,241,0.45);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 34px rgba(99,102,241,0.14);
}
.tilt { transition: transform .25s var(--ease); will-change: transform; }
.reveal.tilt { transition: opacity .8s var(--ease), transform .25s var(--ease); }

/* ---------- CTA band: animated gradient + shine sweep ---------- */
.ctaband {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #6366f1, #7c5ff0, #3b82f6, #6366f1);
  background-size: 300% 100%;
  animation: ctaflow 9s ease-in-out infinite;
}
@keyframes ctaflow { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.ctaband::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-18deg); left: -60%;
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.ctaband > * { position: relative; z-index: 1; }

/* ---------- video glow ---------- */
.demo-wrap { position: relative; }
.demo-wrap::before {
  content: ''; position: absolute; inset: -30px -40px; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(99,102,241,0.22), transparent 70%);
  animation: glowpulse 5s ease-in-out infinite;
}
@keyframes glowpulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ---------- responsive for effects ---------- */
@media (max-width: 1160px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .unl { padding: 48px 24px; }
  .unl-inf { font-size: 72px; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---------- constellation canvas + blueprint scan ---------- */
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg .scan {
  position: absolute; left: 0; right: 0; height: 130px; top: -140px;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,0.05), rgba(142,162,255,0.13), transparent);
  animation: scan 9s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes scan { 0% { top: -140px; } 65%, 100% { top: 110%; } }

/* ---------- cinematic hero entrance ---------- */
.intro { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.i1 { animation-delay: 0.08s; } .i2 { animation-delay: 0.18s; } .i3 { animation-delay: 0.32s; }
.i4 { animation-delay: 0.46s; } .i5 { animation-delay: 0.58s; } .i6 { animation-delay: 0.28s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- cursor-tracked glow on cards ---------- */
.glow { position: relative; }
.glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%), rgba(129,140,248,0.15), transparent 65%);
  opacity: 0; transition: opacity 0.35s;
}
.glow:hover::after { opacity: 1; }

/* ---------- workday strip ---------- */
.wkgrid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wk {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 11px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.wk:hover {
  transform: translateY(-4px); border-color: rgba(99,102,241,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4), 0 0 30px rgba(99,102,241,0.12);
}
.wk .wt {
  align-self: flex-start; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--periwinkle);
  background: rgba(142,162,255,0.08); border: 1px solid rgba(142,162,255,0.28);
  padding: 5px 12px; border-radius: 999px;
}
.wk b { font-size: 14.5px; line-height: 1.5; color: var(--ink); font-weight: 700; }
.wk .wa { font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; border-left: 3px solid var(--indigo); padding-left: 12px; }

/* ---------- unlimited orbit ---------- */
.unl-orb {
  position: relative; width: 150px; height: 150px; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
}
.unl-orb i {
  position: absolute; inset: 0; border: 1px solid rgba(99,102,241,0.3); border-radius: 50%;
  animation: orbit 12s linear infinite;
}
.unl-orb i::before {
  content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px;
  border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(99,102,241,0.95);
}
.unl-orb i + i { inset: -24px; animation-duration: 19s; animation-direction: reverse; border-color: rgba(59,130,246,0.18); }
@keyframes orbit { to { transform: rotate(360deg); } }
.unl-orb .unl-inf { position: relative; }

/* keyboard focus + anchor landing */
a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 2px solid var(--periwinkle); outline-offset: 3px;
}
section[id], header[id] { scroll-margin-top: 84px; }

/* reduced motion: kill all decorative animation */
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .hero-bg::after, .cm-live::before, .marquee-track,
  .ctaband, .ctaband::after, .demo-wrap::before, .hero-bg .scan,
  .unl-orb i, .hero h1 .accent, .unl h2 .accent, .unl-inf { animation: none; }
  .intro { animation: none; opacity: 1; }
  .glow::after { display: none; }
  .stat:hover, .pain:hover, .feat:hover, .pcard:hover, .hstep:hover,
  .secitem:hover, .pillar:hover, .aud:hover, .wk:hover { transform: none; }
}

/* wkgrid responsive — MUST stay after the .wkgrid base rule above */
@media (max-width: 1160px) {
  .wkgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .wkgrid { grid-template-columns: 1fr; }
}
