/* DESIGN SPECIFICATION
====================
1. Purpose: A demo site for "offerseed" — an internet tech job-seeking learning brand. It needs to feel fresh, premium, and tech-forward while staying readable in Chinese.
2. Aesthetic Direction: Soft/pastel + Organic/natural, interpreted as "green apple tech" — crisp mint surfaces, frosted glass, flowing shader backdrop, asymmetric layouts.
3. Color Palette:
   - Apple mint: #f0fdf4 / #dcfce7 / #86efac / #22c55e / #15803d
   - Ink: #0a2418 / #1e4532 / #4a6356 / #7a8f81
   - Surface: rgba(255,255,255,.85)
   - Accent: #f59e0b (warm amber for CTAs and stars)
   Forbidden colors avoided: no purple/violet/indigo/fuchsia/blue-purple gradients.
4. Typography:
   - Display/headings: 'Noto Serif SC', 'Songti SC', serif
   - Body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif
   - Mono: 'SF Mono', 'JetBrains Mono', 'Menlo', monospace
5. Layout Strategy: Asymmetric 12-column grid with overlapping glass cards; broken symmetry on hero right side; generous whitespace; sticky glass navigation.
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Serif+SC:wght@500;700;900&display=swap');

:root {
  --apple-50: #f0fdf4;
  --apple-100: #dcfce7;
  --apple-200: #bbf7d0;
  --apple-300: #86efac;
  --apple-400: #4ade80;
  --apple-500: #22c55e;
  --apple-600: #16a34a;
  --apple-700: #15803d;
  --apple-800: #166534;
  --apple-900: #14532d;
  --ink: #0a2418;
  --ink-2: #1e4532;
  --ink-3: #4a6356;
  --muted: #7a8f81;
  --line: #d3ede0;
  --line-2: #b6e4cd;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --amber: #f59e0b;
  --amber-soft: #fff7ed;
  --red: #ef4444;
  --shadow: 0 18px 60px rgba(13, 84, 44, 0.09);
  --shadow-sm: 0 4px 14px rgba(13, 84, 44, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', 'Menlo', Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--apple-50);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#gl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
}

a { color: var(--apple-700); text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(240, 253, 244, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand svg { flex: none; }
.brand span { color: var(--apple-700); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px;
    gap: 14px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(10, 36, 24, 0.18);
}
.btn-primary:hover { background: var(--apple-900); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.6); }
.btn-large { padding: 16px 34px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
  padding: 80px 0 110px;
  position: relative;
}
.hero-left { grid-column: 1 / 8; }
.hero-right { grid-column: 8 / 13; position: relative; height: 100%; min-height: 420px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--apple-700);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--apple-700);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6px;
  height: 14px;
  background: var(--apple-200);
  border-radius: 4px;
  z-index: -1;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
}
.stat .num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}
.stat .label { font-size: 13px; color: var(--muted); }

/* floating glass cards on hero right */
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  width: 260px;
  transition: transform .4s var(--ease), opacity .4s;
}
.float-card:nth-child(1) { top: 6%; right: 4%; transform: rotate(3deg); }
.float-card:nth-child(2) { top: 38%; right: 22%; transform: rotate(-2deg); }
.float-card:nth-child(3) { top: 70%; right: -2%; transform: rotate(1.5deg); }
.float-card:hover { transform: translateY(-6px) rotate(0deg); z-index: 10; }
.float-card .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--apple-700);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.float-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.float-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.65;
}
.float-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--apple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--apple-700);
}

@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; padding-top: 60px; }
  .hero-right { width: 100%; min-height: 360px; }
  .float-card { width: 220px; }
}

/* ---------- Section ---------- */
.section { padding: 100px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
  max-width: 640px;
}
.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--apple-700);
  text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}
.section-head p { color: var(--ink-3); font-size: 16px; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--apple-100);
  color: var(--apple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card .thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--apple-100), var(--apple-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-700);
}
.course-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.course-card .track {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--apple-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.course-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.course-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.course-card .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.course-card .meta span {
  font-size: 12px;
  color: var(--muted);
  background: var(--apple-50);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}
.course-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}
@media (max-width: 980px) { .course-grid { grid-template-columns: 1fr; } }

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 70px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.22), transparent 70%);
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.cta-block p { color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 28px; position: relative; }
.cta-block .btn-primary {
  background: #fff;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Subscribe page ---------- */
.plan-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.plan-card {
  width: 100%;
  max-width: 720px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.plan-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--apple-700);
  text-transform: uppercase;
}
.plan-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin: 10px 0 14px;
}
.plan-card .lead { color: var(--ink-3); margin-bottom: 32px; }
.benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.benefit { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.benefit svg { flex: none; color: var(--apple-600); }
.track-select h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.track-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.track-option {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.track-option:hover { border-color: var(--apple-300); }
.track-option input { position: absolute; opacity: 0; }
.track-option .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.track-option .radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--apple-600);
  transform: scale(0);
  transition: transform .2s var(--ease);
}
.track-option input:checked ~ .radio { border-color: var(--apple-600); }
.track-option input:checked ~ .radio::after { transform: scale(1); }
.track-option input:checked ~ .to-title { color: var(--apple-700); }
.track-option .to-title { font-weight: 700; margin-bottom: 6px; }
.track-option .to-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.track-option.selected { border-color: var(--apple-500); background: var(--apple-50); }

