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

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --amber: #f59e0b;
  --amber-dim: #b45309;
  --text: #f5f5f5;
  --text-muted: #888;
  --text-dim: #555;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: 'Figtree', sans-serif;
}

/* === LAYOUT HELPERS === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* === PHONE MOCKUP === */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-frame {
  width: 280px;
  background: #0d0d0d;
  border-radius: 36px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  box-shadow: 0 0 0 1px #1a1a1a, 0 32px 64px rgba(245, 158, 11, 0.08), 0 16px 32px rgba(0,0,0,0.6);
  position: relative;
}

.phone-header {
  background: #0d0d0d;
  padding: 12px 16px 8px;
  border-bottom: 1px solid #1a1a1a;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.phone-battery {
  letter-spacing: 1px;
}

.phone-conversation {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #0d0d0d;
  min-height: 380px;
}

.sms-business,
.sms-customer {
  display: flex;
  justify-content: flex-end;
}

.sms-customer.incoming {
  justify-content: flex-start;
}

.sms-bubble {
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.business-bubble {
  background: var(--amber);
  color: #080808;
  border-bottom-right-radius: 4px;
}

.customer-bubble {
  background: #1a1a1a;
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.sms-meta {
  font-size: 0.6875rem;
  margin-top: 4px;
  color: rgba(8,8,8,0.5);
  font-weight: 500;
}

.customer-bubble .sms-meta {
  color: var(--text-dim);
}

.phone-footer-bar {
  height: 24px;
  background: #0d0d0d;
  border-top: 1px solid #1a1a1a;
}

.phone-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
}

/* === PROBLEM STATS === */
.problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.problem .section-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.problem-stat {
  text-align: center;
  padding: 0 3rem;
}

.stat-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-unit {
  font-size: 0.5em;
}

.stat-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 7rem 0;
}

.how-it-works h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 4rem;
  max-width: 600px;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.flow-step {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.flow-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--amber-dim);
  padding: 0 1rem;
  padding-top: 5.5rem;
  font-weight: 300;
}

/* === FEATURES === */
.features {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.features h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  padding: 2rem;
  background: var(--surface);
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface-2);
}

.feature-icon {
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === RECOVERY === */
.recovery {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.recovery-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.recovery-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.recovery-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.recovery-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.roi-breakdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.roi-row:last-child {
  border-bottom: none;
}

.roi-row.bold .roi-label,
.roi-row.bold .roi-value {
  font-weight: 700;
  color: var(--text);
}

.roi-label {
  color: var(--text-muted);
}

.roi-value {
  color: var(--text);
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

.roi-value.amber {
  color: var(--amber);
}

/* === CLOSING === */
.closing {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.closing p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
}

.footer-logo {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-meta p {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 380px;
  text-align: right;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flow-arrow {
    display: none;
  }
  .recovery-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-meta p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 4rem;
    gap: 3rem;
    min-height: auto;
  }

  .hero-right {
    order: -1;
  }

  .phone-frame {
    width: 240px;
  }

  .problem .section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .problem-divider {
    display: none;
  }

  .stat-number {
    font-size: 3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works,
  .features,
  .recovery,
  .closing {
    padding: 4rem 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta p {
    text-align: left;
  }

  .section-inner {
    padding: 0 1.5rem;
  }
}
