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

:root {
  --teal: #0D4F5C;
  --teal-light: #0F6B7E;
  --teal-dark: #083840;
  --coral: #E8634A;
  --coral-light: #F08060;
  --cream: #F7F4EF;
  --warm-white: #FDFAF7;
  --charcoal: #1A1A1A;
  --slate: #4A5568;
  --fog: #E8E4DF;
  --gradient-start: #0A3D4A;
  --gradient-end: #0D5F72;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--coral); color: #fff; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10, 61, 74, 0.92);
  backdrop-filter: blur(12px);
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 20px; color: var(--coral); }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 36px; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* === HERO === */
.hero {
  position: relative;
  padding: 140px 60px 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #082E38 0%, #0A3D4A 40%, #0C5062 70%, #0D4F5C 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(232,99,74,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(15,107,126,0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(232,99,74,0.15);
  border: 1px solid rgba(232,99,74,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.stat { display: flex; align-items: baseline; gap: 14px; }
.stat-number { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--coral); line-height: 1; min-width: 60px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* Hero Right: Embryo Visualization */
.hero-right { display: flex; flex-direction: column; gap: 20px; }

.embryo-viz {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.embryo-circle {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(232,99,74,0.8) 0%, rgba(232,99,74,0.4) 40%, rgba(13,79,92,0.6) 100%);
  box-shadow: 0 0 40px rgba(232,99,74,0.4), inset 0 0 20px rgba(255,255,255,0.1);
}

.score-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232,99,74,0.25);
}
.score-ring-1 { inset: 25px; animation: pulse-ring 3s ease-in-out infinite; }
.score-ring-2 { inset: 0; border-color: rgba(232,99,74,0.12); }
.score-ring-3 { inset: -25px; border-color: rgba(232,99,74,0.06); }

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.03); }
}

.score-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  text-align: center;
  white-space: nowrap;
}
.score-value { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.score-text { display: block; font-size: 10px; opacity: 0.85; margin-top: 2px; }

.embryo-data {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.data-row { display: flex; justify-content: space-between; align-items: center; }
.data-key { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }
.data-val { font-size: 14px; font-weight: 600; color: #fff; }
.data-row.highlight { background: rgba(232,99,74,0.12); margin: 0 -4px; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(232,99,74,0.2); }
.data-row.highlight .data-val { color: var(--coral-light); }

/* === SHARED SECTION STYLES === */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 60px; }
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 600; color: var(--charcoal); line-height: 1.2; }
.section-sub { font-size: 17px; color: var(--slate); margin-top: 12px; }

/* === PROBLEM === */
.problem { padding: 100px 0; background: var(--cream); }
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.problem-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--fog);
  box-shadow: 0 2px 20px rgba(10,61,74,0.05);
}
.problem-icon { font-size: 32px; margin-bottom: 16px; }
.problem-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--teal-dark); }
.problem-card p { font-size: 14px; color: var(--slate); line-height: 1.7; }
.problem-quote {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--teal-dark);
  border-radius: 20px;
  border-left: 4px solid var(--coral);
}
.problem-quote blockquote { font-family: var(--font-display); font-size: 20px; font-style: italic; color: #fff; line-height: 1.6; margin-bottom: 16px; }
.problem-quote cite { font-size: 13px; color: rgba(255,255,255,0.55); }

/* === SOLUTION === */
.solution { padding: 100px 0; background: var(--warm-white); }
.solution-layout { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }

.incubation-chamber {
  background: var(--teal-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8,56,64,0.3);
}
.chamber-label { padding: 16px 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.08); }
.chamber-inner {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.embryo-bubble {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(232,99,74,0.9) 0%, rgba(13,79,92,0.8) 100%);
  box-shadow: 0 0 30px rgba(232,99,74,0.5);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}
.live-indicator { display: flex; align-items: center; gap: 6px; padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--coral); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.solution-steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--fog); }
.step:last-child { border-bottom: none; }
.step-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--coral); line-height: 1; min-width: 48px; opacity: 0.5; }
.step-content h4 { font-size: 16px; font-weight: 600; color: var(--teal-dark); margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--slate); line-height: 1.65; }

