/* ============================================================
   Herald AI — Marketing Site Styles
   ============================================================ */

:root {
  --bg:          #07090f;
  --bg-alt:      #0c1018;
  --surface:     #111827;
  --surface2:    #1a2332;
  --border:      rgba(255,255,255,0.065);
  --border-md:   rgba(255,255,255,0.10);
  --text:        #f1f5f9;
  --text-muted:  #8896a8;
  --text-dim:    #3d4f63;

  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-glow:   rgba(37,99,235,0.18);
  --cyan:        #06b6d4;
  --cyan-glow:   rgba(6,182,212,0.12);
  --green:       #10b981;
  --green-glow:  rgba(16,185,129,0.12);
  --purple:      #8b5cf6;
  --purple-glow: rgba(139,92,246,0.12);

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

section { padding: 100px 40px; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 14px 28px; font-size: 15px; border-radius: 14px; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 8px 28px rgba(37,99,235,0.38);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-md);
}
.btn-outline:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

/* ── Navigation ── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(7,9,15,0.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(37,99,235,0.17) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 75% 85%, rgba(6,182,212,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.eyebrow {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.22);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #eff6ff 0%, #93c5fd 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  position: relative; z-index: 1;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.72;
}

.hero-btns {
  position: relative; z-index: 1;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}

/* ── Hero Diagram ── */
.hero-diagram {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 860px;
  background: rgba(13,18,26,0.75);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  padding: 40px 36px 32px;
}

.diagram-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.d-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.d-icon {
  width: 68px; height: 68px;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.d-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.d-sub {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: -4px;
}

.herald-node .d-label { color: #93c5fd; }

.herald-icon {
  width: 84px !important; height: 84px !important;
  background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(6,182,212,0.18)) !important;
  border-color: rgba(37,99,235,0.45) !important;
  box-shadow: 0 0 32px rgba(37,99,235,0.22), 0 0 64px rgba(6,182,212,0.1);
  color: white !important;
}

.herald-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  color: #6ee7b7;
  letter-spacing: 0.04em;
  margin-top: -2px;
}

.d-connector {
  flex: 1;
  max-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 28px;
}

.connector-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  position: relative;
}
.connector-line::after {
  content: '›';
  position: absolute;
  right: -2px; top: -9px;
  color: rgba(255,255,255,0.15);
  font-size: 14px;
}

.connector-tag {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.encrypted .connector-line {
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.25), transparent);
}
.encrypted-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(110,231,183,0.7);
}

.output-modes {
  margin-top: 22px;
}

.modes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 12px;
}

