/* ══════════════════════════════════════
   WTCM — Graduate Certification Programme (public)
   ══════════════════════════════════════ */
:root {
  --gp-gold:#F5C800; --gp-black:#0A0A0A; --gp-white:#fff;
  --gp-gray:#1A1A1A; --gp-gray2:#222; --gp-gray3:#2E2E2E;
  --gp-purple:#6B3FA0; --gp-green:#2D7A3A; --gp-orange:#E06A00; --gp-blue:#1A5276;
}
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--gp-black); color: var(--gp-white); min-height: 100vh; margin: 0; }

/* HEADER */
.gp-hdr { background: var(--gp-black); border-bottom: 2px solid var(--gp-gold); padding: .9rem 1.5rem; display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 100; flex-wrap: wrap; }
.gp-hdr-logo-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.gp-hdr-star { width: 30px; height: 30px; background: var(--gp-gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); flex-shrink: 0; }
.gp-hdr-wm { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; color: var(--gp-white); }
.gp-hdr-wm span { color: var(--gp-gold); display: block; font-size: .58rem; letter-spacing: .2em; font-weight: 600; }
.gp-hdr-badge { margin-left: auto; background: rgba(245,200,0,.1); border: 1px solid rgba(245,200,0,.3); border-radius: 3px; padding: .3rem .85rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gp-gold); white-space: nowrap; }

/* TABS */
.gp-tabs { background: var(--gp-gray); border-bottom: 1px solid rgba(255,255,255,.08); display: flex; overflow-x: auto; }
.gp-tab-btn { background: none; border: none; color: rgba(255,255,255,.45); padding: .85rem 1.1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s; white-space: nowrap; flex-shrink: 0; }
.gp-tab-btn.active { color: var(--gp-gold); border-bottom-color: var(--gp-gold); }
.gp-tab-btn:hover { color: var(--gp-white); }

/* PANELS */
.gp-panel { display: none; padding: 1.5rem; max-width: 980px; margin: 0 auto; }
.gp-panel.active { display: block; }

/* COMMON */
.gp-eyebrow { font-size: .62rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gp-gold); margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.gp-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gp-gold); display: inline-block; }
.gp-sec-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; line-height: .9; margin-bottom: 1rem; }
.gp-sec-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1.25rem; max-width: 520px; }
.gp-card { background: var(--gp-gray2); border-radius: 4px; border: 1px solid rgba(255,255,255,.07); padding: 1.25rem; }
.gp-gold-text { color: var(--gp-gold); font-weight: 700; }
.gp-btn-gold { background: var(--gp-gold); color: var(--gp-black); padding: .65rem 1.4rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border: none; border-radius: 3px; cursor: pointer; transition: opacity .2s; }
.gp-btn-gold:hover { opacity: .88; }
.gp-btn-outline { background: transparent; color: var(--gp-white); padding: .65rem 1.4rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; cursor: pointer; transition: border-color .2s; }
.gp-btn-outline:hover { border-color: var(--gp-gold); color: var(--gp-gold); }

/* HERO */
.gp-hero { background: linear-gradient(135deg,#0A0A0A 0%,#1A0A30 100%); border: 1px solid rgba(107,63,160,.3); border-radius: 6px; padding: 2rem; margin-bottom: 1.25rem; position: relative; overflow: hidden; }
.gp-hero::after { content: ''; position: absolute; top: -30px; right: -30px; width: 180px; height: 180px; background: rgba(245,200,0,.04); border-radius: 50%; pointer-events: none; }
.gp-hero-eyebrow { font-size: .62rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--gp-gold); margin-bottom: .7rem; }
.gp-hero-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); text-transform: uppercase; line-height: .88; margin-bottom: .9rem; }
.gp-hero-title span { color: var(--gp-gold); }
.gp-hero-sub { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.75; max-width: 520px; margin-bottom: 1.25rem; }
.gp-hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* STAT GRID */
.gp-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: .85rem; margin-bottom: 1.25rem; }
.gp-stat-card { background: var(--gp-gray2); border-radius: 4px; border: 1px solid rgba(255,255,255,.07); padding: 1rem; text-align: center; }
.gp-stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.9rem; color: var(--gp-gold); line-height: 1; }
.gp-stat-label { font-size: .6rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .12em; margin-top: .25rem; }

