/* ═══════════════════════════════════════════════
   Vibe Coding 牽手課 — 禪意中國風排版
   字型：Ma Shan Zheng（毛筆標題）+ Noto Serif TC（內文）
   配色：墨色 + 宣紙 + 朱砂 + 竹青 + 金黃
   ═══════════════════════════════════════════════ */

/* booking/index.html 需先載入 /shared/theme.css，這裡只保留課程頁覆寫 */
:root {
  --bg: #f0e8d6;
  --ink: #1c1710;
  --accent: #a52c2c;
  --gold: #c4913c;
  --line: rgba(28, 23, 16, 0.1);
  --shell: 860px;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --shadow: 0 8px 32px rgba(20, 15, 8, 0.1);
}

/* box-sizing、scroll-behavior 重設見 /shared/theme.css */

/* 共用霧面面板卡片 */
.panel-card {
  background: var(--panel);
  backdrop-filter: blur(14px);
}
html {
  font-size: 16px;
  background-color: #f0e8d6; /* 宣紙底色——確保全頁面覆蓋 */
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
  font-weight: 400;
  line-height: 1.8;
  background:
    radial-gradient(ellipse at 15% 5%, rgba(165, 44, 44, 0.07) 0%, transparent 35%),
    radial-gradient(ellipse at 88% 18%, rgba(196, 145, 60, 0.1) 0%, transparent 30%),
    radial-gradient(ellipse at 50% 95%, rgba(61, 107, 80, 0.05) 0%, transparent 30%),
    linear-gradient(175deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}

/* 宣紙紋理 */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* a 重設見 /shared/theme.css */
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul { margin: 0; }

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

/* ─── 頂部導航 ─── */

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 14px;
  padding: 12px 22px;
  border: 1px solid rgba(196, 145, 60, 0.25);
  border-radius: 999px;
  background: rgba(245, 238, 224, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.chip {
  padding: 8px 18px;
  background: var(--accent);
  color: #fff8f0;
  font-family: "Noto Serif TC", serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 160ms;
}
.chip:hover { background: var(--accent-h); }

/* ─── Hero ─── */

.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.hero-copy {
  border: 1px solid rgba(196, 145, 60, 0.22);
  backdrop-filter: blur(16px);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

/* 裝飾性水墨橫線 */
.hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--accent), transparent);
  opacity: 0.5;
}

.kicker {
  color: var(--accent);
  font-family: "Noto Serif TC", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-family: "Noto Serif TC", serif; font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 540px;
}

/* Hero Details — 條列式 */
.hero-highlight-card {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #a52c2c, #c44b3a 55%, #af8554);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(165, 44, 44, 0.28);
  position: relative;
  overflow: hidden;
}
.hero-highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 220, 150, 0.35), transparent 55%);
  pointer-events: none;
}
.hero-highlight-card__tag {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.hero-highlight-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.hero-highlight-card__body strong {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.hero-highlight-card__body span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
@media (max-width: 560px) {
  .hero-highlight-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
  }
  .hero-highlight-card__body strong { font-size: 1.15rem; }
}

.hero-details {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.hero-details li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.5;
}

.hero-details li:last-child { border-bottom: none; }

.hero-details .detail-highlight {
  padding: 8px 14px;
  border-bottom: none;
  border-radius: 6px;
  background: rgba(165, 44, 44, 0.06);
  border: 1px solid rgba(165, 44, 44, 0.15);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-label {
  flex-shrink: 0;
  min-width: 42px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Hero Pricing — 價格區塊 */
.hero-pricing {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(196, 145, 60, 0.25);
  border-radius: 12px;
  background: rgba(196, 145, 60, 0.05);
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.price-main strong {
  font-family: "Noto Serif TC", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.old-price {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(165, 44, 44, 0.72);
  opacity: 0.7;
}

.price-main span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.price-later {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price-later span {
  color: var(--ink-mute);
  font-size: 0.82rem;
  font-weight: 500;
}

.price-later span::before {
  content: "·";
  margin-right: 6px;
  color: var(--gold);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── 按鈕 ─── */

.btn {
  min-height: 48px;
  padding: 0 26px;
  border-radius: 4px;
  font-family: "Noto Serif TC", serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms;
  border: none;
}

.btn-primary {
  color: #fff8f0;
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(165, 44, 44, 0.28);
}
.btn-primary:hover { background: var(--accent-h); }

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--gold);
}

/* ─── Hero 成果卡片 ─── */

.hero-card {
  margin-top: 16px;
  padding: 30px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #1a1510 0%, #2e2018 100%);
  color: #f5edd8;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "成";
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-family: "Ma Shan Zheng", serif;
  font-size: 10rem;
  color: rgba(196, 145, 60, 0.06);
  pointer-events: none;
  line-height: 1;
}

.card-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-l);
  font-weight: 500;
}

.hero-card ul {
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.hero-card li::before {
  content: "▸";
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.card-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 145, 60, 0.2);
  color: rgba(245, 237, 216, 0.65);
  line-height: 1.75;
  font-size: 0.9rem;
}

.card-note-emphasis {
  color: #ff7b6b;
  font-weight: 800;
}

/* ─── 通用段落 ─── */

.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  margin-top: 12px;
  font-family: "Noto Serif TC", serif; font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* ─── 課程大綱 ─── */

.outline-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.day {
  padding: 28px;
  border: 1px solid rgba(196, 145, 60, 0.2);
  position: relative;
  overflow: hidden;
}

.day::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--accent));
}