/* === EMBRYO TRACKER === */
.embryo-tracker { padding: 100px 0; background: var(--cream); }
.timeline { position: relative; padding: 40px 0; }
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal) 0%, var(--coral) 80%, rgba(232,99,74,0.2) 100%);
}
.timeline-segment { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.segment-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--cream);
  margin-bottom: 16px;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-segment.active .segment-marker { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); width: 18px; height: 18px; }
.timeline-segment.future .segment-marker { background: rgba(255,255,255,0.4); border-color: var(--cream); box-shadow: none; }
.segment-info { text-align: center; padding: 0 8px; }
.segment-day { display: block; font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.timeline-segment.active .segment-day { color: var(--coral); }
.segment-event { display: block; font-size: 13px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.segment-score { display: block; font-size: 11px; color: var(--slate); margin-bottom: 8px; }
.segment-score.highlight { color: var(--coral); font-weight: 600; }
.timeline-segment.future .segment-day, .timeline-segment.future .segment-event, .timeline-segment.future .segment-score { color: rgba(74,85,104,0.5); }

.tracker-callout {
  margin-top: 48px;
  padding: 28px 36px;
  background: var(--teal);
  border-radius: 16px;
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}
.tracker-callout p { font-size: 15px; color: rgba(255,255,255,0.85); }
.tracker-callout strong { color: var(--coral-light); }

/* === OUTCOMES === */
.outcomes { padding: 100px 0; background: var(--warm-white); }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--fog);
}
.outcome-card.large { grid-column: span 1; background: var(--teal-dark); }
.outcome-card.wide { grid-column: span 2; }
.outcome-metric { font-family: var(--font-display); font-size: 52px; font-weight: 700; line-height: 1; margin-bottom: 10px; color: var(--teal-dark); }
.outcome-card.large .outcome-metric { color: var(--coral); font-size: 64px; }
.outcome-label { font-size: 14px; color: var(--slate); line-height: 1.5; }
.outcome-card.large .outcome-label { color: rgba(255,255,255,0.7); }
.outcome-source { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 10px; font-style: italic; }

/* === CLOSING === */
.closing { padding: 120px 0; background: linear-gradient(135deg, #082E38 0%, #0A3D4A 50%, #0D4F5C 100%); }
.closing-content { max-width: 800px; margin: 0 auto; text-align: center; }
.closing h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.closing > .section-inner > .closing-content > p:nth-of-type(1) { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 48px; max-width: 680px; margin-left: auto; margin-right: auto; }
.closing-stats { display: flex; justify-content: center; gap: 60px; margin-bottom: 48px; flex-wrap: wrap; }
.closing-stat { text-align: center; }
.closing-number { display: block; font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--coral); line-height: 1; margin-bottom: 6px; }
.closing-desc { display: block; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.4; max-width: 160px; }
.closing-tagline { font-family: var(--font-display); font-size: 22px; font-style: italic; color: rgba(255,255,255,0.9); }

/* === FOOTER === */
.footer { padding: 48px 0; background: var(--charcoal); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 60px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.footer-meta { font-size: 12px; color: rgba(255,255,255,0.25); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 28px; }
  .hero-right { order: -1; }
  .embryo-viz { width: 160px; height: 160px; margin: 0 auto; }
  .embryo-circle { inset: 35px; }
  .section-inner { padding: 0 24px; }
  .problem { padding: 60px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution { padding: 60px 0; }
  .solution-layout { grid-template-columns: 1fr; }
  .incubation-chamber { max-width: 320px; margin: 0 auto; }
  .timeline-track { flex-wrap: wrap; gap: 16px; }
  .timeline-track::before { display: none; }
  .timeline-segment { flex: 0 0 calc(50% - 8px); }
  .tracker-callout { flex-direction: column; gap: 16px; }
  .outcomes { padding: 60px 0; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-card.large, .outcome-card.wide { grid-column: span 1; }
  .closing { padding: 80px 0; }
  .closing-stats { gap: 32px; }
  .closing-tagline { font-size: 18px; }
  .footer { padding: 32px 0; }
  .footer-inner { padding: 0 24px; }
}