.output-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.output-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.chip-dot.blue   { background: #3b82f6; }
.chip-dot.cyan   { background: #06b6d4; }
.chip-dot.purple { background: #8b5cf6; }
.chip-dot.green  { background: #10b981; }
.chip-dot.red    { background: #ef4444; }
.chip-dot.amber  { background: #f59e0b; }
.chip-dot.pink   { background: #ec4899; }

/* ── Stats bar ── */
.stats-bar {
  padding: 28px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.stat { text-align: center; }

.stat-val {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ── Problem section ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.problem-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s;
}
.problem-card:hover { border-color: var(--border-md); }

.problem-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cloud-icon { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.lock-icon  { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.ban-icon   { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.2); }

.problem-card-urgent {
  border-color: rgba(239,68,68,0.22);
  background: linear-gradient(135deg, var(--surface), rgba(239,68,68,0.04));
}
.problem-card-urgent:hover { border-color: rgba(239,68,68,0.38); }

.problem-callout {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fca5a5;
  letter-spacing: 0.01em;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ── Steps ── */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  opacity: 0.7;
  margin-bottom: 16px;
}

.step-visual {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--blue-glow);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--blue-light);
}

.meet-visual {
  background: var(--cyan-glow);
  border-color: rgba(6,182,212,0.2);
  color: var(--cyan);
}

.intel-visual {
  background: var(--green-glow);
  border-color: rgba(16,185,129,0.2);
  color: var(--green);
}

.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }

.step-card p { font-size: 15px; color: var(--text-muted); line-height: 1.72; max-width: 280px; }

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.step-conn-line {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,0.4), rgba(6,182,212,0.3));
  position: relative;
}
.step-conn-line::after {
  content: '▶';
  position: absolute;
  right: -6px; top: -7px;
  font-size: 10px;
  color: rgba(6,182,212,0.5);
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.feature-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s;
}
.feature-card:hover {
  background: var(--surface2);
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fi-blue   { background: var(--blue-glow);   border: 1px solid rgba(37,99,235,0.2);   color: var(--blue-light); }
.fi-cyan   { background: var(--cyan-glow);   border: 1px solid rgba(6,182,212,0.2);   color: var(--cyan); }
.fi-green  { background: var(--green-glow);  border: 1px solid rgba(16,185,129,0.2);  color: var(--green); }
.fi-purple { background: var(--purple-glow); border: 1px solid rgba(139,92,246,0.2);  color: var(--purple); }

.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.72; }

/* ── Privacy ── */
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.privacy-points { display: flex; flex-direction: column; gap: 28px; }

.privacy-point { display: flex; gap: 14px; align-items: flex-start; }

.check-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--green-glow);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.privacy-point h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.privacy-point p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Data flow card */
.data-flow-card {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 80px;
}

.df-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.df-rows { display: flex; flex-direction: column; gap: 8px; }

.df-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.df-row-blocked { opacity: 0.55; }

.df-icon { font-size: 16px; flex-shrink: 0; width: 24px; text-align: center; }

.df-name { font-size: 13px; font-weight: 500; flex: 1; }

.df-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 100px;
  flex-shrink: 0;
}
.df-badge.local   { background: var(--green-glow); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.22); }
.df-badge.blocked { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }

.df-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.df-divider::before,
.df-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.df-divider span {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.testimonial-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }

.quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}
.quote::before { content: '\201C'; }
.quote::after  { content: '\201D'; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.av-blue   { background: rgba(37,99,235,0.2);  color: #93c5fd; border: 1px solid rgba(37,99,235,0.25); }
.av-cyan   { background: rgba(6,182,212,0.15); color: #67e8f9; border: 1px solid rgba(6,182,212,0.25); }
.av-purple { background: var(--purple-glow);   color: #c4b5fd; border: 1px solid rgba(139,92,246,0.25); }

.author-name { font-size: 14px; font-weight: 700; }
.author-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Compliance strip ── */
.compliance-strip {
  padding: 36px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.compliance-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.compliance-logos { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.compliance-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 7px 14px;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.compliance-badge:hover { color: var(--text-muted); border-color: rgba(255,255,255,0.15); }

.compliance-qualifier {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-dim);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ── Modes section ── */
#modes { padding: 100px 40px; }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.mode-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.2s;
}
.mode-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
}
.mode-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 0 28px;
  align-items: start;
}
.mode-card-wide .mode-name { grid-row: 1; grid-column: 2; }
.mode-card-wide .mode-desc { grid-row: 1; grid-column: 3; }
.mode-card-wide .mode-chip-dot { grid-row: 1; grid-column: 1; margin-top: 4px; }

.mode-chip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.mode-chip-dot.blue   { background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,0.5); }
.mode-chip-dot.red    { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.mode-chip-dot.cyan   { background: #06b6d4; box-shadow: 0 0 8px rgba(6,182,212,0.5); }
.mode-chip-dot.green  { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.mode-chip-dot.amber  { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.mode-chip-dot.purple { background: #8b5cf6; box-shadow: 0 0 8px rgba(139,92,246,0.5); }
.mode-chip-dot.pink   { background: #ec4899; box-shadow: 0 0 8px rgba(236,72,153,0.5); }

.mode-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.mode-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
}

@media (max-width: 860px) {
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .mode-card-wide {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
  }
  .mode-card-wide .mode-chip-dot { margin-bottom: 16px; }
}
@media (max-width: 540px) {
  .modes-grid { grid-template-columns: 1fr; }
  .mode-card-wide { grid-column: span 1; }
}

/* ── CTA / Waitlist ── */
#waitlist {
  padding: 100px 40px;
}

.cta-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 60px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.05));
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.72;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input:focus { border-color: rgba(37,99,235,0.5); }
.waitlist-input::placeholder { color: var(--text-dim); }

.cta-note { font-size: 13px; color: var(--text-dim); margin-bottom: 32px; }

.pilot-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.pilot-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Footer ── */
footer {
  padding: 64px 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: var(--text-dim); transition: color 0.2s; }
.footer-social a:hover { color: var(--text-muted); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Diagram outputs (above the device) ── */
.diagram-outputs {
  margin-bottom: 4px;
}

.branch-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 18px;
}

.output-dests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.odest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 13px 12px 12px;
  background: rgba(255,255,255,0.022);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), border-color 0.25s, box-shadow 0.25s;
}

/* colored accent line that sweeps across the card top */
.odest::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--odest-color), transparent);
  opacity: 0.5;
  transition: opacity 0.25s;
}