.day span {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(165, 44, 44, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.day h3 {
  margin-top: 14px;
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.day-note {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(196, 145, 60, 0.08);
  border: 1px solid rgba(196, 145, 60, 0.15);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.day ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.day li {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.93rem;
}

.day li::before {
  content: "一";
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ─── 價值對比 — 雙欄佈局 ─── */

.value-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: start;
}

.value-card {
  padding: 8px;
  border: 1px solid rgba(196, 145, 60, 0.18);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.value-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  transition: background 120ms, border-color 120ms;
}

.value-list li:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(196, 145, 60, 0.18);
}

.value-list span {
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.5;
}

.value-list strong {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  font-family: "Noto Serif TC", serif;
}

/* 右側 — 價值 Summary */

.value-summary {
  position: sticky;
  top: 80px;
  padding: 28px 20px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #1c1710 0%, #2e2018 100%);
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}

.value-summary::before {
  content: "值";
  position: absolute;
  bottom: -16px;
  right: -8px;
  font-family: "Ma Shan Zheng", serif;
  font-size: 7rem;
  color: rgba(196, 145, 60, 0.08);
  pointer-events: none;
  line-height: 1;
}

.value-summary-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-l);
  font-weight: 500;
}

.value-summary-total {
  margin-top: 10px;
  font-family: "Noto Serif TC", serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #f5edd8;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.value-vs-divider {
  margin: 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-vs-divider::before,
.value-vs-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(196, 145, 60, 0.25);
}

.value-vs-divider span {
  color: var(--gold-l);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.value-course-price {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-l);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.value-ratio {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(245, 237, 216, 0.55);
}

.value-ratio strong {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
}

/* ─── 適合對象 ─── */

.fit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit {
  padding: 28px;
  border: 1px solid var(--line-l);
}

.fit h3 {
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.fit ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}

.fit li {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.93rem;
}

.fit.yes {
  border-color: rgba(165, 44, 44, 0.18);
  background: linear-gradient(160deg, rgba(165, 44, 44, 0.04), rgba(255, 251, 245, 0.92));
}

.fit.yes h3 { color: var(--accent); }

.fit.yes li::before {
  content: "○";
  color: var(--bamboo);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 5px;
}

.fit.no li::before {
  content: "×";
  color: var(--ink-mute);
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 3px;
}

/* ─── FAQ ─── */

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  padding: 18px 22px;
  border: 1px solid rgba(196, 145, 60, 0.16);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 2px 12px rgba(20, 15, 8, 0.05);
  backdrop-filter: blur(14px);
  transition: border-color 160ms;
}

.faq-list details[open] {
  border-color: rgba(196, 145, 60, 0.32);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "＋";
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  transition: transform 200ms;
}

.faq-list details[open] summary::after {
  content: "－";
}

.faq-list p,
.faq-list ol {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 0.93rem;
}

.faq-list ol {
  padding-left: 20px;
}

.faq-list ol li {
  margin-top: 6px;
}

/* ─── CTA / 報名區 ─── */

.apply {
  padding-bottom: 96px;
  scroll-margin-top: 96px;
}

.apply-panel {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(196, 145, 60, 0.2);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #1a1510 0%, #2d2016 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* 裝飾性大字 */
.apply-panel::before {
  content: "手";
  position: absolute;
  left: -20px;
  bottom: 20px;
  font-family: "Ma Shan Zheng", serif;
  font-size: 14rem;
  color: rgba(196, 145, 60, 0.04);
  pointer-events: none;
  line-height: 1;
}

.apply-copy {
  padding: 40px 36px 32px;
  position: relative;
}

.apply-copy .kicker {
  color: var(--gold-l);
}

.apply-copy h2 {
  margin-top: 14px;
  font-family: "Noto Serif TC", serif; font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #f5edd8;
}

.apply-copy > p {
  margin-top: 16px;
  color: rgba(245, 237, 216, 0.72);
  line-height: 1.85;
  font-size: 0.95rem;
}

/* 價格區塊 */
.price {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(196, 145, 60, 0.25);
  border-radius: 12px;
  background: rgba(196, 145, 60, 0.06);
}

.price strong {
  display: block;
  color: var(--gold-l);
  font-family: "Noto Serif TC", serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.price strong .old-price {
  margin-right: 10px;
}

.price span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 237, 216, 0.55);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* 價格階梯 — pill 樣式 */
.price-policy {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

/* 重寫為 flex pills — 需要調整 HTML 或用偽類 */
/* 暫時保留 <p> 的樣式，但用更清晰的格式 */
p.price-policy {
  display: block;
  color: rgba(245, 237, 216, 0.65);
  font-size: 0.86rem;
  line-height: 1.9;
  font-weight: 500;
}

/* 價格階梯 */
.price-tag {
  font-size: 0.78rem;
  font-style: normal;
  color: var(--gold-l);
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-left: 8px;
  opacity: 0.85;
}

.price-tiers {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-tiers li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(196, 145, 60, 0.2);
  border-radius: 4px;
  background: rgba(196, 145, 60, 0.05);
}

.tier-date {
  color: rgba(245, 237, 216, 0.55);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.tier-price {
  color: var(--gold-l);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
}

/* 聯絡資訊列表 */
.info-list {
  margin-top: 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.info-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(245, 237, 216, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
}

.info-list li span {
  flex-shrink: 0;
  width: 30px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* 保證條款 — 強調 */
.guarantee-note {
  margin-top: 16px;
  padding: 16px 20px 16px 44px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(196, 145, 60, 0.18) 0%, rgba(232, 196, 122, 0.1) 100%);
  color: var(--gold-l);
  line-height: 1.75;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
}

.guarantee-note::before {
  content: "🛡";
  position: absolute;
  left: 14px;
  top: 15px;
  font-size: 1.1rem;
}

/* 聯絡資訊 — 改為 4 條清單 */
.contact-note {
  margin-top: 18px;
  color: rgba(245, 237, 216, 0.5);
  font-size: 0.84rem;
  line-height: 2;
}

/* ─── 報名表單 ─── */

.form-wrap {
  padding: 32px 32px 36px;
  background: rgba(250, 246, 238, 0.97);
  border-top: 1px solid rgba(196, 145, 60, 0.15);
}

.form-wrap h3 {
  margin-bottom: 22px;
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(28, 23, 16, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  font-family: "Noto Serif TC", sans-serif;
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 58px;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(165, 44, 44, 0.08);
}

.field input[readonly] {
  background: rgba(28, 23, 16, 0.04);
  color: var(--ink-soft);
  cursor: default;
}

/* ─── 匯款查核 ─── */

.payment-checker {
  margin-top: 4px;
  padding: 20px;
  border: 1px solid rgba(165, 44, 44, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(196, 145, 60, 0.12), transparent 35%),
    linear-gradient(160deg, rgba(165, 44, 44, 0.04), rgba(255, 251, 245, 0.97));
}

.payment-checker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mini-kicker {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.payment-checker h4 {
  margin-top: 5px;
  font-family: "Noto Serif TC", serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.payment-bank-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(165, 44, 44, 0.12);
}

.payment-bank-title {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.payment-bank-line {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.payment-bank-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.copy-account-button {
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #b3bac5;
  border-radius: 4px;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.copy-account-button:hover {
  background: rgba(17, 24, 39, 0.05);
  color: #6b7280;
}

.copy-account-button svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-account-button.copied {
  background: rgba(34, 197, 94, 0.12);
  color: #2d6b45;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.payment-grid .field--wide {
  grid-column: 1 / -1;
}

.payment-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-compact {
  padding: 11px 14px;
  white-space: nowrap;
}

.coupon-status {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.coupon-status.success {
  color: #2d6b45;
}
.coupon-status.error {
  color: var(--accent);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.payment-hint {
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.55;
}

.payment-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
}

.payment-status.idle  { background: rgba(28, 23, 16, 0.04); color: var(--ink-mute); }
.payment-status.loading { background: rgba(165, 44, 44, 0.08); color: var(--accent); }
.payment-status.success { background: rgba(61, 107, 80, 0.1); color: #2d6b45; }
.payment-status.error   { background: rgba(165, 44, 44, 0.1); color: var(--accent); }

/* ─── 付款 Modal ─── */

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.55);
  backdrop-filter: blur(8px);
}

.payment-modal-card {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  margin: min(16vh, 100px) auto 0;
  padding: 32px 26px 26px;
  border-radius: 18px;
  background: #fffdf5;
  box-shadow: 0 24px 72px rgba(20, 15, 10, 0.22);
  text-align: center;
  border: 1px solid rgba(196, 145, 60, 0.2);
}

.payment-modal-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 3px solid rgba(165, 44, 44, 0.1);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 0.85s linear infinite;
}

.payment-modal-kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.payment-modal-card h3 {
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.payment-modal-card p:last-of-type {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.91rem;
}

.payment-modal-countdown {
  margin-top: 18px;
  color: var(--accent);
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.payment-modal.success .payment-modal-spinner {
  border: none;
  width: 52px; height: 52px;
  background: rgba(61, 107, 80, 0.1);
  position: relative;
  animation: none;
}
.payment-modal.success .payment-modal-spinner::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #2d6b45;
  font-size: 1.5rem;
  font-weight: 800;
}

.payment-modal.error .payment-modal-spinner {
  border: none;
  width: 52px; height: 52px;
  background: rgba(165, 44, 44, 0.08);
  position: relative;
  animation: none;
}
.payment-modal.error .payment-modal-spinner::before {
  content: "！";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
}

@keyframes spin { to { transform: rotate(360deg); } }

.payment-result {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line-l);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.payment-result dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 12px;
}

.payment-result dt {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 600;
}

.payment-result dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
}

/* ─── Multi-field / Checkboxes ─── */

.multi-field {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px 14px;
  margin: 0;
}

.multi-field legend {
  padding: 0 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

.check-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.date-fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px 14px;
  margin: 0;
}

.date-fieldset legend {
  padding: 0 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.date-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.date-tag-option {
  position: relative;
}

.date-tag-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.date-tag-option span {
  min-width: 60px;
  padding: 6px 10px;
  border: 1px solid rgba(28, 23, 16, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.18s ease;
}

.date-tag-option span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(165, 44, 44, 0.08);
}

.date-tag-option input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(165, 44, 44, 0.18);
}
.date-tag-option.disabled span {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.date-tag-option.disabled span:hover {
  background: transparent;
}

.date-tag-option.is-highlight span {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 145, 60, 0.1);
  font-weight: 600;
  box-shadow: 0 0 0 2px rgba(196, 145, 60, 0.18);
}
.date-tag-option.is-highlight span::before {
  content: "🔥";
  margin-right: 4px;
}
.date-tag-option.is-highlight span:hover {
  background: rgba(196, 145, 60, 0.18);
  color: var(--gold);
  border-color: var(--gold);
}
.date-tag-option.is-highlight input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 10px 22px rgba(175, 133, 84, 0.32);
}

.topbar-notice {
  background: linear-gradient(90deg, var(--accent), #8d2929);
  color: #fff;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 5;
}
.topbar-notice__tag {
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 11px;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.topbar-notice__text {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.topbar-notice__cta {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  white-space: nowrap;
}
.topbar-notice__cta:hover {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .topbar-notice {
    font-size: 0.78rem;
    padding: 9px 14px;
    gap: 8px;
  }
  .topbar-notice__tag {
    font-size: 0.7rem;
    padding: 2px 9px;
  }
}

.date-extra-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 16px 0 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(196, 145, 60, 0.14), rgba(175, 133, 84, 0.08));
  border: 1px solid rgba(175, 133, 84, 0.38);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.date-extra-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 130, 0.2), transparent 60%);
  pointer-events: none;
}
.date-extra-banner__tag {
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(165, 44, 44, 0.28);
  position: relative;
  z-index: 1;
}
.date-extra-banner__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.date-extra-banner__body strong {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.date-extra-banner__schedule {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.date-extra-banner__capacity {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .date-extra-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }
}

/* ─── Misc ─── */

.full { width: 100%; }

.form small {
  font-size: 0.8rem;
  text-align: center;
  color: var(--ink-mute);
  line-height: 1.65;
}

.form-success {
  padding: 36px 16px;
  text-align: center;
}

.form-success h4 {
  margin: 0 0 10px;
  font-family: "Ma Shan Zheng", serif;
  font-size: 1.3rem;
  color: var(--accent);
}

.form-success p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ─── 響應式 ─── */

@media (max-width: 740px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }

  .topbar { border-radius: 12px; padding: 10px 16px; }

  .hero {
    padding: 48px 0 36px;
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 28px 22px; }
  .hero-card { padding: 24px 20px; }

  .section { padding: 52px 0; }

  .outline-grid,
  .fit-grid { grid-template-columns: 1fr; }

  .day, .fit { padding: 22px; }

  .value-layout {
    grid-template-columns: 1fr;
  }

  .value-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 4px 16px;
    padding: 20px 20px;
  }

  .value-summary-label { grid-column: 1; }
  .value-summary-total { grid-column: 1; font-size: 1.7rem; }
  .value-vs-divider    { grid-column: 1 / -1; }
  .value-course-price  { grid-column: 2; grid-row: 1 / 3; text-align: right; font-size: 1.3rem; align-self: center; }
  .value-ratio         { grid-column: 1 / -1; text-align: center; }

  .value-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .apply-copy { padding: 28px 22px 22px; }
  .form-wrap  { padding: 24px 22px 30px; }

  .payment-grid { grid-template-columns: 1fr; }
  .payment-checker-head { flex-direction: column; }
  .payment-result dl { grid-template-columns: 1fr; }
  .payment-inline { flex-direction: column; align-items: stretch; }

  .price strong { font-size: 1.5rem; }
}

.form-success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.form-success-actions .btn {
  min-width: 180px;
}


.hero-card--image {
  margin-top: 0;
  padding: 0;
  background: rgba(255, 251, 244, 0.92);
  border: 1px solid rgba(196, 145, 60, 0.22);
  overflow: hidden;
  align-self: stretch;
}

.hero-card--image::after {
  display: none;
}

.hero-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════
   學員見證 Testimonials
   ═══════════════════════════════════════════════ */
.testimonial-hero { text-align: center; margin-bottom: 36px; }
.testimonial-hero img {
  width: 100%; max-width: 720px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.testimonial-full-list {
  display: flex; flex-direction: column; gap: 32px;
}

.testimonial-full {
  padding: 28px 32px;
  backdrop-filter: none;
  border: 1px solid var(--line);
}

.testimonial-full--featured {
  background: linear-gradient(160deg, #fff8ec 0%, var(--panel) 60%);
  padding: 40px 44px;
  border: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(175, 133, 84, 0.22);
  position: relative;
  overflow: hidden;
}
.testimonial-full--featured::before {
  content: "專業推薦";
  position: absolute;
  top: 22px;
  right: -48px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 6px 56px;
  transform: rotate(38deg);
  box-shadow: 0 6px 16px rgba(203, 93, 45, 0.32);
  z-index: 1;
}
.testimonial-full--featured .testimonial-full__header {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--gold-l);
}
.testimonial-full--featured .testimonial-full__header img {
  width: 96px; height: 96px;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(175, 133, 84, 0.28);
}
.testimonial-full--featured .testimonial-full__header strong {
  font-size: 1.5rem;
  letter-spacing: .02em;
}
.testimonial-full--featured .testimonial-full__header span {
  font-size: .95rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}
.testimonial-full--featured .testimonial-full__body p {
  font-size: 1.08rem;
  line-height: 1.95;
}
.testimonial-full--featured .testimonial-full__body .star-rating {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.testimonial-full--featured .testimonial-highlight {
  background: rgba(196, 145, 60, .14);
  border-left-width: 4px;
  padding: 18px 22px;
  font-size: 1.12rem;
  line-height: 1.9;
}
@media (max-width: 600px) {
  .testimonial-full--featured { padding: 26px 22px; }
  .testimonial-full--featured::before {
    top: 16px; right: -52px;
    font-size: .68rem; padding: 5px 52px;
  }
  .testimonial-full--featured .testimonial-full__header img {
    width: 72px; height: 72px;
  }
  .testimonial-full--featured .testimonial-full__header strong { font-size: 1.25rem; }
  .testimonial-full--featured .testimonial-full__body p { font-size: 1rem; }
}

.testimonial-full__header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-l);
}
.testimonial-full__header img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-l);
}
.testimonial-full__header strong {
  display: block; font-size: 1.15rem; color: var(--ink);
}
.testimonial-full__header span {
  font-size: .85rem; color: var(--ink-mute);
}

.testimonial-full__body p {
  font-size: .95rem; line-height: 1.85; color: var(--ink);
  margin: 0 0 12px;
}
.testimonial-full__body .star-rating {
  color: #f5b14f;
  letter-spacing: 0.2em;
  font-size: 1.05rem;
  line-height: 1;
  display: block;
  margin: -4px 0 14px;
  text-shadow: 0 1px 2px rgba(175, 133, 84, 0.22);
}
.testimonial-full__body ul {
  margin: 12px 0 16px 20px; padding: 0;
}
.testimonial-full__body li {
  font-size: .93rem; line-height: 1.75; color: var(--ink);
  margin-bottom: 6px;
}
.testimonial-full__body li::marker {
  color: var(--gold);
}

.testimonial-highlight {
  background: rgba(196, 145, 60, .08);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-weight: 500;
  color: var(--ink) !important;
}

.testimonial-app-shot {
  margin-top: 16px; text-align: center;
}
.testimonial-app-shot img {
  max-width: 320px; width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.testimonial-app-shot .caption {
  display: block; margin-top: 8px;
  font-size: .82rem; color: var(--ink-mute);
}

.testimonial-app-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  justify-items: center;
  margin-top: 16px;
}
.testimonial-app-pair figure {
  margin: 0;
  text-align: center;
  max-width: 100%;
}
.testimonial-app-pair img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.testimonial-app-pair figcaption {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--ink-mute);
}
@media (max-width: 640px) {
  .testimonial-app-pair { grid-template-columns: 1fr; }
  .testimonial-app-pair img { max-height: 360px; }
}

.testimonial-screenshots { margin-top: 20px; }
.screenshots-label {
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 12px;
}
.screenshots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.screenshots-grid figure { margin: 0; }
.screenshots-grid img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(20,15,8,.1);
  border: 1px solid var(--line);
}
.screenshots-grid figcaption {
  margin-top: 6px; font-size: .78rem; color: var(--ink-mute);
  text-align: center;
}

@media (max-width: 600px) {
  .testimonial-full { padding: 20px; }
  .testimonial-full__header img { width: 52px; height: 52px; }
  .screenshots-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-app-shot img { max-width: 280px; }
}

