/* ═══════════════════════════════════════════════════════════════
   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; }
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE V2 - OPERATING SYSTEM POSITIONING
   ══════════════════════════════════════════════════════════════ */
.home-v2 {
  --v2-bg: #050506;
  --v2-panel: #0d0d11;
  --v2-panel-2: #15151b;
  --v2-panel-3: #1c1b24;
  --v2-line: rgba(255,255,255,0.1);
  --v2-line-strong: rgba(255,255,255,0.18);
  --v2-text: #f5f3f8;
  --v2-muted: #a6a1b4;
  --v2-dim: #6f6a7e;
  --v2-accent: #8c4dff;
  --v2-accent-soft: rgba(140,77,255,0.16);
  background: var(--v2-bg);
  color: var(--v2-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-v2 .container { max-width: 1240px; }
.home-v2 h1, .home-v2 h2, .home-v2 h3 { text-wrap: balance; }
.home-v2 p { text-wrap: pretty; }

.home-v2 .btn {
  min-height: 44px;
  transition-property: transform, opacity, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
.home-v2 .btn:active { transform: scale(0.98); }
.home-v2 .btn-primary {
  background: var(--v2-accent);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 18px 44px rgba(98,54,176,0.34);
}
.home-v2 .btn-primary:hover { background: #9b62ff; transform: translateY(-1px); }
.home-v2 .btn-ghost { background: rgba(255,255,255,0.055); border-color: var(--v2-line); color: var(--v2-text); }
.home-v2 .btn-ghost:hover { background: rgba(255,255,255,0.085); border-color: var(--v2-line-strong); }
.home-v2 .v2-nav.navbar.scrolled { background: rgba(5,5,6,0.9); border-color: var(--v2-line); }

.v2-hero {
  min-height: 100dvh;
  padding: 156px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.v2-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 56px;
  align-items: center;
}
.v2-hero-copy { max-width: 1020px; }
.v2-kicker {
  margin-bottom: 18px;
  color: var(--v2-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.v2-hero-title {
  max-width: 1080px;
  margin: 0;
  color: var(--v2-text);
  font-size: clamp(3.4rem, 8vw, 7.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  overflow-wrap: normal;
}
.v2-hero-sub {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--v2-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}
.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.product-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v2-line-strong);
  border-radius: 22px;
  background: var(--v2-panel);
  box-shadow: 0 50px 120px rgba(0,0,0,0.72), 0 0 0 1px rgba(140,77,255,0.12);
}
.product-frame-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--v2-line);
  background: var(--v2-panel-2);
}
.product-frame-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.product-frame-top p {
  margin: 0 auto;
  color: var(--v2-dim);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.product-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left top;
}
.hero-product-frame {
  grid-column: 1 / -1;
  transform: none;
}

.praxis-command-orbit {
  position: relative;
  min-height: 440px;
  perspective: 1100px;
  transform-style: preserve-3d;
}
.orbit-plane,
.orbit-core,
.orbit-panel {
  position: absolute;
  transform-style: preserve-3d;
}
.orbit-plane {
  inset: 52px 20px;
  border: 1px solid rgba(140,77,255,0.22);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-18deg);
}
.orbit-plane::before,
.orbit-plane::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.orbit-plane-back {
  opacity: 0.45;
  transform: rotateX(70deg) rotateZ(22deg) translateZ(-36px);
  animation: orbit-spin-back 18s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.orbit-plane-mid {
  opacity: 0.78;
  transform: rotateX(64deg) rotateZ(-22deg) translateZ(4px);
  animation: orbit-spin 14s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.orbit-core {
  left: 50%;
  top: 50%;
  width: 178px;
  min-height: 162px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(140,77,255,0.5);
  border-radius: 28px;
  background: rgba(17,17,24,0.94);
  box-shadow: 0 38px 100px rgba(0,0,0,0.68), 0 0 70px rgba(140,77,255,0.18);
  transform: translate3d(-50%, -50%, 74px) rotateX(7deg) rotateY(-12deg);
  animation: core-float 5s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.orbit-core img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.orbit-core span {
  margin-top: 12px;
  color: var(--v2-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
.orbit-core strong {
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.orbit-panel {
  width: 154px;
  padding: 14px 16px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 16px;
  background: rgba(21,21,27,0.92);
  box-shadow: 0 24px 60px rgba(0,0,0,0.44);
  animation: panel-breathe 4.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.orbit-panel span {
  display: block;
  color: var(--v2-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.orbit-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--v2-text);
  font-size: 13px;
  line-height: 1.25;
}
.orbit-panel-mail { left: 0; top: 88px; transform: translateZ(34px) rotateY(10deg); }
.orbit-panel-actions { right: 8px; top: 38px; transform: translateZ(96px) rotateY(-12deg); animation-delay: 0.4s; }
.orbit-panel-approval { right: 0; bottom: 92px; transform: translateZ(48px) rotateY(-10deg); animation-delay: 0.8s; }
.orbit-panel-docs { left: 14px; bottom: 38px; transform: translateZ(88px) rotateY(12deg); animation-delay: 1.2s; }
.orbit-panel-agent {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateZ(126px) rotateX(4deg);
  border-color: rgba(140,77,255,0.56);
  background: rgba(35,20,58,0.92);
  animation-delay: 1.6s;
}

@keyframes orbit-spin {
  0%, 100% { transform: rotateX(64deg) rotateZ(-22deg) translateZ(4px); }
  50% { transform: rotateX(64deg) rotateZ(18deg) translateZ(4px); }
}
@keyframes orbit-spin-back {
  0%, 100% { transform: rotateX(70deg) rotateZ(22deg) translateZ(-36px); }
  50% { transform: rotateX(70deg) rotateZ(-16deg) translateZ(-36px); }
}
@keyframes core-float {
  0%, 100% { transform: translate3d(-50%, -50%, 74px) rotateX(7deg) rotateY(-12deg); }
  50% { transform: translate3d(-50%, -54%, 94px) rotateX(2deg) rotateY(10deg); }
}
@keyframes panel-breathe {
  0%, 100% { opacity: 0.76; }
  50% { opacity: 1; }
}

.v2-section {
  padding: 128px 0;
  border-top: 1px solid var(--v2-line);
}
.v2-section-head {
  max-width: 860px;
  margin-bottom: 52px;
}
.v2-section-title {
  max-width: 900px;
  margin: 0;
  color: var(--v2-text);
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}
.v2-section-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--v2-muted);
  font-size: 17px;
  line-height: 1.65;
}
.v2-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 72px;
  align-items: center;
}

.flow-section, .intelligence-v2, .showcase-v2 { background: var(--v2-panel); }
.flow-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  background: var(--v2-bg);
}
.flow-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: var(--v2-panel-2);
}
.flow-node span { color: var(--v2-text); font-size: 19px; font-weight: 800; }
.flow-node small {
  color: var(--v2-dim);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow-node-active { border-color: rgba(140,77,255,0.5); background: var(--v2-accent-soft); }
.flow-line {
  position: relative;
  overflow: hidden;
  width: 1px;
  height: 20px;
  margin-left: 28px;
  background: var(--v2-line-strong);
}
.flow-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v2-accent);
  transform: translateY(-100%);
  animation: flow-pulse 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes flow-pulse {
  0% { transform: translateY(-100%); opacity: 0; }
  20% { opacity: 1; }
  65% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

.surfaces-v2, .switch-v2, .v2-final { background: var(--v2-bg); }
.surface-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.surface-shot {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  background: var(--v2-panel);
}
.surface-shot div {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: rgba(5,5,6,0.82);
}
.surface-shot p, .surface-shot h3 { margin: 0; }
.surface-shot p {
  color: var(--v2-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.surface-shot h3 { margin-top: 4px; font-size: 18px; line-height: 1.1; }
.surface-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surface-shot-large img { object-position: center top; }
.surface-shot-phone {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 80px;
}
.surface-shot-phone img {
  width: auto;
  height: min(680px, 100%);
  object-fit: contain;
}
.surface-function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  background: var(--v2-line);
}
.surface-function {
  min-height: 118px;
  padding: 24px;
  background: var(--v2-panel);
}
.surface-function span {
  display: block;
  margin-bottom: 10px;
  color: var(--v2-text);
  font-size: 17px;
  font-weight: 800;
}
.surface-function strong {
  display: block;
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.chain-reaction {
  padding: 22px;
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  background: var(--v2-bg);
}
.incoming-email {
  padding: 22px;
  border: 1px solid rgba(140,77,255,0.32);
  border-radius: 16px;
  background: var(--v2-accent-soft);
}
.incoming-email span {
  display: block;
  color: var(--v2-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.incoming-email strong {
  display: block;
  margin-top: 10px;
  color: var(--v2-text);
  font-size: 26px;
  line-height: 1.1;
}
.incoming-email p {
  margin: 10px 0 0;
  color: var(--v2-muted);
  font-size: 14px;
  line-height: 1.55;
}
.chain-list { display: grid; gap: 10px; margin-top: 16px; }
.chain-step {
  position: relative;
  min-height: 52px;
  padding: 15px 16px 15px 46px;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: var(--v2-panel-2);
  color: var(--v2-muted);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms cubic-bezier(0.25, 1, 0.5, 1), opacity 180ms cubic-bezier(0.25, 1, 0.5, 1);
}
.chain-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--v2-line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}
.chain-step.is-active { border-color: rgba(140,77,255,0.5); color: var(--v2-text); }
.chain-step.is-active::before { border-color: var(--v2-accent); background: var(--v2-accent); }
.chain-step.is-active {
  transform: translateX(4px);
}

.stack-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
}
.old-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  background: var(--v2-panel);
}
.old-stack span {
  padding: 10px 14px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  color: var(--v2-muted);
  background: var(--v2-panel-2);
  font-size: 14px;
  font-weight: 700;
}
.stack-arrow {
  color: var(--v2-dim);
  font-size: 34px;
  font-weight: 800;
}
.new-stack {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(140,77,255,0.5);
  border-radius: 22px;
  background: var(--v2-accent-soft);
}
.new-stack img { width: 44px; height: 44px; border-radius: 12px; }
.new-stack strong {
  margin-top: 18px;
  color: var(--v2-text);
  font-size: 38px;
  line-height: 1;
}
.new-stack span {
  margin-top: 10px;
  color: var(--v2-muted);
  font-size: 15px;
  font-weight: 600;
}

.showcase-v2 { overflow: hidden; }
.device-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 620px);
  gap: 18px;
  overflow-x: auto;
  padding: 0 max(28px, calc((100vw - 1240px) / 2)) 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.device-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  background: var(--v2-bg);
  scroll-snap-align: start;
}
.device-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
}
.device-card.crop-left img { object-position: left top; }
.device-card.crop-center img { object-position: center center; }
.device-card.crop-right img { object-position: right center; }
.device-card.phone-card { width: 300px; }
.device-card.phone-card img {
  height: 520px;
  object-fit: contain;
  background: var(--v2-bg);
}
.device-card figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--v2-line);
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 800;
}

.v2-final {
  padding: 148px 0 132px;
  border-top: 1px solid var(--v2-line);
}
.final-inner { max-width: 980px; }
.v2-final-title {
  max-width: 920px;
  margin: 0;
  color: var(--v2-text);
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}
.v2-footer.footer { padding: 0; background: var(--v2-bg); }
.v2-footer .footer-bottom { padding: 30px 28px; }

.v2-page-hero {
  min-height: 72dvh;
  padding: 148px 0 92px;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--v2-line);
}
.v2-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: center;
}
.v2-page-title {
  max-width: 920px;
  margin: 0;
  color: var(--v2-text);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}
