:root {
  --blue-900: #0a1628;
  --blue-800: #0f2044;
  --blue-700: #1a3a6e;
  --blue-600: #1e4db7;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --accent:       #f59e0b;
  --accent-light: #fef3c7;
  --green:  #10b981;
  --white:  #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:    16px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(37,99,235,0.10);
  --shadow-lg: 0 12px 48px rgba(37,99,235,0.18);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
nav:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--blue-600); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.nav-logo span {
  background: var(--blue-600); color: white;
  padding: 2px 8px; border-radius: 6px; font-size: 1.1rem;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-weight: 500; font-size: 0.95rem;
  transition: color .2s;
  position: relative; padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue-500);
  transform: scaleX(0); transition: transform .2s;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--blue-600); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all .2s; border: none; text-decoration: none;
}
.btn-outline {
  background: transparent; border: 2px solid var(--blue-500);
  color: var(--blue-500);
}
.btn-outline:hover { background: var(--blue-50); }
.btn-primary {
  background: var(--blue-600); color: var(--white);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,.4);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-accent {
  background: var(--accent); color: var(--blue-900);
  box-shadow: 0 4px 12px rgba(245,158,11,.3);
  font-size: 1rem; padding: 14px 32px;
}
.btn-accent:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,.4);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4); color: white;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-500) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 100px 2rem 60px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25; pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px; background: var(--blue-400);
  top: -100px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 350px; height: 350px; background: var(--accent);
  bottom: -80px; left: 10%;
  animation: float2 10s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-30px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}


.hero-content {
  animation: fadeUp .8s ease both;
}
.hero-visual {
  animation: fadeUp .8s .2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--blue-100); padding: 6px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -1px; margin-bottom: 20px;
}
.hero-title .highlight {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), #f97316);
  -webkit-background-clip: text; background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.75);
  line-height: 1.7; max-width: 480px;
  margin-bottom: 36px; font-weight: 300;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 800; color: var(--white);
}
.hero-stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,.55); margin-top: 2px; }

/* Hero card stack */
.hero-visual { position: relative; }
.course-card-stack { position: relative; }
.course-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 20px 24px;
  backdrop-filter: blur(16px); color: white;
  transition: transform .3s;
}
.course-card:hover { transform: translateY(-4px); }
.course-card + .course-card { margin-top: 12px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 12px;
}
.card-html .card-icon { background: rgba(239,68,68,.2); }
.card-css  .card-icon { background: rgba(59,130,246,.2); }
.card-js   .card-icon { background: rgba(245,158,11,.2); }
.card-title-sm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; margin-bottom: 4px;
}
.card-subtitle { font-size: 0.8rem; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.card-progress { height: 5px; background: rgba(255,255,255,.15); border-radius: 50px; overflow: hidden; }
.card-bar { height: 100%; border-radius: 50px; }
.card-html .card-bar { background: #ef4444; width: 85%; }
.card-css  .card-bar { background: #3b82f6; width: 65%; }
.card-js   .card-bar { background: var(--accent); width: 50%; }
.card-meta {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 0.75rem; color: rgba(255,255,255,.45);
}

/* ===== SECTION COMMON ===== */
section { padding: 90px 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--blue-500); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--blue-900); letter-spacing: -0.5px;
  line-height: 1.15; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--gray-600);
  max-width: 560px; line-height: 1.7; margin-bottom: 24px;
}
.section-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* CSS scroll-driven animation (modern browsers) */
@supports (animation-timeline: scroll()) {
  .course-item,
  .dashboard-feat,
  .thread-card,
  .quiz-feat {
    animation: fadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }
}

/* ===== INFO STRIP ===== */
.info-strip { background: var(--blue-600); padding: 0; margin: 0; }
.info-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  padding: 28px 2rem; flex-wrap: wrap; gap: 24px;
}
.info-item { display: flex; align-items: center; gap: 14px; color: white; }
.info-icon { font-size: 1.8rem; }
.info-text-lbl {
  font-size: 0.78rem; color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: 1px;
}
.info-text-val { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.info-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ===== COURSE ===== */
#course { background: var(--gray-50); }
.courses-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.course-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 24px;
}
.course-item {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.course-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}
.course-item-header { padding: 28px 24px 20px; position: relative; }
.course-lang-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 50px; letter-spacing: 1px; text-transform: uppercase;
}
.course-big-icon { font-size: 2.8rem; margin-bottom: 16px; }
.course-name {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--blue-900); margin-bottom: 6px;
}
.course-tagline { font-size: 0.88rem; color: var(--gray-600); line-height: 1.5; }
.course-item-body { padding: 0 24px 24px; }
.course-topics { list-style: none; margin-bottom: 20px; }
.course-topics li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--gray-600); padding: 5px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.course-topics li:last-child { border: none; }
.topic-check { color: var(--green); font-weight: 700; }
.course-footer { display: flex; justify-content: space-between; align-items: center; }
.course-meta-tag {
  font-size: 0.75rem; font-weight: 600;
  color: var(--blue-500); background: var(--blue-50);
  padding: 4px 10px; border-radius: 50px;
}

