:root {
  --ink: #283550;
  --muted: #687188;
  --blue: #53688f;
  --blue-dark: #384a70;
  --cream: #f7ead8;
  --peach: #e8c49b;
  --pink: #ef8f9f;
  --cyan: #2ea5cf;
  --paper: #fffdf9;
  --line: #e9e2d9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.nav {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(83, 104, 143, .12);
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  grid-template-columns: repeat(2, 34px);
  gap: 3px;
  font-size: 15px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
}

.brand span:first-child { color: white; background: var(--cyan); }
.brand span:last-child { color: white; background: var(--pink); }

nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-weight: 700; }
.nav-cta { padding: 9px 18px; color: white; border-radius: 999px; background: var(--blue); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  min-height: 680px;
  padding: 90px clamp(24px, 7vw, 110px);
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 143, 159, .18), transparent 28%),
    linear-gradient(135deg, var(--cream), #fff 52%, #eef2f8);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .18em;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(54px, 8vw, 104px); line-height: 1.05; letter-spacing: -.045em; }
.lead { max-width: 720px; color: #485269; font-size: clamp(19px, 2vw, 25px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.button { padding: 13px 24px; border: 2px solid var(--blue); border-radius: 999px; font-weight: 900; }
.button.primary { color: white; background: var(--blue); }
.button.secondary { background: rgba(255, 255, 255, .65); }

.facts { display: flex; flex-wrap: wrap; gap: 16px; padding: 0; list-style: none; }
.facts li { min-width: 120px; padding-right: 24px; border-right: 1px solid #cfc7bd; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: 21px; }
.facts span { color: var(--muted); font-size: 13px; }

.hero-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 30px;
  color: white;
  background: var(--blue-dark);
  box-shadow: 0 28px 70px rgba(40, 53, 80, .22);
}
.hero-card h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.problem { margin: 32px 0; padding: 20px 0; border-block: 1px solid rgba(255,255,255,.24); }
.problem span, .problem strong { display: block; }
.problem span { opacity: .7; font-size: 13px; }
.problem strong { margin-top: 6px; font-size: 18px; }
.note { margin: 0; opacity: .84; font-size: 14px; }

.course-section { padding: 110px clamp(24px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .purchase h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.25; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.module-number { color: var(--pink); font-size: 14px; font-weight: 900; }
.module h3 { margin: 12px 0 24px; font-size: 25px; }
.module ol { display: grid; gap: 13px; margin: 0; padding-left: 1.25em; color: #4c566d; }
.preview-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; color: white; border-radius: 999px; background: var(--cyan); font-size: 11px; }

.purchase {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: center;
  padding: 90px clamp(24px, 7vw, 110px);
  background: var(--cream);
}
.price-card { padding: 32px; border-radius: 24px; background: white; }
.price-card span, .price-card strong, .price-card small { display: block; }
.price-card strong { margin: 4px 0 20px; font-size: 44px; }
.price-card button { width: 100%; padding: 14px; color: white; border: 0; border-radius: 12px; background: #9aa2b2; font-weight: 800; }
.price-card small { margin-top: 12px; color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px clamp(24px, 7vw, 110px); color: var(--muted); font-size: 13px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero, .purchase { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .modules { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .facts li { width: calc(50% - 8px); }
  h1 { font-size: 54px; }
  footer { flex-direction: column; }
}
