/* ═══════════════════════════════════════════════════════════════
   Praxis - praxis.cizonet.com
   Cinematic workspace OS product site
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:            #060608;
  --bg-1:          #0C0C10;
  --bg-2:          #111118;
  --bg-3:          #18181F;
  --bg-4:          #1E1E28;
  --border:        rgba(255,255,255,0.07);
  --border-2:      rgba(255,255,255,0.12);
  --border-3:      rgba(255,255,255,0.18);
  --brand:         #4A395F;
  --violet:        #8338EC;
  --violet-2:      #9B5EFF;
  --violet-dim:    rgba(131,56,236,0.12);
  --violet-text:   #C4A0FF;
  --blue:          #3B82F6;
  --blue-dim:      rgba(59,130,246,0.12);
  --emerald:       #10B981;
  --emerald-dim:   rgba(16,185,129,0.12);
  --amber:         #F59E0B;
  --amber-dim:     rgba(245,158,11,0.12);
  --coral:         #F56823;
  --coral-dim:     rgba(245,104,35,0.12);
  --rose:          #F43F5E;
  --text:          #F1F0F8;
  --text-2:        #9896AB;
  --text-3:        #5E5C72;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:          'JetBrains Mono', 'Fira Code', monospace;
  --r-sm:          6px;
  --r-md:          10px;
  --r-lg:          16px;
  --r-xl:          22px;
  --r-2xl:         30px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--violet-text); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px; border-radius: var(--r-md);
  background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 700;
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 840px; margin: 0 auto; padding: 0 28px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-md);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all 150ms ease;
  white-space: nowrap; letter-spacing: 0;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 150ms;
}
.btn:hover::before { background: rgba(255,255,255,0.06); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 0 0 1px rgba(131,56,236,0.5), 0 8px 32px rgba(131,56,236,0.3); }
.btn-primary:hover { background: var(--violet-2); box-shadow: 0 0 0 1px rgba(155,94,255,0.6), 0 12px 40px rgba(131,56,236,0.45); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-2); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: var(--border-3); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--r-lg); }
.btn-sm { padding: 7px 14px; font-size: 12px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: background 250ms, border-color 250ms, backdrop-filter 250ms;
}
.navbar.scrolled {
  background: rgba(6,6,8,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
}
.navbar .container { display: flex; align-items: center; gap: 36px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0; color: var(--text); }
.nav-logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a { padding: 6px 13px; font-size: 13px; color: var(--text-3); border-radius: var(--r-sm); transition: color 120ms, background 120ms; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: rgba(255,255,255,0.04); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  color: var(--text);
}
.menu-toggle span { width: 16px; height: 1.5px; background: currentColor; border-radius: 99px; transition: transform 150ms, opacity 150ms; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav {
  display: none; padding: 8px 20px 16px;
  background: rgba(6,6,8,0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 4px; color: var(--text-2); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; color: var(--violet-text); }

/* ── Section base ───────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet-text); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 14px; height: 1px; background: var(--violet); opacity: 0.7; }
.section-title { font-size: 3.2rem; font-weight: 800; letter-spacing: 0; color: var(--text); line-height: 1.08; margin-bottom: 18px; }
.section-body { font-size: 16px; color: var(--text-2); line-height: 1.75; max-width: 560px; }
.center { text-align: center; }
.center .section-body { margin: 0 auto; }
.center .section-label { justify-content: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--border-2) 20%, var(--border-2) 80%, transparent 100%); }
.grad {
  background: linear-gradient(135deg, #B794F4 0%, #8338EC 40%, #C4A0FF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.5;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 80%);
}
.hero-radial {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(131,56,236,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(74,57,95,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 8px;
  background: rgba(131,56,236,0.1); border: 1px solid rgba(131,56,236,0.28);
  border-radius: 100px; margin-bottom: 32px;
  font-size: 12px; font-weight: 600; color: var(--violet-text);
  letter-spacing: 0.02em;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); animation: pulse-dot 2s ease infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.65; transform:scale(0.8); } }
.hero-title {
  font-size: 5.75rem; font-weight: 900;
  letter-spacing: 0; line-height: 1; margin-bottom: 24px;
  max-width: 1000px; margin-left: auto; margin-right: auto;
  color: var(--text);
}
.hero-sub {
  font-size: 18px; color: var(--text-2); line-height: 1.75;
  max-width: 600px; margin: 0 auto 40px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }
.hero-screen-wrap {
  position: relative; max-width: 1040px; margin: 0 auto;
  transform: perspective(1200px) rotateX(4deg);
  transform-origin: top center;
  filter: drop-shadow(0 60px 120px rgba(0,0,0,0.8));
}
.hero-screen-chrome {
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(131,56,236,0.15), 0 2px 0 0 rgba(255,255,255,0.05) inset;
}
.chrome-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.chrome-dot { width: 11px; height: 11px; border-radius: 50%; }
.chrome-url {
  margin: 0 auto; padding: 4px 16px;
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: 8px; font-size: 11px; color: var(--text-3);
  font-family: var(--mono); letter-spacing: 0.01em; max-width: 280px;
}
.chrome-img { width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID
   ══════════════════════════════════════════════════════════════ */
