/* ═══════════════════════════════════════════════
   TechPro Academy — Main Stylesheet
   Font: Plus Jakarta Sans (clean, no stretching)
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── RESET & BASE ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #e2e8f0;
  background: #020b18;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}
p { font-size: 0.9375rem; line-height: 1.7; color: #94a3b8; }
a { color: #38bdf8; text-decoration: none; transition: color .2s; }
a:hover { color: #7dd3fc; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── CSS VARIABLES ───────────────────────────── */
:root {
  --bg-0: #020b18;
  --bg-1: #060f1f;
  --bg-2: #0c1a30;
  --bg-3: #112240;
  --bg-card: #0d1f38;
  --border: rgba(56,189,248,.12);
  --border-strong: rgba(56,189,248,.32);
  --blue: #38bdf8;
  --blue-glow: rgba(56,189,248,.25);
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --purple: #8b5cf6;
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow: 0 2px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --trans: all .2s ease;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 3px; }

/* ── LAYOUT ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.page-top { padding: 100px 0 52px; background: var(--bg-1); border-bottom: 1px solid var(--border); }
.page-top h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

/* ── TYPOGRAPHY ──────────────────────────────── */
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.h3 { font-size: 1.25rem; }
.lead { font-size: 1.0625rem; color: var(--text-2); line-height: 1.75; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8125rem; }
.text-muted { color: var(--text-3); }
.text-2 { color: var(--text-2); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-red { color: var(--red); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Gradient heading */
.glow-text {
  background: linear-gradient(135deg, #f1f5f9 0%, var(--cyan) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION HEADER ──────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.25); color: var(--cyan);
  margin-bottom: 14px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 26px; border-radius: 50px; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: var(--trans); border: none; white-space: nowrap;
  text-decoration: none; letter-spacing: 0;
}
.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
  color: #fff; box-shadow: 0 4px 18px rgba(29,78,216,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,78,216,.4); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border-strong); color: var(--blue); }
.btn-outline:hover { background: rgba(56,189,248,.08); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text-1); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-success { background: var(--green); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: 0.8125rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ── BADGES ──────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.3px;
}
.badge-primary { background: rgba(56,189,248,.15); color: #7dd3fc; border: 1px solid rgba(56,189,248,.25); }
.badge-success { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.25); }
.badge-warning { background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.25); }
.badge-danger  { background: rgba(239,68,68,.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.badge-orange  { background: rgba(249,115,22,.15); color: #fdba74; border: 1px solid rgba(249,115,22,.25); }

/* ── FORMS ───────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 10px 14px; border-radius: var(--radius);
  background: rgba(0,0,0,.25); border: 1.5px solid var(--border);
  color: var(--text-1); font-size: 0.9rem; font-family: inherit;
  transition: var(--trans); outline: none; line-height: 1.5;
}
.form-control:focus { border-color: var(--blue); background: rgba(56,189,248,.04); }
.form-control::placeholder { color: var(--text-3); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: 0.75rem; color: var(--text-3); margin-top: 4px; }
.form-error { font-size: 0.75rem; color: var(--red); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-group { display: flex; gap: 0; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); flex: 1; }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }
/* Phone field */
.phone-group { display: flex; gap: 8px; }
.phone-group .country-sel { width: 145px; flex-shrink: 0; }
.phone-group .phone-inp { flex: 1; }
.alert {
  padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 18px;
}
.alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: #6ee7b7; }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.25);  color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); color: #fcd34d; }
.alert-info    { background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); color: #7dd3fc; }

/* ── NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 14px 0; transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(2,11,24,.95); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; color: var(--text-1); white-space: nowrap;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 13px; border-radius: 7px; font-size: 0.875rem;
  font-weight: 500; color: var(--text-2); transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 21px; height: 2px; background: var(--text-1); border-radius: 2px; transition: var(--trans); }
.mobile-nav {
  display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: rgba(2,11,24,.98); backdrop-filter: blur(16px);
  z-index: 899; padding: 20px; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  border-radius: var(--radius); color: var(--text-1); font-size: 0.9375rem;
  font-weight: 500; border-bottom: 1px solid var(--border);
}

/* ── URGENCY BAR ─────────────────────────────── */
#urgency-bar {
  background: linear-gradient(90deg, rgba(239,68,68,.12), rgba(245,158,11,.12));
  border-bottom: 1px solid rgba(239,68,68,.2);
  padding: 8px 24px; text-align: center; font-size: 0.8125rem;
  font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 9px;
  position: relative; z-index: 901;
}

/* ── HERO ────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(29,78,216,.16), transparent),
              var(--bg-0);
  padding-top: 80px;
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .7; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(56,189,248,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(56,189,248,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
  padding: 64px 0 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px;
  border-radius: 50px; background: rgba(29,78,216,.12); border: 1px solid rgba(29,78,216,.3);
  color: #93c5fd; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero-h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.03em; }
.hero-desc { font-size: 1.0625rem; color: var(--text-2); line-height: 1.75; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.75rem; font-weight: 800; color: var(--text-1); }
.hero-stat .num span { color: var(--cyan); }
.hero-stat .lbl { font-size: 0.75rem; color: var(--text-2); margin-top: 2px; }

/* Hero card */
.hero-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(29,78,216,.1);
  position: relative;
}
.hc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hc-icon { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #fff; flex-shrink: 0; }
.hc-title { font-size: 0.9375rem; font-weight: 700; }
.hc-sub { font-size: 0.75rem; color: var(--text-2); }
.hc-price-box { background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.hc-price-lbl { font-size: 0.6875rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.hc-price { font-size: 1.9rem; font-weight: 800; color: var(--text-1); transition: color .3s; }
.hc-price.rising { color: var(--orange); }
.hc-orig { font-size: 0.8125rem; color: var(--text-3); text-decoration: line-through; margin-top: 2px; }
.hc-rise { font-size: 0.6875rem; color: var(--orange); display: flex; align-items: center; gap: 3px; margin-top: 4px; }

/* Countdown */
.cd-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 14px; }
.cd-box { background: rgba(0,0,0,.4); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 5px; text-align: center; }
.cd-num { display: block; font-size: 1.35rem; font-weight: 800; color: var(--blue); }
.cd-lbl { font-size: 0.5625rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.mini-avs { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--text-2); margin-bottom: 14px; }
.av-stack { display: flex; }
.av-stack .av { width: 25px; height: 25px; border-radius: 50%; border: 2px solid var(--bg-card); background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #fff; margin-left: -8px; }
.av-stack .av:first-child { margin-left: 0; }

/* Float cards */
.float-card {
  position: absolute; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 13px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 9px; animation: float 4s ease-in-out infinite;
  white-space: nowrap; z-index: 2;
}
.fc1 { bottom: -16px; left: -32px; }
.fc2 { top: -16px; right: -16px; animation-delay: 2s; }
.fc-icon { font-size: 1rem; }
.fc-txt strong { display: block; font-size: 0.75rem; color: var(--text-1); }
.fc-txt span { font-size: 0.6875rem; color: var(--text-2); }

/* ── LIVE TICKER ─────────────────────────────── */
.ticker-bar { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 56px; animation: ticker 28s linear infinite; white-space: nowrap; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; color: var(--text-2); }
.t-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── COURSE CARDS ────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.course-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--trans); }
.course-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 12px 36px rgba(0,0,0,.4); }
.cc-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); position: relative; }
.cc-icon { width: 48px; height: 48px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: rgba(255,255,255,.04); border: 1px solid var(--border); margin-bottom: 12px; }
.cc-level-badge { position: absolute; top: 16px; right: 16px; }
.cc-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 5px; color: var(--text-1); }
.cc-desc { font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-body { padding: 14px 20px; }
.cc-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; font-size: 0.75rem; color: var(--text-2); }
.cc-meta-item { display: flex; align-items: center; gap: 4px; }
.cc-pricing { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.cc-price { font-size: 1.4rem; font-weight: 800; color: var(--text-1); }
.cc-price.rising { color: var(--orange); }
.cc-orig { font-size: 0.75rem; color: var(--text-3); text-decoration: line-through; margin-top: 1px; }
.cc-rise { font-size: 0.6875rem; color: var(--red); display: flex; align-items: center; gap: 3px; font-weight: 600; }
.progress-bar { height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; margin-bottom: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #1d4ed8, #0891b2); }
.cc-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cc-spots { font-size: 0.75rem; color: var(--text-3); }
.cc-spots strong { color: var(--orange); }
.cc-timer { display: flex; gap: 4px; font-size: 0.6875rem; font-weight: 700; }
.cc-timer .t { background: rgba(0,0,0,.4); padding: 3px 6px; border-radius: 4px; color: var(--blue); }

/* ── FILTER ROW ──────────────────────────────── */
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 36px; }
.filter-btn {
  padding: 7px 16px; border-radius: 50px; font-size: 0.8125rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text-2); background: transparent;
  cursor: pointer; transition: var(--trans); font-family: inherit;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(56,189,248,.08); }

