/* ==========================================================================
   WiBA ACADEMY — STYLESHEET
   Design System extracted from https://womeninblockchain.africa/
   Colors: Gold (#E4C527), Ink (#0B0B0F), Midnight Navy (#17172F), Cream (#FAF5EB)
   Fonts: Fraunces (Display Serif) & Hanken Grotesk (Body Sans)
   ========================================================================== */

/* ---------- CSS VARIABLES / DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --gold: #E4C527;
  --gold-dark: #C9A921;
  --gold-deep: #7E630D;
  --gold-light: #FDF9E7;
  --gold-glow: rgba(228, 197, 39, 0.22);
  --gold-bright: #F2CC0C;
  
  /* Dark Shades */
  --ink: #0B0B0F;
  --navy: #17172F;
  --navy-2: #101022;
  --navy-surface: #1B1B36;
  --navy-card: #202040;
  
  /* Light & Cream Shades */
  --cream: #FAF5EB;
  --cream-2: #F2ECDD;
  --white: #FFFFFF;
  --line: #E7E1D3;
  --line-dark: #2A2A48;
  
  /* Neutral / Functional */
  --muted: #6B6B76;
  --muted-light: #9CA3AF;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --danger: #B3261E;
  --danger-bg: #FEE2E2;
  
  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  
  --shadow-sm: 0 2px 8px rgba(11, 11, 15, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(11, 11, 15, 0.1);
  --shadow-lg: 0 20px 45px -15px rgba(11, 11, 15, 0.18);
  --shadow-gold: 0 10px 28px -6px rgba(228, 197, 39, 0.45);
  
  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

.cream-bg {
  background-color: var(--cream);
}

.navy-bg {
  background: linear-gradient(155deg, var(--ink) 0%, var(--navy-2) 50%, var(--navy) 100%);
  color: var(--white);
}

.white-text { color: var(--white) !important; }
.gold-text { color: var(--gold) !important; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
}

p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: #D1D5DB;
  font-weight: 400;
  line-height: 1.7;
}

p.lead-light {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

/* WiBA Signature Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.gold-gradient {
  background: linear-gradient(135deg, #FFE873 0%, var(--gold) 45%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Gold Primary Button */
.btn-gold {
  background-color: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

/* Outline Light Button */
.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(228, 197, 39, 0.08);
}

/* Dark Outline Button */
.btn-outline-dark {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline-dark:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  background-color: var(--cream);
}

/* Glass Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- ANNOUNCEMENT BANNER ---------- */
.announcement-banner {
  background: #06060A;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(228, 197, 39, 0.2);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(228, 197, 39, 0.15);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(228, 197, 39, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(228, 197, 39, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 197, 39, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(228, 197, 39, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 197, 39, 0); }
}

.banner-cta {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.banner-cta:hover {
  color: var(--white);
}

/* ---------- STICKY HEADER & NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -4px rgba(11, 11, 15, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.academy-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  background: var(--ink);
  color: var(--gold);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* Nav Links */
.nav-desktop .nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--tr-fast);
}

.nav-link:hover {
  color: var(--gold-deep);
  background: rgba(228, 197, 39, 0.14);
}

/* Nav Dropdown */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-btn .dropdown-chevron {
  transition: transform var(--tr-fast);
}

.nav-dropdown-wrap:hover .nav-dropdown-btn .dropdown-chevron,
.nav-dropdown-wrap.open .nav-dropdown-btn .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #101022;
  border: 1px solid rgba(228, 197, 39, 0.35);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 290px;
  list-style: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #101022;
  border-top: 1px solid rgba(228, 197, 39, 0.35);
  border-left: 1px solid rgba(228, 197, 39, 0.35);
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--white);
  text-decoration: none;
  transition: all var(--tr-fast);
}

.nav-dropdown-item:hover {
  background: rgba(228, 197, 39, 0.14);
}

.dropdown-item-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-text strong {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 700;
}

.dropdown-item-text small {
  font-size: 0.74rem;
  color: var(--muted-light);
  margin-top: 2px;
}

.nav-dropdown-item:hover .dropdown-item-text strong {
  color: var(--gold);
}

