/* ================================================================
   DIGITEX.CSS — Precision Dark System
   Bebas Neue (display) + DM Mono (labels) + DM Sans (body)
   Navy #060C1D · Gold #C8A84B · Cream #F0EBE0
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --navy:        #060C1D;
  --navy-2:      #0A1228;
  --navy-3:      #0E1833;
  --navy-4:      #12203E;
  --navy-card:   #0C1630;
  --navy-border: #1A2A4A;

  --gold:        #C8A84B;
  --gold-hi:     #E2C46A;
  --gold-lo:     #9A7E34;
  --gold-glow:   rgba(200,168,75,.18);
  --gold-dim:    rgba(200,168,75,.08);

  --cream:       #F0EBE0;
  --slate:       #8A96A8;
  --slate-hi:    #B0BAC8;
  --white:       #FFFFFF;
  --success:     #3ECFB2;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;

  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.55,.45,1);
  --t:        0.28s;

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --font-body:    'DM Sans', sans-serif;

  --shadow-gold: 0 0 32px rgba(200,168,75,.2), 0 4px 20px rgba(0,0,0,.5);
  --shadow-card: 0 2px 24px rgba(0,0,0,.5);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scanline — signature texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,.06) 2px, rgba(0,0,0,.06) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

img    { max-width: 100%; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }

/* ── Type helpers ────────────────────────────────────────────── */
.sys-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.sys-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-border);
  letter-spacing: .1em;
  margin-bottom: 8px;
  display: block;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 112px);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--cream);
}
.display-title .t-gold    { color: var(--gold); }
.display-title .t-outline { -webkit-text-stroke: 1.5px var(--cream); color: transparent; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: .01em;
  color: var(--cream);
  margin-bottom: 12px;
}
.section-title .t-gold    { color: var(--gold); }
.section-title .t-outline { -webkit-text-stroke: 1px var(--cream); color: transparent; }

.section-sub {
  font-size: 15px;
  color: var(--slate-hi);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 2px 16px var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-hi);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,168,75,.35);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--gold-glow);
}

.btn-ghost {
  border: 1px solid var(--navy-border);
  color: var(--slate-hi);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--slate-hi);
  color: var(--cream);
  background: rgba(255,255,255,.03);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Reveal animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }
.d5 { transition-delay: .35s; }

/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,12,29,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  border-color: rgba(200,168,75,.2);
  box-shadow: 0 1px 0 rgba(200,168,75,.1), 0 8px 40px rgba(0,0,0,.6);
}

.nav {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--cream);
  flex-shrink: 0;
  margin-right: 40px;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.nav-logo-e   { color: var(--gold); }
.nav-logo-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 2px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: 0; flex: 1; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
}

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 8px 12px;
  transition: color var(--t);
}
.nav-login:hover { color: var(--cream); }

.nav-student-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(200,168,75,.25);
  padding: 5px 12px 5px 6px;
  border-radius: 100px;
}
.nav-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  flex-shrink: 0;
}
.nav-student-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .06em;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 98;
  backdrop-filter: blur(4px);
}
.mobile-backdrop.open { display: block; }

.mobile-nav {
  position: fixed;
  top: 64px; right: 0; bottom: 0;
  width: min(300px, 90vw);
  background: var(--navy-2);
  border-left: 1px solid var(--navy-border);
  z-index: 99;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-hi);
  padding: 13px 12px;
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t), padding-left var(--t);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--gold); padding-left: 18px; }
.mobile-nav a svg { width: 12px; height: 12px; opacity: .4; }
.mobile-nav-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* Student banner */
.student-banner {
  background: linear-gradient(90deg, rgba(200,168,75,.1), rgba(200,168,75,.05));
  border-bottom: 1px solid rgba(200,168,75,.2);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.student-banner-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--slate-hi);
}
.student-banner-text strong { color: var(--gold); }
.student-banner-link {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background var(--t);
}
.student-banner-link:hover { background: var(--gold-hi); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--navy-border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--navy-border);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--cream);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}
.footer-logo-e { color: var(--gold); }
.footer-tagline { font-size: 13px; color: var(--slate); line-height: 1.7; max-width: 220px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate);
  transition: all var(--t);
}
.footer-social:hover {
  background: var(--gold-dim);
  border-color: rgba(200,168,75,.3);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-social svg { width: 14px; height: 14px; }
.footer-col-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--slate); transition: color var(--t), padding-left var(--t); }
.footer-links a:hover { color: var(--cream); padding-left: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--slate); letter-spacing: .04em; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-family: var(--font-mono); font-size: 11px; color: var(--slate); transition: color var(--t); }
.footer-legal a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: clamp(420px, 85vh, 600px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--navy));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -180px; right: -120px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,168,75,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 100px 0 80px; }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--slate);
  border: 1px solid var(--navy-border);
  background: rgba(6,12,29,.7);
  padding: 7px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 40px;
}
.hero-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-cursor {
  display: inline-block;
  width: 4px;
  height: .85em;
  background: var(--gold);
  border-radius: 1px;
  vertical-align: middle;
  margin-left: 4px;
  animation: cursor-blink 1.1s step-end infinite;
}
@keyframes cursor-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-headline { margin-bottom: 28px; }
.hero-sub {
  font-size: 17px;
  color: var(--slate-hi);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 44px;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--navy-border);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 600px;
  background: var(--navy-2);
}
.hero-stat {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--navy-border);
  transition: background var(--t);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(200,168,75,.04); }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--slate);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════
   PROOF TICKER
