:root {
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --surface: #161616;
  --surface2: #1e1e1e;
  --border: #242424;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --amber-glow: rgba(245, 158, 11, 0.08);
  --text: #F5F0E8;
  --text-muted: #8A8580;
  --text-dim: #4A4745;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vh, 120px) clamp(24px, 5vw, 80px) clamp(60px, 8vh, 100px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 32px;
  font-weight: 300;
}
.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface);
  font-weight: 400;
}

/* ── PHONE SCENE ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.phone-scene {
  perspective: 1000px;
}
.phone-device {
  width: 260px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,158,11,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.3s ease;
}
.phone-device:hover { transform: none; }
.phone-notch {
  width: 80px; height: 24px;
  background: #111;
  border-radius: 20px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  padding: 16px 14px;
  min-height: 420px;
}
.missed-call-ui { display: flex; flex-direction: column; gap: 12px; }
.call-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.caller-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #0a0a0a;
  flex-shrink: 0;
}
.caller-info { flex: 1; min-width: 0; }
.caller-name { font-size: 0.8rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caller-sub { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; }
.call-time { font-size: 0.6rem; color: var(--text-dim); flex-shrink: 0; }
.call-status {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.72rem; font-weight: 500;
}
.call-status.missed { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.missed-icon { display: flex; align-items: center; }
.automation-flow {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step { display: flex; align-items: center; gap: 8px; }
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.step-dot.pulse {
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,158,11,0.4);
  animation: pulse-dot 1.5s infinite;
}
.flow-step.triggered .step-dot { background: #4ADE80; }
.flow-step.triggered .step-text { color: #4ADE80; }
.flow-step.sending .step-dot { background: var(--amber); animation: pulse-dot 1.5s infinite; }
.flow-step.sending .step-text { color: var(--amber); }
.flow-step.pending .step-text { color: var(--text-dim); }
.step-text { font-size: 0.62rem; color: var(--text-dim); }
.sms-bubble {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  position: relative;
}
.sms-from { font-size: 0.62rem; color: var(--amber); font-weight: 600; margin-bottom: 4px; }
.sms-text { font-size: 0.72rem; color: var(--text); line-height: 1.5; }
.sms-time { font-size: 0.55rem; color: var(--text-dim); margin-top: 4px; text-align: right; }
.reply-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.62rem; color: var(--text-dim);
  padding-top: 2px;
}
.reply-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.2s ease-in-out infinite;
}
.phone-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  margin: 14px auto 0;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── STATS ROW ── */
.stats-row {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 56px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.stat {
  padding: 0 clamp(20px, 4vw, 48px);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 200px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── AUTOMATIONS ── */
.automations {
  padding: clamp(80px, 12vh, 130px) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { margin-bottom: clamp(48px, 7vh, 72px); }
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
}
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.auto-card {
  background: var(--surface);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.auto-card:hover { background: var(--surface2); }
.auto-card--star { background: var(--amber-glow); }
.auto-card--star:hover { background: rgba(245,158,11,0.12); }
.auto-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--amber-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  margin-bottom: 4px;
}
.auto-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.auto-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.auto-detail {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.auto-detail-text {
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── HOW ── */
.how-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 130px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.how-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 12px 0 20px;
}
.how-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.vertical-list { display: flex; flex-direction: column; gap: 0; }
.vertical-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.vertical-item:first-child { border-top: 1px solid var(--border); }
.v-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  color: var(--amber);
  font-weight: 700;
  padding-top: 3px;
}
.v-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.v-sub { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ── MANIFESTO ── */
.manifesto { padding: clamp(80px, 12vh, 130px) clamp(24px, 5vw, 80px); }
.manifesto-inner { max-width: 860px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 28px;
  font-style: normal;
  padding-left: 28px;
  border-left: 3px solid var(--amber);
}
.manifesto-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 48px;
}
.manifesto-close {
  padding: 28px 32px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 16px;
}
.manifesto-vibe {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vh, 64px) clamp(24px, 5vw, 80px);
  background: var(--bg-alt);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  margin-bottom: 12px;
}
.footer-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .phone-device { transform: none; width: 220px; }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .how-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .auto-grid {
    grid-template-columns: 1fr;
  }
}