/* ==========================================================================
   寶家健康學院 — 10 天原生益菌微生態健康陪跑計畫 報名頁
   Migrated from Claude Design handoff (x-dc prototype) to a static site.
   Single accent variable drives the whole theme.
   ========================================================================== */

:root {
  --accent: #3F9142;               /* options: #3F9142 綠 / #D65A2E 橘 / #2B8C8C 藍綠 */
  --bg: oklch(92% 0.025 75);
  --ink: oklch(24% 0.015 60);
  --line: oklch(92% 0.01 60);
  --line-soft: oklch(90% 0.01 60);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans TC', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  padding-bottom: 88px;              /* room for sticky CTA */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

@keyframes pulse { 0%,100%{ transform:scale(1);} 50%{ transform:scale(1.06);} }

/* ---------- layout ---------------------------------------------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.band--white { background: #fff; }
.band--bg    { background: var(--bg); }
.band--soft  { background: oklch(97% 0.015 75); }

/* ---------- shared type ---------------------------------------------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 10px;
}
.eyebrow--center { text-align: center; }
.h2 { font-size: 26px; font-weight: 900; margin: 0 0 24px; }
.lead { font-size: 15px; color: oklch(45% 0.02 60); margin: 0 0 28px; }

/* ---------- buttons --------------------------------------------------- */
.cta {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 14px;
}
.cta--hero { font-size: 18px; padding: 18px 24px;
  box-shadow: 0 12px 24px -12px var(--accent); }
.cta--pay  { font-size: 17px; padding: 16px 24px; border-radius: 12px; margin-top: 28px; }
.cta--inline { display: inline-block; font-size: 14.5px; padding: 10px 20px;
  border-radius: 10px; width: auto; }

/* ---------- HERO ------------------------------------------------------ */
.hero { max-width: var(--max); margin: 0 auto; padding: 56px 24px 48px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 48px; width: auto; }
.brand__name { font-size: 17px; font-weight: 700; color: var(--ink); }
.brand__en   { font-size: 11px; letter-spacing: 2px; color: oklch(55% 0.02 60); }

.tags { margin-top: 44px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); background: color-mix(in oklch, var(--accent) 12%, white);
  padding: 6px 14px; border-radius: 999px;
}
.tag--sm { font-size: 13px; letter-spacing: 0; }

.hero h1 {
  font-size: 36px; font-weight: 900; line-height: 1.45;
  margin: 20px 0 16px; letter-spacing: 0.5px;
}
.hero__sub { font-size: 18px; color: oklch(40% 0.02 60); margin: 0 0 28px; }
.hero__img { width: 100%; height: auto; border-radius: 20px; display: block; margin-bottom: 24px; }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.stat { text-align: center; }
.stat__badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 14%, white); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; margin: 0 auto 8px;
}
.stat__label { font-size: 13px; font-weight: 700; color: oklch(32% 0.015 60); }

/* ---------- checklist / bullet items --------------------------------- */
.checklist { display: flex; flex-direction: column; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check__mark {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 15%, white); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; margin-top: 2px;
}
.check__text { font-size: 16px; color: oklch(30% 0.015 60); }
.product-cut { width: 100%; max-width: 320px; display: block; margin: 0 auto 28px; }

/* ---------- 10-day phases -------------------------------------------- */
.phases { display: flex; flex-direction: column; gap: 14px; }
.phase {
  display: flex; gap: 18px; background: #fff; border-radius: 16px;
  padding: 20px; border: 1px solid var(--line);
}
.phase__range {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
}
.phase__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.phase__desc  { font-size: 14.5px; color: oklch(42% 0.015 60); }

.card { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.card--mt { margin-top: 24px; }
.card__label { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: oklch(30% 0.015 60); }

/* 每日觀察表範本 image */
.daily-log {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}

/* ---------- product endorsement ------------------------------------- */
.p-lead { font-size: 15px; color: oklch(50% 0.02 60); margin: 0 0 20px; }
.product-shot {
  width: 100%; height: 260px; object-fit: contain; display: block; margin-bottom: 20px;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
}
.product-note { font-size: 16px; color: oklch(32% 0.015 60); margin: 0 0 20px; }
.cert-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cert-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: oklch(97% 0.02 75); border: 1px solid oklch(90% 0.02 70);
  border-radius: 999px; padding: 10px 18px;
}
.cert-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cert-pill__text { font-size: 14px; font-weight: 700; color: oklch(30% 0.015 60); }
.cert-img { height: 96px; width: auto; border-radius: 8px; border: 1px solid oklch(88% 0.01 60); }

