/* ==========================================================================
   KeraFirm Pro — main.css
   Design system: deep teal + fresh green + amber gold, matching bottle label
   Breakpoints: 900px (tablet) / 560px (mobile)
   ========================================================================== */

:root {
  /* Brand palette (from bottle label: navy body + green wave + white text) */
  --primary: #1a3a4f;
  --primary-dark: #0f2635;
  --primary-light: #2a5470;
  --secondary: #2d8a54;
  --secondary-dark: #216b3f;
  --secondary-light: #3ea86a;
  --accent: #d4a017;
  --accent-light: #e9b93a;
  --success: #10b981;
  --danger: #dc2626;
  --warning: #f59e0b;

  /* Neutrals */
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-soft: #f1f3f5;
  --bg: #fafaf7;
  --bg-soft: #f6f8f5;
  --card: #ffffff;
  --dark-bg: #0f2635;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 38, 53, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 38, 53, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 38, 53, 0.12);
  --shadow-xl: 0 20px 50px rgba(15, 38, 53, 0.18);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Spacing */
  --container: 1180px;
}

/* -------------------- Reset & base -------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--primary); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.4em; }
p { margin-bottom: 1em; color: var(--ink-soft); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; position: relative; }
.section-eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--muted); font-size: 1.05rem; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.02rem;
  font-family: var(--font-heading);
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 138, 84, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45, 138, 84, 0.45); color: #fff; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #b8860f 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.4);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-large { padding: 20px 48px; font-size: 1.1rem; }

/* -------------------- Announcement bar -------------------- */
.announce-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}
.announce-bar a { color: var(--accent-light); font-weight: 700; text-decoration: underline; }
.announce-bar a:hover { color: #fff; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 90;
  padding: 14px 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.main-nav a:hover { color: var(--secondary); }
.header-cta { padding: 10px 22px; font-size: 0.92rem; }

/* -------------------- Hero -------------------- */
.hero {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(45,138,84,0.12), transparent),
    radial-gradient(900px 500px at 90% 20%, rgba(26,58,79,0.08), transparent),
    linear-gradient(180deg, #fbfdfa 0%, #f4f8f2 100%);
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,138,84,0.1);
  color: var(--secondary-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px solid rgba(45,138,84,0.2);
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--secondary); position: relative; }
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: rgba(212, 160, 23, 0.28);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 22px; max-width: 560px; }
.hero-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}
.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}
.hero-trust { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--secondary); }
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image { max-width: 100%; width: 480px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(15,38,53,0.25)); }
.hero-image-badge {
  position: absolute;
  top: 30px;
  right: 0;
  background: var(--accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(6deg);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* -------------------- Trust strip -------------------- */
.trust-strip {
  background: #fff;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.trust-row { display: flex; justify-content: space-around; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.trust-badge-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(45,138,84,0.1), rgba(45,138,84,0.02));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}
.trust-badge span { font-size: 0.82rem; font-weight: 600; color: var(--ink); }

/* -------------------- AI Answer Block -------------------- */
.ai-answer {
  background: linear-gradient(135deg, #eef6f2 0%, #f4f9ee 100%);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 26px;
  margin: 26px auto;
  max-width: 820px;
  box-shadow: var(--shadow-sm);
}
.ai-answer strong { display: block; color: var(--primary); font-size: 1.02rem; margin-bottom: 6px; font-family: var(--font-heading); }
.ai-answer p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* -------------------- Why Choose -------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.why-image { text-align: center; }
.why-image img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(15,38,53,0.18)); }
.why-points { display: flex; flex-direction: column; gap: 22px; }
.why-point { display: flex; gap: 18px; }
.why-point-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.why-point h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--primary); }
.why-point p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }

/* -------------------- Problem section -------------------- */
.problem-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}
.problem-section .section-title, .problem-section h2 { color: #fff; }
.problem-section .section-lead { color: rgba(255,255,255,0.75); }
.problem-section .section-eyebrow { color: var(--accent-light); }
.problem-section .ai-answer {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--accent);
}
.problem-section .ai-answer strong { color: var(--accent-light); }
.problem-section .ai-answer p { color: rgba(255,255,255,0.85); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 26px 22px;
  transition: transform 0.2s, background 0.2s;
}
.pain-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.pain-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(212, 160, 23, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.pain-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.pain-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin: 0; }

/* -------------------- What Is -------------------- */
.whatis-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; margin-top: 20px; }
.whatis-image img { max-width: 100%; filter: drop-shadow(0 20px 40px rgba(15,38,53,0.2)); }
.whatis-content h3 { margin-top: 20px; }

/* -------------------- How It Works -------------------- */
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.mechanism-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.mechanism-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary-light); }
.mechanism-step {
  position: absolute; top: -14px; left: 24px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}
.mechanism-card h3 { font-size: 1.08rem; margin-bottom: 8px; margin-top: 8px; }
.mechanism-card p { font-size: 0.94rem; margin: 0; color: var(--ink-soft); }

/* -------------------- SVG Diagram (unique) -------------------- */
.diagram-section { background: var(--bg-soft); }
.unique-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.diagram-wrap {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}
.diagram-wrap svg { width: 100%; height: auto; max-width: 900px; margin: 0 auto; display: block; }
.diagram-caption { text-align: center; margin-top: 24px; color: var(--muted); font-size: 0.95rem; }