════════════════════════════════════════════════════════════════ */
#proof {
  background: var(--navy-2);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  overflow: hidden;
}
.ticker-wrapper { display: flex; align-items: center; height: 52px; overflow: hidden; }
.ticker-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-hi);
  letter-spacing: .05em;
  border-right: 1px solid var(--navy-border);
  height: 52px;
}
.ticker-item .t-gold { color: var(--gold); font-weight: 600; }
.ticker-bullet { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ════════════════════════════════════════════════════════════════
   ENGINE SYSTEM (4 Pillars)
════════════════════════════════════════════════════════════════ */
.engine-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}
.engine-right-note {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  border-left: 1px solid var(--navy-border);
  padding-left: 24px;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy-border);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.engine-card {
  background: var(--navy-2);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--t);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.engine-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.engine-card:hover { background: var(--navy-3); }
.engine-card:hover::before { opacity: 1; }

.engine-card-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-border);
  letter-spacing: .15em;
  margin-bottom: 20px;
  transition: color var(--t);
}
.engine-card:hover .engine-card-num { color: var(--gold); }

.engine-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(200,168,75,.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--t);
  flex-shrink: 0;
}
.engine-card:hover .engine-icon { background: var(--gold); border-color: var(--gold); }
.engine-icon svg { width: 20px; height: 20px; color: var(--gold); }
.engine-card:hover .engine-icon svg { color: var(--navy); }

.engine-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1;
}
.engine-list { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 28px; }
.engine-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t);
}
.engine-card:hover .engine-list li { color: var(--slate-hi); }
.engine-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: .5;
  transition: opacity var(--t);
}
.engine-card:hover .engine-list li::before { opacity: 1; }

.engine-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,168,75,.25);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: all var(--t);
  background: var(--gold-dim);
  margin-top: auto;
}
.engine-card:hover .engine-card-cta { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.engine-card-cta svg { width: 11px; height: 11px; }

/* ════════════════════════════════════════════════════════════════
   WHY DIGITEX
════════════════════════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-body { font-size: 16px; color: var(--slate-hi); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }

.why-features {
  display: flex; flex-direction: column;
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-feature {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--navy-border);
  background: var(--navy-card);
  transition: background var(--t);
}
.why-feature:last-child { border-bottom: none; }
.why-feature:hover { background: var(--navy-3); }
.why-feature-icon {
  width: 36px; height: 36px;
  background: var(--gold-dim);
  border: 1px solid rgba(200,168,75,.15);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.why-feature:hover .why-feature-icon { background: var(--gold); border-color: var(--gold); }
.why-feature-icon svg { width: 16px; height: 16px; color: var(--gold); }
.why-feature:hover .why-feature-icon svg { color: var(--navy); }
.why-feature-title { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.why-feature-sub { font-size: 12px; color: var(--slate); font-family: var(--font-mono); letter-spacing: .03em; }

.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-block {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}
.stat-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.stat-block:hover { border-color: rgba(200,168,75,.3); transform: translateY(-2px); }
.stat-block:hover::after { opacity: 1; }
.stat-num { font-family: var(--font-display); font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: 8px; letter-spacing: .02em; }
.stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--slate); letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   COURSES
════════════════════════════════════════════════════════════════ */
.courses-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 36px; }

