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

:root {
  --orange: #FF6B35;
  --orange-light: #FFF0E8;
  --orange-dark: #E5521C;
  --purple: #7B61FF;
  --purple-light: #F0EEFF;
  --green: #00C897;
  --green-light: #E6FBF5;
  --pink: #FF4D8D;
  --yellow: #F5A623;
  --dark: #1A1A2E;
  --text: #2D2D44;
  --text-muted: #6B6B8A;
  --bg: #FFFFFF;
  --bg-warm: #FFF8F0;
  --border: #E8E8F0;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.13);
  --font: 'Nunito', sans-serif;
  --font-display: 'Fredoka One', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-dragon { font-size: 28px; line-height: 1; }
.logo-brand { display: block; font-family: var(--font-display); font-size: 18px; color: var(--orange); line-height: 1.1; }
.logo-sub { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all .2s;
}
.nav-links a:hover { color: var(--orange); background: var(--orange-light); }

.btn-nav {
  display: inline-block;
  text-decoration: none;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  flex-shrink: 0;
  transition: all .2s;
}
.btn-nav:hover { background: var(--orange-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: block; }
}

/* ===== HERO ===== */
.hero {
  padding-top: 88px;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF0E8 40%, #F5F0FF 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}
.s1 { width: 400px; height: 400px; background: #FFD6BF; top: -100px; right: -80px; }
.s2 { width: 200px; height: 200px; background: #C4B5FD; bottom: 100px; left: -60px; }
.s3 { width: 120px; height: 120px; background: #86EFAC; top: 200px; left: 40px; }
.s4 { width: 80px; height: 80px; background: #FCA5A5; top: 160px; right: 200px; }
.s5 { width: 60px; height: 60px; background: #FDE68A; bottom: 160px; right: 80px; }

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 60px;
  position: relative;
}

.badge-pill {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: .03em;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 6px;
  background: var(--yellow);
  opacity: 0.5;
  border-radius: 3px;
  z-index: -1;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-desc strong { color: var(--text); }

.hero-stores { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.store-btn:hover { background: #2d2d50; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-icon { font-size: 24px; }
.store-label { display: block; font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: .05em; }
.store-name { display: block; font-family: var(--font-display); font-size: 16px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 28px; color: var(--orange); }
.stat-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.phone-mockup {
  position: relative;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.phone-frame {
  width: 260px;
  height: 500px;
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(26,26,46,0.35), 0 0 0 4px rgba(255,107,53,0.3);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  background: linear-gradient(160deg, #FFF8F0, #F0EEFF);
  border-radius: 30px;
  height: 100%;
  padding: 36px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.app-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-greeting { font-size: 13px; font-weight: 700; color: var(--text); }
.coins-pill { background: var(--yellow); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 100px; }
.app-iggy { font-size: 56px; line-height: 1; margin-top: 8px; animation: wiggle 2s ease-in-out infinite; }
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.app-iggy-msg {
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--orange-light);
  text-align: center;
  max-width: 180px;
}
.app-worlds-mini {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.world-mini {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.w1 { background: var(--orange-light); }
.w2 { background: var(--purple-light); }
.w3 { background: var(--green-light); }
.w4 { background: #FFF0F5; }

.app-streak {
  background: linear-gradient(90deg, #FF6B35, #F5A623);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  margin-top: 4px;
}

.phone-glow {
  position: absolute;
  bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 80px;
  background: var(--orange);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(20px);
}

.hero-wave {
  margin-top: auto;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--bg-warm); padding: 20px 0; }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.trust-div { color: var(--border); font-size: 18px; }

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== WORLDS ===== */
.worlds-section { padding: 100px 0; }
.worlds-section .container > * + * { margin-top: 0; }
.worlds-section .section-sub { margin-bottom: 48px; }

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.world-card {
  background: var(--wl);
  border: 2px solid var(--wc);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.world-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: var(--wc);
  opacity: 0.08;
  border-radius: 50%;
}
.world-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }

.world-emoji { font-size: 36px; line-height: 1; flex-shrink: 0; }
.world-info h3 { font-family: var(--font-display); font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.world-info p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.world-count {
  display: inline-block;
  background: var(--wc);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .03em;
}

.featured-world { border-width: 3px; }
.bengali-tag {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
}
.how-section .section-sub { margin-bottom: 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all .25s;
}
.step-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.step-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== GAMIFICATION ===== */
.gamification-section { padding: 100px 0; background: var(--dark); color: #fff; }

.gamif-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gamification-section .section-label { color: var(--yellow); }
.gamification-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.gamification-section p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.gamification-section strong { color: #fff; }

.gamif-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.gamif-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.gl-icon { font-size: 22px; flex-shrink: 0; margin-top: -2px; }
.gamif-list strong { color: #fff; }
.gamif-list div { color: rgba(255,255,255,0.75); }

.badge-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bd-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all .25s;
}
.bd-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.bd-featured {
  background: linear-gradient(135deg, rgba(245,166,35,0.2), rgba(255,107,53,0.2));
  border-color: var(--yellow);
}
.bd-emoji { font-size: 36px; margin-bottom: 8px; }
.bd-label { font-family: var(--font-display); font-size: 16px; color: #fff; }
.bd-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ===== PARENT SECTION ===== */
.parent-section { padding: 100px 0; }
.parent-section .section-sub { margin-bottom: 48px; }

.parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.parent-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all .25s;
}
.parent-card:hover { border-color: var(--purple); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pc-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.parent-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.parent-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== WORKSHEET BANNER ===== */
.ws-banner {
  background: linear-gradient(135deg, var(--purple), #5B3FD5);
  padding: 60px 0;
}
.ws-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ws-banner-text h2 { font-family: var(--font-display); font-size: 32px; color: #fff; margin-bottom: 10px; }
.ws-banner-text p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 24px; max-width: 480px; }
.ws-banner-art { font-size: 56px; opacity: 0.6; letter-spacing: 8px; }

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }

/* ===== WAITLIST ===== */
.waitlist-section { padding: 100px 0; background: var(--bg-warm); text-align: center; }
.waitlist-inner { max-width: 600px; margin: 0 auto; }
.ws-iggy { font-size: 64px; margin-bottom: 20px; display: block; animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.waitlist-section h2 { font-family: var(--font-display); font-size: 36px; color: var(--dark); margin-bottom: 16px; line-height: 1.2; }
.waitlist-section p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.waitlist-form input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
}
.waitlist-form input:focus { border-color: var(--orange); }
.waitlist-success {
  display: none;
  background: var(--green-light);
  border: 2px solid var(--green);
  color: #085041;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-brand { color: var(--orange); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 14px; max-width: 280px; color: rgba(255,255,255,0.5); line-height: 1.65; }

.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.fl-col { display: flex; flex-direction: column; gap: 10px; }
.fl-col h4 { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.fl-col a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.fl-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  max-width: 1120px;
  margin: 0 auto;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .badge-pill { font-size: 11px; }
  .hero-stores { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .gamif-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .ws-banner-inner { flex-direction: column; text-align: center; }
  .ws-banner-art { display: none; }
  .section-sub { max-width: 100%; }
  .worlds-section, .how-section, .parent-section, .waitlist-section { padding: 64px 0; }
  .gamification-section { padding: 64px 0; }
  .parent-section .section-sub { margin-bottom: 0; }
}

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