/* =============================================
   METABOLIX — DESIGN SYSTEM v3
   Clinical HealthTech Aesthetic
   Colors: Navy #0D1B2A | Green #2D9E6B | Red #E63946
   Font: Poppins (Google Fonts)
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1B2E41;
  --navy-light: #243B53;
  --green:      #2D9E6B;
  --green-light:#3AB97D;
  --green-pale: #E8F7F1;
  --red:        #E63946;
  --gray-100:   #F8F9FA;
  --gray-200:   #E9ECEF;
  --gray-300:   #DEE2E6;
  --gray-500:   #ADB5BD;
  --gray-700:   #495057;
  --text-dark:  #1A1A1A;
  --text-mid:   #6B7280;
  --text-light: #9CA3AF;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
  --radius:     12px;
  --radius-lg:  20px;
  --container:  1200px;
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.3; color: var(--navy); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy); }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-mid); font-weight: 400; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm  { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-xs  { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.section       { padding: 80px 0; }
.section-md    { padding: 60px 0; }
.section-sm    { padding: 40px 0; }
.section-navy  { background: var(--navy); }
.section-gray  { background: var(--gray-100); }
.text-center   { text-align: center; }

/* Grid */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-hero { grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.align-center { align-items: center; }

/* ─── URGENCY BAR ────────────────────────────────── */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(45,158,107,0.3);
  padding: 10px 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}
.urgency-bar .pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
.urgency-bar .timer { font-weight: 800; color: var(--green-light); font-size: 1rem; }

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-minimal { justify-content: center; }

/* ─── LOGO ───────────────────────────────────────── */
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo span { color: var(--green); }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(45,158,107,0.35);
  letter-spacing: 0.3px;
  text-align: center;
}
.btn:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(45,158,107,0.4); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 20px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }
.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { background: var(--gray-100); color: var(--navy); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); box-shadow: none; }
.btn-outline:hover { background: var(--green-pale); }
.btn-disabled { background: var(--gray-200) !important; color: var(--gray-500) !important; box-shadow: none !important; cursor: not-allowed !important; pointer-events: none; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-sub { display: block; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.75); margin-top: 8px; text-align: center; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 16px;
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 6px;
}
.hero h1 { margin-bottom: 20px; }
.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 560px;
  font-weight: 400;
}
.hero .microcopy {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.hero .microcopy span { display: flex; align-items: center; gap: 5px; }
.hero .microcopy svg { width: 14px; height: 14px; stroke: var(--green); }

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
  aspect-ratio: 4/5;
  max-height: 520px;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  text-align: center;
}
.hero-badge-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: 2px; }
.hero-badge-name  { font-size: 0.95rem; font-weight: 700; color: var(--navy); }

/* Trust badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
}
.trust-badge svg { width: 18px; height: 18px; stroke: var(--green); fill: none; }

/* ─── AUTHORITY LOGOS ────────────────────────────── */
.logos-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.logos-bar .label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 20px;
}
.logos-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.logos-list span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  filter: grayscale(1);
}

/* ─── PROBLEM CARDS ──────────────────────────────── */
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.problem-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.problem-card p  { font-size: 0.95rem; line-height: 1.7; }

/* ─── DOCTOR SECTION ─────────────────────────────── */
.doctor-section { background: var(--white); }
.doctor-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.doctor-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.credentials {
  margin-top: 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.credentials li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.credentials li:last-child { border-bottom: none; }
.credentials li::before { content: '✓'; color: var(--green); font-weight: 700; }
.doctor-quote {
  background: var(--gray-100);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-mid);
}

/* ─── HOW IT WORKS (Timeline) ────────────────────── */
.how-section { background: var(--navy); }
.how-section h2, .how-section h3 { color: var(--white); }
.how-section p { color: rgba(255,255,255,0.65); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, rgba(45,158,107,0.6), rgba(45,158,107,0.6));
}
.step-item { text-align: center; padding: 0 24px; position: relative; }
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(45,158,107,0.15);
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  background: var(--navy);
}
.step-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 8px;
}
.step-duration {
  display: inline-block;
  background: rgba(45,158,107,0.15);
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 12px;
}

