/* RadCRM — Marketing Page Styles (v2, kinetic) */
/* Design system: premium dark "editorial glass" house style */
/* Primary: #F59E0B amber · Accent: #ec4899 hot pink · Violet: #8b5cf6 · BG: #090f1a */

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

:root {
  --primary: #F59E0B;
  --primary-deep: #D97706;
  --primary-mid: #FBBF24;
  --primary-glow: rgba(245, 158, 11, 0.15);
  --primary-glow-strong: rgba(245, 158, 11, 0.28);
  --accent: #ec4899;
  --accent-2: #8b5cf6;
  --violet: #8b5cf6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --signal: #fde047;
  --bg: #090f1a;
  --bg-2: #0d1527;
  --bg-3: #0a1120;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-primary: rgba(245, 158, 11, 0.28);
  --text: #e8eef7;
  --text-muted: #9fb0c4;
  --text-dim: #6b7d94;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

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

::selection { background: rgba(245, 158, 11, 0.3); color: #fff; }

a { color: inherit; }

/* ─── Scroll progress bar ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--primary), var(--accent-2), var(--accent));
  box-shadow: 0 0 12px var(--primary-glow-strong);
  transition: width 0.1s linear;
}

/* ─── Aurora / mesh background ───────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora::before, .aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.aurora::before {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(245,158,11,0.16), transparent 65%);
  top: -18vw; right: -12vw;
  animation: drift 22s var(--ease) infinite alternate;
}
.aurora::after {
  width: 52vw; height: 52vw;
  background: radial-gradient(circle, rgba(139,92,246,0.14), transparent 65%);
  bottom: -14vw; left: -10vw;
  animation: drift 26s var(--ease) infinite alternate-reverse;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s var(--ease) infinite alternate;
}
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(236,72,153,0.10) 0%, transparent 70%); top: 40vh; left: 46vw; animation-duration: 24s; animation-delay: -6s; }
.orb-2 { display: none; }
.orb-3 { display: none; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4vw, -3vw) scale(1.08); }
  100% { transform: translate(-3vw, 3vw) scale(0.96); }
}

/* grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
section { position: relative; z-index: 2; }

/* ─── Nav ───────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 68px;
  background: rgba(9, 15, 26, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.scrolled {
  height: 58px;
  background: rgba(9, 15, 26, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.02em; }
.nav-logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: pulse-dot 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--primary); opacity: 1; }
  50% { box-shadow: 0 0 18px var(--primary), 0 0 34px rgba(245,158,11,0.35); opacity: 0.85; }
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--primary); transition: width 0.25s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  text-decoration: none; cursor: pointer; border: none;
  padding: 10px 20px; border-radius: 11px;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary {
  color: #05141a;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  box-shadow: 0 4px 20px rgba(245,158,11,0.28);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.45); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-primary-lg, .btn-ghost-lg { padding: 15px 30px; font-size: 16px; border-radius: 13px; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { padding: 150px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 100px;
  background: rgba(245,158,11,0.08); border: 1px solid var(--border-primary);
  font-size: 12.5px; font-weight: 600; color: var(--primary-mid);
  letter-spacing: 0.02em; margin-bottom: 26px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-mid); box-shadow: 0 0 8px var(--primary-mid); animation: pulse-dot 2s ease-in-out infinite; }
.hero-headline {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(38px, 5vw, 62px); line-height: 1.02;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-headline .grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--primary-mid) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hero-trust-label { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ─── Product/demo card (hero right) ────────────────────────── */
.hero-right { perspective: 1400px; }
.demo-card {
  background: linear-gradient(160deg, rgba(15,23,42,0.9), rgba(10,17,32,0.92));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.05), inset 0 1px 0 rgba(255,255,255,0.06);
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease);
  will-change: transform;
}
.demo-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(245,158,11,0.10), transparent 40%);
  pointer-events: none;
}
.demo-card-header { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.demo-card-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-card-dot.red { background: #ff5f57; } .demo-card-dot.yellow { background: #febc2e; } .demo-card-dot.green { background: #28c840; }
.demo-card-title { margin-left: 8px; font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.demo-card-body { padding: 26px; min-height: 250px; position: relative; }
/* Crossfade uses a symmetric ease (NOT --ease, which is a front-loaded "snap"
   curve that hits ~96% opacity in the first 15% of the duration and reads as a
   flash). ease-in-out crosses at 50/50 at the time-midpoint, so the dissolve is
   perceptually gradual across the whole duration. */
.demo-slide { position: absolute; inset: 26px; opacity: 0; transform: translateY(6px); transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out; pointer-events: none; will-change: opacity, transform; }
.demo-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.demo-label { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary-mid); background: rgba(245,158,11,0.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.demo-headline { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.demo-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.demo-progress { height: 6px; border-radius: 100px; background: rgba(255,255,255,0.06); overflow: hidden; margin: 16px 0; }
.demo-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary-mid)); border-radius: 100px; animation: fill 3s var(--ease) forwards; }
@keyframes fill { to { width: 92%; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.demo-chip { font-size: 11.5px; padding: 4px 10px; border-radius: 7px; background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }
.demo-chip.success { background: rgba(16,185,129,0.14); color: #34d399; border-color: rgba(16,185,129,0.3); }
.demo-chip.accent { background: rgba(236,72,153,0.14); color: #f472b6; border-color: rgba(236,72,153,0.3); }
.demo-rows { display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.demo-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 9px; font-size: 13px; }
.demo-row-left { color: var(--text-muted); } .demo-row-right { color: var(--text); font-weight: 600; }
.demo-insight { font-size: 12.5px; color: var(--text-muted); padding: 10px 12px; background: rgba(255,255,255,0.03); border-left: 2px solid var(--primary); border-radius: 0 8px 8px 0; margin-bottom: 8px; line-height: 1.45; }
.demo-insight strong { color: #fff; font-weight: 600; }
.demo-nav { display: flex; gap: 8px; justify-content: center; padding: 0 0 18px; }
.demo-nav-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); cursor: pointer; transition: all 0.25s; }
.demo-nav-dot.active { background: var(--primary); width: 22px; border-radius: 100px; }

/* ─── Replaces marquee ──────────────────────────────────────── */
.replaces { padding: 30px 0 10px; overflow: hidden; }
.replaces-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 20px; }
.marquee { display: flex; gap: 14px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.replace-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px; background: var(--bg-card); border: 1px solid var(--border); font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.replace-chip s { color: var(--text-dim); opacity: 0.7; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ─── Section shells ────────────────────────────────────────── */
.section-eyebrow { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary-mid); margin-bottom: 14px; }
.section-title { text-align: center; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.section-sub { text-align: center; font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto 52px; }

/* ─── Interactive showcase (tabbed) ─────────────────────────── */
.showcase { padding: 90px 0; }
.showcase-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.showcase-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 12px; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.showcase-tab .st-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.showcase-tab:hover { color: var(--text); border-color: var(--border-strong); }
.showcase-tab.active { color: #fff; background: rgba(245,158,11,0.1); border-color: var(--border-primary); box-shadow: 0 0 0 1px var(--border-primary), 0 8px 26px rgba(245,158,11,0.14); }
.showcase-tab.active .st-num { color: var(--primary-mid); }
.showcase-stage {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(13,21,39,0.8), rgba(10,17,32,0.6));
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden; min-height: 420px;
}
.showcase-panel {
  position: absolute; inset: 0; padding: 40px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.55s ease-in-out, transform 0.55s ease-in-out;
  pointer-events: none; will-change: opacity, transform;
}
.showcase-panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.showcase-copy h3 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.showcase-copy p { font-size: 15px; color: var(--text-muted); margin-bottom: 18px; }
.showcase-copy .sc-metric { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); }
.showcase-copy .sc-metric b { font-size: 20px; color: #34d399; font-weight: 800; }
.showcase-copy .sc-metric span { font-size: 12.5px; color: var(--text-muted); }
.showcase-visual { position: relative; }

/* generic mini-ui inside showcase */
.mini { background: rgba(9,15,26,0.7); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.mini + .mini { margin-top: 12px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); margin-bottom: 12px; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13px; }
.mini-row:first-of-type { border-top: none; }
.avatar { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #05141a; }
.bar { height: 7px; border-radius: 100px; background: rgba(255,255,255,0.07); overflow: hidden; flex: 1; }
.bar > i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--primary-mid)); animation: growbar 1.4s var(--ease) forwards; transform-origin: left; }
@keyframes growbar { from { transform: scaleX(0); } }

/* status pills (board energy) */
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.pill.cyan { background: rgba(245,158,11,0.16); color: var(--primary-mid); }
.pill.green { background: rgba(16,185,129,0.16); color: #34d399; }
.pill.pink { background: rgba(236,72,153,0.16); color: #f472b6; }
.pill.violet { background: rgba(139,92,246,0.18); color: #a78bfa; }
.pill.amber { background: rgba(245,158,11,0.16); color: #fbbf24; }
.pill.gray { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* typewriter email demo */
.type-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.type-card { background: rgba(9,15,26,0.7); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.type-card.before { opacity: 0.72; }
.type-card h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.type-card.after h5 { color: var(--primary-mid); }
.type-body { font-size: 13.5px; line-height: 1.65; color: var(--text-muted); min-height: 150px; font-family: var(--font-body); }
.type-body .hl { color: #fff; background: rgba(245,158,11,0.16); border-radius: 4px; padding: 0 3px; }
.type-cursor { display: inline-block; width: 8px; height: 16px; background: var(--primary-mid); vertical-align: text-bottom; animation: blink 1s step-end infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

/* pipeline flow */
.pipeline { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.pipe-col { flex: 1; min-width: 130px; background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.pipe-col-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; }
.pipe-col-head b { color: var(--text); }
.pipe-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px; padding: 9px 10px; margin-bottom: 8px; font-size: 12px; animation: cardpop 0.5s var(--ease) backwards; }
.pipe-card .pc-name { color: var(--text); font-weight: 600; margin-bottom: 5px; }
@keyframes cardpop { from { opacity: 0; transform: translateY(8px) scale(0.96); } }

/* ─── Contrast ──────────────────────────────────────────────── */
.problem { padding: 90px 0; }
.contrast-rows { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.contrast-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 22px 26px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s var(--ease); }
.contrast-row:hover { border-color: var(--border-primary); transform: translateY(-2px); }
.contrast-old { font-size: 19px; font-weight: 700; color: var(--text-dim); text-align: right; }
.contrast-old span, .contrast-new span { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-dim); margin-top: 3px; }
.contrast-arrow { font-size: 22px; color: var(--primary); }
.contrast-new { font-size: 19px; font-weight: 700; color: #fff; }
.contrast-new span { color: var(--primary-mid); }

/* ─── How it works ──────────────────────────────────────────── */
.how { padding: 90px 0; }
.how-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-primary), var(--border-primary), transparent); z-index: 0; }
.how-step { position: relative; z-index: 1; padding: 24px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: transform 0.3s var(--ease), border-color 0.3s; }
.how-step:hover { transform: translateY(-4px); border-color: var(--border-primary); }
.how-step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(139,92,246,0.16)); border: 1px solid var(--border-primary); font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--primary-mid); margin-bottom: 14px; }
.how-step-title { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.how-step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── Features ──────────────────────────────────────────────── */
.features { padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform 0.2s var(--ease), border-color 0.3s, background 0.3s; position: relative; overflow: hidden; transform-style: preserve-3d; }
.feature-card::before { content: ''; position: absolute; inset: 0; opacity: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(245,158,11,0.09), transparent 45%); transition: opacity 0.3s; }
.feature-card:hover { border-color: var(--border-primary); background: var(--bg-card-hover); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(245,158,11,0.16), rgba(139,92,246,0.14)); border: 1px solid var(--border-primary); color: var(--primary-mid); margin-bottom: 18px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.feature-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px; }
.feature-save { display: inline-block; font-size: 12px; font-weight: 700; color: #34d399; background: rgba(16,185,129,0.1); padding: 5px 12px; border-radius: 7px; border: 1px solid rgba(16,185,129,0.22); }

/* ─── Pillars ───────────────────────────────────────────────── */
.pillars { padding: 90px 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card { padding: 32px; background: linear-gradient(160deg, var(--bg-card), rgba(255,255,255,0.01)); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform 0.3s var(--ease), border-color 0.3s; }
.pillar-card:hover { transform: translateY(-4px); border-color: var(--border-primary); }
.pillar-icon { font-size: 30px; display: block; margin-bottom: 16px; }
.pillar-title { font-size: 19px; font-weight: 700; margin-bottom: 11px; letter-spacing: -0.01em; }
.pillar-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── Personas ──────────────────────────────────────────────── */
.personas { padding: 90px 0; }
.personas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona-card { padding: 30px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform 0.3s var(--ease), border-color 0.3s; }
.persona-card:hover { transform: translateY(-4px); border-color: var(--border-primary); }
.persona-role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary-mid); margin-bottom: 8px; }
.persona-name { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.persona-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.persona-wins { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.persona-wins li { font-size: 13.5px; color: var(--text); padding-left: 26px; position: relative; line-height: 1.45; }
.persona-wins li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #34d399; font-weight: 700; }

/* ─── Spine ─────────────────────────────────────────────────── */
.spine { padding: 90px 0; }
.spine-inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 52px 44px; background: linear-gradient(160deg, rgba(245,158,11,0.07), rgba(139,92,246,0.05)); border: 1px solid var(--border-primary); border-radius: 26px; position: relative; overflow: hidden; }
.spine-inner::before { content: ''; position: absolute; top: -60%; left: 50%; width: 120%; height: 120%; transform: translateX(-50%); background: radial-gradient(circle, rgba(245,158,11,0.1), transparent 60%); pointer-events: none; }
.spine-quote { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; color: var(--text); position: relative; }
.spine-quote em { font-style: italic; color: var(--primary-mid); }
.spine-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.spine-stat-num { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.spine-stat-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

/* ─── Trust strip ───────────────────────────────────────────── */
.trust-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.012); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-num { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(120deg, #fff, var(--primary-mid)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px; }
.trust-label { font-size: 13px; color: var(--text-muted); }

/* ─── CTA ───────────────────────────────────────────────────── */
.cta-section { padding: 100px 0; text-align: center; }
.cta-headline { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-sub { font-size: 18px; color: var(--text-muted); max-width: 500px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-weight: 700; font-size: 16px; text-decoration: none; color: var(--text); }
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary-mid); }
.footer-copy { font-size: 12.5px; color: var(--text-dim); }

/* ─── Reveal motion ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-right { max-width: 480px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .features-grid, .pillars-grid, .personas-grid { grid-template-columns: 1fr; }
  .showcase-panel { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 40px; }
  .hero-trust { grid-template-columns: 1fr; gap: 16px; }
  .contrast-row { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .contrast-old { text-align: center; }
  .contrast-arrow { transform: rotate(90deg); }
  .type-demo { grid-template-columns: 1fr; }
  .spine-meta, .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  /* A cross-dissolve is opacity-only (no sliding/parallax/zoom), which is
     vestibular-safe and NOT the kind of motion reduce-motion is meant to stop.
     Keep the fade instead of the blanket instant cut above; strip the translate
     so there is genuinely zero movement, just an opacity dissolve. Without this,
     reduce-motion turns every slide/panel switch into a hard flash. */
  .demo-slide, .showcase-panel { transition: opacity 0.5s ease-in-out !important; transform: none !important; }
}

/* ─── Section rhythm: ambient color washes so the page isn't flat black ─── */
.showcase::before, .features::before, .personas::before, .cta-section::before, .problem::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(120px); opacity: 0.6;
}
.problem::before  { width: 44vw; height: 30vw; top: 4%;  left: -10vw; background: radial-gradient(circle, rgba(245,158,11,0.09), transparent 70%); }
.showcase::before { width: 52vw; height: 34vw; top: -4%; right: -12vw; background: radial-gradient(circle, rgba(139,92,246,0.11), transparent 70%); }
.features::before { width: 48vw; height: 34vw; top: 12%; left: -12vw; background: radial-gradient(circle, rgba(245,158,11,0.10), transparent 70%); }
.personas::before { width: 46vw; height: 34vw; bottom: -6%; right: -10vw; background: radial-gradient(circle, rgba(236,72,153,0.09), transparent 70%); }
.cta-section::before { width: 60vw; height: 40vw; bottom: -14%; left: 20vw; background: radial-gradient(circle, rgba(245,158,11,0.11), transparent 70%); }

/* Alternating tonal bands break the uniform-black repetition */
.how, .pillars { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0.02) 82%, transparent); }
.trust-strip, .spine { background-image: linear-gradient(180deg, rgba(245,158,11,0.03), rgba(139,92,246,0.02)); }

/* Hairline gradient dividers between major sections */
.showcase, .features, .personas, .cta-section { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent) 1; }

/* ── Optional image slots (drop files into /images/, they layer in automatically) ── */
/* hero-atmosphere.png: wide dark art behind the hero, right-weighted */
.hero { background-image: image-set(url("images/hero-atmosphere.jpg") 1x); background-repeat: no-repeat; background-position: right -6% top -4%; background-size: 62% auto; }

/* ═══ Wired imagery (drop-ins from /images/), tuned for text legibility ═══ */
/* Hero atmosphere behind content; left stays dark so headline/body clear the contrast floor */
.hero {
  background:
    linear-gradient(90deg, rgba(9,15,26,0.94) 24%, rgba(9,15,26,0.40) 60%, rgba(9,15,26,0.58) 100%),
    url("images/hero-atmosphere.jpg") no-repeat right -4% top 34% / 66% auto;
}
/* Ambient wash behind the "replaces your whole stack" strip, matching the brand-color
   glow treatment used on other sections (the convergence.jpg photo ran gold/orange,
   clashing with the cyan/violet/pink palette, and read as visual noise at small sizes) */
.replaces { position: relative; overflow: hidden; }
.replaces::after {
  content:''; position:absolute; z-index:0; pointer-events:none;
  width: 46vw; height: 30vw; top: -30%; right: -8vw;
  background: radial-gradient(circle, rgba(245,158,11,0.14), rgba(139,92,246,0.08) 55%, transparent 75%);
  filter: blur(90px); opacity: 0.7;
}
.replaces .container, .replaces .marquee-track { position: relative; z-index: 2; }
/* Intelligence web behind the features grid (very faint texture, not behind copy) */
.features::after {
  content:''; position:absolute; top:2%; right:0; width:56%; height:64%; z-index:0; pointer-events:none;
  background: url("images/intelligence-web.jpg") no-repeat top right / contain; opacity: 0.13;
}
/* Outbound engine accent in the architecture section */
.pillars::after {
  content:''; position:absolute; top:6%; left:-5%; width:40%; height:78%; z-index:0; pointer-events:none;
  background: url("images/outbound-engine.jpg") no-repeat center left / contain; opacity: 0.16;
}
/* Command core glowing AROUND the final CTA (hollow center keeps the headline crisp) */
.cta-section::after {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: url("images/command-core.jpg") no-repeat center 40% / 640px auto; opacity: 0.34;
  -webkit-mask-image: radial-gradient(circle at center 42%, transparent 16%, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle at center 42%, transparent 16%, #000 40%, transparent 72%);
}
/* Pipeline flow: real 5-orb band above the 5 workflow steps */
.pipeline-band {
  display: block; width: 100%; max-width: 880px; margin: 0 auto 26px; opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
