/* ===== WE WORK AS A TEAM — GLOBAL STYLES ===== */
:root {
  --bg: #0d1117;
  --bg-2: #13181f;
  --bg-3: #1a2030;
  --border: rgba(255,255,255,0.08);
  --purple: #6d28d9;
  --purple-light: #7c3aed;
  --purple-glow: rgba(109,40,217,0.3);
  --cyan: #06b6d4;
  --text: #f0f4ff;
  --text-muted: #8892a4;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-primary.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--purple-light); color: var(--purple-light); }

.btn-nav {
  padding: 0.55rem 1.25rem;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.btn-nav:hover { opacity: 0.85; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
  padding: 1rem 0;
}
.nav.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-weight: 700; font-size: 1rem; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-accent { color: #a78bfa; }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition); text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.2s;
}

@media (max-width: 700px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; justify-content: center;
    align-items: center; gap: 2rem; font-size: 1.2rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-logo { font-size: 0.85rem; }
  .nav-logo svg { width: 28px; height: 28px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--purple);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: var(--cyan);
  bottom: 0; left: -80px; opacity: 0.15;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(109,40,217,0.2);
  border: 1px solid rgba(109,40,217,0.4);
  border-radius: 20px;
  font-size: 0.82rem; font-weight: 600; color: #a78bfa;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* FLOATING CARDS */
.floating-cards {
  position: absolute; inset: 0; pointer-events: none;
}
.fc {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  animation: float 6s ease-in-out infinite;
}
.fc-1 { top: 15%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 30%; right: 4%; animation-delay: 1s; }
.fc-3 { top: 60%; left: 3%; animation-delay: 2s; }
.fc-4 { top: 70%; right: 6%; animation-delay: 0.5s; }
.fc-5 { top: 45%; left: 8%; animation-delay: 1.5s; }
.fc-6 { top: 20%; right: 8%; animation-delay: 2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 700px) { .floating-cards { display: none; } }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-2); }
.section-title {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; text-align: center; margin-bottom: 0.75rem;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: 1.05rem; margin-bottom: 3rem;
}

/* ===== LEVELS ===== */
.levels-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .levels-grid { grid-template-columns: 1fr; } }

.level-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.level-active {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(109,40,217,0.15);
}
.level-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.level-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.level-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.level-features { margin-bottom: 1.5rem; }
.level-features li { font-size: 0.875rem; color: var(--text-muted); padding: 0.3rem 0; }
.level-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.625rem;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-live { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.badge-soon { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex; align-items: flex-start; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 220px; max-width: 280px; text-align: center;
  background: var(--bg-3); border-radius: var(--radius); padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-muted); }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); align-self: center; padding-top: 0; }
@media (max-width: 700px) { .step-arrow { display: none; } }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SUBJECTS ===== */
.subjects-grid {
  display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center;
}
.subject-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem; font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}
.subject-pill:hover { border-color: var(--purple); background: rgba(109,40,217,0.1); }

/* ===== AUDIENCE ===== */
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.audience-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.audience-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.audience-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.audience-card li {
  font-size: 0.875rem; color: var(--text-muted);
  padding: 0.3rem 0; padding-left: 1.25rem; position: relative;
}
.audience-card li::before { content: '✓'; position: absolute; left: 0; color: #34d399; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a0a3a, #0a1a2a);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner h2 {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; margin-bottom: 0.75rem;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-note { margin-top: 1rem; font-size: 0.78rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.625rem;
  font-weight: 700; font-size: 1rem;
}
.footer-links {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 0.875rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-legal {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.7;
  max-width: 600px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  z-index: 2000; font-size: 0.83rem; color: var(--text-muted);
}
.cookie-banner a { color: #a78bfa; text-decoration: underline; }
.cookie-banner button {
  padding: 0.4rem 1rem;
  background: var(--purple); color: #fff;
  border: none; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.cookie-banner.hidden { display: none; }

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}
.legal-page h1 {
  font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem;
}
.legal-page .updated {
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.5rem;
  color: #a78bfa;
}
.legal-page p, .legal-page li {
  color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; margin-bottom: 0.5rem;
}
.legal-page ul { padding-left: 1.25rem; list-style: disc; }
.legal-page a { color: #a78bfa; text-decoration: underline; }