/* -------------------- Pricing -------------------- */
.pricing-section { background: var(--bg-soft); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 20px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 2px solid var(--line);
  padding: 32px 26px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--secondary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff 0%, #f7fbf6 100%);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--primary); }
.pricing-supply { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.pricing-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.pricing-card.featured .pricing-image { width: 240px; height: 240px; }
.pricing-cost { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 16px 0 8px; }
.pricing-cost .amount { font-size: 2.6rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.pricing-cost .per { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.pricing-original { color: var(--muted); text-decoration: line-through; font-size: 0.95rem; margin-bottom: 8px; }
.pricing-total { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.pricing-savings {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: #8b6c0f;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 8px 0 20px;
}
.pricing-shipping { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.pricing-shipping.free { color: var(--secondary); font-weight: 600; }
.pricing-card .btn { width: 100%; margin-top: auto; }
.pricing-guarantee { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.pricing-guarantee svg { width: 16px; height: 16px; color: var(--secondary); }

/* Bonus cards under pricing */
.bonus-intro { text-align: center; margin: 60px 0 24px; }
.bonus-intro h3 { font-size: 1.5rem; color: var(--primary); }
.bonus-intro p { color: var(--muted); }
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.bonus-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.bonus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bonus-card img { max-width: 180px; margin: 0 auto 16px; height: 200px; object-fit: contain; }
.bonus-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.bonus-card h4 { font-family: var(--font-heading); color: var(--primary); font-size: 1.02rem; margin-bottom: 10px; }
.bonus-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 12px; }
.bonus-price { color: var(--muted); font-size: 0.86rem; }
.bonus-price s { color: var(--muted); }
.bonus-price strong { color: var(--secondary); font-weight: 700; }

/* -------------------- Ingredients -------------------- */
.ingredients-section { background: #fff; }
.ing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.ing-card {
  background: linear-gradient(180deg, #fdfefb 0%, #f4f8f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.ing-card:hover { transform: translateY(-4px); border-color: var(--secondary-light); }
.ing-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ing-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.ing-tag {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: #8b6c0f;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.ing-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--primary); }
.ing-card p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }

/* -------------------- Benefits -------------------- */
.benefits-section { background: var(--bg-soft); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.benefit-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--line);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,138,84,0.15) 0%, rgba(45,138,84,0.05) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  margin: 0 auto 14px;
}
.benefit-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.benefit-card p { font-size: 0.88rem; margin: 0; color: var(--ink-soft); }

/* -------------------- Timeline (unique) -------------------- */
.timeline-section { background: #fff; }
.timeline-wrap {
  position: relative;
  margin-top: 40px;
  padding: 20px 0;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 3px;
  z-index: 0;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.timeline-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 22px 26px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.timeline-marker {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
}
.timeline-item h3 { font-size: 1.05rem; margin: 8px 0 8px; color: var(--primary); }
.timeline-item h3 span { display: block; color: var(--secondary); font-size: 0.85rem; font-weight: 500; margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; margin: 0; color: var(--ink-soft); }

/* -------------------- Comparison table -------------------- */
.compare-section { background: var(--bg-soft); }
.compare-wrap { overflow-x: auto; margin-top: 20px; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 720px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
}
.compare-table th.featured-col { background: var(--secondary); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.compare-table td.featured-col { background: rgba(45,138,84,0.06); font-weight: 600; }
.check-yes { color: var(--secondary); font-size: 1.3rem; }
.check-no { color: var(--danger); font-size: 1.3rem; }
.check-partial { color: var(--warning); font-size: 1.3rem; }

/* -------------------- Reviews -------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.review-meta strong { display: block; color: var(--primary); font-family: var(--font-heading); font-size: 0.98rem; }
.review-meta span { font-size: 0.82rem; color: var(--muted); }
.review-stars { display: flex; gap: 3px; margin-bottom: 10px; color: var(--accent); font-size: 0.95rem; }
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(45,138,84,0.1);
  color: var(--secondary-dark);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: auto;
}
.review-text { font-size: 0.94rem; color: var(--ink-soft); margin: 0; flex-grow: 1; line-height: 1.6; }
.review-summary { text-align: center; margin-top: 40px; color: var(--muted); }
.review-summary strong { color: var(--primary); font-size: 1.4rem; font-family: var(--font-heading); }

/* -------------------- Guarantee -------------------- */
.guarantee-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.guarantee-grid { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.guarantee-seal {
  width: 260px; height: 260px;
  background: conic-gradient(from 0deg, var(--accent) 0%, var(--accent-light) 25%, var(--secondary) 50%, var(--secondary-dark) 75%, var(--accent) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.guarantee-seal-inner {
  width: 220px; height: 220px;
  background: #fff;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--primary);
}
.guarantee-seal-inner .days { font-size: 3.4rem; font-weight: 800; line-height: 1; font-family: var(--font-heading); color: var(--secondary-dark); }
.guarantee-seal-inner .label { font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; color: var(--primary); }
.guarantee-seal-inner .sub { font-size: 0.72rem; letter-spacing: 1px; color: var(--muted); margin-top: 4px; }
.guarantee-content h2 { color: #fff; margin-bottom: 16px; }
.guarantee-content p { color: rgba(255,255,255,0.85); font-size: 1.02rem; }

/* -------------------- Contraindications -------------------- */
.contra-section { background: #fff; }
.contra-wrap {
  background: linear-gradient(135deg, #fef3f2 0%, #fef7ed 100%);
  border-left: 4px solid var(--danger);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 34px 40px;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.contra-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contra-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  padding: 8px 0;
}
.contra-icon { color: var(--danger); font-weight: 700; font-size: 1.1rem; margin-top: 1px; }

/* -------------------- FAQ -------------------- */
.faq-section { background: var(--bg-soft); }
.faq-wrap { max-width: 820px; margin: 20px auto 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--secondary-light); }
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--secondary);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq-item .faq-body p { margin-bottom: 10px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* -------------------- Medical Reviewer -------------------- */
.reviewer-section { background: #fff; }
.reviewer-card {
  background: linear-gradient(135deg, #fdfefb 0%, #f4f8f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  max-width: 820px;
  margin: 20px auto 0;
}
.reviewer-avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
.reviewer-name { font-size: 1.3rem; color: var(--primary); margin-bottom: 4px; }
.reviewer-title { color: var(--secondary); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.reviewer-bio { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.reviewer-creds {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.reviewer-cred {
  background: rgba(45,138,84,0.1);
  color: var(--secondary-dark);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* -------------------- References -------------------- */
.references-section { background: var(--bg-soft); }
.ref-list { max-width: 900px; margin: 20px auto 0; }
.ref-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.ref-list li strong { color: var(--primary); font-family: var(--font-heading); }
.ref-list li a { color: var(--secondary); font-weight: 600; margin-left: 8px; }

/* -------------------- Final CTA -------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta .btn-accent { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 8px; }
.footer-brand span { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-disclaimer p { margin-bottom: 10px; color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.footer-copy { text-align: center; padding-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* -------------------- Social Proof Popup -------------------- */
.social-proof {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px 14px 14px;
  box-shadow: 0 10px 30px rgba(15,38,53,0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: 340px;
  transform: translateX(-450px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  border: 1px solid var(--line);
}
.social-proof.show { transform: translateX(0); }
.social-proof-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.social-proof-text { flex-grow: 1; }
.social-proof-text strong { display: block; font-size: 0.88rem; color: var(--primary); font-family: var(--font-heading); }
.social-proof-text span { display: block; font-size: 0.78rem; color: var(--muted); }
.social-proof-close {
  position: absolute;
  top: 6px; right: 8px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.social-proof-close:hover { color: var(--ink); }

/* -------------------- Mobile sticky CTA bar -------------------- */
.mobile-cta-bar { display: none; }

/* -------------------- Legal page layout -------------------- */
.legal-page {
  padding: 60px 0 80px;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.legal-page h1 { margin-bottom: 30px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 30px; margin-bottom: 14px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 12px; line-height: 1.7; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page ul li { list-style: disc; margin-bottom: 6px; }
.legal-page a { color: var(--secondary); font-weight: 600; }

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.error-links { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.error-links a { color: var(--secondary); font-weight: 600; }

/* Contact form styling */
.contact-info {
  background: linear-gradient(135deg, #fdfefb 0%, #f4f8f2 100%);
  border-radius: var(--r-md);
  padding: 28px;
  margin: 24px 0;
}
.contact-info h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary); }
.contact-info a { color: var(--secondary); font-weight: 600; }

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  section { padding: 56px 0; }
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { width: 380px; max-width: 100%; }
  .hero-image-wrap { order: 2; }
  .hero-content { order: 1; }
  .why-grid, .whatis-grid, .guarantee-grid, .reviewer-card { grid-template-columns: 1fr; gap: 30px; }
  .reviewer-card { grid-template-columns: 1fr; text-align: center; }
  .reviewer-avatar { margin: 0 auto; }
  .reviewer-creds { justify-content: center; }
  .pain-grid, .mechanism-grid, .bonus-grid, .ing-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline-wrap::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .contra-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .compare-wrap { border-radius: 0; margin-left: -24px; margin-right: -24px; }

  /* Mobile sticky CTA */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(15,38,53,0.15);
    z-index: 100;
    border-top: 1px solid var(--line);
  }
  .mobile-cta-bar .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.98rem;
  }
  body { padding-bottom: 74px; }
  .social-proof { bottom: 84px; }
}

@media (max-width: 560px) {
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  section { padding: 44px 0; }
  .container { padding: 0 18px; }
  .hero { padding: 34px 0 50px; }
  .hero-image { width: 300px; }
  .hero-bullets li { font-size: 0.95rem; }
  .pain-grid, .mechanism-grid, .bonus-grid, .ing-grid, .review-grid, .benefit-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .contra-wrap { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand { justify-content: center; }
  .guarantee-seal { width: 210px; height: 210px; }
  .guarantee-seal-inner { width: 175px; height: 175px; }
  .guarantee-seal-inner .days { font-size: 2.6rem; }
  .diagram-wrap { padding: 20px; }
  .btn-large { padding: 16px 30px; font-size: 1rem; }
  .social-proof { min-width: auto; left: 12px; right: 12px; max-width: none; }
  .social-proof.show { transform: translateY(0); }
  .social-proof:not(.show) { transform: translateY(150px); }
  .review-header { flex-wrap: wrap; }
  .review-verified { margin-left: 0; }
  .reviewer-card { padding: 24px 20px; }
}
