/* ─── Variables ─────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --fg: #1a1a2e;
  --fg-muted: #5c6370;
  --accent: #0d7377;
  --accent-light: #14a8b0;
  --accent-bg: #e8f7f5;
  --teal-bg: #e8f7f5;
  --navy: #0f1f3d;
  --navy-bg: #0f1f3d;
  --border: #e2e8f0;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.08);
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }

/* ─── Nav ─────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  padding: 80px 48px 72px;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.875rem; color: var(--fg-muted); margin-top: 4px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 32px;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-light); }

/* ─── Marketplace Mock ─────────────────────────────────────── */
.marketplace-mock {
  background: #f8fafb;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
}
.mock-header {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #28c840; }
.mock-title { color: #a8b0c0; font-size: 0.75rem; margin-left: 8px; }
.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #a8b0c0;
  font-size: 0.8rem;
}
.mock-search-icon { font-size: 1rem; }
.mock-filters {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-tag {
  background: #eef1f4;
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
}
.mock-tag.active {
  background: var(--accent);
  color: white;
}
.mock-card {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-card:last-child { border-bottom: none; }
.mock-card-pharmacy {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 4px;
}
.mock-card-name {
  font-weight: 700;
  color: var(--fg);
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.mock-card-meta { color: var(--fg-muted); font-size: 0.7rem; margin-bottom: 8px; }
.mock-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-price { font-weight: 800; color: var(--fg); font-size: 0.9rem; }
.mock-ship { font-size: 0.7rem; color: var(--accent); }

/* ─── Problem ─────────────────────────────────────── */
.problem { background: var(--bg-alt); padding: 80px 48px; }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-label, .how-label, .features-label, .split-label, .closing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.problem-headline, .how-headline, .features-headline, .split-headline, .closing-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 48px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.problem-icon { font-size: 1.5rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; color: var(--fg); }
.problem-card p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6; }

/* ─── How ─────────────────────────────────────── */
.how { padding: 80px 48px; background: var(--bg); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-sub { font-size: 1.125rem; color: var(--fg-muted); max-width: 600px; margin-bottom: 56px; line-height: 1.7; }
.how-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
}
.flow-step {
  flex: 1;
  position: relative;
}
.flow-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.flow-content h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--fg); }
.flow-content p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6; }
.flow-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin-top: 24px;
  align-self: flex-start;
  margin-left: -1px;
  position: relative;
  top: 0;
}

/* ─── Features ─────────────────────────────────────── */
.features { padding: 80px 48px; background: var(--bg-alt); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-headline { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature { }
.feature-icon { margin-bottom: 16px; }
.feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--fg); }
.feature p { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── Split Sections ─────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section.reverse > .split-right { order: -1; }
.split-label { margin-bottom: 12px; }
.split-label.teal { color: var(--accent); }
.split-label.navy { color: var(--navy); }
.split-headline { margin-bottom: 20px; }
.split-body { color: var(--fg-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.split-list { list-style: none; }
.split-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--fg);
  font-size: 0.95rem;
}
.split-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.teal-bg, .navy-bg { border-radius: 20px; padding: 40px; }
.teal-bg { background: var(--teal-bg); }
.navy-bg { background: var(--navy-bg); }
.quote { font-size: 1rem; line-height: 1.7; color: var(--fg); font-style: italic; margin-bottom: 12px; }
.quote-attr { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; }
.quote-src { font-weight: 400; }
.big-stat { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--fg); letter-spacing: -0.03em; margin-bottom: 8px; }
.big-stat-label { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }
.stat-row { margin-top: 32px; }

/* ─── Pharmacies / Providers ─────────────────────────────────────── */
.pharmacies { padding: 80px 48px; background: var(--bg); }
.providers { padding: 80px 48px; background: var(--bg-alt); }
.pharmacies-inner, .providers-inner { max-width: 1200px; margin: 0 auto; }

/* Provider mock */
.provider-mock { padding: 8px 0; }
.pm-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.pm-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
}
.pm-name { font-weight: 700; color: white; font-size: 0.95rem; }
.pm-clinic { font-size: 0.8rem; color: #8fa3bf; margin-top: 2px; }
.pm-order { background: rgba(255,255,255,.08); border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.pm-order-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8fa3bf; margin-bottom: 6px; }
.pm-order-detail { color: white; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.pm-order-status { display: flex; align-items: center; gap: 8px; color: #8fa3bf; font-size: 0.8rem; }
.pm-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
.pm-stats { display: flex; gap: 0; }
.pm-stat { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.pm-stat:last-child { border-right: none; }
.pm-stat-n { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: white; }
.pm-stat-l { display: block; font-size: 0.7rem; color: #8fa3bf; margin-top: 2px; }

/* ─── Closing ─────────────────────────────────────── */
.closing { background: var(--bg); padding: 100px 48px; }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.closing-content { position: relative; z-index: 1; }
.closing-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}
.closing-body { color: var(--fg-muted); font-size: 1.1rem; line-height: 1.7; max-width: 680px; margin: 0 auto; }
.closing-teal-bar {
  width: 80px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px; margin: 40px auto 0;
}

/* ─── Footer ─────────────────────────────────────── */
.footer { background: var(--fg); color: #8fa3bf; padding: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 20px; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: white; margin-bottom: 4px; }
.footer-tagline { font-size: 0.875rem; }
.footer-legal { font-size: 0.8rem; line-height: 1.6; margin-bottom: 20px; color: #5c6f87; max-width: 640px; }
.footer-copy { font-size: 0.8rem; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 2.25rem; }
  .problem, .how, .features, .pharmacies, .providers, .closing { padding: 56px 24px; }
  .problem-grid, .features-grid { grid-template-columns: 1fr; }
  .split-section, .split-section.reverse { grid-template-columns: 1fr; }
  .how-flow { flex-direction: column; gap: 24px; }
  .flow-connector { display: none; }
  .stat-row { display: none; }
  .footer { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .problem-headline, .how-headline, .features-headline, .split-headline, .closing-headline { font-size: 1.75rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
