/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:    #2DD4BF;
  --teal-dk: #0D9488;
  --purple:  #7C3AED;
  --purple-lt: #EDE9FE;
  --coral:   #F97316;
  --navy:    #1E293B;
  --slate:   #475569;
  --light:   #F8FAFC;
  --white:   #FFFFFF;
  --radius:  16px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, .logo-text, .nav-links { font-family: 'Nunito', sans-serif; }

a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: relative;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.logo-icon { font-size: 1.8rem; }
.logo-nc { color: var(--teal); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 50px;
  transition: background .2s, border-color .2s !important;
}
.btn-nav:hover { background: rgba(255,255,255,.30) !important; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a1263 0%, #3b0764 40%, #0f766e 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 80px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(45,212,191,.2);
  border: 1px solid rgba(45,212,191,.5);
  color: var(--teal);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(90deg, var(--teal), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-dk), var(--teal));
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(13,148,136,.45);
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(13,148,136,.6); }

.btn-secondary {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: background .2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.20); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.8rem; color: var(--white); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ===== HERO VISUAL (floating cards) ===== */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 420px;
}

.card-float {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  animation: floatY 4s ease-in-out infinite;
}

.card-emoji { font-size: 1.4rem; }

.card-1 { top: 20px;  left: 20px;  animation-delay: 0s; }
.card-2 { top: 90px;  right: 0px;  animation-delay: 1.3s; }
.card-3 { top: 170px; left: 40px;  animation-delay: 0.7s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-bubble {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.bubble-inner { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.bubble-icon { font-size: 2rem; }
.bubble-text strong { font-family: 'Nunito', sans-serif; font-size: .9rem; color: var(--navy); display: block; }
.bubble-text p { font-size: .85rem; color: var(--slate); margin-top: 2px; }

.bubble-progress span { font-size: .78rem; color: var(--slate); display: block; margin-top: 6px; }

.progress-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-dk), var(--teal));
  border-radius: 50px;
}

/* ===== SECTIONS SHARED ===== */
section { padding: 100px 48px; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--navy);
}

.section-header p {
  color: var(--slate);
  font-size: 1.1rem;
}

/* ===== FEATURES ===== */
.features { background: var(--light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
}

.feature-learn:hover  { border-color: var(--teal); }
.feature-test:hover   { border-color: var(--coral); }

.featured {
  background: linear-gradient(145deg, #faf5ff, #ede9fe);
  border-color: #c4b5fd;
  transform: scale(1.03);
}
.featured:hover { transform: scale(1.03) translateY(-6px); border-color: var(--purple); }

.feature-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.feature-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.featured .feature-icon-wrap { background: rgba(124,58,237,.1); }

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-card p {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: .97rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: .9rem;
  color: var(--slate);
}

.feature-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--teal-dk);
  font-size: .95rem;
  transition: gap .2s;
}

.feature-link:hover { color: var(--purple); }

/* ===== TOPICS ===== */
.topics { background: var(--white); }

.topics-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.topic-section { display: flex; flex-direction: column; gap: 12px; }

.topic-domain {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dk);
  padding-bottom: 4px;
  border-bottom: 2px solid #E2E8F0;
}

.topic-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 2px solid #E2E8F0;
  border-radius: 50px;
  padding: 8px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}

.topic-chip:hover {
  background: var(--purple-lt);
  border-color: #c4b5fd;
  transform: translateY(-2px);
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  padding: 100px 48px;
  color: var(--white);
}

.progress-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.progress-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.progress-text p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.progress-visual { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

.dash-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  flex-shrink: 0;
}

.dash-title { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }

.dash-ring { position: relative; width: 120px; height: 120px; }

.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg   { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 10; }
.ring-fill { fill: none; stroke: var(--teal); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 1s; }

.ring-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
}

.dash-topics { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 16px; }

.dash-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
}

.mini-bar {
  width: 90px;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  overflow: hidden;
}

.mini-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-dk), var(--teal));
  border-radius: 50px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--light);
  text-align: center;
}

.about-inner { max-width: 680px; margin: 0 auto; }
.about-emoji { font-size: 4rem; margin-bottom: 24px; }

.about-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-inner p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-sub { font-size: .95rem !important; color: #94A3B8 !important; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dk) 0%, var(--purple) 100%);
  text-align: center;
  padding: 80px 48px;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.3); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 48px;
}

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer p { font-size: .95rem; line-height: 1.7; }
.footer-small { font-size: .82rem; color: rgba(255,255,255,.35); margin-top: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav-links { gap: 16px; font-size: .9rem; }
  .hero-content { padding: 40px 24px 60px; max-width: 100%; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
  section { padding: 72px 24px; }
  .progress-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-banner { padding: 60px 24px; }
}

@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