/* ---------- patents grid -------------------------------------------- */
.patents { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.patent img { width: 100%; border-radius: 10px; border: 1px solid var(--line-soft); display: block; }
.patent__cap { margin-top: 8px; font-size: 13px; font-weight: 700;
  color: oklch(35% 0.015 60); text-align: center; }

/* ---------- 5 reasons ------------------------------------------------ */
.compare-img { width: 100%; border-radius: 16px; display: block; margin-bottom: 28px; }
.reasons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.reason {
  display: flex; gap: 14px; background: #fff; border-radius: 14px;
  padding: 16px 18px; border: 1px solid var(--line);
}
.reason__no { font-size: 14px; font-weight: 900; color: var(--accent); flex: 0 0 auto; }
.reason__title { font-size: 15px; font-weight: 700; color: oklch(28% 0.015 60); }
.reason__desc  { font-size: 14px; color: oklch(45% 0.02 60); margin-top: 2px; }

/* ---------- head-to-head -------------------------------------------- */
.h2h-box { border: 1px solid var(--line-soft); border-radius: 20px; padding: 28px 24px; }
.h2h-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 20px; }
.h2h-head__a { font-size: 19px; font-weight: 900; color: var(--accent); text-align: center; }
.h2h-head__b { font-size: 19px; font-weight: 900; color: oklch(50% 0.02 60); text-align: center; }
.h2h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; font-size: 18px; }
.h2h-cell { display: flex; gap: 10px; align-items: flex-start; }
.h2h-cell__yes { color: var(--accent); font-weight: 900; font-size: 20px; }
.h2h-cell__no  { color: oklch(68% 0.01 60); font-size: 20px; }
.h2h-cell--pos { color: oklch(28% 0.015 60); }
.h2h-cell--neg { color: oklch(50% 0.02 60); }

/* ---------- scorecard ------------------------------------------------ */
.score-box { background: #fff; border-radius: 16px; padding: 24px 20px;
  border: 1px solid var(--line); overflow-x: auto; }
.score-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 16px;
  font-size: 17px; align-items: center; }
.score-grid__h1 { font-weight: 700; color: var(--accent); text-align: center; }
.score-grid__h2 { font-weight: 700; color: oklch(55% 0.02 60); text-align: center; }
.score-grid__label { color: oklch(35% 0.015 60); }
.stars-a { color: var(--accent); text-align: center; letter-spacing: 1px; font-size: 20px; }
.stars-b { color: oklch(70% 0.01 60); text-align: center; letter-spacing: 1px; font-size: 20px; }
.score-note { font-size: 13px; color: oklch(60% 0.01 60); margin-top: 16px; text-align: center; }
.score-tail { font-size: 14.5px; color: oklch(38% 0.02 60); margin: 24px 0 0; text-align: center; }
.hl { font-weight: 700; color: var(--accent); }

/* ---------- founder -------------------------------------------------- */
.founder { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.founder img { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.founder__name { font-size: 18px; font-weight: 700; }
.founder__role { font-size: 14px; color: oklch(50% 0.02 60); margin-top: 4px; }
.founder__bio { font-size: 16px; color: oklch(32% 0.015 60); margin: 0 0 20px; }
.creds { display: flex; flex-direction: column; gap: 12px; }
.cred { display: flex; align-items: flex-start; gap: 10px; }
.cred__dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 9px; }
.cred__text { font-size: 15px; color: oklch(30% 0.015 60); }

/* ---------- LINE sequence ------------------------------------------- */
.line-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #06C755; color: #fff;
  font-size: 15px; font-weight: 700; padding: 12px 22px; border-radius: 12px;
  text-decoration: none; margin-bottom: 28px;
}
.days { display: flex; flex-direction: column; gap: 14px; }
.day { background: oklch(97% 0.015 75); border-radius: 16px; padding: 20px; }
.day--cta { background: color-mix(in oklch, var(--accent) 8%, white);
  border: 1px solid color-mix(in oklch, var(--accent) 25%, white); }
.day__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.day__tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  padding: 4px 10px; border-radius: 8px; }
.day__title { font-size: 15px; font-weight: 700; color: oklch(28% 0.015 60); }
.day__p { font-size: 14.5px; color: oklch(38% 0.02 60); margin-bottom: 6px; }
.day__hl { font-size: 15.5px; font-weight: 700; color: var(--accent); }

/* ---------- ads ------------------------------------------------------ */
.ads { display: flex; flex-direction: column; gap: 20px; }
.ad { text-decoration: none; display: block; }
.ad img { width: 100%; border-radius: 16px; display: block; }
.ad__cap { margin-top: 10px; font-size: 14px; font-weight: 700; color: oklch(30% 0.015 60); }

