/* AI Front Desk Theme — matches design tokens from onboarding */
:root {
  --bg: #0e0e1a;
  --bg-card: #14142a;
  --bg-card-hover: #1a1a36;
  --fg: #f0f0f8;
  --fg-muted: #8888a8;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-border: rgba(245,158,11,0.25);
  --border: rgba(255,255,255,0.07);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.1);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(14,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}
.nav-spacer { flex: 1; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: #fbbf24; }
.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card); color: var(--fg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 999px;
}

/* ===== PHONE VISUAL ===== */
.phone-mockup {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.phone-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.phone-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.phone-dot.red { background: #ef4444; }
.phone-dot.yellow { background: #f59e0b; }
.phone-dot.green { background: #22c55e; }
.phone-screen-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-left: auto;
}
.call-animation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.call-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
}
.call-line.ai {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
}
.call-line.caller {
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  margin-left: 1rem;
}
.call-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.call-icon.ai-icon { background: var(--accent); color: #000; }
.call-icon.caller-icon { background: var(--bg-card-hover); border: 1px solid var(--border); color: var(--fg-muted); }

/* ===== FEATURES ===== */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.step { text-align: center; }
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.8rem; color: var(--fg-muted); }

/* ===== CTA ===== */
.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.8rem;
}
.footer a { color: var(--fg-muted); text-decoration: none; }
.footer a:hover { color: var(--fg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

/* ===== STAT BADGES ===== */
.stats-bar {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  justify-content: center;
}
.stat { text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); }

/* ===== DEMO BADGE ===== */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.2);
  color: var(--green);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.demo-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ===== DASHBOARD (separate page) ===== */
.dashboard-page {
  padding: 6rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.dashboard-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-size: 0.75rem;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.data-table tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}
.badge-green { background: var(--green-dim); color: var(--green); }
.badge-yellow { background: var(--accent-dim); color: var(--accent); }
.badge-red { background: var(--red-dim); color: var(--red); }
.badge-muted { background: var(--bg-card-hover); color: var(--fg-muted); }