/* ============================================================
   PM 覺醒 — component & section styles
   ============================================================ */

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(8, 11, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.header.scrolled {
  background: rgba(8, 11, 22, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(24,216,255,.22), rgba(139,92,246,.28));
  border: 1px solid rgba(24,216,255,.4);
  box-shadow: inset 0 0 16px rgba(24,216,255,.25);
  position: relative;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand small {
  display: block;
  font-family: var(--font-tech);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 1px;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-secondary);
  position: relative;
  transition: color .2s ease;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--accent-cyan);
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { right: 0; }
.nav-login { color: var(--text-muted) !important; font-size: 14px; }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(148,163,184,.06);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8,11,22,.96);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.drawer.open { opacity: 1; transform: none; pointer-events: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.drawer a {
  font-size: 19px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(148,163,184,.1);
  color: var(--text-secondary);
}
.drawer .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 138px 0 92px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(110deg, var(--accent-cyan), #7dd3fc 35%, var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  margin: 26px 0 0;
  line-height: 1.72;
  max-width: 520px;
}
.hero-note {
  font-size: 15px;
  color: var(--text-muted);
  margin: 18px 0 0;
  line-height: 1.7;
  max-width: 510px;
  padding-left: 16px;
  border-left: 2px solid rgba(24,216,255,.35);
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}
.hero-stat .num {
  font-family: var(--font-tech);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.hero-stat .num b { color: var(--accent-cyan); font-weight: 700; }
.hero-stat .lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Hero visual / war-room stage */
.stage {
  position: relative;
  aspect-ratio: 4 / 4.4;
  width: 100%;
}
.stage-core {
  position: absolute;
  inset: 11% 14%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 70px rgba(24,216,255,.16);
}
.stage-core .ph { width: 100%; height: 100%; }
.stage-core::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,11,22,.7));
  pointer-events: none;
}
.stage-ring {
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1px dashed rgba(24,216,255,.18);
  animation: spin 48s linear infinite;
}
.stage-ring.r2 { inset: 14%; border-color: rgba(139,92,246,.16); animation-duration: 36s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan {
  position: absolute;
  left: 14%; right: 14%; top: 11%;
  height: 40%;
  background: linear-gradient(180deg, rgba(24,216,255,.16), transparent);
  mix-blend-mode: screen;
  animation: scanline 5.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 22px;
}

/* floating cards */
.fcard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18,26,50,.94), rgba(11,16,33,.96));
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 38px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  animation: floaty var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  z-index: 3;
  white-space: nowrap;
}
.fcard .ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: rgba(24,216,255,.1);
  border: 1px solid rgba(24,216,255,.3);
  color: var(--accent-cyan);
}
.fcard .ic svg { width: 18px; height: 18px; }
.fcard.purple .ic { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.4); color: #c4b5fd; }
.fcard.gold .ic { background: rgba(250,204,21,.12); border-color: rgba(250,204,21,.35); color: var(--accent-gold); }
.fcard .ttl { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.fcard .sub { font-size: 11px; color: var(--text-muted); font-family: var(--font-tech); letter-spacing: .04em; margin-top: 2px; }
.fcard.f1 { top: 4%; left: -3%; --dur: 6.5s; }
.fcard.f2 { top: 26%; right: -6%; --dur: 7.5s; --delay: .8s; }
.fcard.f3 { top: 54%; left: -7%; --dur: 6.8s; --delay: .4s; }
.fcard.f4 { bottom: 12%; right: -4%; --dur: 7.2s; --delay: 1.1s; }
.fcard.f5 { bottom: -2%; left: 16%; --dur: 6.2s; --delay: .6s; }

/* live status dot */
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* ---------- Social proof / marquee ---------- */
.proof {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(13,18,36,.5);
  padding: 26px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.proof-lead {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-tech);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.proof-tags { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Pain cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  padding: 28px 26px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(251,113,133,.4); }
.pain-card::before {
  content: attr(data-n);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-tech);
  font-size: 46px;
  font-weight: 700;
  color: rgba(251,113,133,.1);
  line-height: 1;
}
.pain-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(251,113,133,.1);
  border: 1px solid rgba(251,113,133,.28);
  color: var(--accent-red);
  margin-bottom: 18px;
}
.pain-ic svg { width: 22px; height: 22px; }
.pain-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 11px; line-height: 1.4; }
.pain-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.pain-card.wide { grid-column: span 1; }