/* TRACK CARDS */
.gp-track-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.gp-track-card { background: var(--gp-gray2); border: 1px solid rgba(255,255,255,.07); border-radius: 4px; padding: 1.25rem; cursor: pointer; transition: background .2s; }
.gp-track-card:hover { background: var(--gp-gray3); }
.gp-track-icon { font-size: 2rem; margin-bottom: .6rem; }
.gp-track-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1rem; text-transform: uppercase; margin-bottom: .2rem; }
.gp-track-sub { font-size: .7rem; color: rgba(255,255,255,.35); margin-bottom: .75rem; }
.gp-track-pill { display: inline-block; padding: .15rem .55rem; border-radius: 20px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* TABLE */
.gp-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.gp-table th { background: var(--gp-black); padding: .6rem .85rem; text-align: left; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gp-gold); }
.gp-table td { padding: .6rem .85rem; border-bottom: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.7); vertical-align: top; }
.gp-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* INFO BOX */
.gp-info-box { background: rgba(245,200,0,.07); border: 1px solid rgba(245,200,0,.2); border-radius: 4px; padding: 1rem 1.25rem; font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.gp-info-box strong { color: var(--gp-gold); }

/* TRACK SELECTOR */
.gp-track-selector { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.gp-ts-btn { background: var(--gp-gray2); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); padding: .5rem 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: all .2s; }

/* TRACK HEADER */
.gp-track-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.gp-track-header-code { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .25rem; }
.gp-track-header-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.4rem; text-transform: uppercase; }
.gp-track-header-cert { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .15rem; }
.gp-track-header-fee { text-align: right; }
.gp-track-header-amt { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--gp-gold); }
.gp-track-header-per { font-size: .62rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; }

/* MODULE ACCORDION */
.gp-mod-list { display: flex; flex-direction: column; gap: .5rem; }
.gp-mod-item { background: var(--gp-gray2); border-radius: 4px; border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.gp-mod-head { padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem; cursor: pointer; }
.gp-mod-num { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .78rem; flex-shrink: 0; }
.gp-mod-title { font-weight: 700; font-size: .86rem; flex: 1; }
.gp-mod-sub { font-size: .68rem; color: rgba(255,255,255,.3); margin-top: .1rem; }
.gp-mod-dots { display: flex; gap: .35rem; align-items: center; }
.gp-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); transition: background .3s; }
.gp-dot.paid { background: var(--gp-gold); }
.gp-mod-arrow { color: rgba(255,255,255,.3); font-size: .8rem; margin-left: .5rem; transition: transform .2s; }
.gp-mod-body { border-top: 1px solid rgba(255,255,255,.06); padding: .85rem 1.1rem; background: var(--gp-gray3); display: none; }
.gp-mod-body.open { display: block; }
.gp-cls-item { display: flex; align-items: center; gap: .75rem; padding: .65rem; background: var(--gp-black); border-radius: 3px; margin-bottom: .5rem; border: 1px solid rgba(255,255,255,.05); }
.gp-cls-item.paid-cls { border-color: rgba(245,200,0,.25); }
.gp-cls-num { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; flex-shrink: 0; }
.gp-cls-name { flex: 1; font-size: .8rem; color: rgba(255,255,255,.65); }
.gp-cls-fee { font-weight: 700; font-size: .78rem; color: var(--gp-gold); margin-right: .5rem; }
.gp-pay-btn { background: var(--gp-gold); color: var(--gp-black); border: none; padding: .28rem .65rem; border-radius: 3px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: opacity .2s; white-space: nowrap; }
.gp-pay-btn:hover { opacity: .88; }
.gp-paid-badge { background: rgba(45,122,58,.2); color: #7EC88A; border: 1px solid rgba(45,122,58,.35); padding: .18rem .55rem; border-radius: 20px; font-size: .62rem; font-weight: 700; white-space: nowrap; }

/* LEVEL CARDS */
.gp-level-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.gp-level-card { background: var(--gp-gray2); border: 1px solid rgba(255,255,255,.07); border-radius: 4px; padding: 1.25rem; border-top: 4px solid; }
.gp-level-id { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.2rem; line-height: 1; opacity: .2; }
.gp-level-badge { display: inline-block; padding: .15rem .5rem; border-radius: 20px; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.gp-level-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.15rem; text-transform: uppercase; margin-bottom: .6rem; }
.gp-level-facts { list-style: none; margin: 0 0 .85rem; padding: 0; }
.gp-level-facts li { font-size: .75rem; color: rgba(255,255,255,.5); padding: .18rem 0; display: flex; gap: .4rem; }
.gp-level-facts li::before { content: '•'; color: var(--gp-gold); font-size: .8rem; line-height: 1; }
.gp-level-fee-label { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .2rem; }
.gp-level-fee { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--gp-gold); }
.gp-level-per { font-size: .7rem; color: rgba(255,255,255,.35); }
.gp-level-cert-box { margin-top: .75rem; border-radius: 3px; padding: .6rem .75rem; }
.gp-cert-label { font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem; }
.gp-cert-item { font-size: .73rem; color: rgba(255,255,255,.6); }

