/* ===== TOKENS ===== */
:root {
  --bg: #080c14;
  --surface: #0d1421;
  --surface-2: #111927;
  --border: #1e2d42;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-red: #ff6b6b;
  --text: #e8f1f8;
  --text-2: #7a9ab8;
  --text-3: #4a6a8a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 24px 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
}
.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-red { border-left: 3px solid var(--accent-red); }
.metric-green { border-left: 3px solid var(--accent); }
.metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.4;
}

/* DEMO WIDGET */
.demo-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 229, 160, 0.06);
}
.demo-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.demo-dots span:first-child { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:last-child { background: #28c840; }
.demo-label {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 500;
}
.demo-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.demo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
}
.call-in { background: rgba(255, 107, 107, 0.15); color: var(--accent-red); }
.ai-dot { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,229,160,0.3); font-size: 0.6rem; }
.booked-icon { background: rgba(0,229,160,0.15); color: var(--accent); }
.demo-text { display: flex; flex-direction: column; gap: 3px; }
.demo-name { font-size: 0.8rem; font-weight: 500; color: var(--text); }
.demo-time { font-size: 0.72rem; color: var(--text-3); }
.demo-msg { font-size: 0.75rem; color: var(--text-2); line-height: 1.4; }
.incoming .demo-name { color: var(--accent-red); }
.booked .demo-name { color: var(--accent); }

/* ===== STATS ROW ===== */
.stats-row {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== SECTION SHARED ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header {
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,229,160,0.3); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing > .pricing-header,
.pricing > .hiw-header { max-width: 1100px; margin: 0 auto 56px; }
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0,229,160,0.06) 0%, var(--bg) 60%);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
}
.plan-tag {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.4;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-features li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 3px;
}
.pricing-card.featured .plan-features li::before {
  background: rgba(0,229,160,0.2);
  border-color: var(--accent);
}
.plan-setup {
  font-size: 0.8rem;
  color: var(--text-3);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-header { margin-bottom: 56px; }
.hiw-steps {
  display: flex;
  align-items: center;
  gap: 24px;
}
.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent-dim);
  color: rgba(0,229,160,0.15);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
.step-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.step-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  width: 8px;
  height: 8px;
  rotate: -45deg;
}

/* ===== CLOSING ===== */
.closing {
  padding: 80px 24px 96px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}
.footer-tag { font-size: 0.75rem; color: var(--text-3); }
.footer-meta { font-size: 0.75rem; color: var(--text-3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-sub { max-width: 100%; }
  .stats-inner { flex-direction: column; gap: 28px; }
  .stat-divider { width: 48px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hiw-steps { flex-direction: column; }
  .step-arrow::after { rotate: 45deg; top: 40%; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 20px 40px; }
  .hero-metrics { flex-direction: row; flex-wrap: wrap; }
  .metric-card { flex: 1; min-width: 140px; }
  .features, .pricing, .how-it-works, .closing { padding: 56px 20px; }
}