/* ---------- pricing -------------------------------------------------- */
.price-box { border: 2px solid var(--accent); border-radius: 20px; padding: 32px 28px; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price-num { font-size: 40px; font-weight: 900; color: var(--accent); }
.price-unit { font-size: 14px; color: oklch(50% 0.02 60); }
.included { display: flex; flex-direction: column; gap: 14px; }
.inc { display: flex; align-items: flex-start; gap: 12px; }
.inc__mark { flex: 0 0 20px; color: var(--accent); font-weight: 900; margin-top: 1px; }
.inc__text { font-size: 15.5px; color: oklch(30% 0.015 60); }

/* ---------- FAQ ------------------------------------------------------ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-plus { font-size: 20px; color: var(--accent); transition: transform 0.2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-a { padding: 0 20px 20px; font-size: 15px; color: oklch(40% 0.02 60); }

/* ---------- extension course ---------------------------------------- */
.course-hero { text-align: center; margin-bottom: 36px; }
.course-hero__partner { font-size: 13.5px; color: oklch(45% 0.02 60); margin-bottom: 10px; }
.course-hero h2 { font-size: 28px; font-weight: 900; margin: 0 0 10px; }
.course-hero__hours { font-size: 15px; color: oklch(40% 0.02 60); }
.course-hero__tag { font-size: 15.5px; font-weight: 700; color: var(--accent); margin: 16px 0 0; }

.info-card { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--line); margin-bottom: 20px; }
.info-card__title { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: oklch(28% 0.015 60); }
.info-card__note { font-size: 14px; color: oklch(45% 0.02 60); margin: 18px 0 0; line-height: 1.9; }
.ink-strong { font-weight: 700; color: oklch(30% 0.015 60); }

.course-pos { text-align: center; margin-bottom: 36px; }
.course-pos__h { font-size: 16px; font-weight: 700; color: oklch(26% 0.015 60); margin-bottom: 12px; }
.course-pos__p { font-size: 14.5px; color: oklch(42% 0.02 60); line-height: 1.9; margin: 0 0 16px; }
.course-pos__end { font-size: 15px; font-weight: 700; color: oklch(28% 0.015 60); line-height: 1.9; margin: 0; }

.units { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.unit { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--line); }
.unit__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.unit__tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  padding: 4px 10px; border-radius: 8px; }
.unit__name { font-size: 16px; font-weight: 700; color: oklch(28% 0.015 60); }
.unit__body { font-size: 14px; color: oklch(42% 0.02 60); line-height: 1.9; }
.unit__hl { font-size: 14px; font-weight: 700; color: var(--accent); }
.mb10 { margin-bottom: 10px; }

.check-list-2 { display: flex; flex-direction: column; gap: 12px; }
.ci { display: flex; gap: 10px; align-items: flex-start; }
.ci__mark { color: var(--accent); font-weight: 900; }
.ci__text { font-size: 15px; color: oklch(32% 0.015 60); }
.ci__text--sm { font-size: 14.5px; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.feat { display: flex; gap: 8px; align-items: flex-start; }
.feat__mark { color: var(--accent); font-weight: 900; }
.feat__text { font-size: 14px; color: oklch(32% 0.015 60); }

.gains { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.gain { text-align: center; }
.gain__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 12%, white);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.gain__text { font-size: 13.5px; color: oklch(35% 0.015 60); }

.course-info { border: 2px solid var(--accent); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.ci-rows { display: flex; flex-direction: column; gap: 14px; }
.ci-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ci-row__k { font-size: 14px; color: oklch(50% 0.02 60); }
.ci-row__v { font-size: 14px; font-weight: 700; color: oklch(28% 0.015 60); text-align: right; }
.ci-row__org { display: flex; align-items: center; gap: 10px; }
.ci-row__org img { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; }

.disclaimer {
  border: 1px solid oklch(88% 0.01 60); background: #fff; border-radius: 12px;
  padding: 18px 20px; font-size: 13px; color: oklch(48% 0.015 60); line-height: 1.8;
}
.disclaimer--soft { background: oklch(97% 0.01 70); font-size: 13.5px; }

/* ---------- final CTA ------------------------------------------------ */
.final { background: var(--accent); color: #fff; }
.final .container { text-align: center; padding: 64px 24px; }
.final__check {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; margin: 0 auto 20px;
}
.final h2 { font-size: 28px; font-weight: 900; margin: 0 0 12px; }
.final__p { font-size: 16px; opacity: 0.9; margin: 0 0 8px; }
.final__btn {
  display: inline-block; margin-top: 20px; background: #fff; color: var(--accent);
  font-size: 18px; font-weight: 900; padding: 18px 40px; border-radius: 14px; text-decoration: none;
}

/* ---------- footer --------------------------------------------------- */
.footer { background: oklch(22% 0.015 60); color: oklch(85% 0.01 70); }
.footer .container { text-align: center; padding: 48px 24px; }
.footer__slogan { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.footer__desc { font-size: 14px; line-height: 1.8; margin: 0 0 24px; color: oklch(75% 0.01 70); }
.footer__meta { font-size: 13px; color: oklch(65% 0.01 70); }
.footer__meta + .footer__meta { margin-top: 4px; }

/* ---------- sticky CTA ----------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff;
  border-top: 1px solid var(--line-soft); padding: 12px 20px;
  box-shadow: 0 -8px 24px -16px black; z-index: 50;
}
.sticky .cta { max-width: 680px; margin: 0 auto; font-size: 16px; padding: 14px; }