/* ── LEAD CAPTURE FORM ───────────────────────── */
.lead-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.lead-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.lead-card-sub { font-size: 0.875rem; color: var(--text-2); margin-bottom: 22px; }
.price-live { font-size: 2rem; font-weight: 800; color: var(--text-1); }
.price-live.rising { color: var(--orange); }
.price-orig { font-size: 0.875rem; color: var(--text-3); text-decoration: line-through; }
.price-save { color: var(--green); font-weight: 700; font-size: 0.875rem; }
.price-rise-label { font-size: 0.75rem; color: var(--orange); display: flex; align-items: center; gap: 4px; margin-top: 3px; }

/* ── STEP CARDS ──────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; transition: var(--trans); }
.step-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1rem; font-weight: 800; color: #fff; }
.step-emoji { font-size: 1.75rem; margin-bottom: 12px; }
.step-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 7px; }
.step-desc { font-size: 0.8125rem; line-height: 1.6; }

/* ── FEATURE CARDS ───────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: var(--trans); }
.feat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 13px; }
.feat-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; }
.feat-desc { font-size: 0.8125rem; line-height: 1.65; }

/* ── REFERRAL ────────────────────────────────── */
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.ref-tier { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; transition: var(--trans); margin-bottom: 10px; }
.ref-tier:hover { border-color: var(--border-strong); }
.ref-tier-l { display: flex; align-items: center; gap: 10px; }
.ref-tier-ic { width: 36px; height: 36px; border-radius: 9px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.15); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.ref-tier-name { font-size: 0.875rem; font-weight: 600; }
.ref-tier-desc { font-size: 0.75rem; color: var(--text-2); }
.ref-rate { font-size: 1.3rem; font-weight: 800; color: var(--green); }
.ref-steps { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; }
.ref-step { display: flex; align-items: flex-start; gap: 13px; padding: 11px; background: rgba(0,0,0,.2); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 9px; }
.ref-step-n { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.ref-step-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.ref-step-desc { font-size: 0.8125rem; color: var(--text-2); }

/* ── TESTIMONIALS ────────────────────────────── */
.t-slider { overflow: hidden; }
.t-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.t-card { flex: 0 0 calc(33.333% - 14px); min-width: 260px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.t-card::before { content: '"'; position: absolute; top: 12px; right: 16px; font-size: 3rem; color: rgba(56,189,248,.1); font-family: Georgia,serif; line-height: 1; }
.t-stars { color: var(--orange); font-size: 0.8125rem; margin-bottom: 11px; letter-spacing: 2px; }
.t-text { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.t-name { font-size: 0.875rem; font-weight: 700; }
.t-role { font-size: 0.75rem; color: var(--text-3); }
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.sl-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--trans); }
.sl-btn:hover { border-color: var(--blue); color: var(--blue); }
.sl-dots { display: flex; gap: 5px; }
.sl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--trans); }
.sl-dot.active { background: var(--blue); width: 18px; border-radius: 4px; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--trans); }
.faq-item.open { border-color: var(--border-strong); }
.faq-q { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 0.9rem; gap: 10px; }
.faq-q .ic { color: var(--blue); font-size: 0.875rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 16px; }