/* ─── QUIZ ───────────────────────────────────────── */
.quiz-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}
.quiz-header {
  background: var(--navy);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-header .step-label { color: rgba(255,255,255,0.6); margin: 0; }
.quiz-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  flex: 1;
  margin: 0 20px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 10%;
  transition: width 0.4s ease;
}
.quiz-body { padding: 36px 40px; overflow: hidden; }
.quiz-slides { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.quiz-slide { min-width: 100%; }
.quiz-slide h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.5; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.15s;
}
.quiz-option:hover { border-color: var(--green); background: var(--green-pale); color: var(--navy); }
.quiz-option.selected { border-color: var(--green); background: var(--green-pale); color: var(--navy); }
.quiz-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.quiz-privacy svg { width: 13px; height: 13px; stroke: var(--gray-500); }

/* Quiz form fields */
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 13px 16px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: var(--green); background: var(--green-pale); }
.field input::placeholder { color: var(--gray-500); }

/* ─── WHAT'S INCLUDED ────────────────────────────── */
.includes-section { background: var(--white); }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--green-pale);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D9E6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  margin-top: 2px;
}
.cross-list { display: flex; flex-direction: column; gap: 14px; }
.cross-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 1rem; font-weight: 500; color: var(--text-mid);
}
.cross-list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px;
  background: #FEF2F2;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E63946' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px; margin-top: 2px;
}

/* PDF Mockup */
.pdf-mockup {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(800px) rotateY(-5deg);
  transition: transform 0.3s;
}
.pdf-mockup:hover { transform: perspective(800px) rotateY(0deg); }
.pdf-mockup-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdf-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.pdf-mockup-body { padding: 24px; }
.pdf-metric {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}
.pdf-metric-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: 6px; }
.pdf-metric-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.pdf-metric-fill { height: 100%; border-radius: 3px; }

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials-section { background: var(--white); }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; fill: #F59E0B; stroke: none; }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; flex: 1; font-style: italic; }
.testimonial-card blockquote::before { content: '"'; }
.testimonial-card blockquote::after  { content: '"'; }
.testimonial-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 14px 0;
}
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green-pale); }
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.author-loc  { font-size: 0.78rem; color: var(--gray-500); }

/* ─── CTA FINAL ──────────────────────────────────── */
.cta-final { background: var(--navy); }
.cta-final h2 { color: var(--white); }
.cta-final p { color: rgba(255,255,255,0.65); }
.cta-micro {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.cta-micro span::before { content: '· '; }
.cta-micro span:first-child::before { content: ''; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { color: var(--white); margin-bottom: 10px; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.25); max-width: 600px; line-height: 1.6; text-align: center; margin-top: 16px; }
.footer-minimal { text-align: center; padding: 24px 0; }
.footer-minimal p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-minimal a { color: rgba(255,255,255,0.5); margin: 0 8px; font-size: 0.82rem; transition: color 0.2s; }
.footer-minimal a:hover { color: var(--green); }

/* ─── BADGES / TAGS ──────────────────────────────── */
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.badge-green { background: var(--green-pale); color: var(--green); }
.badge-navy  { background: rgba(13,27,42,0.1); color: var(--navy); }
.badge-red   { background: #FEF2F2; color: var(--red); }
.badge-gray  { background: var(--gray-100); color: var(--gray-500); }
.badge-white { background: rgba(255,255,255,0.15); color: var(--white); }

/* ─── PRICING CARDS ──────────────────────────────── */
.pricing-section { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card-featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow-lg);
}
.price-card-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 12px 0 4px;
}
.price-amount span { font-size: 1.2rem; font-weight: 600; vertical-align: top; margin-top: 10px; display: inline-block; }
.price-amount small { font-size: 1rem; color: var(--text-mid); font-weight: 400; margin-left: 4px; }
.price-strikethrough { text-decoration: line-through; color: var(--gray-500); font-size: 1.1rem; font-weight: 600; }
.price-saving { font-size: 0.85rem; font-weight: 700; color: var(--green); margin-bottom: 24px; }
.price-card ul { flex: 1; margin: 20px 0; }
.price-card .btn { margin-top: auto; }