.odest:hover {
  transform: translateY(-4px);
  border-color: var(--odest-border);
  box-shadow: 0 12px 32px -8px var(--odest-shadow), 0 0 0 1px var(--odest-border) inset;
}
.odest:hover::before { opacity: 1; }

.odest-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--odest-color);
  background: var(--odest-bg);
  border: 1px solid var(--odest-border);
  box-shadow: 0 0 0 0 var(--odest-shadow);
  transition: box-shadow 0.3s, transform 0.25s;
}
.odest:hover .odest-icon {
  transform: scale(1.06);
  box-shadow: 0 0 22px -4px var(--odest-shadow);
}

.odest-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.odest-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 180px;
}

.odest-phone { --odest-color: #22d3ee; --odest-bg: var(--cyan-glow);   --odest-border: rgba(6,182,212,0.35);  --odest-shadow: rgba(6,182,212,0.35); }
.odest-agent { --odest-color: #a78bfa; --odest-bg: var(--purple-glow); --odest-border: rgba(139,92,246,0.35); --odest-shadow: rgba(139,92,246,0.35); }
.odest-llm   { --odest-color: #60a5fa; --odest-bg: var(--blue-glow);   --odest-border: rgba(37,99,235,0.4);   --odest-shadow: rgba(37,99,235,0.4); }

/* ── Animated output wires ── */
.output-wires {
  width: 100%;
  height: 64px;
  margin-top: -4px;
  pointer-events: none;
}
.output-wires svg { width: 100%; height: 100%; overflow: visible; }

.wire-base { fill: none; stroke-width: 1.4; opacity: 0.55; }

.wire-flow {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 15;
  animation: wireFlow 1.4s linear infinite;
}
.flow-phone { stroke: #22d3ee; }
.flow-agent { stroke: #a78bfa; animation-duration: 1.15s; }
.flow-llm   { stroke: #60a5fa; animation-duration: 1.7s; }

@keyframes wireFlow {
  to { stroke-dashoffset: -36; }
}

.wire-dot { }
.dot-phone { fill: #67e8f9; }
.dot-agent { fill: #c4b5fd; }
.dot-llm   { fill: #93c5fd; }

.wire-hub {
  fill: #dbeafe;
  animation: hubPulse 2.4s ease-in-out infinite;
}
.wire-hub-glow {
  animation: hubGlowPulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.85; r: 4; }
  50%      { opacity: 1;    r: 5; }
}
@keyframes hubGlowPulse {
  0%, 100% { opacity: 0.5;  transform: scale(0.85); }
  50%      { opacity: 0.95; transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .wire-flow, .wire-hub, .wire-hub-glow { animation: none; }
  .wire-dot { display: none; }
}

/* ── 4-step grid ── */
.steps-grid-4 {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.phone-visual {
  background: var(--cyan-glow);
  border-color: rgba(6,182,212,0.2);
  color: var(--cyan);
}

.agent-visual {
  background: var(--purple-glow);
  border-color: rgba(139,92,246,0.2);
  color: var(--purple);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.pricing-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
}

.pricing-card-featured {
  background: linear-gradient(145deg, rgba(37,99,235,0.09), rgba(6,182,212,0.06));
  border-color: rgba(37,99,235,0.28);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.12), 0 16px 48px rgba(0,0,0,0.28);
}
.pricing-card-featured:hover {
  border-color: rgba(37,99,235,0.45);
}

.pricing-featured-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-per {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-cadence {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-features li svg { flex-shrink: 0; }

.pricing-feature-muted {
  color: var(--text-dim) !important;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.pricing-privacy-note {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

.pricing-privacy-note-relay {
  color: rgba(147,197,253,0.55);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  section { padding: 72px 24px; }
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .stats-grid { flex-wrap: wrap; gap: 24px 0; }
  .stat-divider { display: none; }
  .problem-grid,
  .features-grid,
  .testimonials-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid,
  .steps-grid-4 { flex-direction: column; align-items: center; }
  .step-connector { display: none; }
  .output-dests { grid-template-columns: 1fr; gap: 10px; }
  .odest { flex-direction: row; text-align: left; gap: 12px; padding: 12px 14px; }
  .odest-sub { max-width: none; }
  .output-wires { display: none; }
  .privacy-layout { grid-template-columns: 1fr; gap: 40px; }
  .data-flow-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-diagram { padding: 24px 16px 20px; }
  .diagram-track { gap: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .d-connector { max-width: 32px; }
  .cta-card { padding: 40px 28px; }
  .waitlist-form { flex-direction: column; }
  .pilot-features { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 38px; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-btns .btn { justify-content: center; }
}