.v2-page-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--v2-muted);
  font-size: 18px;
  line-height: 1.65;
}
.flow-cinema {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--v2-line);
  border-radius: 28px;
  background: var(--v2-panel);
  overflow: hidden;
}
.flow-cinema::before {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(140,77,255,0.18);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-20deg);
}
.flow-cinema-card {
  position: absolute;
  width: 176px;
  padding: 16px;
  border: 1px solid var(--v2-line-strong);
  border-radius: 18px;
  background: rgba(21,21,27,0.94);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  animation: flow-card-rise 4.5s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.flow-cinema-card span {
  display: block;
  color: var(--v2-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.flow-cinema-card strong {
  display: block;
  margin-top: 8px;
  color: var(--v2-text);
  font-size: 15px;
  line-height: 1.25;
}
.flow-cinema-card:nth-child(1) { left: 28px; top: 58px; }
.flow-cinema-card:nth-child(2) { right: 34px; top: 120px; animation-delay: 0.3s; }
.flow-cinema-card:nth-child(3) { left: 72px; bottom: 148px; animation-delay: 0.6s; }
.flow-cinema-card:nth-child(4) { right: 58px; bottom: 56px; animation-delay: 0.9s; }
.flow-cinema-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140,77,255,0.52);
  border-radius: 24px;
  background: rgba(35,20,58,0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  animation: flow-core-pulse 3.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
.flow-cinema-core strong {
  color: var(--v2-text);
  font-size: 20px;
}
@keyframes flow-card-rise {
  0%, 100% { transform: translateY(0) translateZ(0); opacity: 0.82; }
  50% { transform: translateY(-10px) translateZ(0); opacity: 1; }
}
@keyframes flow-core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}
.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: stretch;
}
.showcase-stage .product-frame {
  min-height: 100%;
}
.showcase-stage .phone-card {
  width: auto;
}

.home-v2 [data-reveal] {
  opacity: 1;
  transform: none;
  transition-property: opacity, transform;
  transition-duration: 520ms;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}
.home-v2 [data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .orbit-plane,
  .orbit-core,
  .orbit-panel,
  .flow-line::after,
  .flow-cinema-card,
  .flow-cinema-core {
    animation: none;
  }
}

@media (max-width: 980px) {
  .v2-hero { padding-top: 132px; }
  .v2-hero-inner,
  .v2-split,
  .surface-showcase,
  .stack-switch,
  .v2-page-grid,
  .showcase-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .praxis-command-orbit {
    min-height: 380px;
    max-width: 480px;
  }
  .stack-arrow {
    transform: rotate(90deg);
    justify-self: start;
  }
  .hero-product-frame { transform: none; }
  .surface-function-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .v2-hero {
    min-height: auto;
    padding: 124px 0 64px;
  }
  .v2-section { padding: 88px 0; }
  .praxis-command-orbit {
    display: none;
  }
  .v2-page-hero {
    min-height: auto;
    padding: 124px 0 72px;
  }
  .v2-page-title {
    font-size: clamp(2.65rem, 13vw, 3.45rem);
    line-height: 1;
  }
  .v2-page-copy {
    font-size: 16px;
  }
  .flow-cinema {
    min-height: 560px;
    border-radius: 18px;
  }
  .flow-cinema-card {
    width: min(276px, calc(100% - 48px));
  }
  .flow-cinema-card:nth-child(1) { left: 24px; top: 28px; }
  .flow-cinema-card:nth-child(2) { left: 24px; right: auto; top: 136px; }
  .flow-cinema-card:nth-child(3) { left: 24px; bottom: 132px; }
  .flow-cinema-card:nth-child(4) { left: 24px; right: auto; bottom: 24px; }
  .flow-cinema-core {
    width: 140px;
    min-height: 112px;
  }
  .v2-hero-title {
    max-width: 330px;
    font-size: clamp(2.35rem, 11.5vw, 2.75rem);
    line-height: 1.02;
    text-wrap: unset;
  }
  .v2-hero-sub { font-size: 16px; }
  .v2-actions { flex-direction: column; }
  .home-v2 .v2-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .product-frame, .surface-shot, .flow-rail, .chain-reaction, .old-stack, .new-stack, .surface-function-grid {
    border-radius: 16px;
  }
  .product-frame-top p { display: none; }
  .surface-shot { min-height: 320px; }
  .surface-function-grid { grid-template-columns: 1fr; }
  .flow-node {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .device-gallery {
    grid-auto-columns: minmax(286px, 86vw);
    padding-left: 20px;
    padding-right: 20px;
  }
  .device-card img { height: 260px; }
  .device-card.phone-card { width: auto; }
  .device-card.phone-card img { height: 440px; }
  .v2-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
