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

:root {
  --bg: #FAF6F1;
  --bg-alt: #F0EBE3;
  --fg: #18160F;
  --fg-muted: #6B5E52;
  --accent: #C2410C;
  --accent-light: #FEF3C7;
  --sage: #4A7C59;
  --sage-light: #D1FAE5;
  --border: #E2D9CC;
  --card-bg: #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --max-w: 1160px;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--fg); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 241, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.3px;
}
.nav-logo-accent { color: var(--accent); }
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-nav-cta {
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: #b53809; transform: translateY(-1px); }
.btn-nav-cta:active { transform: translateY(0); }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(194, 65, 12, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.2px;
  box-shadow: 0 4px 24px rgba(194, 65, 12, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #b53809;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(194, 65, 12, 0.45);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* === PHONE FRAME === */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-frame {
  width: 300px;
  background: #111;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-screen {
  background: #0A0A0F;
  border-radius: 30px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 480px;
}
.call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.call-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.call-dot.incoming { background: #22C55E; box-shadow: 0 0 6px #22C55E; }
.call-label { font-size: 10px; color: rgba(255,255,255,0.4); font-family: var(--font-body); }

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  padding: 4px 0;
}
.waveform-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.6;
}
.waveform-bar:nth-child(1)  { height: 30%; animation-delay: 0s; }
.waveform-bar:nth-child(2)  { height: 60%; animation-delay: 0.1s; }
.waveform-bar:nth-child(3)  { height: 45%; animation-delay: 0.2s; }
.waveform-bar:nth-child(4)  { height: 80%; animation-delay: 0.05s; }
.waveform-bar:nth-child(5)  { height: 55%; animation-delay: 0.15s; }
.waveform-bar:nth-child(6)  { height: 70%; animation-delay: 0.25s; }
.waveform-bar:nth-child(7)  { height: 40%; animation-delay: 0s; }
.waveform-bar:nth-child(8)  { height: 90%; animation-delay: 0.1s; }
.waveform-bar:nth-child(9)  { height: 65%; animation-delay: 0.2s; }
.waveform-bar:nth-child(10) { height: 35%; animation-delay: 0.05s; }
.waveform-bar:nth-child(11) { height: 75%; animation-delay: 0.15s; }
.waveform-bar:nth-child(12) { height: 50%; animation-delay: 0.25s; }
.waveform-bar:nth-child(13) { height: 85%; animation-delay: 0s; }
.waveform-bar:nth-child(14) { height: 40%; animation-delay: 0.1s; }
.waveform-bar:nth-child(15) { height: 60%; animation-delay: 0.2s; }
.waveform-bar:nth-child(16) { height: 30%; animation-delay: 0.05s; }
.waveform-bar:nth-child(17) { height: 70%; animation-delay: 0.15s; }
.waveform-bar:nth-child(18) { height: 45%; animation-delay: 0.25s; }
.waveform-bar:nth-child(19) { height: 80%; animation-delay: 0s; }
.waveform-bar:nth-child(20) { height: 55%; animation-delay: 0.1s; }
.waveform-bar:nth-child(21) { height: 35%; animation-delay: 0.2s; }
.waveform-bar:nth-child(22) { height: 65%; animation-delay: 0.05s; }
.waveform-bar:nth-child(23) { height: 50%; animation-delay: 0.15s; }
.waveform-bar:nth-child(24) { height: 75%; animation-delay: 0.25s; }
.waveform-bar:nth-child(25) { height: 40%; animation-delay: 0s; }
.waveform-bar:nth-child(26) { height: 60%; animation-delay: 0.1s; }
.waveform-bar:nth-child(27) { height: 30%; animation-delay: 0.2s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.call-dialogue {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ai-bubble {
  background: rgba(194, 65, 12, 0.12);
  border: 1px solid rgba(194, 65, 12, 0.2);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  font-family: var(--font-body);
}
.ai-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}
.caller-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-family: var(--font-body);
  align-self: flex-end;
  max-width: 85%;
}

.call-summary {
  background: rgba(74, 124, 89, 0.12);
  border: 1px solid rgba(74, 124, 89, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #4ADE80;
}
.summary-row { font-size: 11px; color: rgba(255,255,255,0.75); font-family: var(--font-body); }
.summary-sub { color: rgba(255,255,255,0.35); font-size: 10px; }

/* === STATS === */
.stats {
  background: var(--fg);
  color: white;
  padding: 64px 0;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat { padding: 0 40px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
  color: white;
}
.stat-unit { font-size: 32px; color: var(--accent); }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 220px;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.1);
}

/* === SECTION SHARED === */
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
  line-height: 1.1;
}

/* === FEATURES === */
.features {
  padding: 100px 0;
  background: var(--bg);
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === HOW === */
.how {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -2px;
}
.step-body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.step-body p { font-size: 16px; color: var(--fg-muted); max-width: 600px; }

/* === PRICING === */
.pricing {
  padding: 100px 0;
  background: var(--bg);
}
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.pricing .section-headline { max-width: 400px; margin-left: auto; margin-right: auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: left;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.08);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fg);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--fg);
}
.pricing-note {
  font-size: 16px;
  color: var(--fg-muted);
  font-weight: 400;
}
.pricing-recurring {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 15px;
  color: var(--fg-muted);
  padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A7C59' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.pricing-footnote {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* === CLOSING === */
.closing {
  background: var(--fg);
  color: white;
  padding: 120px 0;
}
.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.closing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: white;
  margin-bottom: 28px;
  line-height: 1.08;
}
.closing p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 16px;
}
.closing-sub {
  font-size: 15px !important;
  color: rgba(255,255,255,0.35) !important;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

/* === FOOTER === */
.footer {
  background: #0E0D0A;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 8px;
}
.footer-logo-accent { color: var(--accent); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.6; }
.footer-meta p { font-size: 13px; color: rgba(255,255,255,0.25); margin-bottom: 6px; }
.footer-copy { color: rgba(255,255,255,0.15) !important; margin-top: 16px; }

/* === HERO SCARCITY === */
.hero-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 14px;
  border-radius: 999px;
  margin: 16px 0 0;
  width: auto;
}
.hero-scarcity::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  flex: none;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.testimonials .section-headline { max-width: 520px; margin-left: auto; margin-right: auto; text-align: center; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 20px;
}
.testimonial-meta {
  font-size: 14px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.testimonial-restaurant {
  font-weight: 600;
  color: var(--fg);
}
.testimonial-owner {
  color: var(--fg-muted);
  margin-left: 8px;
}

/* === CASE STUDIES === */
.case-studies {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-studies-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.case-studies .section-headline {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-study-card {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.case-study-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.case-study-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
}
.case-study-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.case-study-stat {
  padding: 0 16px;
  text-align: center;
}
.case-study-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.case-study-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.case-study-stat-value-before { color: var(--fg); }
.case-study-stat-value-after { color: var(--sage); }
.case-study-stats-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.case-study-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-style: italic;
}
.case-study-attrib {
  font-size: 14px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .stat { padding: 0; }
  .stat-divider { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .hero-headline { font-size: 32px; }
  .stats { padding: 48px 0; }
  .stat-value { font-size: 40px; }
  .features, .how, .pricing { padding: 64px 0; }
  .testimonials { padding: 56px 0; }
  .case-studies { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; }
  .step-number { font-size: 36px; }
  .footer-inner { padding: 0 20px; }
  .btn-primary { font-size: 16px; padding: 16px 32px; width: 100%; justify-content: center; }
  .btn-nav-cta { display: none; }
}