/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B1120;
  --surface: #0f1a2e;
  --surface2: #162033;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.25);
  --fg: #F5F7FA;
  --fg-muted: rgba(245, 247, 250, 0.55);
  --fg-subtle: rgba(245, 247, 250, 0.25);
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; line-height: 1.2; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* === HERO === */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -120px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta-row { display: flex; align-items: center; gap: 20px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0B1120;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover { background: #00c8e0; transform: translateY(-1px); }
.hero-note { font-size: 13px; color: var(--fg-subtle); }

/* === PHONE MOCKUP === */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup { position: relative; }
.phone-frame {
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(0,229,255,0.1), 0 24px 60px rgba(0,0,0,0.5), 0 0 80px rgba(0,229,255,0.08);
}
.phone-screen {
  background: #080f1c;
  border-radius: 24px;
  padding: 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.call-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.call-label { font-size: 11px; color: var(--fg-muted); flex: 1; font-weight: 500; }
.call-time { font-size: 11px; color: var(--fg-subtle); font-family: 'Sora', sans-serif; }

/* Waveform */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 28px;
  padding: 4px 0;
}
.bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
  animation: wave 1.2s ease-in-out infinite;
}
.b1 { height: 8px; animation-delay: 0s; }
.b2 { height: 18px; animation-delay: 0.1s; }
.b3 { height: 24px; animation-delay: 0.2s; }
.b4 { height: 14px; animation-delay: 0.3s; }
.b5 { height: 20px; animation-delay: 0.15s; }
.b6 { height: 10px; animation-delay: 0.25s; }
.b7 { height: 16px; animation-delay: 0.05s; }
.b8 { height: 6px; animation-delay: 0.35s; }
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* Call transcript */
.call-transcript { display: flex; flex-direction: column; gap: 6px; }
.msg {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  font-family: 'DM Sans', sans-serif;
}
.msg-user {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  align-self: flex-start;
  max-width: 85%;
}
.msg-ai {
  background: rgba(0,229,255,0.08);
  color: var(--fg-muted);
  align-self: flex-end;
  max-width: 85%;
}
.msg-ai.accent { color: var(--accent); }

/* Booked badge */
.booked-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: auto;
}

.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* === STATS === */
.stats-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { flex: 1; padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-pct, .stat-unit { font-size: 20px; font-weight: 600; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--fg-muted); line-height: 1.4; max-width: 160px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

/* === HOW IT WORKS === */
.how-section { padding: 100px 0; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 64px;
  letter-spacing: -0.02em;
  max-width: 560px;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.step { padding: 0 16px; }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step-icon { margin-bottom: 20px; }
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  flex-shrink: 0;
}

/* === FEATURES === */
.features-section { padding: 80px 0 100px; background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 40px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface2); }
.feature-card.featured {
  background: linear-gradient(135deg, rgba(0,229,255,0.04) 0%, var(--surface) 100%);
  border-left: 2px solid var(--accent);
}
.feature-icon-wrap { margin-bottom: 20px; }
.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 20px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,229,255,0.15);
}

/* === MANIFESTO === */
.manifesto-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.manifesto-bg-shape {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner { max-width: 720px; }
.manifesto-label { margin-bottom: 24px; }
.manifesto-quote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.m-stat {}
.m-num {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.m-label { font-size: 13px; color: var(--fg-muted); line-height: 1.4; }

/* === FOOTER === */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.logo-a { color: var(--accent); }
.logo-rest { color: var(--fg); }
.footer-tagline { font-size: 14px; color: var(--fg-muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}
.footer-link {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 10px;
  cursor: default;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-subtle);
}
.footer-built { color: var(--fg-subtle); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 64px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-mockup { transform: scale(0.85); transform-origin: center; }
  .hero-headline { font-size: 34px; }
  .hero-sub { font-size: 16px; }

  .stats-row { flex-direction: column; gap: 32px; }
  .stat { padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-divider { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .steps-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .btn-primary { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
}