/* ---------- Solution / workflow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 0 18px;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px; right: -10px;
  width: 20px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}
.flow-num {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-tech);
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(24,216,255,.07);
  border: 1px solid rgba(24,216,255,.3);
  margin-bottom: 20px;
  box-shadow: inset 0 0 18px rgba(24,216,255,.1);
}
.flow-step h4 { font-size: 16.5px; font-weight: 700; margin: 0 0 9px; }
.flow-step p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.6; }
.flow-ai {
  font-family: var(--font-tech);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--accent-cyan);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-ai span {
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(24,216,255,.06);
  border: 1px solid rgba(24,216,255,.16);
  color: var(--text-secondary);
}

/* ---------- Course cards ---------- */
.course-toolbar {
  display: flex;
  justify-content: center;
  margin: -20px 0 40px;
}
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(8,11,22,.6);
  border: 1px solid var(--border-soft);
}
.seg-btn {
  padding: 9px 18px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  transition: color .2s ease, background .2s ease;
}
.seg-btn:hover { color: var(--text-secondary); }
.seg-btn.active {
  color: #04111c;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  box-shadow: 0 6px 18px rgba(24,216,255,.28);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(18,26,50,.95), rgba(8,11,22,.95));
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16,.84,.44,1), border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
.course-card:hover {
  transform: translateY(-7px);
  border-color: rgba(24,216,255,.5);
  box-shadow: 0 0 54px rgba(24,216,255,.16);
}
.course-card.featured { grid-column: span 2; }
.course-cover {
  position: relative;
  aspect-ratio: 16 / 9;
}
.course-card.featured .course-cover { aspect-ratio: 21 / 9; }
.course-cover .ph { width: 100%; height: 100%; }
.course-cover .tags {
  position: absolute;
  top: 13px; left: 13px;
  display: flex; gap: 7px; flex-wrap: wrap;
  z-index: 2;
}

/* Dark backing for tags/ribbon that sit ON TOP of cover images,
   so the label text never competes with the artwork behind it. */
.course-cover .pill {
  background: rgba(8, 11, 22, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.course-cover .pill-cyan { border-color: rgba(24,216,255,.55); }
.course-cover .pill-purple { border-color: rgba(139,92,246,.6); }
.course-cover .pill-gold { border-color: rgba(250,204,21,.55); }
.course-cover .ribbon {
  position: absolute;
  top: 13px; right: 13px;
  z-index: 2;
}
.course-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-name { font-size: 19px; font-weight: 800; line-height: 1.35; margin: 0 0 9px; letter-spacing: -.01em; }
.course-card.featured .course-name { font-size: 23px; }
.course-desc { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.6; flex: 1; }
.course-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rating { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-gold); font-weight: 700; }
.rating svg { width: 14px; height: 14px; }
.rating small { color: var(--text-muted); font-weight: 400; }
.meta-div { width: 1px; height: 12px; background: var(--border-soft); }
.learners { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); }
.learners svg { width: 14px; height: 14px; }
.course-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.price .now {
  font-family: var(--font-tech);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.price .now b { color: var(--accent-cyan); }
.price .was {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.price .apply { font-size: 15px; font-weight: 700; color: var(--accent-gold); font-family: var(--font-tech); }
.btn-card {
  padding: 10px 18px;
  font-size: 13.5px;
  border-radius: 11px;
  background: rgba(24,216,255,.08);
  border: 1px solid rgba(24,216,255,.3);
  color: var(--accent-cyan);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn-card:hover { background: rgba(24,216,255,.16); transform: translateX(2px); }
.btn-card svg { width: 15px; height: 15px; }

/* card style: TACTICAL (corner brackets, mono labels) */
[data-card-style="tactical"] .course-card {
  border-radius: 6px;
  background: var(--bg-card-2);
}
[data-card-style="tactical"] .course-cover { border-bottom: 1px solid rgba(24,216,255,.2); }
[data-card-style="tactical"] .course-card::before,
[data-card-style="tactical"] .course-card::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--accent-cyan);
  z-index: 4;
  opacity: .6;
  pointer-events: none;
}
[data-card-style="tactical"] .course-card::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
[data-card-style="tactical"] .course-card::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }
[data-card-style="tactical"] .course-name { font-family: var(--font-tech); }

/* card style: MINIMAL (flatter, no cover gradient, calm) */
[data-card-style="minimal"] .course-card {
  background: var(--bg-section);
  border-radius: 16px;
}
[data-card-style="minimal"] .course-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  border-color: var(--border-soft);
  transform: translateY(-5px);
}
[data-card-style="minimal"] .course-cover { aspect-ratio: 3/1; }
[data-card-style="minimal"] .course-card.featured .course-cover { aspect-ratio: 6/1; }
[data-card-style="minimal"] .btn-card {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-primary);
}