.nav-dropdown-item-featured {
  background: rgba(228, 197, 39, 0.12);
  border: 1px dashed rgba(228, 197, 39, 0.45);
  margin-top: 6px;
}

.nav-dropdown-item-featured:hover {
  background: rgba(228, 197, 39, 0.22);
  border-color: var(--gold);
}

.nav-dropdown-item-featured .dropdown-item-text strong {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher */
.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  gap: 3px;
}

.geo-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 8px;
  background: rgba(11, 11, 15, 0.05);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: all var(--tr-fast);
  user-select: none;
}

.geo-status-indicator.detected {
  background: rgba(228, 197, 39, 0.18);
  color: #7E630D;
  border: 1px solid rgba(228, 197, 39, 0.35);
}

.geo-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(228, 197, 39, 0.4);
  display: inline-block;
  animation: geoPulseAnim 2.2s infinite ease-in-out;
}

@keyframes geoPulseAnim {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 0 4px rgba(228, 197, 39, 0.15); }
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--tr-fast);
}

.lang-btn.active {
  background: var(--ink);
  color: var(--gold);
}

.lang-btn:not(.active):hover {
  color: var(--ink);
}

.lang-divider {
  color: var(--muted-light);
  font-size: 0.75rem;
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--tr-fast);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--navy-2);
  color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-link {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  display: block;
  padding: 8px 0;
}

.mobile-link:hover {
  color: var(--gold);
}

.mobile-jobs-group {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-jobs-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 4px 4px;
}

.mobile-nav-heading {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 4px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4px;
}

.mobile-sublink {
  font-size: 1rem !important;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: all var(--tr-fast);
}

.mobile-sublink:hover {
  background: rgba(228, 197, 39, 0.15);
  color: var(--gold);
}

.mobile-credit-item {
  background: rgba(228, 197, 39, 0.12) !important;
  border: 1px dashed rgba(228, 197, 39, 0.45);
}

.mobile-credit-item strong {
  color: var(--gold);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-lang-switch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.drawer-lang-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.drawer-geo-indicator {
  font-size: 0.74rem;
  color: var(--gold);
  background: rgba(228, 197, 39, 0.16);
  border: 1px solid rgba(228, 197, 39, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.drawer-lang-buttons {
  display: flex;
  gap: 8px;
}

.drawer-lang-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--tr-fast);
}

.drawer-lang-btn.active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-color: var(--gold);
}

