/* ============================================================
   MiXie AI FSM — Marketing site styles
   Plain CSS, no framework. Mobile-first.
   ============================================================ */

:root {
  --bg:            #0b1020;
  --bg-soft:       #11182e;
  --surface:       #151d36;
  --surface-2:     #1b2545;
  --border:        #26304f;
  --text:          #e7ecf6;
  --text-dim:      #a8b3cf;
  --text-faint:    #7681a0;
  --brand:         #5b8cff;
  --brand-2:       #8b6cff;
  --brand-3:       #36d6c3;
  --accent:        #ffb547;
  --danger:        #ff6b6b;
  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1180px;
  --shadow:        0 18px 50px -20px rgba(0,0,0,.6);
  --grad:          linear-gradient(120deg, var(--brand), var(--brand-2));
  --grad-3:        linear-gradient(120deg, var(--brand-3), var(--brand));
  --font:          'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 14px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--brand); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px var(--brand); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,16,32,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--border); background: rgba(11,16,32,.9); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .logo-dot {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 15px; color: #fff; font-weight: 800;
  box-shadow: 0 6px 18px -6px var(--brand);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% -5%, rgba(91,140,255,.28), transparent 60%),
    radial-gradient(500px 280px at 85% 10%, rgba(139,108,255,.20), transparent 60%),
    radial-gradient(500px 280px at 12% 20%, rgba(54,214,195,.16), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { font-size: clamp(34px, 6vw, 62px); max-width: 16ch; margin: 0 auto 22px; }
.hero p.sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { color: var(--text-faint); font-size: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim); margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(54,214,195,.18); }

/* hero mock */
.hero-mock {
  margin: 56px auto 0;
  max-width: 980px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-mock .bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.hero-mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3656; }