/* ---------- Skill tree ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.skill-card {
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.45);
  box-shadow: 0 0 40px rgba(139,92,246,.14);
}
.skill-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.skill-ic {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(24,216,255,.14), rgba(139,92,246,.18));
  border: 1px solid rgba(139,92,246,.3);
  color: #c4b5fd;
}
.skill-ic svg { width: 24px; height: 24px; }
.skill-lv {
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--accent-cyan);
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(24,216,255,.25);
  background: rgba(24,216,255,.06);
}
.skill-card h4 { font-size: 17px; font-weight: 700; margin: 0 0 9px; }
.skill-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ---------- Instructor ---------- */
.teacher {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.teacher-visual { position: relative; }
.teacher-visual .ph { aspect-ratio: 4/5; border-radius: 20px; }
.teacher-badge {
  position: absolute;
  bottom: 18px; left: -14px;
  padding: 13px 17px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18,26,50,.97), rgba(11,16,33,.98));
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 38px rgba(0,0,0,.5);
}
.teacher-badge .t { font-size: 13px; font-weight: 700; }
.teacher-badge .s { font-size: 11px; color: var(--accent-cyan); font-family: var(--font-tech); letter-spacing: .04em; margin-top: 3px; }
.teacher-role {
  font-family: var(--font-tech);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--accent-cyan);
  margin: 0 0 18px;
}
.teacher h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 22px; line-height: 1.25; }
.teacher p { font-size: 15.5px; color: var(--text-secondary); line-height: 1.8; margin: 0 0 16px; }
.teacher p:last-of-type { color: var(--text-muted); }

/* ---------- Lead magnet ---------- */
.lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 70px rgba(24,216,255,.12);
}
.lead-left {
  padding: 52px 48px;
  background: linear-gradient(160deg, rgba(18,26,50,.6), rgba(8,11,22,.4));
  position: relative;
}
.lead-left h3 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 18px 0 16px; line-height: 1.2; }
.lead-left > p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin: 0 0 26px; }
.lead-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.lead-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.lead-list svg { width: 16px; height: 16px; color: var(--accent-cyan); flex-shrink: 0; }
.lead-right {
  padding: 46px 44px;
  background: linear-gradient(200deg, rgba(24,216,255,.06), rgba(139,92,246,.06));
  border-left: 1px solid var(--border-soft);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 7px;
  font-weight: 600;
}
.field input, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(8,11,22,.6);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--border-glow);
  box-shadow: 0 0 0 3px rgba(24,216,255,.12);
}
.field input::placeholder { color: var(--text-muted); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-ok.show { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.form-ok .check {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.4);
  color: var(--accent-green);
}
.form-ok .check svg { width: 28px; height: 28px; }
.form-ok h4 { font-size: 20px; margin: 0 0 8px; }
.form-ok p { font-size: 14px; color: var(--text-muted); margin: 0; }
.form-hint { font-size: 12px; color: var(--text-muted); text-align: center; margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item.open { border-color: rgba(24,216,255,.4); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 22px 24px;
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-q .qi {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center;
  color: var(--accent-cyan);
  transition: transform .3s ease, background .25s ease;
}
.faq-item.open .qi { transform: rotate(45deg); background: rgba(24,216,255,.1); }
.faq-q .qi svg { width: 15px; height: 15px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Final CTA ---------- */
.finale {
  text-align: center;
  padding: 96px 0;
  position: relative;
}
.finale h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.finale p { font-size: 18px; color: var(--text-secondary); margin: 0 auto 36px; max-width: 560px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  background: rgba(8,11,22,.6);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); margin: 16px 0 0; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.socials a:hover { color: var(--accent-cyan); border-color: var(--border-glow); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Section intro label ---------- */
.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { max-width: 460px; margin: 0 auto; }
  .course-card.featured { grid-column: span 3; }
  .course-card.featured .course-cover { aspect-ratio: 21/7; }
  .lead { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: flex; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .flow-step::after { display: none; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-card.featured { grid-column: span 2; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .teacher { grid-template-columns: 1fr; gap: 34px; }
  .teacher-visual .ph { aspect-ratio: 16/10; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 116px 0 70px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pain-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card.featured { grid-column: span 1; }
  .course-card.featured .course-cover, .course-cover { aspect-ratio: 16/9; }
  .skills-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lead-list { grid-template-columns: 1fr; }
  .lead-left, .lead-right { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fcard { transform: scale(.86); }
}