/* ---------- HERO SECTION ---------- */
.hero {
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(228, 197, 39, 0.15), transparent 70%),
    radial-gradient(600px 400px at 15% 90%, rgba(23, 23, 47, 0.8), transparent 70%),
    linear-gradient(160deg, var(--ink) 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: var(--white);
  padding: 110px 0 100px;
  overflow: hidden;
  position: relative;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.halo-1 {
  width: 480px;
  height: 480px;
  background: rgba(228, 197, 39, 0.12);
  top: -100px;
  right: -80px;
}

.halo-2 {
  width: 400px;
  height: 400px;
  background: rgba(126, 99, 13, 0.18);
  bottom: 0;
  left: -100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-title {
  margin-bottom: 22px;
}

.hero-lead {
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-feature-tags {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-tag svg {
  color: var(--gold);
}

/* Interactive Preview Card in Hero */
.interactive-preview-card {
  background: rgba(16, 16, 34, 0.75);
  border: 1px solid rgba(228, 197, 39, 0.28);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(228, 197, 39, 0.1);
  overflow: hidden;
}

.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.lms-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.live-blink {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}

.card-glass-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: all var(--tr-fast);
}

.preview-track-item.active,
.preview-track-item:hover {
  background: rgba(228, 197, 39, 0.08);
  border-color: rgba(228, 197, 39, 0.35);
}

.preview-track-icon {
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.preview-track-info {
  flex: 1;
}

.preview-track-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.preview-track-meta {
  font-size: 0.75rem;
  color: var(--muted-light);
}

.progress-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(228, 197, 39, 0.15);
  color: var(--gold);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.preview-student-stat {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 2px solid var(--navy-2);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  margin-left: -8px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.avatar-count {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy-2);
  margin-left: -8px;
}

.avatar-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

/* ---------- KEY METRICS STRIP ---------- */
.stats-strip {
  background: var(--ink);
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--muted-light);
}

/* ---------- MISSION & SPLIT LAYOUT ---------- */
.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.image-frame {
  position: relative;
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -24px;
  right: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.gold-star {
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.floating-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.floating-badge p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.split-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--tr-fast);
}

.pillar-item:hover {
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.6rem;
  line-height: 1;
  padding-top: 2px;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

/* ---------- CURRICULUM & 4 FIELDS (TRACKS) ---------- */
.tracks-section {
  background: var(--white);
}

.tracks-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.track-tabs {
  display: inline-flex;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.tab-btn.active {
  background: var(--ink);
  color: var(--gold);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  min-width: 260px;
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--ink);
  width: 100%;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.track-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
  position: relative;
}

.track-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.track-icon-badge {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.track-badges {
  display: flex;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-level {
  background: rgba(228, 197, 39, 0.16);
  color: var(--gold-deep);
}

.badge-modules {
  background: var(--cream-2);
  color: var(--muted);
}

.badge-gold {
  background: var(--gold);
  color: var(--ink);
}

.badge-price {
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.unlock-track-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.unlock-track-btn.unlocked {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.unlock-track-btn.unlocked:hover {
  background: #15803d;
}

.unlock-summary-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.unlock-price-highlight {
  color: var(--gold-deep);
  font-size: 1.15rem;
  font-weight: 800;
}

.local-fx {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: normal;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.pay-method-card {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.pay-method-card input[type="radio"] {
  display: none;
}

.pay-method-card:hover {
  border-color: var(--gold);
}

.pay-method-card.active {
  border-color: var(--ink);
  background: var(--cream);
  box-shadow: 0 4px 12px rgba(11, 11, 15, 0.08);
}

.pay-method-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.pay-method-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.pay-method-sub {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

.track-field-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.track-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.track-desc {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.curriculum-preview {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.curriculum-head {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 10px;
}

.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-list li {
  font-size: 0.88rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.check-mark {
  color: var(--success);
  font-weight: bold;
}

.track-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- INTERACTIVE CLASSROOM ENGINE ---------- */
.classroom-section {
  padding: 100px 0;
}

.lms-classroom-window {
  background: var(--navy-2);
  border: 1px solid rgba(228, 197, 39, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 70px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.classroom-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #090912;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mac-dot.r { background: #FF5F56; }
.mac-dot.y { background: #FFBD2E; }
.mac-dot.g { background: #27C93F; }

.window-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-light);
  margin-left: 10px;
}

.track-dropdown {
  background: var(--navy-surface);
  border: 1px solid rgba(228, 197, 39, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.classroom-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 560px;
}

/* Classroom Sidebar */
.classroom-sidebar {
  background: #0D0D1A;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 8px;
}

.sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.lesson-count-badge {
  font-size: 0.72rem;
  background: rgba(228, 197, 39, 0.15);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.classroom-lesson-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.classroom-lesson-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 1px solid transparent;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.classroom-lesson-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.classroom-lesson-btn.active {
  background: rgba(228, 197, 39, 0.12);
  border-color: rgba(228, 197, 39, 0.4);
  color: var(--gold);
  font-weight: 600;
}

.lesson-status-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.classroom-lesson-btn.locked-lesson {
  opacity: 0.65;
  border-left: 2px dashed rgba(228, 197, 39, 0.4);
}

.classroom-lesson-btn.locked-lesson:hover {
  opacity: 0.9;
  border-left-color: var(--gold);
}

.locked-lesson-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background: rgba(11, 11, 15, 0.65);
  border: 1px dashed rgba(228, 197, 39, 0.4);
  border-radius: var(--radius-lg);
  margin: auto 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lock-big-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 14px rgba(228, 197, 39, 0.4));
}

.locked-lesson-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 12px;
}

.locked-lesson-overlay p {
  color: var(--muted-light);
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Classroom Main Viewer */
.classroom-main-view {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  max-height: 720px;
}

.lesson-breadcrumbs {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lesson-view-title {
  font-size: 1.85rem;
  color: var(--white);
  font-family: var(--font-display);
}

.lesson-view-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.lesson-visual-card {
  background: var(--navy-surface);
  border: 1px solid rgba(228, 197, 39, 0.2);
  border-radius: var(--radius-md);
  padding: 22px;
}

.code-snippet-box {
  background: #080811;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #8ED1FC;
  overflow-x: auto;
  line-height: 1.6;
}

.takeaway-box {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(228, 197, 39, 0.08);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--white);
}

/* Interactive Knowledge Check inside Classroom */
.knowledge-check-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 12px;
}

.kc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.kc-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.kc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.kc-question {
  font-size: 1.02rem;
  color: var(--white);
  margin-bottom: 16px;
}

.kc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.kc-option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--tr-fast);
}

.kc-option-label:hover {
  border-color: var(--gold);
}

.kc-option-label input[type="radio"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}

.kc-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
}

.kc-feedback.correct {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
  color: #86EFAC;
}

.kc-feedback.incorrect {
  display: block;
  background: rgba(179, 38, 30, 0.18);
  border: 1px solid var(--danger);
  color: #FCA5A5;
}

.classroom-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- INTERACTIVE QUIZ SECTION ---------- */
.quiz-section {
  background: var(--cream);
}

.quiz-app-card {
  max-width: 860px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quiz-track-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.quiz-tab {
  background: none;
  border: none;
  padding: 16px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--tr-fast);
  text-align: center;
}

.quiz-tab.active {
  background: var(--white);
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.quiz-tab:hover:not(.active) {
  color: var(--ink);
}

.quiz-container {
  padding: 40px;
}

.quiz-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: var(--cream);
  border-radius: 4px;
  margin-bottom: 28px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.quiz-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.quiz-question-text {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.quiz-opt-btn {
  width: 100%;
  text-align: left;
  background: var(--cream);
  border: 2px solid var(--line);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--tr-fast);
}

.quiz-opt-btn:hover {
  border-color: var(--gold);
  background: var(--white);
}

.quiz-opt-btn.selected {
  border-color: var(--ink);
  background: var(--white);
  font-weight: 600;
}

.quiz-opt-btn.correct-choice {
  background: var(--success-bg) !important;
  border-color: var(--success) !important;
  color: #14532D !important;
  font-weight: 700;
}

.quiz-opt-btn.wrong-choice {
  background: var(--danger-bg) !important;
  border-color: var(--danger) !important;
  color: #7F1D1D !important;
}

.opt-letter {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.quiz-explanation-box {
  padding: 16px 20px;
  background: var(--cream-2);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.5;
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Quiz Completion Result Screen */
.quiz-result-view {
  text-align: center;
  padding: 30px 20px;
}

.result-emoji {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.result-score-tag {
  display: inline-block;
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.result-message {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- CERTIFICATE STUDIO ---------- */
.certificate-section {
  background: var(--white);
}

.cert-studio-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.cert-controls-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.controls-heading {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--tr-fast);
}

.form-control:focus {
  border-color: var(--gold);
}

.cert-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.cert-verification-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.shield-icon {
  font-size: 1.2rem;
}

/* Official WiBA Certificate Frame */
.cert-preview-wrapper {
  background: #ECE6D8;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.certificate-frame {
  background: #FCF9F2;
  border-radius: 4px;
  box-shadow: 0 15px 45px rgba(11, 11, 15, 0.2);
  min-width: 680px;
}

.cert-border-outer {
  border: 10px solid #1E1E34;
  padding: 6px;
  background: #FAF5EB;
}

.cert-border-inner {
  border: 2px solid var(--gold);
  padding: 38px 44px;
  background: #FFFDF9;
  position: relative;
  background-image: radial-gradient(circle at center, rgba(228, 197, 39, 0.04) 0%, transparent 70%);
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cert-logo {
  height: 44px;
  width: auto;
}

.cert-badge-gold {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.cert-body {
  text-align: center;
  margin: 20px 0 32px;
}

.cert-presents {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.cert-recipient-name {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 12px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}

.cert-fulfillment-text {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 14px;
  line-height: 1.5;
}

.cert-track-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.cert-subtext {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}

.cert-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cert-signature-block {
  text-align: center;
  width: 170px;
}

.signature-line {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.sig-script {
  font-family: "Fraunces", cursive, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}

.sig-title {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.cert-seal {
  display: flex;
  justify-content: center;
}

.seal-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE873, var(--gold), var(--gold-dark));
  padding: 4px;
  box-shadow: 0 4px 14px rgba(228, 197, 39, 0.4);
}

.seal-inner-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px dashed var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.seal-star {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1;
}

.seal-text {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.1;
}

.seal-year {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
}

.cert-meta-bar {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
}

.status-valid {
  color: var(--success);
  font-weight: 700;
}

/* PRINT MEDIA QUERY FOR CERTIFICATE */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-certificate, #printable-certificate * {
    visibility: visible;
  }
  #printable-certificate {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  @page {
    size: landscape;
    margin: 1cm;
  }
}

/* ---------- CAREERS & TALENT NETWORK ---------- */
.careers-section {
  padding: 100px 0;
  position: relative;
}

.careers-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.career-action-card {
  background: var(--navy-surface);
  border: 1px solid rgba(228, 197, 39, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-fast), border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.career-action-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.career-action-card.apply-card {
  border-top: 4px solid var(--gold);
}

.career-action-card.hire-card {
  border-top: 4px solid #8ED1FC;
}

.career-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.career-icon-box {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(228, 197, 39, 0.12);
  display: grid;
  place-items: center;
}

.career-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.career-card-desc {
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.career-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.career-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--white);
}

.career-card-actions {
  margin-top: auto;
}

/* Featured Roles Showcase */
.careers-roles-showcase {
  background: rgba(11, 11, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.showcase-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.showcase-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.role-item-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--tr-fast);
}

.role-item-card:hover {
  border-color: var(--gold);
  background: rgba(228, 197, 39, 0.06);
}

.role-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.role-track-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.role-type-badge {
  font-size: 0.72rem;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.role-job-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.role-job-meta {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.role-item-card .btn-quick-apply {
  align-self: flex-start;
}

/* ---------- TESTIMONIALS & COMMUNITY ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -10px;
}

.quote-text {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.author-name {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.author-role {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-accordion {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--tr-fast);
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-chevron {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-deep);
  transition: transform var(--tr-fast);
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- CALL TO ACTION BAND ---------- */
.cta-band {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-text {
  max-width: 640px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #06060A;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all var(--tr-fast);
}

.social-link:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-head {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--tr-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-badges {
  display: flex;
  gap: 10px;
}

.tech-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--gold);
}

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card.modal-card-lg {
  max-width: 740px;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-header {
  position: relative;
  margin-bottom: 24px;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-icon {
  font-size: 1.5rem;
}

.modal-title {
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
}

.modal-close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--cream);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all var(--tr-fast);
}

.modal-close-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 4px;
}

.enroll-success-box {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 14px;
}

.enroll-success-box h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.enroll-success-box p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Credit Package Selection Grid */
.credit-package-group {
  margin-bottom: 20px;
}

.credit-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.credit-pack-card {
  position: relative;
  border: 2px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 10px 10px;
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  flex-direction: column;
  gap: 3px;
  user-select: none;
}

.credit-pack-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.credit-pack-card:hover {
  border-color: var(--gold-dark);
}

.credit-pack-card.active {
  border-color: var(--gold);
  background: #FFFDF5;
  box-shadow: 0 4px 14px rgba(228, 197, 39, 0.25);
}

.credit-pack-card.best-value {
  border-color: rgba(228, 197, 39, 0.75);
}

.pack-badge {
  position: absolute;
  top: -9px;
  right: 8px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.credit-pack-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.credit-pack-credits {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
}

.credit-pack-price {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gold-deep);
}

.credit-pack-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 600px) {
  .credit-packages-grid {
    grid-template-columns: 1fr;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--ink);
  color: var(--white);
  border-left: 4px solid var(--gold);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  .cert-studio-layout {
    grid-template-columns: 1fr;
  }
  .classroom-body {
    grid-template-columns: 1fr;
  }
  .classroom-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-desktop,
  .header-enroll-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .quiz-track-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .classroom-main-view {
    padding: 24px 16px;
  }
  .quiz-container {
    padding: 24px 16px;
  }
}
