/* FinaX Academy - public pages (landing, sign-in, registration, password reset) */
:root {
  --fx-navy: #0A2E5E;
  --fx-navy-deep: #061834;
  --fx-ink: #0f2145;
  --fx-teal: #1BBC9B;
  --fx-teal-soft: #d6f5ee;
  --fx-blue: #2563EB;
  --fx-paper: #f6f8fb;
  --fx-line: #e3e8f0;
  --fx-muted: #5b6b82;
  --fx-radius: 14px;
  --fx-shadow: 0 18px 50px -20px rgba(6, 24, 52, .35);
  --fx-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fx-body: "Poppins", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fx {
  margin: 0;
  font-family: var(--fx-body);
  color: var(--fx-ink);
  background: var(--fx-paper);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.fx a { color: var(--fx-blue); text-decoration: none; }
.fx a:hover { text-decoration: underline; }
.fx img { max-width: 100%; }
.fx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------------------------------------------------------------- top strip */
.fx-strip {
  background: var(--fx-navy-deep);
  color: #cfe0f5;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.fx-strip .fx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.fx-strip b { color: var(--fx-teal); font-weight: 600; }
.fx-strip-links { display: flex; gap: 18px; white-space: nowrap; }
.fx-strip-links a { color: #cfe0f5; letter-spacing: .08em; }
.fx-strip-links a:hover { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- nav */
.fx-nav { background: #fff; border-bottom: 1px solid var(--fx-line); position: sticky; top: 0; z-index: 50; }
.fx-nav .fx-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.fx-brand { display: flex; align-items: center; gap: 12px; color: var(--fx-ink); }
.fx-brand:hover { text-decoration: none; }
.fx-brand img { height: 40px; width: auto; }
.fx-brand span {
  font-family: var(--fx-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em;
  padding-left: 12px; border-left: 1px solid var(--fx-line); color: var(--fx-navy);
}
.fx-menu { display: flex; align-items: center; gap: 6px; }
.fx-menu a { color: var(--fx-ink); font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.fx-menu a:hover { background: var(--fx-paper); text-decoration: none; }
.fx-menu .fx-ext::after { content: " \2197"; font-size: 11px; color: var(--fx-muted); }
.fx-toggle { display: none; background: none; border: 1px solid var(--fx-line); border-radius: 8px; padding: 8px 11px; font-size: 18px; color: var(--fx-ink); }

.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fx-body); font-weight: 600; font-size: 14px;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.fx-btn:hover { text-decoration: none !important; transform: translateY(-1px); }
.fx-btn-primary { background: var(--fx-teal); color: #04241d !important; box-shadow: 0 8px 22px -10px rgba(27, 188, 155, .9); }
.fx-btn-primary:hover { background: #22cfab; }
.fx-btn-navy { background: var(--fx-navy); color: #fff !important; }
.fx-btn-navy:hover { background: #0d3a76; }
.fx-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff !important; background: rgba(255, 255, 255, .04); }
.fx-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.fx-btn-outline { border-color: var(--fx-line); color: var(--fx-ink) !important; background: #fff; }
.fx-btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */
.fx-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(27, 188, 155, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(37, 99, 235, .25), transparent 60%),
    linear-gradient(160deg, var(--fx-navy) 0%, var(--fx-navy-deep) 100%);
}
.fx-hero::before { /* ledger grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .25) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .25) 100%);
}
.fx-hero-mark { /* the FinaX "X" as a giant geometric motif */
  position: absolute; right: -120px; top: 50%; width: 640px; height: 640px; transform: translateY(-50%) rotate(-8deg);
  opacity: .1; pointer-events: none;
}
.fx-hero .fx-wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; padding-top: 72px; padding-bottom: 84px; align-items: center; }
.fx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-teal);
}
.fx-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fx-teal); }
.fx-hero h1 {
  font-family: var(--fx-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06;
  letter-spacing: -.02em; margin: 18px 0 20px;
}
.fx-hero h1 em { font-style: italic; color: var(--fx-teal); font-weight: 500; }
.fx-hero-lead { font-size: 17.5px; color: #d5e2f3; max-width: 560px; margin: 0 0 30px; }
.fx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fx-hero-facts div { font-size: 13px; color: #b8cbe4; }
.fx-hero-facts b { display: block; font-family: var(--fx-display); font-size: 28px; color: #fff; font-weight: 600; line-height: 1.1; }

/* ---------------------------------------------------------------- auth card */
.fx-card {
  background: #fff; color: var(--fx-ink); border-radius: var(--fx-radius); box-shadow: var(--fx-shadow);
  padding: 30px 30px 26px; position: relative;
}
.fx-card::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; background: linear-gradient(90deg, var(--fx-teal), var(--fx-blue)); border-radius: 0 0 3px 3px; }
.fx-card h2 { font-family: var(--fx-display); font-weight: 600; font-size: 26px; margin: 4px 0 4px; letter-spacing: -.01em; }
.fx-card .fx-sub { color: var(--fx-muted); font-size: 13.5px; margin: 0 0 20px; }
.fx-field { margin-bottom: 14px; }
.fx-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--fx-ink); margin-bottom: 6px; }
.fx-field input, .fx-field select {
  width: 100%; font-family: var(--fx-body); font-size: 14.5px; color: var(--fx-ink);
  padding: 11px 13px; border: 1.5px solid var(--fx-line); border-radius: 10px; background: #fbfcfe; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.fx-field input:focus, .fx-field select:focus { border-color: var(--fx-teal); box-shadow: 0 0 0 4px rgba(27, 188, 155, .15); background: #fff; }
.fx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fx-muted); margin: 6px 0 16px; }
.fx-check input { margin-top: 4px; accent-color: var(--fx-teal); }
.fx-card-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--fx-line); font-size: 13px; color: var(--fx-muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fx-alert { border-radius: 10px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 16px; border: 1px solid; }
.fx-alert-ok { background: #e9faf5; border-color: #a7e8d8; color: #0b6b55; }
.fx-alert-err { background: #fdf0ef; border-color: #f3c3bd; color: #9b2c1f; }
.fx-alert-info { background: #edf4ff; border-color: #c4d8fb; color: #1d4ed8; }

/* ---------------------------------------------------------------- sections */
.fx-section { padding: 88px 0; }
.fx-section-alt { background: #fff; border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); }
.fx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.fx-head h2 { font-family: var(--fx-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 0; max-width: 640px; }
.fx-head p { color: var(--fx-muted); max-width: 440px; margin: 0; }
.fx-eyebrow.dark { color: var(--fx-blue); }
.fx-eyebrow.dark::before { background: var(--fx-blue); }

.fx-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.fx-about p { color: #34445c; }
.fx-quote {
  font-family: var(--fx-display); font-size: 24px; line-height: 1.35; font-style: italic; color: var(--fx-navy);
  border-left: 3px solid var(--fx-teal); padding: 4px 0 4px 22px; margin: 0 0 22px;
}
.fx-objectives { list-style: none; padding: 0; margin: 0; counter-reset: obj; }
.fx-objectives li {
  counter-increment: obj; display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--fx-line);
}
.fx-objectives li::before {
  content: counter(obj, decimal-leading-zero); font-family: var(--fx-display); font-size: 26px; font-weight: 600; color: var(--fx-teal); line-height: 1;
}
.fx-objectives b { display: block; color: var(--fx-ink); font-weight: 600; margin-bottom: 2px; }
.fx-objectives span { color: var(--fx-muted); font-size: 14px; }

/* course catalogue */
.fx-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fx-chip {
  font-family: var(--fx-body); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--fx-line); background: #fff; color: var(--fx-ink); cursor: pointer;
}
.fx-chip.on, .fx-chip:hover { border-color: var(--fx-navy); background: var(--fx-navy); color: #fff; }
.fx-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fx-course {
  background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.fx-course:hover { transform: translateY(-4px); box-shadow: var(--fx-shadow); }
.fx-course img { aspect-ratio: 16 / 9; object-fit: cover; display: block; width: 100%; }
.fx-course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.fx-course small { color: var(--fx-teal); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.fx-course h3 { font-size: 17px; line-height: 1.35; margin: 6px 0 8px; font-weight: 600; }
.fx-course p { color: var(--fx-muted); font-size: 13.5px; margin: 0 0 16px; flex: 1; }
.fx-course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--fx-muted); border-top: 1px solid var(--fx-line); padding-top: 12px; }
.fx-free { background: var(--fx-teal-soft); color: #0b6b55; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; }
.fx-soon { border: 1.5px dashed #c6d2e3; border-radius: var(--fx-radius); padding: 22px; color: var(--fx-muted); display: flex; flex-direction: column; justify-content: center; background: transparent; }
.fx-soon h3 { color: var(--fx-ink); font-size: 16px; margin: 0 0 6px; }

/* audience */
.fx-audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); overflow: hidden; background: #fff; }
.fx-audience div { padding: 26px 24px; border-right: 1px solid var(--fx-line); }
.fx-audience div:last-child { border-right: 0; }
.fx-audience i { font-size: 22px; color: var(--fx-teal); }
.fx-audience h3 { font-size: 16px; margin: 12px 0 6px; }
.fx-audience p { font-size: 13.5px; color: var(--fx-muted); margin: 0; }

/* steps */
.fx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fx-step { position: relative; padding: 24px 22px; border-radius: var(--fx-radius); background: var(--fx-paper); border: 1px solid var(--fx-line); }
.fx-step b { font-family: var(--fx-display); font-size: 40px; color: var(--fx-navy); opacity: .18; position: absolute; right: 18px; top: 8px; }
.fx-step h3 { font-size: 16px; margin: 0 0 6px; }
.fx-step p { font-size: 13.5px; color: var(--fx-muted); margin: 0; }
.fx-step .fx-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--fx-teal); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }

/* ecosystem */
.fx-eco { background: var(--fx-navy); color: #fff; border-radius: 22px; padding: 46px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; position: relative; overflow: hidden; }
.fx-eco::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(27, 188, 155, .12); }
.fx-eco h2 { font-family: var(--fx-display); font-weight: 600; font-size: 34px; line-height: 1.15; margin: 10px 0 14px; }
.fx-eco p { color: #c8d7ec; }
.fx-eco-links { display: grid; gap: 12px; position: relative; z-index: 1; }
.fx-eco-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; padding: 18px 20px; border-radius: 12px;
}
.fx-eco-links a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.fx-eco-links small { display: block; color: #a9bfdc; font-size: 12.5px; }
.fx-eco-links strong { font-size: 15.5px; }
.fx-eco-links span.arr { font-size: 20px; color: var(--fx-teal); }

/* footer */
.fx-foot { background: var(--fx-navy-deep); color: #a9bfdc; padding: 56px 0 26px; font-size: 13.5px; }
.fx-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.fx-foot h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.fx-foot a { color: #cfe0f5; display: block; margin-bottom: 8px; }
.fx-foot-logo { background: #fff; display: inline-block; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.fx-foot-logo img { height: 34px; display: block; }
.fx-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }

.fx-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: #1faf5a; color: #fff !important; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .4);
}
.fx-wa:hover { text-decoration: none !important; background: #189a4e; }

/* auth-only pages */
.fx-auth { min-height: calc(100vh - 110px); display: grid; grid-template-columns: 1fr 1fr; }
.fx-auth-side { position: relative; overflow: hidden; color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(600px 400px at 90% 0%, rgba(27, 188, 155, .25), transparent 60%), linear-gradient(160deg, var(--fx-navy), var(--fx-navy-deep)); }
.fx-auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.fx-auth-side > * { position: relative; }
.fx-auth-side h1 { font-family: var(--fx-display); font-weight: 600; font-size: 38px; line-height: 1.12; margin: 16px 0; }
.fx-auth-side p { color: #c8d7ec; max-width: 440px; }
.fx-auth-side ul { padding: 0; list-style: none; margin: 18px 0 0; }
.fx-auth-side li { padding: 8px 0 8px 28px; position: relative; color: #dbe7f6; }
.fx-auth-side li::before { content: "\2713"; position: absolute; left: 0; color: var(--fx-teal); font-weight: 700; }
.fx-auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 22px; }
.fx-auth-main .fx-card { width: 100%; max-width: 460px; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .fx-rise { opacity: 0; transform: translateY(14px); animation: fxRise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .fx-d1 { animation-delay: .08s; } .fx-d2 { animation-delay: .18s; } .fx-d3 { animation-delay: .28s; } .fx-d4 { animation-delay: .4s; }
  @keyframes fxRise { to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .fx-strip-links { display: none; }
  .fx-strip .fx-wrap { justify-content: center; }
}
@media (max-width: 1000px) {
  .fx-hero .fx-wrap, .fx-about, .fx-eco, .fx-auth { grid-template-columns: 1fr; }
  .fx-courses, .fx-steps { grid-template-columns: 1fr 1fr; }
  .fx-audience { grid-template-columns: 1fr 1fr; }
  .fx-audience div:nth-child(2) { border-right: 0; }
  .fx-audience div:nth-child(-n+2) { border-bottom: 1px solid var(--fx-line); }
  .fx-foot-grid { grid-template-columns: 1fr 1fr; }
  .fx-auth-side { padding: 40px 28px; }
}
@media (max-width: 820px) {
  .fx-toggle { display: inline-block; }
  .fx-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 22px 20px; border-bottom: 1px solid var(--fx-line); }
  .fx-menu.open { display: flex; }
  .fx-strip-links { display: none; }
  .fx-strip .fx-wrap { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 620px) {
  .fx-courses, .fx-steps, .fx-audience, .fx-row, .fx-foot-grid { grid-template-columns: 1fr; }
  .fx-audience div { border-right: 0; border-bottom: 1px solid var(--fx-line); }
  .fx-section { padding: 60px 0; }
  .fx-eco { padding: 30px 22px; }
  .fx-brand span { display: none; }
  .fx-hero .fx-wrap { padding-top: 46px; padding-bottom: 56px; gap: 36px; }
  .fx-card { padding: 24px 20px 20px; }
  .fx-hero-mark { width: 360px; height: 360px; right: -150px; top: 60px; transform: rotate(-8deg); opacity: .07; }
}

/* ---------------------------------------------------------------- public course page */
.fx-course-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(800px 400px at 90% 0%, rgba(27,188,155,.2), transparent 60%), linear-gradient(160deg, var(--fx-navy), var(--fx-navy-deep)); }
.fx-course-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.fx-course-hero .fx-wrap { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; padding-top: 46px; padding-bottom: 64px; align-items: start; }
.fx-course-hero h1 { font-family: var(--fx-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 16px; }
.fx-crumb { display: table; color: #b8cbe4 !important; font-size: 13.5px; margin-bottom: 22px; }
.fx-course-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #d5e2f3; }
.fx-course-facts i { color: var(--fx-teal); margin-right: 6px; }
.fx-enrol-card { padding: 0; overflow: hidden; }
.fx-enrol-card::before { display: none; }
.fx-enrol-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fx-enrol-body { padding: 22px 24px 24px; }
.fx-price { font-family: var(--fx-display); font-size: 34px; font-weight: 600; color: var(--fx-navy); line-height: 1; margin-bottom: 6px; }
.fx-code { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--fx-line); font-size: 12px; color: var(--fx-muted); text-align: center; letter-spacing: .06em; }
.fx-course-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; align-items: start; }
.fx-outline { list-style: none; padding: 0; margin: 0; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: #fff; overflow: hidden; }
.fx-outline li { display: flex; gap: 18px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--fx-line); }
.fx-outline li:first-child { border-top: 0; }
.fx-outline-num { flex: 0 0 44px; height: 44px; border-radius: 12px; background: #eef3fa; color: var(--fx-navy); display: grid; place-items: center; font-family: var(--fx-display); font-weight: 600; font-size: 17px; }
.fx-outline b { display: block; color: var(--fx-ink); font-weight: 600; }
.fx-outline span { color: var(--fx-muted); font-size: 13.5px; }
.fx-outline-final { background: #f3fbf8; }
.fx-outline-final .fx-outline-num { background: var(--fx-teal); color: #fff; }
.fx-side-box { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 26px; position: sticky; top: 96px; }
.fx-side-box h3 { font-family: var(--fx-display); font-weight: 600; color: var(--fx-navy); font-size: 19px; margin: 0 0 8px; }
.fx-side-box p, .fx-side-box li { color: #34445c; font-size: 14px; }
.fx-side-box ul { padding-left: 18px; margin: 0 0 20px; line-height: 1.9; }
.fx-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fx-related-item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: #fff; color: var(--fx-ink) !important; transition: transform .2s, box-shadow .2s; }
.fx-related-item:hover { transform: translateY(-3px); box-shadow: var(--fx-shadow); text-decoration: none !important; }
.fx-related-item small { color: var(--fx-teal); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.fx-related-item strong { font-size: 16px; line-height: 1.35; }
.fx-related-item span { color: var(--fx-blue); font-size: 13.5px; margin-top: auto; padding-top: 8px; }
a.fx-course { color: inherit !important; }
a.fx-course:hover { text-decoration: none !important; }
.fx-course .fx-view { color: var(--fx-blue); font-weight: 600; font-size: 12.5px; }

/* FAQ */
.fx-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.fx-faq details { background: #fff; border: 1px solid var(--fx-line); border-radius: 12px; padding: 0 20px; }
.fx-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--fx-teal); font-weight: 400; }
.fx-faq details[open] summary::after { content: "\2212"; }
.fx-faq details p { color: var(--fx-muted); margin: 0 0 18px; font-size: 14px; }

@media (max-width: 1000px) {
  .fx-course-hero .fx-wrap, .fx-course-grid { grid-template-columns: 1fr; }
  .fx-related, .fx-faq { grid-template-columns: 1fr; }
  .fx-side-box { position: static; }
}

@media (max-width: 620px) {
  .fx-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; scrollbar-width: none; }
  .fx-filter::-webkit-scrollbar { display: none; }
  .fx-chip { flex: 0 0 auto; }
  .fx-wa { padding: 0; width: 52px; height: 52px; justify-content: center; font-size: 0; right: 14px; bottom: 14px; }
  .fx-wa i { font-size: 26px; }
  .fx-hero-facts { gap: 22px; }
}
