/* === Base === */
:root {
  --bg: #0D0F14;
  --surface: #151820;
  --surface-2: #1C2030;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --text: #F4F4F0;
  --text-muted: #8A8F9E;
  --border: rgba(255,255,255,0.07);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* === Nav === */
nav {
  padding: 20px 40px;
  border-bottom: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.nav-demo-btn {
  background: var(--accent);
  color: #0D0F14;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.nav-demo-btn:hover { opacity: 0.85; }

/* === Hero === */
.hero {
  padding: 80px 40px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-headline .accent {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* === Phone Mockup === */
.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-frame {
  background: #111318;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  padding: 16px;
  width: 280px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: #111318;
  border-radius: 0 0 14px 14px;
  margin: -16px auto 12px;
  position: relative;
  z-index: 1;
}
.phone-screen {
  background: #0D0F14;
  border-radius: 24px;
  padding: 16px 14px;
  min-height: 420px;
}
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 4px;
}
.screen-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.screen-icons {
  display: flex;
  gap: 5px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: 0.5; }
.missed-call-badge {
  background: #2A1A0A;
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.missed-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.missed-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.missed-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
}
.missed-num {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}
.missed-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.ai-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.trigger-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.text-chain {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-sent, .text-reply {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.text-sent { align-items: flex-end; }
.text-reply { align-items: flex-start; }
.text-bubble {
  max-width: 220px;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.text-bubble.out {
  background: #1C2030;
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.text-bubble.in {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.text-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0 4px;
}
.booked-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 4px;
}
.text-booked { display: flex; }
.phone-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* === Stats === */
.stats {
  background: var(--surface);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 60px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { text-align: center; flex: 1; padding: 0 40px; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* === How It Works === */
.howitworks { padding: 100px 40px; }
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 60px;
  max-width: 600px;
}
.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.step {
  flex: 1;
  background: var(--surface);
  border: var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 60px;
}

/* === Features === */
.features {
  background: var(--bg);
  padding: 100px 40px;
  border-top: var(--border);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-2px);
}
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* === Testimonials === */
.testimonials {
  background: var(--surface);
  padding: 100px 40px;
  border-top: var(--border);
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--surface-2);
  border: var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* === Pricing === */
.pricing {
  background: var(--bg);
  padding: 100px 40px;
  border-top: var(--border);
}
.pricing-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: var(--border);
  border-radius: 20px;
  padding: 36px 32px;
}
.pricing-card-featured {
  border-color: rgba(245,158,11,0.35);
  background: linear-gradient(160deg, #1C2030 0%, #161a28 100%);
}
.pricing-tier {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1;
}
.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23F59E0B' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-example {
  margin-top: 20px;
  padding-top: 20px;
  border-top: var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === Closing === */
.closing {
  background: linear-gradient(180deg, var(--bg) 0%, #0A0B0F 100%);
  border-top: var(--border);
  padding: 120px 40px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-stat {
  font-family: 'Syne', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.closing-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Footer === */
footer {
  border-top: var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.footer-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-dot { color: var(--border); }

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-phone { display: none; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  nav { padding: 16px 20px; }
  .hero { padding: 60px 20px 80px; }
  .section-headline { margin-bottom: 40px; }
  .howitworks, .features, .testimonials, .pricing, .closing { padding: 70px 20px; }
}