.course-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.course-card:hover { border-color: rgba(200,168,75,.3); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.course-thumb {
  aspect-ratio: 16/10;
  background: var(--navy-3);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.course-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; transition:transform var(--t); }
.course-card:hover .course-thumb img { transform: scale(1.04); }
.course-thumb-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(200,168,75,.2);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.course-thumb-icon svg { width: 20px; height: 20px; color: var(--gold); }
.course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.course-title { font-size: 15px; font-weight: 600; color: var(--cream); margin-bottom: 8px; line-height: 1.35; }
.course-desc { font-size: 13px; color: var(--slate); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.course-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.course-price { font-family: var(--font-display); font-size: 22px; color: var(--gold); letter-spacing: .02em; }
.course-btn {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: all var(--t);
  display: inline-flex; align-items: center; gap: 5px;
}
.course-btn:hover { background: var(--gold-hi); transform: translateY(-1px); }
.course-btn svg { width: 10px; height: 10px; }
.enrolled-tag { font-family: var(--font-mono); font-size: 11px; color: var(--success); letter-spacing: .06em; }

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.t-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: all var(--t);
}
.t-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--gold-dim);
  line-height: 1;
  pointer-events: none;
}
.t-card:hover { border-color: rgba(200,168,75,.2); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.t-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.t-stars svg { width: 13px; height: 13px; color: var(--gold); fill: var(--gold); }
.t-text { font-size: 14px; color: var(--cream); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.t-role { font-family: var(--font-mono); font-size: 10px; color: var(--slate); letter-spacing: .06em; }

/* ════════════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════════════ */
#cta {
  border-top: 1px solid var(--navy-border);
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,.06);
  pointer-events: none;
}
#cta::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,.08);
  pointer-events: none;
}
.cta-ring-inner {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,.12);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: .95; letter-spacing: .01em;
  color: var(--cream); margin-bottom: 16px;
}
.cta-title .t-gold    { color: var(--gold); }
.cta-title .t-outline { -webkit-text-stroke: 1.5px var(--cream); color: transparent; }
.cta-sub { font-size: 16px; color: var(--slate-hi); font-weight: 300; max-width: 420px; margin: 0 auto 44px; line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--navy-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: .95; letter-spacing: .01em;
  color: var(--cream); margin-bottom: 16px;
}
.page-title .t-gold { color: var(--gold); }
.page-sub { font-size: 17px; color: var(--slate-hi); font-weight: 300; max-width: 540px; line-height: 1.75; }

/* ════════════════════════════════════════════════════════════════
   GENERIC CARDS (reusable across pages)
════════════════════════════════════════════════════════════════ */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--t);
}
.card:hover { border-color: rgba(200,168,75,.25); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  background: var(--gold-dim);
  border: 1px solid rgba(200,168,75,.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--t);
}
.card:hover .card-icon { background: var(--gold); border-color: var(--gold); }
.card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.card:hover .card-icon svg { color: var(--navy); }
.card-title { font-size: 18px; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.card-body { font-size: 14px; color: var(--slate); line-height: 1.65; margin-bottom: 20px; }
.card-link {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t);
}
.card:hover .card-link { gap: 10px; }
.card-link svg { width: 11px; height: 11px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .engine-grid        { grid-template-columns: repeat(2,1fr); }
  .courses-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid           { grid-template-columns: 1fr; gap: 44px; }
  .engine-header      { grid-template-columns: 1fr; gap: 16px; }
  .engine-right-note  { border-left: none; padding-left: 0; border-top: 1px solid var(--navy-border); padding-top: 16px; }
  .card-grid-3        { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links          { display: none; }
  .nav-hamburger      { display: flex; }
  .nav-login          { display: none; }
  .section            { padding: 60px 0; }
  #hero               { min-height: auto; }
  .hero-inner         { padding: 80px 0 60px; }
  .hero-ctas          { flex-direction: column; align-items: flex-start; }
  .hero-stats         { flex-direction: column; max-width: 280px; }
  .hero-stat          { border-right: none; border-bottom: 1px solid var(--navy-border); }
  .hero-stat:last-child { border-bottom: none; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; text-align: center; }
  .student-banner     { flex-direction: column; text-align: center; }
  .why-stats          { grid-template-columns: 1fr 1fr; }
  .card-grid-3        { grid-template-columns: 1fr; }
  .card-grid-2        { grid-template-columns: 1fr; }
  .page-hero          { padding: 56px 0 44px; }
}
@media (max-width: 560px) {
  .engine-grid        { grid-template-columns: 1fr; }
  .courses-grid       { grid-template-columns: 1fr; }
  .cta-btns           { flex-direction: column; align-items: center; }
  .why-stats          { grid-template-columns: 1fr; }
  .display-title      { font-size: clamp(44px, 13vw, 72px); }
}
