/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --nav-bg: #0B1628;
  --bg: #FAFBFC;
  --bg-alt: #F0F2F5;
  --fg: #0B1628;
  --fg-muted: #4A5568;
  --fg-light: #718096;
  --accent: #2563EB;
  --accent-light: #3B82F6;
  --gold: #D97706;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(11,22,40,0.08);
  --shadow-lg: 0 12px 48px rgba(11,22,40,0.12);
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo strong { font-weight: 700; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* === HERO === */
.hero {
  background: var(--nav-bg);
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.2);
  color: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* === DASHBOARD MOCK === */
.hero-visual { position: relative; }
.hero-dashboard {
  background: #111827;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #FF5F57; }
.dash-dot.yellow { background: #FEBC2E; }
.dash-dot.green { background: #28C840; }
.dash-title { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-left: 8px; font-family: 'DM Mono', monospace; }
.dash-body { padding: 20px; }
.dash-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.dash-stat { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 14px; }
.dash-val { display: block; font-size: 1.5rem; font-weight: 700; color: var(--white); font-family: 'DM Mono', monospace; }
.dash-label { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-trend { display: block; font-size: 0.7rem; color: #22C55E; margin-top: 4px; }
.dash-reviews { display: flex; flex-direction: column; gap: 10px; }
.dash-review { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 14px; border-left: 3px solid var(--accent); }
.dash-review .stars { color: #FBBF24; font-size: 0.75rem; margin-bottom: 6px; }
.dash-review p { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 6px; }
.dash-review span { font-size: 0.7rem; color: rgba(255,255,255,0.35); }

/* === PROOF BAR === */
.proof {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-label { text-align: center; font-size: 0.85rem; color: var(--fg-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 32px; font-weight: 500; }
.proof-stats { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.proof-stat { padding: 0 40px; text-align: center; }
.proof-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.proof-desc { display: block; font-size: 0.8rem; color: var(--fg-light); margin-top: 4px; max-width: 160px; line-height: 1.4; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* === SECTIONS === */
.section-label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-headline { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--fg); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { font-size: 1.1rem; color: var(--fg-muted); max-width: 600px; margin-bottom: 48px; line-height: 1.7; }

/* === SERVICES === */
.services { padding: 96px 24px; background: var(--bg); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon { color: var(--accent); margin-bottom: 16px; }
.service-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--fg); }
.service-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* === HOW === */
.how { padding: 96px 24px; background: var(--nav-bg); }
.how-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.how .section-label { color: var(--accent-light); }
.how .section-headline { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.6); }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.08); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step-num { font-family: 'DM Mono', monospace; font-size: 0.8rem; color: var(--accent-light); font-weight: 500; min-width: 32px; padding-top: 2px; }
.step-content h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* === PRICING === */
.pricing { padding: 96px 24px; background: var(--bg-alt); }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: box-shadow 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--accent); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; font-size: 0.75rem; font-weight: 600; padding: 5px 16px; border-radius: 100px; white-space: nowrap; }
.price-header h3 { font-family: 'DM Sans', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.price-header p { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 24px; }
.price-amount { display: flex; align-items: baseline; margin-bottom: 28px; }
.price-dollar { font-size: 1.5rem; font-weight: 600; color: var(--fg-muted); }
.price-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.price-period { font-size: 0.9rem; color: var(--fg-muted); margin-left: 4px; }
.price-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 0.9rem; color: var(--fg); display: flex; align-items: flex-start; gap: 10px; }
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-features li.dim { color: var(--fg-light); }
.price-features li.dim::before { content: '–'; color: var(--fg-light); }
.price-cta {
  display: block;
  text-align: center;
  background: var(--nav-bg);
  color: var(--white);
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}
.price-card.featured .price-cta { background: var(--accent); }
.price-cta:hover { opacity: 0.9; }

/* === RESULTS === */
.results { padding: 96px 24px; background: var(--white); }
.results-inner { max-width: 1200px; margin: 0 auto; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.result-card { padding: 32px 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.result-metric { display: block; font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; letter-spacing: -0.02em; }
.result-unit { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); margin-bottom: 12px; }
.result-card p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* === TESTIMONIALS === */
.testimonials { padding: 96px 24px; background: var(--nav-bg); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials .section-label { color: var(--accent-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px; }
.testimonial .stars { color: #FBBF24; font-size: 0.85rem; margin-bottom: 16px; }
.testimonial blockquote { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author strong { display: block; font-family: 'DM Sans', sans-serif; color: var(--white); font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* === FAQ === */
.faq { padding: 96px 24px; background: var(--bg); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 24px; font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }

/* === CLOSING === */
.closing { padding: 96px 24px; background: var(--accent); }
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 16px; }
.closing p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.7; }
.closing .btn-primary { background: var(--white); color: var(--accent); font-size: 1rem; padding: 16px 36px; }
.closing .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* === FOOTER === */
.footer { background: var(--nav-bg); padding: 64px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px; }
.footer-brand .nav-logo { display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); max-width: 280px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 48px auto 0; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* === MISSED-CALL DEMO === */
.mc-demo { padding: 96px 24px; background: var(--bg); }
.mc-demo-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mc-demo-content .section-sub { max-width: 500px; }

.mc-steps { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.mc-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}
.mc-step:last-child { border-bottom: none; }
.mc-step.active { opacity: 1; transform: translateX(4px); }
.mc-step.done { opacity: 1; }
.mc-step.done .mc-step-num { background: #22C55E; color: white; }
.mc-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-alt); color: var(--fg-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.mc-step.active .mc-step-num { background: var(--accent); color: white; }
.mc-step-text strong { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--fg); margin-bottom: 2px; }
.mc-step-text span { font-size: 0.85rem; color: var(--fg-muted); }

/* Phone mockup */
.mc-demo-phone { display: flex; justify-content: center; }
.mc-phone {
  width: 280px; min-height: 480px;
  background: #111827; border-radius: 36px;
  border: 3px solid #2a2f3a;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.mc-phone-notch {
  width: 100px; height: 24px; background: #000;
  border-radius: 0 0 16px 16px; margin: 0 auto;
}
.mc-phone-body {
  flex: 1; padding: 24px 16px;
  display: flex; align-items: center; justify-content: center;
}
.mc-phone-idle { text-align: center; }
.mc-phone-idle p { color: rgba(255,255,255,0.3); font-size: 0.8rem; margin-top: 16px; line-height: 1.5; }

/* Phone demo screens */
.mc-phone-call, .mc-phone-missed, .mc-phone-detect, .mc-phone-text {
  text-align: center; width: 100%;
  animation: mc-fade-in 0.3s ease;
}
@keyframes mc-fade-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.mc-phone-caller { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 8px; }
.mc-phone-number { color: white; font-size: 1.3rem; font-weight: 600; margin-bottom: 24px; }
.mc-phone-ringing { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mc-ring-dot {
  width: 12px; height: 12px; background: #22C55E; border-radius: 50%;
  animation: mc-ring-pulse 1s ease-in-out infinite;
}
.mc-ring-dot:nth-child(2) { animation-delay: 0.2s; }
.mc-ring-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes mc-ring-pulse { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
.mc-phone-label { color: #22C55E; font-size: 0.85rem; }

.mc-missed-icon { margin-bottom: 12px; }
.mc-missed-text { color: #EF4444; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.mc-missed-number { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 4px; }
.mc-missed-time { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

.mc-detect-logo { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; color: white; margin-bottom: 20px; }
.mc-detect-logo strong { font-weight: 700; }
.mc-detect-spinner {
  width: 32px; height: 32px; border: 3px solid rgba(37,99,235,0.2);
  border-top-color: #2563EB; border-radius: 50%;
  animation: mc-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-detect-text { color: white; font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; }
.mc-detect-sub { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

.mc-text-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.mc-text-from { color: white; font-size: 0.85rem; font-weight: 600; }
.mc-text-time { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.mc-text-bubble {
  background: #1D4ED8; color: white; padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.82rem; line-height: 1.5; text-align: left;
  margin-bottom: 12px;
}
.mc-text-meta {
  display: flex; align-items: center; gap: 6px; justify-content: flex-end;
  color: #22C55E; font-size: 0.75rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 48px; }
  .mc-demo-inner { grid-template-columns: 1fr; gap: 48px; }
  .mc-demo-phone { order: -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 56px 20px 72px; }
  .proof-stats { flex-direction: column; gap: 24px; }
  .proof-divider { display: none; }
  .proof-stat { padding: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .dash-stat-row { grid-template-columns: 1fr; }
}