/* PROGRESSION PATH */
.gp-prog-path { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.gp-prog-path-box { background: var(--gp-black); border: 2px solid; border-radius: 4px; padding: .6rem .9rem; text-align: center; }
.gp-prog-path-id { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: .9rem; }
.gp-prog-path-name { font-size: .68rem; font-weight: 700; color: var(--gp-white); }
.gp-prog-path-fee { font-size: .62rem; color: rgba(255,255,255,.35); }
.gp-prog-path-arr { color: var(--gp-gold); font-size: 1.1rem; }
.gp-path-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: .65rem; }
.gp-path-cond { background: var(--gp-black); border-radius: 3px; padding: .75rem; font-size: .75rem; }
.gp-path-from { color: var(--gp-gold); font-weight: 700; margin-bottom: .2rem; }
.gp-path-desc { color: rgba(255,255,255,.45); }

/* ENROL */
.gp-enrol-option { background: var(--gp-gray2); border: 2px solid rgba(255,255,255,.08); border-radius: 4px; padding: 1rem 1.25rem; cursor: pointer; display: flex; align-items: center; gap: 1rem; margin-bottom: .65rem; transition: all .2s; }
.gp-enrol-option:hover { border-color: rgba(245,200,0,.3); }
.gp-enrol-option.selected { border-color: var(--gp-gold); }
.gp-radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); flex-shrink: 0; transition: all .2s; }
.gp-enrol-info { flex: 1; }
.gp-enrol-title { font-weight: 700; font-size: .9rem; }
.gp-enrol-sub { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .1rem; }
.gp-enrol-fee { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--gp-gold); white-space: nowrap; }
.gp-summary-title { font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gp-gold); margin-bottom: .75rem; }
.gp-summary-row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .8rem; }
.gp-summary-row span:first-child { color: rgba(255,255,255,.4); }
.gp-summary-row span:last-child { font-weight: 600; }
.gp-success-box { background: rgba(45,122,58,.12); border: 1px solid rgba(45,122,58,.35); border-radius: 4px; padding: 1.5rem; text-align: center; }
.gp-success-icon { font-size: 2.5rem; margin-bottom: .6rem; }
.gp-success-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.3rem; color: #7EC88A; margin-bottom: .3rem; }
.gp-success-sub { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 1rem; }

/* PROGRESS */
.gp-progress-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: .85rem; margin-bottom: 1.25rem; }
.gp-prog-card { background: var(--gp-gray2); border-radius: 4px; border: 1px solid rgba(255,255,255,.07); padding: 1rem; }
.gp-prog-label { font-size: .6rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .3rem; }
.gp-prog-val { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.4rem; }
.gp-bar-header { display: flex; justify-content: space-between; font-size: .78rem; margin-bottom: .5rem; color: rgba(255,255,255,.5); }
.gp-bar-count { color: var(--gp-gold); font-weight: 700; }
.gp-bar-wrap { height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.gp-bar-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.gp-track-prog { background: var(--gp-gray2); border-radius: 4px; border: 1px solid rgba(255,255,255,.07); padding: .9rem 1.1rem; display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.gp-track-prog-icon { font-size: 1.4rem; }
.gp-track-prog-mid { flex: 1; }
.gp-track-prog-name { font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.gp-track-prog-end { text-align: right; min-width: 50px; }
.gp-track-prog-cnt { font-size: .62rem; color: rgba(255,255,255,.3); }
.gp-cert-unlock { background: rgba(245,200,0,.08); border: 1px solid rgba(245,200,0,.3); border-radius: 4px; padding: 1.25rem; text-align: center; margin-top: 1rem; }
.gp-cert-unlock-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.2rem; color: var(--gp-gold); margin-bottom: .3rem; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .gp-hdr-badge { display: none; }
  .gp-hero-title { font-size: 1.8rem; }
  .gp-panel { padding: 1rem; }
  .gp-hero { padding: 1.25rem; }
  .gp-hero-btns .gp-btn-gold, .gp-hero-btns .gp-btn-outline { width: 100%; text-align: center; }
  .gp-track-header { flex-direction: column; align-items: flex-start; }
  .gp-track-header-fee { text-align: left; }
  .gp-mod-head { flex-wrap: wrap; }
  .gp-cls-item { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .gp-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gp-prog-path { justify-content: center; }
}
