/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  background: var(--accent-pale);
  color: var(--accent-active);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 800px;
  color: var(--ms-navy-800);
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--fg-muted);
  max-width: 540px;
  margin-top: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  animation: fadeUp 1s 0.4s ease both;
}
.phone-frame {
  width: 280px; height: 560px;
  background: var(--ms-navy-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(15,30,43,0.2), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(170deg, var(--ms-cream-50), var(--ms-cream-100));
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-header { padding: 2.5rem 1.2rem 0.8rem; text-align: center; }
.phone-header .greeting { font-family: var(--serif); font-size: 1.1rem; color: var(--ms-navy-800); }
.phone-header .date { font-size: 0.65rem; color: var(--ms-cream-300); margin-top: 0.2rem; letter-spacing: 0.04em; text-transform: uppercase; }
.phone-scores { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 1rem; }
.score-pill {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border-radius: 16px; padding: 0.6rem 0.7rem; flex: 1;
  box-shadow: 0 2px 8px rgba(15,30,43,0.05);
}
.score-pill .score-val { font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.score-pill:nth-child(1) .score-val { color: var(--ms-gold-500); }
.score-pill:nth-child(2) .score-val { color: var(--ms-indigo-500); }
.score-pill:nth-child(3) .score-val { color: var(--ms-green-500); }
.score-pill .score-label { font-size: 0.5rem; color: var(--ms-cream-300); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.phone-meals { flex: 1; padding: 0.6rem 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.meal-card {
  background: #fff; border-radius: 14px; padding: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 1px 4px rgba(15,30,43,0.04);
}
.meal-thumb { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.meal-info { flex: 1; min-width: 0; }
.meal-name { font-size: 0.7rem; font-weight: 500; color: var(--ms-navy-800); }
.meal-tags { display: flex; gap: 0.3rem; margin-top: 0.2rem; flex-wrap: wrap; }
.meal-tag { font-size: 0.5rem; padding: 0.15rem 0.4rem; border-radius: 100px; background: var(--ms-green-100); color: var(--ms-green-600); }
.meal-tag.warn { background: var(--ms-warning-light); color: var(--ms-warning); }
.meal-time { font-size: 0.55rem; color: var(--ms-cream-300); flex-shrink: 0; }

/* ── ANTI-CALORIE BANNER ── */
.anti-cal {
  background: var(--ms-navy-800); color: #fff;
  padding: 4rem 2rem; text-align: center;
  overflow: hidden; position: relative;
}
.anti-cal::before {
  content: ''; position: absolute; top: -60px; left: -60px;
  width: 200px; height: 200px; background: var(--accent);
  opacity: 0.1; border-radius: 50%; filter: blur(60px);
}
.anti-cal h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  max-width: 700px; margin: 0 auto;
  line-height: 1.2; letter-spacing: -0.02em;
}
.anti-cal h2 em { color: var(--ms-aqua-300); font-style: italic; }
.anti-cal p {
  color: rgba(255,255,255,0.6); max-width: 520px;
  margin: 1.2rem auto 0; line-height: 1.7; font-size: 1rem; font-weight: 300;
}
.strike-cal {
  text-decoration: line-through;
  text-decoration-color: var(--ms-aqua-500);
  text-decoration-thickness: 2.5px;
  opacity: 0.5;
}

/* ── HOW IT WORKS ── */
.how { padding: 6rem 2rem; max-width: 1100px; margin: 0 auto; }
.how h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 600px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ms-navy-800);
}
.timeline {
  display: flex; position: relative;
  margin-top: 3.5rem; gap: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.667% - 2px);
  right: calc(16.667% - 2px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--ms-cream-200) 0, var(--ms-cream-200) 8px,
    transparent 8px, transparent 16px
  );
}
.timeline-node {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
  text-align: center;
}
.node-num {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-pale);
  color: var(--accent-active);
  font-family: var(--serif); font-size: 1.6rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--ms-cream-50);
}
.node-content { margin-top: 1.5rem; max-width: 280px; }
.node-content h3 {
  font-family: var(--serif); font-size: 1.25rem;
  margin-bottom: 0.6rem; color: var(--ms-navy-800);
}
.node-content p {
  font-size: 0.95rem; color: var(--fg-muted);
  line-height: 1.65; font-weight: 300;
}