/* ── CTA ─────────────────────────────────────── */
.cta-box { background: linear-gradient(135deg, rgba(29,78,216,.12), rgba(8,145,178,.08)); border: 1px solid rgba(56,189,248,.18); border-radius: var(--radius-xl); padding: 52px 36px; text-align: center; position: relative; overflow: hidden; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--bg-0); border-top: 1px solid var(--border); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand { font-size: 1.0625rem; font-weight: 800; color: var(--text-1); margin-bottom: 10px; }
.footer-desc { font-size: 0.8125rem; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 7px; }
.footer-social a { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: var(--trans); font-size: 0.875rem; }
.footer-social a:hover { border-color: var(--blue); color: var(--blue); }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; color: var(--text-1); margin-bottom: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 0.8125rem; color: var(--text-2); transition: var(--trans); }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p, .footer-bottom a { font-size: 0.75rem; color: var(--text-3); }
.footer-bottom a:hover { color: var(--blue); }

/* ── DASHBOARD / ADMIN LAYOUTS ───────────────── */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 32px 0; }
.dash-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; position: sticky; top: 86px; align-self: start; }
.sb-user { text-align: center; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 13px; }
.sb-av { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 10px; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: #fff; border: 2px solid rgba(56,189,248,.3); }
.sb-name { font-size: 0.9375rem; font-weight: 700; }
.sb-email { font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-nav a { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-size: 0.875rem; font-weight: 500; transition: var(--trans); }
.sb-nav a:hover, .sb-nav a.active { background: rgba(56,189,248,.08); color: var(--blue); }
/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px,1fr)); gap: 13px; margin-bottom: 20px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; }
.stat-label { font-size: 0.6875rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.stat-val { font-size: 1.65rem; font-weight: 800; color: var(--text-1); }
/* Content card */
.content-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 0.9375rem; font-weight: 700; }
.card-body { padding: 20px; }
/* Tables */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.tbl-wrap th { padding: 10px 14px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); border-bottom: 1px solid var(--border); text-align: left; background: var(--bg-card); }
.tbl-wrap td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
.tbl-wrap tr:last-child td { border-bottom: none; }
.tbl-wrap tr:hover td { background: rgba(255,255,255,.02); }
/* Wallet card */
.wallet-card { background: linear-gradient(135deg, rgba(29,78,216,.14), rgba(8,145,178,.08)); border: 1px solid rgba(56,189,248,.2); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.wallet-balance { font-size: 2.2rem; font-weight: 800; margin: 6px 0; }
/* Enrolled items */
.enrolled-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 16px; margin-bottom: 9px; display: flex; align-items: center; gap: 13px; transition: var(--trans); }
.enrolled-item:hover { border-color: var(--border-strong); }
.enr-icon { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
/* Settings cards */
.set-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.set-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 7px; }
/* Toggle */
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: rgba(0,0,0,.2); border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 8px; }
.tog-lbl { font-size: 0.875rem; color: var(--text-2); }
.tog { position: relative; width: 40px; height: 21px; flex-shrink: 0; }
.tog input { opacity: 0; width: 0; height: 0; }
.tog-track { position: absolute; inset: 0; background: rgba(255,255,255,.1); border-radius: 21px; transition: var(--trans); border: 1px solid var(--border); }
.tog input:checked + .tog-track { background: #1d4ed8; border-color: #1d4ed8; }
.tog-thumb { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: var(--trans); }
.tog input:checked ~ .tog-thumb { transform: translateX(19px); }
/* Ref link box */
.ref-link-box { background: rgba(0,0,0,.25); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 11px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.ref-link-txt { flex: 1; font-size: 0.8125rem; color: var(--cyan); font-family: monospace; word-break: break-all; }

/* ── SOCIAL PROOF TOASTS ─────────────────────── */
#sp-container { position: fixed; bottom: 20px; left: 20px; z-index: 999; display: flex; flex-direction: column-reverse; gap: 8px; max-width: 300px; }
.sp-toast { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 13px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); animation: slideL .35s ease; }
@keyframes slideL { from{transform:translateX(-110%);opacity:0} to{transform:translateX(0);opacity:1} }
.sp-av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#1d4ed8,#0891b2); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.sp-msg { font-size: 0.75rem; color: var(--text-2); line-height: 1.4; }
.sp-msg strong { color: var(--text-1); }
.sp-time { font-size: 0.625rem; color: var(--text-3); margin-top: 2px; }

/* ── NOTIF TOASTS (top right) ────────────────── */
#notif-bar { position: fixed; top: 76px; right: 20px; z-index: 9000; display: flex; flex-direction: column; gap: 8px; max-width: 330px; }
.notif { background: var(--bg-card); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 11px 14px; box-shadow: var(--shadow-lg); animation: slideR .35s ease; display: flex; align-items: flex-start; gap: 9px; font-size: 0.8125rem; }
.notif.success { border-left-color: var(--green); }
.notif.error   { border-left-color: var(--red); }
.notif.warning { border-left-color: var(--orange); }
@keyframes slideR { from{transform:translateX(110%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── MISC UTILITIES ──────────────────────────── */
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .6s linear infinite; display: inline-block; }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.flashing { animation: flash .4s ease; }
@keyframes flash { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── COURSE DETAIL PAGE ──────────────────────── */
.cd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 38px; align-items: start; padding: 40px 0; }
.cd-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; position: sticky; top: 86px; }
.curr-item { background: rgba(0,0,0,.2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; font-size: 0.875rem; }
.curr-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.2); display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.checklist { display: flex; flex-direction: column; gap: 7px; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: var(--text-2); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.checklist li i { color: var(--green); margin-top: 2px; flex-shrink: 0; width: 14px; }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outcome-item { background: rgba(0,0,0,.2); border-radius: var(--radius-sm); padding: 8px; font-size: 0.8125rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 7px; }
.outcome-item i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* ── MODALS ──────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 5000; background: rgba(0,0,0,.85); backdrop-filter: blur(7px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-xl); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; animation: modalIn .28s ease; }
.modal-wide { max-width: 740px; }
@keyframes modalIn { from{opacity:0;transform:scale(.94) translateY(16px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-hd { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; }
.modal-title { font-size: 1.0625rem; font-weight: 700; }
.modal-x { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.06); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-2); transition: var(--trans); font-size: 1rem; }
.modal-x:hover { background: rgba(239,68,68,.2); color: var(--red); }
.modal-body { padding: 20px 24px; }
.order-box { background: rgba(0,0,0,.2); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; margin-bottom: 14px; }
.order-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.875rem; color: var(--text-2); border-bottom: 1px solid rgba(255,255,255,.04); }
.order-row:last-child { border-bottom: none; color: var(--text-1); font-weight: 700; font-size: 0.9375rem; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 16px; }
.pay-method { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px; cursor: pointer; transition: var(--trans); text-align: center; }
.pay-method:hover, .pay-method.active { border-color: var(--blue); background: rgba(56,189,248,.06); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card-col { display: none; }
  .ref-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cd-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-outline { display: none; }
  section { padding: 64px 0; }
  .courses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .t-card { flex: 0 0 85%; }
  .hero-btns .btn { width: 100%; }
  .pay-methods { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .outcome-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