/* Value table */
.value-table { width: 100%; border-collapse: collapse; }
.value-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
.value-table td:last-child { text-align: right; font-weight: 600; color: var(--text-mid); }
.value-table .total-row td { font-weight: 800; font-size: 1.1rem; background: var(--gray-100); }
.value-table .invest-row td { background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.2rem; }
.value-table .invest-row td:last-child { color: var(--green-light); }

/* Guarantee */
.guarantee-box {
  background: var(--white);
  border: 2px solid var(--green-pale);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.guarantee-icon { font-size: 4rem; margin-bottom: 20px; }

/* ─── OTO PAGE (gracias.html) ────────────────────── */
.progress-banner {
  background: var(--navy);
  padding: 20px 0;
  text-align: center;
  color: var(--white);
}
.progress-banner h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.progress-track {
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 5px;
  max-width: 400px;
  margin: 0 auto 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 5px;
  width: 30%;
  animation: loadbar 90s linear forwards;
}
.progress-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.oto-badge-free {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-box {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.countdown-timer { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.oto-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.oto-card-inner { display: grid; grid-template-columns: 55fr 45fr; }
.oto-card-left { padding: 48px 40px; border-right: 1px solid var(--gray-200); }
.oto-card-right {
  padding: 48px 36px;
  background: var(--gray-100);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.price-big {
  font-size: 4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin: 12px 0;
}
.price-strike { font-size: 1.2rem; text-decoration: line-through; color: var(--gray-500); font-weight: 600; }
.price-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }
.guarantee-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 20px;
  justify-content: center;
}

/* ─── RESULTADO PAGE ─────────────────────────────── */
.resultado-center {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 24px;
}
.scanning-icon {
  width: 100px; height: 100px;
  background: var(--green-pale);
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2.5rem;
  animation: breathe 2s ease-in-out infinite;
}
.steps-sequence { text-align: left; margin: 32px 0; display: flex; flex-direction: column; gap: 10px; }
.seq-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.seq-step.done { color: var(--green); border-color: var(--green-pale); background: var(--green-pale); }
.seq-step.active { color: var(--navy); border-color: var(--navy); font-weight: 600; }
.seq-step svg { width: 18px; height: 18px; flex-shrink: 0; }
.data-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: left;
  margin: 24px 0;
}
.data-box p { font-size: 0.9rem; color: #1E40AF; line-height: 1.7; }
.data-box strong { color: #1D4ED8; }

/* ─── UPSELL PAGE ────────────────────────────────── */
.confirm-bar {
  background: var(--green-pale);
  border: 1px solid rgba(45,158,107,0.3);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
}
.upsell-offer-card {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.offer-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}
@keyframes loadbar {
  0% { width: 30%; }
  100% { width: 100%; }
}
@keyframes breathe {
  0%,100% { transform: scale(1); box-shadow: 0 0 20px rgba(45,158,107,0.2); }
  50% { transform: scale(1.08); box-shadow: 0 0 50px rgba(45,158,107,0.5); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp 0.5s ease both; }

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-hero { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 24px; }
  .steps-row::before { display: none; }
  .oto-card-inner { grid-template-columns: 1fr; }
  .oto-card-right { border-top: 1px solid var(--gray-200); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .quiz-body { padding: 28px 24px; }
  .field-group { grid-template-columns: 1fr; }
  .logos-list span { font-size: 0.78rem; }
  .btn-lg { padding: 16px 28px; font-size: 1rem; }
  .hero .microcopy { flex-direction: column; gap: 8px; }
  .cta-micro { flex-direction: column; gap: 6px; }
  .upsell-offer-card { padding: 36px 24px; }
}