/* ── THREE SCORES ── */
.scores-section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.scores-section .section-label, .scores-section h2 { text-align: center; }
.scores-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 3rem;
  color: var(--ms-navy-800);
}
.score-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.score-card {
  padding: 2rem; border-radius: 20px;
  transition: transform 0.3s; position: relative; overflow: hidden;
}
.score-card:hover { transform: translateY(-4px); }
.score-card:nth-child(1) { background: var(--ms-gold-100); border: 1px solid rgba(212,162,50,0.15); }
.score-card:nth-child(2) { background: var(--ms-indigo-100); border: 1px solid rgba(110,95,191,0.12); }
.score-card:nth-child(3) { background: var(--ms-green-100); border: 1px solid rgba(62,155,101,0.12); }
.score-card .sc-number {
  font-family: var(--serif); font-size: 3rem; line-height: 1; opacity: 0.12;
  position: absolute; top: 1rem; right: 1.5rem;
}
.score-card:nth-child(1) .sc-number { color: var(--ms-gold-500); }
.score-card:nth-child(2) .sc-number { color: var(--ms-indigo-500); }
.score-card:nth-child(3) .sc-number { color: var(--ms-green-500); }
.score-card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.6rem; }
.score-card:nth-child(1) h3 { color: var(--ms-gold-800); }
.score-card:nth-child(2) h3 { color: var(--ms-indigo-800); }
.score-card:nth-child(3) h3 { color: var(--ms-green-800); }
.score-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; font-weight: 300; }
.score-card .sc-example {
  margin-top: 1rem; padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.6); border-radius: 10px;
  font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5; font-style: italic;
}

/* ── PHILOSOPHY ── */
.philosophy { background: var(--bg-warm); padding: 6rem 2rem; }
.philosophy-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.philosophy h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.5rem;
  color: var(--ms-navy-800);
}
.philosophy-text p { color: var(--fg-muted); line-height: 1.7; font-weight: 300; margin-bottom: 1rem; font-size: 1rem; }
.principles { display: flex; flex-direction: column; gap: 1rem; }
.principle {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.4rem; background: #fff; border-radius: 16px;
  border: 1px solid var(--ms-cream-200); transition: transform 0.2s;
}
.principle:hover { transform: translateX(4px); }
.principle-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; flex-shrink: 0; font-size: 1.2rem;
}
.principle-icon.glycemic { background: var(--ms-gold-100); }
.principle-icon.composition { background: var(--ms-indigo-100); }
.principle-icon.quality { background: var(--ms-green-100); }
.principle h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--ms-navy-800); }
.principle p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; font-weight: 300; }

/* ── PRACTITIONERS ── */
.practitioners { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.practitioners h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.8rem;
  color: var(--ms-navy-800);
}
.practitioners > p {
  color: var(--fg-muted); font-size: 1rem; max-width: 560px;
  margin: 0 auto 3rem; line-height: 1.6; font-weight: 300;
}
.practitioner-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.practitioner-chip {
  padding: 0.55rem 1.1rem; background: #fff;
  border: 1px solid var(--ms-cream-200); border-radius: 100px;
  font-size: 0.85rem; font-weight: 400; color: var(--ms-navy-800);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s; cursor: pointer;
}
.practitioner-chip:hover { background: var(--accent-pale); transform: translateY(-2px); }
.practitioner-chip .flag { margin-right: 0.3rem; }

/* ── CTA BOTTOM ── */
.cta-bottom {
  background: var(--ms-navy-800); color: #fff;
  padding: 6rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-bottom::before {
  content: ''; position: absolute; bottom: -100px; right: -100px;
  width: 300px; height: 300px; background: var(--accent);
  opacity: 0.08; border-radius: 50%; filter: blur(80px);
}
.cta-bottom h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 600px; margin: 0 auto; line-height: 1.15; letter-spacing: -0.02em;
}
.cta-bottom p {
  color: rgba(255,255,255,0.55); max-width: 420px;
  margin: 1rem auto 2.5rem; line-height: 1.7; font-weight: 300;
}
.cta-bottom .btn-primary {
  background: var(--accent);
  color: var(--ms-navy-900);
  font-size: 1.1rem; padding: 1rem 2.5rem;
}
.cta-bottom .btn-primary:hover {
  box-shadow: 0 8px 40px rgba(82, 184, 214, 0.35);
}

/* ── RESPONSIVE — page-specific ── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero h1 { max-width: 100%; }
  .timeline {
    flex-direction: column; gap: 0; padding-left: 2.5rem;
  }
  .timeline::before {
    top: 32px; bottom: 32px;
    left: 30px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(
      180deg,
      var(--ms-cream-200) 0, var(--ms-cream-200) 8px,
      transparent 8px, transparent 16px
    );
  }
  .timeline-node {
    flex-direction: row; text-align: left;
    align-items: flex-start; gap: 1.2rem;
    padding-bottom: 2.5rem;
  }
  .timeline-node:last-child { padding-bottom: 0; }
  .node-num {
    width: 52px; height: 52px; font-size: 1.3rem;
    margin-left: -26px;
    box-shadow: 0 0 0 6px var(--ms-cream-50);
  }
  .node-content { margin-top: 0.2rem; max-width: none; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .score-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.2rem 3rem; }
  .how, .scores-section, .practitioners { padding: 4rem 1.2rem; }
  .philosophy { padding: 4rem 1.2rem; }
  .anti-cal, .cta-bottom { padding: 3.5rem 1.2rem; }
  .hero-actions { flex-direction: column; }
}