.hero-mock .bar i:nth-child(1){ background:#ff5f57;} .hero-mock .bar i:nth-child(2){ background:#febc2e;} .hero-mock .bar i:nth-child(3){ background:#28c840;}
.mock-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.mock-side { border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-side .item { height: 30px; border-radius: 8px; background: rgba(255,255,255,.04); display:flex; align-items:center; padding:0 12px; font-size:13px; color: var(--text-faint); }
.mock-side .item.active { background: var(--surface-2); color: var(--text); border:1px solid var(--border); }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-kpi { background: var(--surface); border:1px solid var(--border); border-radius: 12px; padding: 14px; text-align: left; }
.mock-kpi .k { font-size: 12px; color: var(--text-faint); }
.mock-kpi .v { font-size: 22px; font-weight: 700; margin-top: 4px; }
.mock-kpi .v.up { color: var(--brand-3); }
.mock-chart { flex:1; background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; display:flex; align-items:flex-end; gap:10px; min-height:120px; }
.mock-chart span { flex:1; border-radius:6px 6px 0 0; background: var(--grad); opacity:.85; }

/* ---------- Marquee / industries ---------- */
.audience { padding: 64px 0 10px; text-align: center; }
.audience .label { color: var(--text-faint); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; }
.audience-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.aud-card { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: left; }
.aud-card .ico { font-size: 26px; margin-bottom: 12px; }
.aud-card h4 { font-size: 16px; margin-bottom: 6px; }
.aud-card p { font-size: 13.5px; color: var(--text-dim); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- Module grid ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.module::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .2s;
}
.module:hover { transform: translateY(-4px); border-color: #33406b; box-shadow: var(--shadow); }
.module:hover::after { opacity: 1; }
.module .num { font-size: 13px; font-weight: 700; color: var(--brand-3); margin-bottom: 10px; }
.module .ico { font-size: 28px; margin-bottom: 14px; }
.module h3 { font-size: 19px; margin-bottom: 12px; }
.module ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.module li { font-size: 14px; color: var(--text-dim); padding-left: 22px; position: relative; }
.module li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(91,140,255,.18);
  box-shadow: inset 0 0 0 2px var(--brand);
}

/* ---------- AI Copilot section ---------- */
.copilot { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.copilot-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.copilot-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 26px; }
.copilot-feat h4 { font-size: 15.5px; display:flex; align-items:center; gap:8px; margin-bottom: 4px; }
.copilot-feat p { font-size: 13.5px; color: var(--text-dim); }
.copilot-feat .tick { color: var(--brand-3); }

.chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-head { display:flex; align-items:center; gap:10px; padding:16px 18px; border-bottom:1px solid var(--border); }
.chat-head .avatar { width:32px;height:32px;border-radius:9px;background:var(--grad-3);display:grid;place-items:center;font-size:15px; }
.chat-head .meta b { font-size: 14px; } .chat-head .meta span { font-size:12px; color: var(--text-faint); display:block; }
.chat-body { padding: 18px; display:flex; flex-direction:column; gap: 14px; min-height: 320px; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 14px; font-size: 14px; }
.msg.user { align-self: flex-end; background: var(--grad); color:#fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border:1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.bot .insight { display:flex; gap:8px; margin-top:8px; font-size:13px; color: var(--text-dim); }
.msg.bot .insight .b { color: var(--accent); }
.chips { display:flex; flex-wrap:wrap; gap:8px; padding: 0 18px 18px; }
.chip { font-size:12.5px; padding:7px 13px; border-radius:999px; background: rgba(255,255,255,.04); border:1px solid var(--border); color: var(--text-dim); cursor:pointer; transition: all .15s; }
.chip:hover { background: rgba(91,140,255,.14); border-color: var(--brand); color: var(--text); }
.typing span { display:inline-block; width:6px;height:6px;border-radius:50%;background:var(--text-faint); animation: blink 1.2s infinite; }
.typing span:nth-child(2){ animation-delay:.2s;} .typing span:nth-child(3){ animation-delay:.4s;}
@keyframes blink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }

/* ---------- Feature split (dashboards) ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.split.reverse .split-media { order: -1; }
.feature-list { list-style:none; display:flex; flex-direction:column; gap: 16px; margin-top: 8px; }
.feature-list li { display:flex; gap:13px; }
.feature-list .fi-ico { flex:0 0 auto; width:34px;height:34px;border-radius:10px; background: rgba(91,140,255,.12); border:1px solid var(--border); display:grid;place-items:center; font-size:16px; }
.feature-list h4 { font-size:15.5px; margin-bottom:2px; }
.feature-list p { font-size:14px; color: var(--text-dim); }

.kpi-strip { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
.kpi-cell { background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; }
.kpi-cell .v { font-size:24px; font-weight:700; }
.kpi-cell .v.up { color: var(--brand-3); } .kpi-cell .v.down { color: var(--danger); }
.kpi-cell .k { font-size:12.5px; color: var(--text-faint); margin-top:2px; }

/* ---------- Platform / capability cards ---------- */
.cap-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.cap { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.cap .ico { font-size:26px; margin-bottom: 12px; }
.cap h3 { font-size:18px; margin-bottom:10px; }
.cap p { font-size:14px; color: var(--text-dim); margin-bottom: 12px; }
.cap ul { list-style:none; display:flex; flex-direction:column; gap:7px; }
.cap li { font-size:13.5px; color: var(--text-dim); padding-left:18px; position:relative; }
.cap li::before { content:"✓"; position:absolute; left:0; color: var(--brand-3); font-size:12px; }

/* ---------- Integrations ---------- */
.integrations { text-align:center; }
.logo-row { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top: 10px; }
.logo-chip {
  padding: 12px 22px; border-radius: 12px;
  background: var(--surface); border:1px solid var(--border);
  font-weight:600; font-size:15px; color: var(--text-dim);
  display:flex; align-items:center; gap:9px;
}
.logo-chip .ico { font-size:18px; }

/* ---------- Security ---------- */
.security { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-top:1px solid var(--border); }
.sec-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.sec-item { background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:18px; }
.sec-item .ico { font-size:20px; margin-bottom:8px; }
.sec-item h4 { font-size:14.5px; margin-bottom:4px; }
.sec-item p { font-size:13px; color: var(--text-dim); }

/* ---------- Why us ---------- */
.why-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.why-card { background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.why-card .n { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; margin-bottom: 12px; }
.why-card h3 { font-size:17px; margin-bottom:10px; }
.why-card p { font-size:14px; color: var(--text-dim); }

/* ---------- Final CTA ---------- */
.cta-band {
  margin: 0 24px 0;
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(91,140,255,.4), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(139,108,255,.4), transparent 60%),
    var(--surface);
  border:1px solid var(--border);
  text-align:center;
  padding: 70px 24px;
}
.cta-band h2 { font-size: clamp(28px,4vw,42px); max-width: 20ch; margin: 0 auto 18px; }
.cta-band p { color: var(--text-dim); font-size:18px; max-width: 56ch; margin: 0 auto 30px; }
.cta-band .hero-ctas { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top:1px solid var(--border); padding: 60px 0 36px; margin-top: 92px; }
.footer-top { display:grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-dim); font-size:14px; max-width: 34ch; margin-top: 14px; }
.footer-col h5 { font-size:13px; text-transform:uppercase; letter-spacing:.08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-col a { display:block; color: var(--text-dim); font-size:14.5px; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top: 26px; border-top:1px solid var(--border); color: var(--text-faint); font-size:13.5px; flex-wrap:wrap; gap:12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* ============================================================
   ICONS
   ============================================================ */
.ic { width: 22px; height: 22px; flex: 0 0 auto; }
.ic-sm { width: 15px; height: 15px; }
.logo-dot .ic { width: 18px; height: 18px; color: #fff; stroke-width: 2; }
.brand-ai { color: var(--brand-3); }
.btn-sm { padding: 9px 17px; font-size: 14px; }

/* icon tiles used across module/cap/feature cards */
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(91,140,255,.12); border: 1px solid var(--border);
  color: var(--brand);
}
.icon-tile .ic { width: 24px; height: 24px; }
.icon-tile.t2 { background: rgba(139,108,255,.12); color: var(--brand-2); }
.icon-tile.t3 { background: rgba(54,214,195,.12); color: var(--brand-3); }
.module .icon-tile, .cap .icon-tile { margin-bottom: 16px; }
.aud-card .icon-tile, .sec-item .icon-tile { margin-bottom: 12px; width: 40px; height: 40px; }
.aud-card .icon-tile .ic, .sec-item .icon-tile .ic { width: 21px; height: 21px; }
.feature-list .fi-ico .ic { width: 18px; height: 18px; color: var(--brand); }
.copilot-feat .tick { display: inline-flex; }
.copilot-feat .tick .ic { width: 16px; height: 16px; color: var(--brand-3); }
.logo-chip .ic { width: 18px; height: 18px; color: var(--text-dim); }

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-dd { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd-trigger .ic { transform: rotate(90deg); transition: transform .2s; opacity: .7; }
.nav-dd:hover .nav-dd-trigger .ic { transform: rotate(-90deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: -14px;
  min-width: 240px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
.nav-dd:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 14px; color: var(--text-dim); }
.nav-menu a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a.active { color: var(--text); }

/* ============================================================
   SUB-PAGE HERO + BREADCRUMB
   ============================================================ */
.subhero { position: relative; padding: 150px 0 60px; overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 30% -10%, rgba(91,140,255,.22), transparent 60%),
              radial-gradient(600px 300px at 90% 0%, rgba(139,108,255,.16), transparent 60%);
  pointer-events: none;
}
.subhero .container { position: relative; max-width: 860px; }
.subhero.wide .container { max-width: var(--maxw); }
.breadcrumb { font-size: 13.5px; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--text-dim); }
.breadcrumb span { margin: 0 7px; opacity: .5; }
.subhero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 18px; }
.subhero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--text-dim); max-width: 60ch; }
.subhero .hero-ctas { justify-content: flex-start; margin-top: 30px; }

/* generic two-column prose split for deep pages */
.prose-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.alt-bg { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .v { font-size: 38px; font-weight: 800; }
.stat .v.gradient-text { display: inline-block; }
.stat .k { color: var(--text-dim); font-size: 14.5px; margin-top: 4px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-toggle { display: inline-flex; align-items: center; gap: 12px; margin: 8px auto 44px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.price-toggle button { border: 0; background: transparent; color: var(--text-dim); font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.price-toggle button.active { background: var(--grad); color: #fff; }
.price-toggle .save { font-size: 12px; color: var(--brand-3); font-weight: 600; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 20px 60px -24px var(--brand); position: relative; }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { color: var(--text-dim); font-size: 14px; min-height: 42px; margin-bottom: 18px; }
.price-card .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--text-faint); }
.price-card .price-sub { color: var(--text-faint); font-size: 13px; margin-bottom: 22px; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 22px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.price-card li { font-size: 14px; color: var(--text-dim); display: flex; gap: 10px; align-items: flex-start; }
.price-card li .ic { width: 17px; height: 17px; color: var(--brand-3); margin-top: 2px; }

/* comparison table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.cmp thead th { color: var(--text); font-size: 15px; background: var(--surface); position: sticky; top: 0; }
table.cmp tbody td:not(:first-child) { text-align: center; }
table.cmp td:first-child { color: var(--text-dim); }
table.cmp .yes { color: var(--brand-3); }
table.cmp .no { color: var(--text-faint); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp .grp td { background: var(--bg-soft); font-weight: 700; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-weight: 600; font-size: 16.5px; padding: 22px 40px 22px 0; cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; color: var(--text-dim); font-size: 15px; }
.faq-a p { padding: 0 0 22px; max-width: 68ch; }

/* ============================================================
   FORMS (contact / demo)
   ============================================================ */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.field textarea { resize: vertical; min-height: 110px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err-msg { font-size: 12.5px; color: var(--danger); display: none; }
.field.error .err-msg { display: block; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-faint); text-align: center; margin-top: 14px; }
.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.show { display: block; }
.form-success .ic { width: 56px; height: 56px; color: var(--brand-3); margin: 0 auto 16px; padding: 14px; border-radius: 50%; background: rgba(54,214,195,.12); }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--text-dim); }

.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .ci-item .icon-tile { margin: 0; }
.contact-info h4 { font-size: 15.5px; margin-bottom: 3px; }
.contact-info p { color: var(--text-dim); font-size: 14.5px; }
.trust-list { list-style: none; margin-top: 10px; }
.trust-list li { display: flex; gap: 10px; align-items: center; color: var(--text-dim); font-size: 14.5px; margin-bottom: 12px; }
.trust-list .ic { width: 18px; height: 18px; color: var(--brand-3); }

/* about page */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-card .ava { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad); display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; }
.team-card h4 { font-size: 16px; } .team-card p { font-size: 13.5px; color: var(--text-faint); }
.timeline { max-width: 720px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 30px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 100px; top: 8px; bottom: -8px; width: 2px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-item .yr { font-weight: 700; color: var(--brand-3); text-align: right; }
.tl-item .dot2 { position: absolute; left: 95px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg); }
.tl-item h4 { font-size: 16px; margin-bottom: 4px; } .tl-item p { color: var(--text-dim); font-size: 14.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .prose-split, .contact-split { grid-template-columns: 1fr; }
  .stat-band, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid, .cap-grid { grid-template-columns: repeat(2,1fr); }
  .copilot-wrap, .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .audience-grid, .sec-grid, .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display:none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left:0; right:0;
    background: var(--bg-soft); border-bottom:1px solid var(--border); padding: 18px 24px; gap: 16px;
  }
  .nav-toggle { display: block; }
  .modules-grid, .cap-grid, .audience-grid, .sec-grid, .why-grid, .kpi-strip, .copilot-feats, .mock-kpis { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
  .form-grid, .stat-band, .team-grid { grid-template-columns: 1fr; }
  /* mobile dropdowns: show nested menu inline */
  .nav-dd { width: 100%; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 4px 12px; min-width: 0; background: transparent; }
  .nav-dd-trigger .ic { display: none; }
  .nav-links.open .nav-dd-trigger { pointer-events: none; color: var(--text-faint); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
}