/* Course color themes */
.theme-html { border-top: 4px solid #ef4444; }
.theme-html .course-lang-badge { background: #fef2f2; color: #ef4444; }
.theme-css  { border-top: 4px solid #3b82f6; }
.theme-css  .course-lang-badge { background: var(--blue-50); color: var(--blue-600); }
.theme-js   { border-top: 4px solid var(--accent); }
.theme-js   .course-lang-badge { background: var(--accent-light); color: #92400e; }
.theme-php  { border-top: 4px solid #8b5cf6; }
.theme-php  .course-lang-badge { background: #f5f3ff; color: #8b5cf6; }

/* ===== DASHBOARD ===== */
#dashboard { background: white; }
.dashboard-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.dashboard-features {
  list-style: none; margin-top: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.dashboard-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: border-color .2s, background .2s;
}
.dashboard-feat:hover { border-color: var(--blue-300); background: var(--blue-50); }
.feat-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem;
}
.feat-icon-blue  { background: var(--blue-50); }
.feat-icon-green { background: #f0fdf4; }
.feat-icon-amber { background: var(--accent-light); }
.feat-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: var(--blue-900); margin-bottom: 4px;
}
.feat-desc { font-size: 0.87rem; color: var(--gray-600); line-height: 1.5; }

/* Dashboard mock */
.dash-mock {
  background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200); padding: 24px;
  box-shadow: var(--shadow);
}
.dash-mock-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.dash-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
}
.dash-user-name { font-weight: 700; font-size: 0.95rem; color: var(--blue-900); }
.dash-user-sub  { font-size: 0.78rem; color: var(--gray-400); }
.dash-overall {
  background: var(--blue-600); border-radius: 12px;
  padding: 16px 20px; color: white; margin-bottom: 16px;
}
.dash-overall-lbl { font-size: 0.78rem; opacity: .7; margin-bottom: 6px; }
.dash-overall-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.dash-overall-bar {
  height: 6px; background: rgba(255,255,255,.2);
  border-radius: 50px; margin-top: 10px; overflow: hidden;
}
.dash-overall-fill { height: 100%; width: 65%; background: var(--accent); border-radius: 50px; }
.dash-modules { display: flex; flex-direction: column; gap: 10px; }
.dash-mod {
  background: white; border-radius: 10px;
  padding: 12px 16px; border: 1px solid var(--gray-200);
}
.dash-mod-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px;
}
.dash-mod-name { font-size: 0.85rem; font-weight: 600; color: var(--blue-900); }
.dash-mod-pct  { font-size: 0.8rem; font-weight: 700; }
.dash-mod-bar  { height: 4px; background: var(--gray-200); border-radius: 50px; overflow: hidden; }
.dash-mod-fill { height: 100%; border-radius: 50px; }

/* ===== FORUM ===== */
#forum { background: var(--gray-50); }
.forum-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.forum-threads { display: flex; flex-direction: column; gap: 14px; }
.thread-card {
  background: white; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); padding: 16px 20px;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.thread-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow); }
