:root {
  --bg: #050a14;
  --bg2: #080f1e;
  --bg3: #0d1829;
  --cyan: #00d4ff;
  --blue: #1a6bff;
  --text: #e8f0ff;
  --muted: #6b7fa3;
  --border: rgba(0,212,255,0.12);
  --card: rgba(13,24,41,0.8);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(5,10,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--cyan); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--cyan); }
.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.lang-btn {
  padding: 6px 14px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--cyan); color: #000; font-weight: 600; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,107,255,0.15) 0%, transparent 70%);
  top: 30%; right: 10%;
  pointer-events: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 28px;
  background: rgba(0,212,255,0.05);
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 .accent { color: var(--cyan); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0,212,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,212,255,0.4); }
.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.05); }
.stats-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--cyan); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-tag { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.section-sub { color: var(--muted); max-width: 520px; font-size: 17px; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 52px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0;
  transition: opacity 0.2s;
}
.step-card:hover::before { opacity: 1; }
.step-num { font-family: 'Outfit', sans-serif; font-size: 42px; font-weight: 800; color: rgba(0,212,255,0.12); line-height: 1; margin-bottom: 12px; }
.step-title { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--muted); }

/* ── LESSONS ── */
.lessons-bg { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%); }
.lessons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 52px; }
.lesson-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}
.lesson-card.unlocked:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.lesson-card.locked { opacity: 0.55; cursor: default; }
.lesson-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.lesson-card.unlocked .lesson-icon { background: rgba(0,212,255,0.12); }
.lesson-card.locked .lesson-icon { background: rgba(255,255,255,0.05); }
.lesson-num { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.lesson-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.lesson-desc { font-size: 13px; color: var(--muted); }
.lesson-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.lesson-badge.free { background: rgba(0,212,255,0.12); color: var(--cyan); border: 1px solid rgba(0,212,255,0.25); }
.lesson-badge.locked-badge { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid rgba(255,255,255,0.08); }
.unlock-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(26,107,255,0.08));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.unlock-text { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; }
.unlock-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; text-align: center; transition: all 0.2s; }
.why-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-desc { font-size: 13px; color: var(--muted); }

/* ── CTA ── */
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(26,107,255,0.06));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 24px;
  padding: 64px 32px;
  position: relative;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cyan); }

/* ── DIVIDER ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0 48px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.95);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { color: var(--text); border-color: rgba(0,212,255,0.3); }
.modal-tag { font-size: 12px; color: var(--cyan); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.modal-title { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.modal-body { color: var(--muted); font-size: 15px; line-height: 1.8; }
.modal-body p { margin-bottom: 12px; }
.modal-body strong { color: var(--text); }
.modal-footer { margin-top: 28px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
}
@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .section-inner { padding: 60px 20px; }
  .stats-row { gap: 24px; }
  footer { padding: 24px 20px; flex-direction: column; text-align: center; }
  .unlock-banner { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
}