:root {
  --teal: #0D6E64;
  --teal-light: #E8F5F3;
  --teal-mid: #5FAEAA;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --coral: #F97068;
  --ivory: #FFF8F0;
  --ink: #1A1A1A;
  --ink-60: rgba(26,26,26,0.6);
  --ink-40: rgba(26,26,26,0.4);
  --white: #FFFFFF;
  --border: rgba(26,26,26,0.08);
  --radius: 14px;
  --radius-lg: 24px;
}

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

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

/* ── NAVBAR ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--teal);
}
.nav-tagline {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-40);
}

/* ── HERO ── */
.hero {
  padding: 80px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-60);
  max-width: 480px;
  line-height: 1.7;
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mockup { position: relative; }
.phone-frame {
  width: 220px;
  background: #111;
  border-radius: 36px;
  padding: 24px 16px 20px;
  box-shadow: 0 40px 80px rgba(13,110,100,0.18), 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  border: 1.5px solid rgba(255,255,255,0.1);
}
.phone-notch {
  width: 70px; height: 10px;
  background: #222;
  border-radius: 8px;
  margin: 0 auto 16px;
}
.scan-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  color: #888; font-size: 0.7rem;
}
.scan-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.scan-teeth { margin-bottom: 16px; }
.tooth-row {
  display: flex; gap: 4px; justify-content: center;
}
.tooth {
  width: 20px; height: 26px;
  background: #F5F0E8;
  border-radius: 5px 5px 8px 8px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
}
.tooth::after {
  content: '';
  position: absolute; top: 40%; left: 20%; right: 20%;
  height: 1.5px; background: rgba(0,0,0,0.08); border-radius: 1px;
}
.t3 { background: #D4EDE8; border-color: var(--teal-mid); }
.t4 { background: #D4EDE8; border-color: var(--teal-mid); }
.scan-overlay {
  position: absolute; top: 60px; left: 16px; right: 16px; bottom: 100px;
  overflow: hidden; border-radius: 8px;
  pointer-events: none;
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.alert-badge {
  position: absolute;
  bottom: 100px; left: -20px;
  background: var(--coral);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(249,112,104,0.4);
  animation: alertPop 3s ease-in-out infinite;
}
@keyframes alertPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.alert-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: white; color: var(--coral);
  font-weight: 900; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.alert-text { color: white; font-size: 0.7rem; font-weight: 600; line-height: 1.4; }
.score-ring {
  display: flex; flex-direction: column; align-items: center;
  margin: 12px auto 8px;
  width: 60px;
}
.score-ring svg { transform: rotate(-90deg); }
.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 900;
  color: var(--ink); margin-top: -44px; margin-bottom: 2px;
}
.score-label { font-size: 0.55rem; color: var(--ink-40); font-weight: 500; }
.app-ui { margin-top: 8px; }
.ui-row { display: flex; gap: 6px; margin-bottom: 10px; }
.ui-tag {
  font-size: 0.6rem; font-weight: 600;
  padding: 4px 8px; border-radius: 6px;
}
.tag-teal { background: var(--teal-light); color: var(--teal); }
.tag-amber { background: var(--amber-light); color: #D97706; }
.ui-track { }
.track-label { font-size: 0.6rem; color: var(--ink-40); margin-bottom: 4px; }
.track-bar {
  height: 5px; background: #2A2A2A; border-radius: 3px; overflow: hidden;
}
.track-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-mid), var(--teal));
  width: 72%;
}
.phone-glow {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(13,110,100,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── HERO PILLS ── */
.hero-end { display: flex; justify-content: flex-start; }
.hero-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.8rem; color: var(--ink-60); font-weight: 500;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,110,100,0.15);
}

/* ── STATS ── */
.stats {
  background: var(--teal);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  padding: 0 48px;
  text-align: center;
  flex: 1; min-width: 160px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 900;
  color: white; line-height: 1;
  margin-bottom: 6px;
}
.stat-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.stat-divider {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ── SECTION SHARED ── */
.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.25;
  color: var(--ink); margin-bottom: 56px;
  max-width: 580px;
}

/* ── HOW ── */
.how {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
}
.step-content h3 {
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.step-content p { color: var(--ink-60); font-size: 1rem; line-height: 1.65; max-width: 560px; }

/* ── FEATURES ── */
.features {
  background: var(--white);
  padding: 96px 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--ivory);
  padding: 40px 36px;
  position: relative;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--teal-light); }
.feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900;
  color: var(--teal-light);
  margin-bottom: 20px;
  line-height: 1;
}
.feature-card h3 {
  font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--ink-60); line-height: 1.6; }

/* ── RISKS ── */
.risks {
  background: var(--ink);
  padding: 96px 48px;
}
.risks-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.risks .section-label { color: var(--teal-mid); }
.risks-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.2;
  color: white; margin-bottom: 20px;
}
.risks-text p { color: rgba(255,255,255,0.55); font-size: 1rem; line-height: 1.7; }
.risk-scale { display: flex; flex-direction: column; gap: 20px; }
.risk-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; }
.risk-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; }
.risk-bar { height: 12px; border-radius: 6px; }
.r1 { background: linear-gradient(90deg, var(--teal), var(--teal-mid)); width: 60%; }
.r2 { background: linear-gradient(90deg, var(--amber), #FBBF24); width: 80%; }
.r3 { background: linear-gradient(90deg, var(--coral), #FCA5A5); width: 95%; }
.risk-desc { font-size: 0.8rem; color: rgba(255,255,255,0.5); max-width: 160px; text-align: right; }
.risk-desc strong { color: rgba(255,255,255,0.8); }

/* ── DENTIST ── */
.dentist {
  background: var(--teal-light);
  padding: 80px 48px;
}
.dentist-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.dentist-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem; line-height: 0.5;
  color: var(--teal);
  margin-bottom: 24px;
}
.dentist blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 1.5;
  margin-bottom: 36px;
}
.dentist-credit { display: flex; align-items: center; justify-content: center; gap: 16px; }
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.dentist-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.dentist-role { font-size: 0.8rem; color: var(--ink-60); }

/* ── CLOSING ── */
.closing {
  background: var(--white);
  padding: 96px 48px;
}
.closing-inner { max-width: 860px; margin: 0 auto; }
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.2;
  color: var(--ink); margin-bottom: 24px;
}
.closing-sub {
  font-size: 1.1rem; color: var(--ink-60);
  line-height: 1.7; margin-bottom: 48px;
  max-width: 640px;
}
.closing-vision { display: flex; flex-direction: column; gap: 20px; }
.vision-item { display: flex; align-items: flex-start; gap: 16px; }
.vision-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); margin-top: 7px; flex-shrink: 0;
}
.vision-item span {
  font-size: 1.05rem; color: var(--ink);
  line-height: 1.6; font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-brand { margin-bottom: 20px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1rem;
  color: var(--teal); margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; color: var(--ink-60); }
.footer-note {
  font-size: 0.72rem; color: var(--ink-40);
  line-height: 1.5; max-width: 560px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 48px 24px 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-mockup { transform: scale(0.85); }
  .stats { padding: 32px 24px; gap: 24px; }
  .stat-item { padding: 0 16px; }
  .stat-divider { display: none; }
  .how, .features, .risks, .dentist, .closing { padding: 64px 24px; }
  .step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-num { font-size: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .risks-inner { grid-template-columns: 1fr; gap: 40px; }
  .risk-row { grid-template-columns: 100px 1fr; gap: 12px; }
  .risk-desc { display: none; }
  .footer { padding: 32px 24px; }
}