.thread-top { display: flex; align-items: flex-start; gap: 12px; }
.thread-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: white;
}
.thread-title   { font-weight: 600; font-size: 0.92rem; color: var(--blue-900); margin-bottom: 4px; }
.thread-preview { font-size: 0.8rem; color: var(--gray-600); line-height: 1.4; }
.thread-footer {
  display: flex; gap: 16px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.thread-tag  { font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 50px; }
.thread-meta { font-size: 0.75rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

/* ===== QUIZ ===== */
#quiz { background: white; }
.quiz-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.quiz-mock {
  background: var(--blue-900); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.quiz-mock-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
}
.quiz-mock-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; color: white;
}
.quiz-timer {
  background: var(--accent); color: var(--blue-900);
  font-weight: 700; font-size: 0.85rem;
  padding: 4px 12px; border-radius: 50px;
}
.quiz-q {
  font-size: 0.95rem; color: rgba(255,255,255,.9);
  line-height: 1.6; margin-bottom: 20px; font-weight: 300;
}
.quiz-code {
  display: block; margin-top: 8px;
  background: rgba(255,255,255,.07);
  padding: 10px; border-radius: 8px;
  font-size: 0.82rem; color: #93c5fd;
  font-family: monospace;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

/* Pure CSS quiz interaction via :has() and radio buttons */
.quiz-opt {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 12px 16px;
  font-size: 0.88rem; color: rgba(255,255,255,.8);
  cursor: pointer; transition: background .2s, border-color .2s;
  display: flex; align-items: center; gap: 12px;
}
.quiz-opt input[type="radio"] { display: none; }
.quiz-opt:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
/* When any radio inside is checked, highlight that label */
.quiz-opt:has(input[type="radio"]:checked) {
  background: rgba(37,99,235,.3);
  border-color: var(--blue-400);
  color: white;
}
.quiz-letter {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
  transition: background .2s;
}
.quiz-opt:has(input:checked) .quiz-letter {
  background: var(--blue-500);
}
.quiz-progress { display: flex; gap: 6px; }
.quiz-dot       { flex: 1; height: 4px; border-radius: 50px; background: rgba(255,255,255,.15); }
.quiz-dot.done  { background: var(--green); }
.quiz-dot.active { background: var(--accent); }

.quiz-features {
  list-style: none; margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.quiz-feat { display: flex; gap: 14px; align-items: flex-start; }
.quiz-feat-icon  { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.quiz-feat-label { font-weight: 700; font-size: 0.95rem; color: var(--blue-900); }
.quiz-feat-desc  { font-size: 0.85rem; color: var(--gray-600); }

/* ===== ADMIN ===== */
#admin { background: var(--blue-900); }
.admin-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
#admin .section-label { color: var(--blue-300); }
#admin .section-title { color: white; }
#admin .section-desc  { color: rgba(255,255,255,.65); }
.admin-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 32px;
}
.admin-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 20px;
  transition: background .2s;
}
.admin-stat:hover { background: rgba(255,255,255,.11); }
.admin-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: white; }
.admin-stat-lbl { font-size: 0.8rem; color: rgba(255,255,255,.5); margin-top: 4px; }
.admin-stat-trend { font-size: 0.75rem; color: var(--green); margin-top: 4px; }
.admin-mock {
  background: rgba(255,255,255,.05); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1); overflow: hidden;
}
.admin-mock-bar {
  background: rgba(255,255,255,.08); padding: 12px 20px;
  display: flex; align-items: center; gap: 8px;
}
.admin-mock-bar-title { font-size: .78rem; color: rgba(255,255,255,.4); margin-left: 8px; }
.admin-dot { width: 12px; height: 12px; border-radius: 50%; }
.admin-mock-body { padding: 20px; }
.admin-table-header {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 8px;
}
.admin-th {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,.4);
}
.admin-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05); align-items: center;
  transition: background .15s;
}
.admin-row:hover { background: rgba(255,255,255,.03); }
.admin-cell      { font-size: 0.82rem; color: rgba(255,255,255,.75); }
.admin-cell-name { display: flex; align-items: center; gap: 8px; }
.mini-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: white;
}
.status-badge { display: inline-flex; padding: 3px 8px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; }
.status-active  { background: rgba(16,185,129,.2); color: #10b981; }
.status-pending { background: rgba(245,158,11,.2); color: var(--accent); }
.prog-mini      { height: 4px; background: rgba(255,255,255,.1); border-radius: 50px; overflow: hidden; }
.prog-mini-fill { height: 100%; border-radius: 50px; background: var(--blue-400); }

/* ===== CTA ===== */
#cta {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  padding: 100px 2rem;
}
.cta-container { text-align: center; }
.cta-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--blue-100); margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(2rem,5vw,3.2rem);
  font-weight: 800; color: white; letter-spacing: -1px; margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  max-width: 500px; margin: 0 auto 40px;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue-900); color: rgba(255,255,255,.6);
  padding: 60px 2rem 30px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-logo { color: white !important; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; color: white; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  text-decoration: none; color: rgba(255,255,255,.5);
  font-size: 0.88rem; transition: color .2s;
}
.footer-col ul a:hover { color: var(--blue-300); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; text-decoration: none; color: white;
  transition: background .2s, border-color .2s;
}
.social-btn:hover { background: var(--blue-600); border-color: var(--blue-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner,
  .dashboard-split,
  .forum-split,
  .quiz-inner,
  .admin-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav .nav-links { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .info-divider { display: none; }
  section { padding: 60px 1.25rem; }
}