.product-section { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; }
.product-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--border);
}
.product-cell {
  background: var(--bg-1);
  padding: 24px 20px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; cursor: default;
  transition: background 150ms ease;
  position: relative;
}
.product-cell:hover { background: var(--bg-3); }
.product-cell:hover .picon { transform: scale(1.08); }
.picon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms ease;
  position: relative;
}
.picon::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.pname { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0; }
.psub { font-size: 11px; color: var(--text-3); line-height: 1.3; }

/* ══════════════════════════════════════════════════════════════
   SIGNAL → ACTION (storytelling)
   ══════════════════════════════════════════════════════════════ */
.signal-section { background: var(--bg); padding: 120px 0; }
.signal-flow {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center; max-width: 900px; margin: 0 auto;
}
.signal-side { display: flex; flex-direction: column; gap: 12px; }
.signal-card {
  padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: border-color 300ms, background 300ms;
}
.signal-card.lit { border-color: var(--violet); background: rgba(131,56,236,0.06); }
.signal-card.lit-blue { border-color: var(--blue); background: rgba(59,130,246,0.06); }
.signal-card.lit-emerald { border-color: var(--emerald); background: rgba(16,185,129,0.06); }
.signal-card.lit-amber { border-color: var(--amber); background: rgba(245,158,11,0.06); }
.sig-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.sig-text { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.sig-mod {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 99px; margin-top: 8px; letter-spacing: 0.04em;
}
.signal-arrow-col {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 8px;
}
.arrow-line { width: 1px; flex: 1; background: linear-gradient(to bottom, transparent, var(--violet), transparent); min-height: 40px; }
.arrow-core {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(131,56,236,0.4);
}

/* ══════════════════════════════════════════════════════════════
   WORKSPACE SURFACES
   ══════════════════════════════════════════════════════════════ */
.surfaces-section { background: var(--bg-1); border-top: 1px solid var(--border); padding: 120px 0; }
.surfaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); }
.surface-card {
  background: var(--bg-2); padding: 32px 28px;
  transition: background 150ms;
  position: relative; overflow: hidden;
}
.surface-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.surface-card:hover { background: var(--bg-3); }
.surface-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.surface-title { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 8px; }
.surface-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
/* Mini UI previews inside surface cards */
.mini-doc { background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; }
.mini-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); margin-bottom: 7px; }
.mini-line.h { background: rgba(255,255,255,0.12); height: 8px; width: 60%; margin-bottom: 10px; }
.mini-line.w-full { width: 100%; }
.mini-line.w-3q { width: 75%; }
.mini-line.w-half { width: 50%; }
.mini-line.w-2q { width: 25%; }
.mini-table { border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; font-size: 10px; }
.mini-tr { display: flex; border-bottom: 1px solid var(--border); }
.mini-tr:last-child { border-bottom: none; }
.mini-td { flex: 1; padding: 5px 8px; color: var(--text-3); border-right: 1px solid var(--border); }
.mini-td:last-child { border-right: none; }
.mini-td.head { color: var(--text-2); font-weight: 600; background: var(--bg-4); }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--r-sm); background: var(--bg-4); border: 1px solid var(--border); margin-bottom: 6px; }
.mini-check { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,0.15); flex-shrink: 0; }
.mini-check.done { background: var(--emerald); border-color: var(--emerald); display: flex; align-items: center; justify-content: center; }
.mini-check.done::after { content: ''; width: 7px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.mini-text { font-size: 11px; color: var(--text-2); flex: 1; }
.mini-badge { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 99px; }
.mini-mail { background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 6px; }
.mini-mail-from { font-size: 11px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.mini-mail-sub { font-size: 10px; color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════
   AGENTS + AUTOMATIONS
   ══════════════════════════════════════════════════════════════ */
.agents-section { background: var(--bg); padding: 120px 0; }
.agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.agent-cards { display: flex; flex-direction: column; gap: 12px; }
.agent-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color 200ms, background 200ms;
}
.agent-card:hover { border-color: rgba(131,56,236,0.35); background: rgba(131,56,236,0.04); }
.agent-avatar {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(131,56,236,0.3);
}
.agent-info { flex: 1; min-width: 0; }
.agent-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.agent-desc { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.agent-status { display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.active { background: var(--emerald); box-shadow: 0 0 6px var(--emerald); animation: pulse-dot 2s ease infinite; }
.status-dot.idle { background: var(--amber); }
.status-label { font-size: 10px; color: var(--text-3); font-weight: 600; letter-spacing: 0.04em; }
.auto-visual { position: relative; }
.auto-flow {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px; overflow: hidden;
}
.flow-step {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r-md); margin-bottom: 4px;
  background: var(--bg-3); border: 1px solid var(--border);
  font-size: 12px; color: var(--text-2);
}
.flow-step.trigger { border-color: rgba(59,130,246,0.3); color: #93C5FD; }
.flow-step.condition { border-color: rgba(245,158,11,0.3); color: #FCD34D; }
.flow-step.action { border-color: rgba(16,185,129,0.3); color: #6EE7B7; }
.flow-step-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.flow-connector { width: 1.5px; height: 14px; margin-left: 26px; background: var(--border-2); margin-bottom: 4px; }

/* ══════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 160px 0;
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(74,57,95,0.5) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(131,56,236,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 4rem; font-weight: 900; letter-spacing: 0; line-height: 1.05; color: var(--text); margin-bottom: 18px; }
.cta-sub { font-size: 17px; color: var(--text-2); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.cta-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 12px; color: var(--text-3); }
.cta-note a { color: var(--violet-text); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 52px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 14px; }
.footer-logo img { width: 24px; height: 24px; border-radius: 7px; }
.footer-desc { font-size: 13px; color: var(--text-3); line-height: 1.75; }
.footer-head { font-size: 11px; font-weight: 700; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: color 120ms; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-powered { font-size: 12px; color: var(--text-3); }
.footer-powered a { color: var(--violet-text); }

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-scale] { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal-scale].visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .surfaces-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .agents-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 4.5rem; }
  .section-title { font-size: 2.75rem; }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .signal-flow { grid-template-columns: 1fr; gap: 16px; }
  .signal-arrow-col { display: none; }
  .surfaces-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-screen-wrap { transform: none; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .hero-title { font-size: 3.3rem; }
  .hero-sub { font-size: 16px; }
  .section-title { font-size: 2.35rem; }
  .cta-title { font-size: 3rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
  .cta-title { font-size: 2.25rem; }
  .section { padding: 80px 0; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages - no browser chrome)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 56vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero .hero-content { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════
   CATEGORY DEEP-DIVES (products page)
   ══════════════════════════════════════════════════════════════ */
.category-section { padding: 100px 0; background: var(--bg); }
.category-section + .category-section { border-top: 1px solid var(--border); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); margin-top: 48px; }
.category-card { background: var(--bg-2); padding: 28px 24px; transition: background 150ms; }
.category-card:hover { background: var(--bg-3); }
.category-card-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.category-card-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 5px; }
.category-card-desc { font-size: 12px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .category-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS (intelligence page)
   ══════════════════════════════════════════════════════════════ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.how-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 28px; position: relative; overflow: hidden; }
.how-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(131,56,236,0.3), transparent); }
.how-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.how-title { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 10px; }
.how-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.how-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   CONNECTED MODULES (intelligence page)
   ══════════════════════════════════════════════════════════════ */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.module-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 28px; transition: border-color 200ms, background 200ms; }
.module-card:hover { border-color: rgba(131,56,236,0.3); background: rgba(131,56,236,0.03); }
.module-name { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: 0; margin-bottom: 6px; }
.module-sub { font-size: 12px; color: var(--violet-text); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.module-signals { display: flex; flex-direction: column; gap: 8px; }
.module-signal-item { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 14px; font-size: 12px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 768px) { .module-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   FULL SURFACES GRID (surfaces page - 4 col)
   ══════════════════════════════════════════════════════════════ */
.surfaces-grid-full { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 1024px) { .surfaces-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .surfaces-grid-full { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   USE CASE GRID (agents page)
   ══════════════════════════════════════════════════════════════ */
.use-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.use-case-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; transition: border-color 200ms, background 200ms; }
.use-case-card:hover { border-color: rgba(131,56,236,0.3); background: rgba(131,56,236,0.03); }
.use-case-dept { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-text); margin-bottom: 10px; }
.use-case-title { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 8px; }
.use-case-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.use-case-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.use-case-tag { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text-3); }
@media (max-width: 640px) { .use-case-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════════ */
.pricing-hero {
  min-height: 56vh;
  padding: 120px 0 52px;
}
.pricing-hero-copy {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
}
.pricing-hero-title {
  max-width: 820px; margin: 0 auto 22px;
  font-size: 4.8rem; font-weight: 900; letter-spacing: 0;
  line-height: 1.02; color: var(--text);
}
.pricing-hero-sub {
  max-width: 640px; margin: 0 auto 32px;
  font-size: 17px; line-height: 1.75; color: var(--text-2);
}
.pricing-hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; max-width: 720px; margin: 0 auto;
  overflow: hidden; border: 1px solid var(--border);
  border-radius: var(--r-xl); background: var(--border);
}
.pricing-hero-metric {
  background: rgba(17,17,24,0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 18px 20px; text-align: left;
}
.pricing-hero-value { display: block; color: var(--text); font-size: 22px; font-weight: 800; line-height: 1.1; }
.pricing-hero-label { display: block; margin-top: 6px; color: var(--text-3); font-size: 12px; line-height: 1.4; }
.pricing-section { padding: 84px 0 112px; background: var(--bg); }
.pricing-section-header {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 40px; align-items: end; margin-bottom: 40px;
}
.pricing-section-header .section-body { max-width: 620px; }
.pricing-note {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  padding: 18px 20px;
}
.pricing-note-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pricing-note-body { font-size: 12px; line-height: 1.65; color: var(--text-2); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.pricing-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 34px;
  position: relative; overflow: hidden;
  transition: border-color 200ms, background 200ms, transform 200ms;
  display: flex; flex-direction: column;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.pricing-card:hover { border-color: var(--border-3); background: var(--bg-3); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: rgba(131,56,236,0.5);
  background:
    linear-gradient(135deg, rgba(131,56,236,0.12) 0%, rgba(74,57,95,0.12) 100%),
    var(--bg-2);
  box-shadow: 0 0 0 1px rgba(131,56,236,0.2), 0 24px 80px rgba(131,56,236,0.18);
}
.pricing-card.featured::before { background: linear-gradient(90deg, transparent, rgba(131,56,236,0.5), transparent); }
.pricing-card-head { min-height: 212px; border-bottom: 1px solid var(--border); margin-bottom: 24px; padding-bottom: 24px; }
.pricing-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pricing-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(131,56,236,0.15); border: 1px solid rgba(131,56,236,0.3);
  color: var(--violet-text); white-space: nowrap;
}
.pricing-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 6px var(--violet); }
.pricing-tier { font-size: 13px; font-weight: 800; color: var(--text); letter-spacing: 0; margin-bottom: 8px; }
.pricing-fit { font-size: 12px; color: var(--text-3); line-height: 1.55; }
.pricing-price { font-size: 3.8rem; font-weight: 900; letter-spacing: 0; color: var(--text); line-height: 1; margin-bottom: 8px; }
.pricing-price span { font-size: 1.1rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.pricing-cadence { font-size: 12px; color: var(--text-3); margin-bottom: 16px; }
.pricing-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.pricing-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; list-style: none; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pricing-feature-check {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; margin-top: 1px;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
}
.pricing-feature-check svg { stroke: #6EE7B7; }
.pricing-feature-check.violet { background: rgba(131,56,236,0.15); border-color: rgba(131,56,236,0.3); }
.pricing-feature-check.violet svg { stroke: var(--violet-text); }
.pricing-card .btn { margin-top: auto; justify-content: center; width: 100%; min-height: 50px; }
.pricing-assurance {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 20px; overflow: hidden;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.pricing-assurance-item {
  background: var(--bg-1); padding: 18px 20px;
  font-size: 12px; line-height: 1.55; color: var(--text-2);
}
.pricing-assurance-item strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 4px; }

/* Comparison table */
.pricing-table-section { padding: 96px 0; background: var(--bg-1); border-top: 1px solid var(--border); }
.pricing-table-wrap { margin: 44px auto 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg-2); }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table caption { text-align: left; padding: 20px 22px; color: var(--text); font-size: 16px; font-weight: 800; border-bottom: 1px solid var(--border); }
.pricing-table th, .pricing-table td { padding: 14px 20px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
.pricing-table th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); background: var(--bg-3); }
.pricing-table th:not(:first-child), .pricing-table td:not(:first-child) { text-align: center; }
.pricing-table td:first-child { color: var(--text-2); }
.pricing-table td:not(:first-child) { color: var(--text); font-weight: 600; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(255,255,255,0.02); }
.pricing-table .tick { color: var(--emerald); }
.pricing-table .vtick { color: var(--violet-text); }
.pricing-table .dash { color: var(--text-3); }

/* FAQ */
.faq-section { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--border); }
.faq-list { max-width: 840px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-2); overflow: hidden; }
.faq-item[open] { border-color: var(--border-2); background: var(--bg-3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 58px; padding: 18px 22px;
  font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: 0;
  cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--violet-text); background: rgba(131,56,236,0.12);
  border: 1px solid rgba(131,56,236,0.24); flex-shrink: 0;
}
.faq-item[open] .faq-q::after { content: '-'; }
.faq-a { padding: 0 22px 20px; font-size: 13px; color: var(--text-2); line-height: 1.7; }

@media (max-width: 1024px) {
  .pricing-hero-title { font-size: 4rem; }
  .pricing-section-header { grid-template-columns: 1fr; gap: 22px; }
  .pricing-note { max-width: 520px; }
}
@media (max-width: 768px) {
  .pricing-hero { min-height: auto; padding-top: 132px; }
  .pricing-hero-title { font-size: 3rem; }
  .pricing-hero-metrics, .pricing-assurance { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-head { min-height: auto; }
  .pricing-card:hover { transform: none; }
  .pricing-table { min-width: 680px; }
}
@media (max-width: 640px) {
  .pricing-table-wrap { overflow-x: auto; }
  .pricing-section, .pricing-table-section, .faq-section { padding: 76px 0; }
  .pricing-card { padding: 28px 24px; border-radius: var(--r-lg); }
  .pricing-card-top { flex-direction: column; }
  .pricing-hero-title { font-size: 2.55rem; }
  .pricing-price { font-size: 3.05rem; }
}
