/* FBQ課程著陸頁：深藍配金，與課程宣傳圖一致 */
:root {
  --navy: #0A1A45;
  --navy-2: #0F2566;
  --blue: #1A3E9A;
  --gold: #FFDE59;
  --gold-deep: #E9B546;
  --amber: #FFB21E;
  --ink: #1B2440;
  --muted: #5A6480;
  --paper: #FFFFFF;
  --tint: #F3F6FC;
  --line: #E1E7F2;
  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-serif: 'Noto Serif TC', 'Noto Sans TC', serif;
  --font-num: 'Fredoka', 'Bahnschrift', sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
section[id] { scroll-margin-top: 64px; }

.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.wrap-narrow { width: min(760px, 100% - 32px); }
.gold { color: var(--gold); }

/* ---------- 頂欄 ---------- */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(10, 26, 69, .96); backdrop-filter: blur(6px); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.bar-logo { height: 26px; width: auto; }
.bar-back { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; opacity: .85; }
.bar-back:hover { opacity: 1; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: var(--navy); box-shadow: 0 6px 18px rgba(233, 181, 70, .35); }
.btn-line { border: 2px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-block { display: flex; width: 100%; margin-top: auto; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  /* 深藍底配淡金等高線，呼應課程宣傳圖 */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' fill='none' stroke='%23FFDE59' stroke-opacity='.12' stroke-width='1.4'%3E%3Cpath d='M-20 90c90-50 170 40 260-10s170-60 300 20'/%3E%3Cpath d='M-20 130c90-40 170 50 260 0s170-50 300 30'/%3E%3Cpath d='M-20 170c90-30 170 60 260 10s170-40 300 40'/%3E%3Cpath d='M-20 360c80-40 160 30 250-20s180-40 290 20'/%3E%3Cpath d='M-20 400c80-30 160 40 250-10s180-30 290 30'/%3E%3Cellipse cx='400' cy='270' rx='70' ry='38'/%3E%3Cellipse cx='400' cy='270' rx='38' ry='18'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 85% 10%, #1D3C8F 0%, var(--navy) 60%);
}
.hero-inner { display: grid; gap: 24px; padding: 36px 0 0; }
.tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
}
/* 報名狀態：閃動綠點 */
.live { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 900; font-size: 14px; }
.live span { width: 9px; height: 9px; border-radius: 50%; background: #2FA45A; animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47, 164, 90, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(47, 164, 90, 0); } }
.hero h1 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(34px, 8.6vw, 56px); line-height: 1.22; }
.lead { margin: 16px 0 18px; font-size: 16px; opacity: .9; max-width: 34em; }
.facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 460px; }
.facts li { border: 1px solid rgba(255, 222, 89, .45); border-radius: 12px; padding: 8px 10px; text-align: center; }
.facts b { display: block; color: var(--gold); font-family: var(--font-serif); font-size: 19px; line-height: 1.3; }
.facts span { font-size: 12px; opacity: .85; }
.audience { margin: 0 0 20px; font-size: 14px; font-weight: 700; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions.center { justify-content: center; }
.hero-photo { position: relative; margin: 0 auto; width: min(320px, 78%); align-self: end; }
.hero-photo img { aspect-ratio: 387 / 400; object-fit: cover; object-position: top; border-radius: 160px 160px 0 0; border: 3px solid rgba(255, 222, 89, .55); border-bottom: 0; }
.hero-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
  white-space: nowrap;
}
@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.25fr 1fr; align-items: end; padding-top: 56px; }
  .hero-copy { padding-bottom: 56px; }
  .hero-photo { width: 100%; max-width: 360px; }
  .hero-photo img { aspect-ratio: 387 / 560; }
}

