/* ============================================================
   SoonPay Academy — Uganda Land & Property Administration
   Blockchain-certified professional courses
   Light theme · SoonPay brand (cobalt blue #1f3df0)
   ============================================================ */

:root {
  /* SoonPay brand */
  --brand: #1f3df0;
  --brand-deep: #1530d8;
  --brand-dark: #0a1f8c;
  --brand-soft: #eef1ff;
  --brand-tint: #f5f7ff;
  --grad: linear-gradient(120deg, #1f3df0 0%, #4f6bff 100%);
  --grad-deep: linear-gradient(135deg, #1530d8, #0a1f8c);

  /* Uganda flag accents */
  --ug-yellow: #fcdc04;
  --ug-red: #d90000;
  --ug-black: #000000;

  /* Neutrals (light) */
  --ink: #0b1020;
  --body: #36405a;
  --muted: #6b7488;
  --line: #e6e9f2;
  --line-strong: #d4d9e8;
  --surface: #ffffff;
  --surface-2: #f6f8fd;
  --surface-3: #eef1fb;
  --white: #ffffff;
  --dark: #0b0f1e;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(20, 32, 90, 0.28);
  --shadow-sm: 0 8px 24px -14px rgba(20, 32, 90, 0.22);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(31, 61, 240, .65); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 14px 34px -10px rgba(31, 61, 240, .8); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f1f4ff; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.2px; color: var(--ink); }
.brand .brand-logo { height: 30px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text b { font-size: 15.5px; color: var(--brand); font-weight: 800; letter-spacing: -.3px; }
.brand .brand-text small { font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--body); font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
/* Uganda flag — official flag with crane emblem */
.flag-bar {
  display: inline-block; height: 18px; width: 27px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  background: url("assets/uganda-flag.webp") center / cover no-repeat;
}
.flag-bar i { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; background: var(--surface); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 82% -10%, rgba(31,61,240,.10), transparent 60%),
    radial-gradient(620px 460px at 4% 12%, rgba(79,107,255,.08), transparent 55%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); border: 1px solid rgba(31,61,240,.18);
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -1.4px; margin: 22px 0 18px; font-weight: 800; color: var(--ink); }
.hero h1 .grad { color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--body); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat strong { font-size: 28px; font-weight: 800; letter-spacing: -.5px; display: block; color: var(--brand); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

/* Hero card / certificate mock */
.cert-card {
  position: relative; border-radius: 20px; padding: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cert-card .ribbon { position: absolute; top: 22px; right: -1px; background: var(--brand); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .5px; padding: 6px 14px; border-radius: 8px 0 0 8px; }
.cert-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cert-seal { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; }
.cert-title { font-weight: 700; font-size: 15px; }
.cert-title span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.cert-body { border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); padding: 16px 0; margin: 4px 0 16px; }
.cert-body .row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.cert-body .row span { color: var(--muted); }
.cert-body .row b { font-weight: 600; }
.hash { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; color: var(--brand); word-break: break-all; }
.verified-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust p { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.trust .marks { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.trust .marks span { font-weight: 700; font-size: 15px; color: var(--body); letter-spacing: -.2px; }

/* ---------- Section headers ---------- */
section { padding: 76px 0; }
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head .kicker { color: var(--brand); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; margin: 12px 0 14px; font-weight: 800; color: var(--ink); }
.sec-head p { color: var(--body); font-size: 16.5px; }

/* ---------- Catalog ---------- */
.catalog-tools { display: flex; gap: 14px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.search {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 18px;
}
.search input { background: none; border: 0; outline: 0; color: var(--ink); font-size: 15px; width: 100%; font-family: inherit; }
.search input::placeholder { color: var(--muted); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--line-strong); color: var(--body); background: #fff; transition: .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.course-card {
  display: flex; flex-direction: column; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .18s ease, border-color .2s ease, box-shadow .25s ease;
}
.course-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.cc-top { position: relative; height: 132px; display: grid; place-items: center; overflow: hidden; }
.cc-top .ic { font-size: 40px; position: relative; z-index: 2; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.cc-cat { position: absolute; top: 12px; left: 12px; z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: .4px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(4px); }
.cc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-body h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.3px; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.cc-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.cc-meta { display: flex; gap: 14px; margin: 15px 0 16px; font-size: 12.5px; color: var(--body); }
.cc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 15px; gap: 12px; }
.cc-level { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.cc-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cc-levels .lvl { font-size: 11px; font-weight: 600; color: #fff; padding: 4px 10px; border-radius: 999px; letter-spacing: .2px; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.no-results { grid-column: 1/-1; text-align: center; padding: 50px; color: var(--muted); }

/* ---------- Feature blocks ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature .fic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--brand-soft); border: 1px solid rgba(31,61,240,.18); margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.3px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; box-shadow: var(--shadow-sm); }
.step .num { counter-increment: step; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 13.5px; color: var(--muted); }
.step::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--line-strong); font-size: 18px; z-index: 2; }
.steps .step:last-child::after { display: none; }

/* ---------- Programme format ---------- */
.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fmt-card { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fmt-card .fmt-stat { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: var(--brand); margin-bottom: 14px; }
.fmt-card h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.3px; color: var(--ink); }
.fmt-card p { font-size: 13.5px; color: var(--muted); }
.format-note { margin-top: 18px; font-size: 13.5px; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,61,240,.18); border-radius: 12px; padding: 12px 16px; }

/* ---------- SoonPay band ---------- */
.soonpay { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; }
.soonpay::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 88% 16%, rgba(255,255,255,.14), transparent 60%); }
.soonpay .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.soonpay h2 { color: #fff; }
.soonpay-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.soonpay .lead-light { color: rgba(255,255,255,.82); font-size: 16.5px; max-width: 520px; }
.sp-feature-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.sp-feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.9); }
.sp-feature-list .tick { color: #fff; font-weight: 800; margin-top: 1px; }
.sp-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); }
.sp-panel h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; color: #fff; }
.ledger-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.92); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .dot { width: 8px; height: 8px; border-radius: 50%; background: #6effc0; box-shadow: 0 0 10px #6effc0; }
.ledger-row .meta { display: flex; align-items: center; gap: 10px; }
.ledger-row .muted { color: rgba(255,255,255,.6) !important; }
.ledger-row .amt { font-family: ui-monospace, monospace; color: #aebcff; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-card { background: var(--grad); border-radius: 26px; padding: 56px 40px; position: relative; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 18% 120%, rgba(255,255,255,.22), transparent); }
.cta-card h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; position: relative; }
.cta-card p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 560px; margin: 14px auto 28px; position: relative; }
.cta-card .btn-light { position: relative; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--surface-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-grid h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { font-size: 14px; color: var(--body); }
.foot-grid a:hover { color: var(--brand); }
.foot-about p { font-size: 14px; color: var(--muted); max-width: 300px; margin: 14px 0; }
.foot-about .brand-logo { height: 28px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }

/* ============================================================
   Course detail page
   ============================================================ */
.detail-hero { padding: 50px 0 40px; position: relative; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.detail-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 44px; align-items: start; }
.detail-cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,61,240,.18); padding: 6px 13px; border-radius: 999px; }
.detail-hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1.2px; margin: 18px 0 16px; line-height: 1.08; color: var(--ink); }
.detail-hero .lead { font-size: 17.5px; color: var(--body); max-width: 620px; }
.detail-meta { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.detail-meta .m strong { display: block; font-size: 17px; color: var(--ink); }
.detail-meta .m span { font-size: 12.5px; color: var(--muted); }

.enroll-card { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.enroll-card .ec-headline { font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); margin-bottom: 4px; }
.enroll-card .ec-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.enroll-list { list-style: none; display: grid; gap: 11px; margin: 18px 0; }
.enroll-list li { display: flex; gap: 10px; font-size: 14px; color: var(--body); }
.enroll-list .tick { color: var(--brand); font-weight: 700; }
.pay-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

.detail-section { padding: 40px 0; border-top: 1px solid var(--line); }
.detail-section h2 { font-size: 24px; letter-spacing: -.6px; margin-bottom: 20px; color: var(--ink); }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.outcome { display: flex; gap: 12px; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; color: var(--body); }
.outcome .tick { color: var(--brand); font-weight: 700; }

/* Department levels */
.levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.level-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.level-card .lc-top { padding: 20px; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.level-card .lc-step { font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; opacity: .92; }
.level-card .lc-name { font-size: 21px; font-weight: 800; letter-spacing: -.4px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.level-card .lc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.level-card .lc-weeks { font-size: 12.5px; font-weight: 600; color: var(--brand); }
.level-card .lc-body p { font-size: 14px; color: var(--body); flex: 1; }
.level-card .lc-body .btn { align-self: flex-start; }

.level-tag { display: inline-block; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; text-shadow: 0 1px 2px rgba(0,0,0,.18); }

.module { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: #fff; }
.module-head { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; cursor: pointer; }
.module-head h4 { font-size: 15.5px; color: var(--ink); }
.module-head .wk { font-size: 12px; color: var(--muted); }
.module-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.module.open .module-body { max-height: 320px; padding: 0 20px 18px; }
.module-body p { font-size: 14px; color: var(--body); }
.module .chev { transition: transform .25s; color: var(--muted); }
.module.open .chev { transform: rotate(180deg); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,16,32,.5); backdrop-filter: blur(6px); z-index: 100; display: none; place-items: center; padding: 24px; }
.modal-overlay.open { display: grid; }
.modal { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.modal-head .x { background: none; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; line-height: 1; }
.modal h3 { font-size: 20px; letter-spacing: -.4px; color: var(--ink); }
.modal .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--body); margin-bottom: 7px; font-weight: 500; }
.field input, .field select { width: 100%; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); font-size: 14.5px; font-family: inherit; outline: none; }
.field input:focus, .field select:focus { border-color: var(--brand); background: #fff; }
.summary-box { background: var(--brand-soft); border: 1px solid rgba(31,61,240,.15); border-radius: var(--radius-sm); padding: 16px; margin: 18px 0; }
.summary-box .row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; color: var(--body); }
.summary-box .row.total { border-top: 1px solid rgba(31,61,240,.18); margin-top: 6px; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.soonpay-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(31,61,240,.18); padding: 7px 13px; border-radius: 999px; margin-bottom: 18px; }

.processing { text-align: center; padding: 20px 0; }
.spinner { width: 54px; height: 54px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 18px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.proc-steps { list-style: none; text-align: left; max-width: 280px; margin: 0 auto; }
.proc-steps li { font-size: 13.5px; color: var(--muted); padding: 7px 0; display: flex; align-items: center; gap: 10px; opacity: .4; transition: opacity .3s; }
.proc-steps li.done { opacity: 1; color: var(--body); }
.proc-steps li .s-ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; flex-shrink: 0; }
.proc-steps li.done .s-ic { background: var(--brand); border-color: var(--brand); color: #fff; }

.success-anim { text-align: center; padding: 12px 0; }
.success-anim .seal { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 16px; font-size: 34px; color: #fff; box-shadow: 0 0 0 8px var(--brand-soft); }
.success-anim p { color: var(--body); }
.receipt { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-top: 18px; text-align: left; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 5px 0; color: var(--ink); }
.receipt .row span { color: var(--muted); }
.receipt .row b { font-weight: 600; text-align: right; }

/* ---------- Verify page ---------- */
.verify-box { max-width: 620px; margin: 0 auto; }
.verify-input { display: flex; gap: 10px; margin: 26px 0; }
.verify-input input { flex: 1; padding: 14px 18px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 15px; font-family: ui-monospace, monospace; outline: none; }
.verify-input input:focus { border-color: var(--brand); }
.verify-result { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: none; box-shadow: var(--shadow-sm); }
.verify-result.show { display: block; animation: pop .3s ease; }
.verify-result.valid { border-color: rgba(31,61,240,.4); }
.verify-result.invalid { border-color: rgba(217,0,0,.4); }
.vr-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vr-head .vic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.vr-head .vic.ok { background: var(--brand-soft); color: var(--brand); }
.vr-head .vic.bad { background: #fdecec; color: #c41616; }
.vr-head h3 { font-size: 18px; color: var(--ink); }
.vr-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); gap: 16px; }
.vr-row:last-child { border-bottom: 0; }
.vr-row span { color: var(--muted); flex-shrink: 0; }
.vr-row b { text-align: right; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .soonpay-grid, .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features, .steps, .format-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .enroll-card { position: static; }
  .outcomes { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; box-shadow: var(--shadow); }
  .grid, .features, .steps, .format-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0; }
  section { padding: 56px 0; }
}