.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 28px; }
.price-row .price { font-family: var(--font-mono); font-size: 48px; font-weight: 800; color: var(--ink); }
.price-row .unit { color: var(--muted); font-size: 15px; }

@media (max-width: 640px) {
  .plan-card { padding: 28px; }
  .track-options { grid-template-columns: 1fr; }
}

/* ---------- Purchase page ---------- */
.purchase-page { min-height: calc(100vh - 72px); padding: 80px 0; }
.purchase-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--apple-100);
  color: var(--apple-700);
}
.step.active { background: var(--ink); color: #fff; }
.step-line { width: 40px; height: 2px; background: var(--line); }
.purchase-card h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.purchase-card .sub { text-align: center; color: var(--muted); margin-bottom: 32px; }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--apple-50);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--apple-400);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}
.verify-row { display: flex; gap: 10px; }
.verify-row input { flex: 1; }
.verify-row button {
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background: var(--apple-100);
  color: var(--apple-700);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.verify-row button:hover { background: var(--apple-200); }
.field-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.status-msg {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-top: 14px;
}
.status-msg.ok { display: flex; background: var(--apple-100); color: var(--apple-800); }
.status-msg.err { display: flex; background: var(--amber-soft); color: #92400e; }

/* modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 36, 24, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.modal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
}
.modal h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal p { color: var(--ink-3); font-size: 14px; margin-bottom: 20px; }
.qr-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.qr-placeholder {
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 20%, var(--ink) 12%, transparent 13%),
    radial-gradient(circle at 80% 20%, var(--ink) 12%, transparent 13%),
    radial-gradient(circle at 20% 80%, var(--ink) 12%, transparent 13%),
    radial-gradient(circle at 80% 80%, var(--ink) 12%, transparent 13%),
    linear-gradient(45deg, transparent 48%, var(--line-2) 49%, var(--line-2) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, var(--line-2) 49%, var(--line-2) 51%, transparent 52%);
  background-size: 24px 24px;
  border-radius: 8px;
  position: relative;
}
.qr-placeholder::after {
  content: '微信支付';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.75);
}

/* ---------- Teacher card ---------- */
.teacher-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.teacher-card .avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--apple-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  flex: none;
}
.teacher-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.teacher-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--apple-700);
  background: var(--apple-100);
  border: 1px solid var(--line-2);
  padding: 6px 12px;
  border-radius: 999px;
}
.teacher-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.teacher-body p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.teacher-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.teacher-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.teacher-points svg { flex: none; color: var(--apple-600); }
@media (max-width: 760px) {
  .teacher-card { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 28px; }
  .teacher-card .avatar { margin: 0 auto; }
  .teacher-tags, .teacher-points { justify-content: center; }
  .teacher-points li { justify-content: center; }
}

/* ---------- How-it-works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease);
}
.how-step:hover { transform: translateY(-4px); }
.how-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--apple-700);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 20px;
}
.how-step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.how-step p { color: var(--ink-3); font-size: 14px; line-height: 1.7; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- Courses page hero ---------- */
.courses-hero {
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
.courses-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.courses-hero h1 em {
  font-style: normal;
  color: var(--apple-700);
  position: relative;
}
.courses-hero h1 em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 4px;
  height: 12px;
  background: var(--apple-200);
  border-radius: 4px;
  z-index: -1;
}
.courses-hero p { color: var(--ink-3); font-size: 16px; }
.courses-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.courses-hero .breadcrumb a { color: var(--apple-700); }
@media (max-width: 860px) { .courses-hero { grid-template-columns: 1fr; } }

/* ---------- Course detail block ---------- */
.course-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.cd-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cd-meta .cd-track {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--apple-700);
  text-transform: uppercase;
}
.cd-meta .cd-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.cd-meta .cd-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.cd-meta .cd-stats span { display: flex; align-items: center; gap: 6px; }
.cd-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.cd-body p { color: var(--ink-3); font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.cd-body ul {
  margin: 14px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.cd-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--apple-500);
  border-radius: 50%;
  flex: none;
  margin-top: 9px;
}
.cd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 760px) {
  .course-detail { grid-template-columns: 1fr; gap: 20px; }
  .cd-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
}

/* ---------- Pricing extras ---------- */
.plan-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: var(--apple-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.plan-meta .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.plan-meta .val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.plan-fine {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---------- Purchase extras ---------- */
.summary {
  background: var(--apple-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 22px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.summary-row:last-child { margin-bottom: 0; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.summary-row .amt {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--ink);
}
.pay-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--apple-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}
.pay-summary .pay-amt {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.pay-summary .pay-label { font-size: 13px; color: var(--muted); }
.pay-summary .pay-track {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--apple-700);
  text-transform: uppercase;
}

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .hero-stats { gap: 24px; }
  .cta-block { padding: 42px 28px; }
}