/* ---------- 優惠券 ---------- */
.ticket {
  position: relative;
  margin: -1px auto 0;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px dashed var(--gold-deep);
  box-shadow: 0 14px 34px rgba(10, 26, 69, .18);
}
.ticket-kicker { margin: 0; font-size: 13px; font-weight: 900; color: var(--blue); letter-spacing: .08em; }
.ticket-title { margin: 0; font-weight: 700; }
.ticket-title b { color: #C47F00; font-size: 20px; }
.ticket-code { display: flex; align-items: center; gap: 8px; }
.ticket-code code, .inline-code { font-family: var(--font-num); font-weight: 700; letter-spacing: .08em; }
.ticket-code code { font-size: 22px; color: var(--navy); background: #FFF6D6; border-radius: 10px; padding: 4px 12px; }
.copy { border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 900; background: var(--navy); color: var(--gold); cursor: pointer; }
.copy.is-done { background: #2FA45A; color: #fff; }

/* ---------- 區塊 ---------- */
.section { padding: 56px 0; }
section:has(.ticket) + .section { padding-top: 8px; }
.section-dark { background: var(--navy); color: #fff; }
.section-tint { background: var(--tint); }
.eyebrow { margin: 0 0 6px; font-family: var(--font-num); font-weight: 700; letter-spacing: .2em; font-size: 13px; color: var(--gold-deep); }
.section h2 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(26px, 6vw, 36px); }
.section-lead { margin: 10px 0 0; color: var(--muted); }
.section-dark .section-lead { color: rgba(255, 255, 255, .8); }

/* 為何難以取分 */
.why { display: grid; gap: 20px; margin-top: 24px; }
.stat { border-radius: var(--radius); background: var(--navy); color: #fff; padding: 22px; text-align: center; align-self: start; }
.stat-num { margin: 0; font-family: var(--font-num); font-size: 64px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-num small { font-size: 26px; color: #fff; opacity: .8; }
.stat-label { margin: 8px 0 0; font-weight: 700; }
.stat-goal { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px; }
.stat-goal b { color: var(--gold); font-size: 20px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: r; }
.reasons li { counter-increment: r; position: relative; padding: 16px 16px 16px 58px; border: 1px solid var(--line); border-radius: var(--radius); }
.reasons li::before {
  content: counter(r);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-num);
  font-weight: 700;
}
.reasons h3 { font-size: 17px; color: var(--navy-2); }
.reasons p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (min-width: 860px) { .why { grid-template-columns: 260px 1fr; } }

/* 上課模式 */
.modes { display: grid; gap: 14px; margin-top: 24px; }
.mode {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  background: #13265C;
  border: 1px solid rgba(255, 222, 89, .25);
  scroll-margin-top: 72px;
}
.mode-live { background: linear-gradient(180deg, #1A3E9A, #13265C); border-color: var(--gold); }
.mode-tag { margin: 0; font-family: var(--font-num); font-weight: 700; letter-spacing: .14em; font-size: 12px; color: var(--gold); }
.mode h3 { font-family: var(--font-serif); font-size: 22px; }
.mode-info { margin: 0; display: grid; gap: 4px; }
.mode-info div { display: flex; gap: 12px; }
.mode-info dt { flex: none; width: 2.5em; color: rgba(255, 255, 255, .65); }
.mode-info dd { margin: 0; font-weight: 700; }
.dates-label { margin: 4px 0 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dates li { text-align: center; padding: 6px 0; border-radius: 10px; background: rgba(255, 222, 89, .14); color: var(--gold); font-weight: 700; font-size: 14px; }
.mode-note { margin: 0; font-size: 14px; opacity: .85; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.ticks li::before { content: '✓'; color: var(--gold); font-weight: 900; margin-right: 8px; }
.mode .btn { margin-top: auto; }
.contact-note { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 222, 89, .1); border: 1px dashed rgba(255, 222, 89, .5); font-size: 15px; }
.contact { margin: 14px 0 0; font-weight: 700; }
.contact a { color: var(--gold); font-family: var(--font-num); font-size: 20px; letter-spacing: .04em; }
.fine { margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (min-width: 860px) { .modes { grid-template-columns: repeat(3, 1fr); } }

/* 課程內容 */
.section-lead b { color: var(--navy-2); }
.pillars { display: grid; gap: 12px; margin-top: 24px; }
.pillar { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.pillar svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--navy); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 10px; font-size: 19px; color: var(--navy-2); }
.pillar p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.pillar .chips-label { margin-top: 14px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--gold-deep); }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--navy-2); font-size: 14px; font-weight: 500; }
/* 考察概念：五個階段分組 */
.concepts { display: grid; gap: 4px 28px; margin-top: 4px; }
.concepts .chips-label { color: var(--blue); }
@media (min-width: 860px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar-full { grid-column: 1 / -1; }
  .concepts { grid-template-columns: 1fr 1fr; }
}

/* Sample答案：大字主張 */
.sample { background: radial-gradient(90% 120% at 10% 0%, #1D3C8F 0%, var(--navy) 65%); }
.sample-big { margin: 6px 0 0; font-family: var(--font-serif); font-weight: 900; font-size: clamp(36px, 10vw, 56px); line-height: 1.2; }
.sample-lead { margin: 18px 0 0; max-width: 30em; font-size: clamp(17px, 2.6vw, 21px); font-weight: 700; line-height: 1.7; }
.sample-dare { display: inline-block; margin: 14px 0 0; padding: 8px 16px; border-left: 4px solid var(--gold); background: rgba(255, 222, 89, .1); color: var(--gold); font-weight: 900; font-size: 17px; }
/* 答案節錄紙張微微傾斜，TITUS手持放大鏡疊在前面 */
.sample-visual { position: relative; margin: 32px auto 0; width: min(520px, 100%); padding: 0 0 60px; }
.sample-sheet { position: relative; width: 88%; margin-left: auto; transform: rotate(3deg); background: #fff; border-radius: 8px; padding: 30px 10px 0; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.sample-sheet img { border-radius: 4px; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%); mask-image: linear-gradient(180deg, #000 65%, transparent 100%); }
.sheet-tag { position: absolute; top: 8px; left: 10px; padding: 1px 10px; border-radius: 999px; background: var(--navy); color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.sample-titus { position: absolute; left: -4%; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 5px solid var(--gold); background: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.sample-visual figcaption { position: absolute; right: 0; bottom: 6px; width: 52%; font-size: 13px; color: rgba(255, 255, 255, .75); text-align: right; }
@media (min-width: 860px) {
  .sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: center; }
  .sample-visual { margin-top: 0; }
  .sample-grid .sample-steps { grid-column: 1 / -1; }
}
.sample-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.sample-steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 222, 89, .3); }
.sample-steps li::before { content: '0' counter(s); position: absolute; left: 16px; top: 14px; font-family: var(--font-serif); font-weight: 900; font-size: 24px; color: var(--gold); }
.sample-steps b { color: var(--gold); }
@media (min-width: 860px) { .sample-steps { grid-template-columns: repeat(3, 1fr); } }

/* 學生評價 */
.voices-badge { display: inline-block; margin: 14px 0 0; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 900; font-size: 17px; }
.voices-badge b { color: var(--gold); margin: 0 4px; }
.quotes { display: grid; gap: 12px; margin-top: 22px; }
.quote { margin: 0; padding: 22px 20px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(10, 26, 69, .08); }
.quote blockquote { margin: 0; position: relative; padding-top: 18px; font-size: 16px; }
.quote blockquote::before { content: '“'; position: absolute; top: -16px; left: -4px; font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--gold-deep); }
.quote { position: relative; display: flex; flex-direction: column; }
.quote blockquote { flex: 1; padding-top: 34px; }
.quote-grade { position: absolute; top: 14px; right: 16px; margin: 0; padding: 2px 12px; border-radius: 999px; background: var(--navy); color: var(--gold); font-family: var(--font-num); font-weight: 700; font-size: 18px; }
.quote figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.quote figcaption b { display: block; font-size: 16px; color: var(--navy-2); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* 五大配套 */
.packs { display: grid; gap: 12px; margin-top: 24px; }
.pack { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.pack-no { margin: 0; font-family: var(--font-serif); font-weight: 900; font-size: 30px; color: var(--gold-deep); line-height: 1; }
.pack h3 { margin-top: 8px; font-size: 18px; color: var(--navy-2); }
.pack p:not(.pack-no) { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.pack-wide { display: grid; gap: 16px; overflow: hidden; background: var(--navy); border-color: var(--navy); }
.pack-wide h3 { color: #fff; }
.pack-wide p:not(.pack-no) { color: rgba(255, 255, 255, .8); }
.pack-notes { position: relative; height: 170px; }
.pack-notes img {
  position: absolute;
  top: 6px;
  width: 58%;
  max-width: 260px;
  border: 4px solid #fff;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.pack-notes img:first-child { left: 4%; transform: rotate(-5deg); }
.pack-notes img:last-child { right: 4%; top: 14px; transform: rotate(4deg); }
@media (min-width: 860px) {
  .packs { grid-template-columns: repeat(4, 1fr); }
  .pack-wide { grid-column: 1 / -1; grid-template-columns: 1fr 1.3fr; align-items: center; }
}

/* 導師 */
.tutor { display: grid; gap: 24px; align-items: center; }
.tutor-photo { width: min(260px, 70%); margin: 0 auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 6%; border-radius: 50%; border: 4px solid var(--gold); }
.creds { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.creds li { position: relative; padding-left: 22px; }
.creds b { color: var(--navy-2); }
/* 導師數據及媒體 */
/* 「公開考試機構」以螢光黃標示 */
.tutor-claim { margin: 12px 0 0; font-family: var(--font-serif); font-weight: 900; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.5; color: var(--navy-2); text-wrap: balance; }
.tutor-claim mark { padding: 0 .18em; border-radius: 4px; background: var(--gold); color: var(--navy); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tutor-stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tutor-stats li { padding: 12px 8px; border-radius: 14px; background: var(--navy); color: #fff; text-align: center; }
.tutor-stats b { display: block; font-family: var(--font-serif); font-weight: 900; font-size: clamp(20px, 5.6vw, 30px); line-height: 1.2; color: var(--gold); }
.tutor-stats small { font-size: .7em; }
.tutor-stats span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; opacity: .85; }
.media-label { margin: 18px 0 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--gold-deep); }
.media { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.media li { padding: 4px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 900; color: var(--navy-2); font-size: 14px; }
.media li:first-child { background: var(--gold); border-color: var(--gold); }
.creds li::before { content: ''; position: absolute; left: 4px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); }
@media (min-width: 860px) { .tutor { grid-template-columns: 300px 1fr; } .tutor-photo { width: 100%; } }

/* 常見問題 */
.faq { margin-top: 20px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--navy-2); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font-num); font-size: 22px; color: var(--gold-deep); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* 頁尾 */
.final { text-align: center; }
.final .section-lead { margin-bottom: 22px; }
.final-dare { margin: 12px 0 0; font-family: var(--font-serif); font-weight: 900; font-size: clamp(19px, 4.6vw, 24px); color: var(--gold); }
.inline-code { color: var(--gold); }
.foot { background: #071232; color: rgba(255, 255, 255, .6); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 13px; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot img { height: 22px; width: auto; }
.foot p { margin: 0; }
.foot a { color: var(--gold); text-decoration: none; }
.foot .foot-note { flex-basis: 100%; margin: 0; font-size: 12px; opacity: .75; }
