/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EDE8;
  --fg: #111110;
  --fg-muted: #6B6A65;
  --accent: #0d4f5c;
  --accent-light: #1a7a8a;
  --accent-warm: #C8601A;
  --border: #E2DDD6;
  --white: #FFFFFF;
  --chat-bg: #EDE9E4;
  --chat-in: #FFFFFF;
  --chat-out: #0d4f5c;
}

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

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

/* ─── Typography ──────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1.1; }

/* ─── Nav ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(13, 79, 92, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stat {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.hero-divider {
  color: var(--border);
  font-size: 1.2rem;
}

/* ─── Phone Mockup ──────────────────────────────── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-bezel {
  width: 280px;
  background: var(--fg);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: var(--fg);
  border-radius: 20px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: var(--chat-bg);
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  background: var(--accent);
  color: white;
  padding: 36px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.chat-info { flex: 1; }
.chat-name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.85rem; }
.chat-status { font-size: 0.7rem; opacity: 0.8; }

.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg { display: flex; }
.msg-in { justify-content: flex-start; }
.msg-out { justify-content: flex-end; }
.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.bubble-in {
  background: var(--chat-in);
  color: var(--fg);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.bubble-out {
  background: var(--chat-out);
  color: white;
  border-bottom-right-radius: 4px;
}
.bubble-confirmed {
  font-size: 0.68rem;
  color: #4CAF50;
  font-weight: 600;
  margin-top: 2px;
  text-align: right;
}
.typing-indicator {
  display: flex; gap: 4px; align-items: center;
  padding: 4px 12px;
  height: 24px;
}
.typing-indicator span {
  width: 6px; height: 6px;
  background: var(--fg-muted);
  border-radius: 50%;
  animation: typing 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-input-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-mock {
  flex: 1;
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.input-send {
  width: 30px; height: 30px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ─── Problem ───────────────────────────────────── */
.problem {
  background: var(--fg);
  color: white;
  padding: 100px 48px;
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.problem-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  max-width: 700px;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.problem-stat {
  background: rgba(255,255,255,0.03);
  padding: 40px 32px;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.problem-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.problem-body--accent {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

/* ─── How It Works ──────────────────────────────── */
.how { padding: 100px 48px; background: var(--bg); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-label, .verticals-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.how-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% - 24px);
  right: calc(33.33% - 24px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-number {
  width: 56px; height: 56px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.step-title {
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Verticals ────────────────────────────────── */
.verticals {
  padding: 100px 48px;
  background: var(--bg-alt);
}
.verticals-inner { max-width: 1100px; margin: 0 auto; }
.verticals-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--fg);
  max-width: 580px;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vertical-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: box-shadow 0.2s ease;
}
.vertical-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.vertical-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.vertical-name {
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 16px;
}
.vertical-features {
  list-style: none;
  margin-bottom: 20px;
}
.vertical-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.vertical-features li::before {
  content: '→';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.vertical-case {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(13, 79, 92, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 8px;
}

/* ─── Closing ──────────────────────────────────── */
.closing {
  padding: 100px 48px;
  background: var(--accent);
  color: white;
  text-align: center;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-quote-mark {
  width: 48px; height: 48px;
  margin: 0 auto 32px;
  border: 3px solid rgba(255,255,255,0.4);
  border-radius: 8px;
}
.closing-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.closing-product {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  padding: 40px 48px;
  background: var(--fg);
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  max-width: 340px;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-steps::before { display: none; }
  .verticals-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-note { text-align: center; }
  .hero, .problem, .how, .verticals, .closing { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .problem-stat { padding: 28px 20px; }
  .stat-number { font-size: 2.2rem; }
  .vertical-card { padding: 24px; }
}