/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary: #E9724C;
  --primary-dark: #E55A2B;
  --primary-light: #FFF0EB;
  --accent: #1D3557;
  --accent-light: #E8F4FD;
  --gold: #F4B942;
  --gold-light: #FFF6DE;
  --bg: #FFFFFF;
  --bg-alt: #FBF7F0;
  --bg-dark: #0D1B2A;
  --text: #1A1A2E;
  --text-mid: #4A4A68;
  --text-light: #8888A0;
  --border: #E8E8F0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mr: 'Tiro Devanagari Marathi', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Container ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  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: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ── Section header ───────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--accent);
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-mid);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #FFF5F0 0%, #F0F7FF 50%, #FFF0EB 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--gold-light);
  color: #8A6A00;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--accent);
}
.hero-mr {
  font-family: var(--font-mr);
  color: var(--primary);
  font-weight: 400;
  font-size: 2.8rem;
}
.highlight {
  background: linear-gradient(120deg, var(--primary-light) 0%, transparent 100%);
  padding: 0 8px;
  border-radius: 4px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Phone mockup ─────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mockup { position: relative; }
.phone-frame {
  width: 280px;
  height: 560px;
  background: #1C2B4A;
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.1);
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: #1C2B4A;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FEFAF7 0%, #FFF5EE 100%);
  border-radius: 26px;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.screen-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.screen-greeting {
  font-family: var(--font-mr);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}
.screen-device {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
}
.screen-lesson {
  background: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.lesson-icon { font-size: 1.6rem; margin-bottom: 8px; }
.lesson-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.lesson-title-mr {
  font-family: var(--font-mr);
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.lesson-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lesson-progress span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #FF9F6B);
  border-radius: 3px;
  transition: width 1s ease;
}
.screen-modules {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-chip {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  background: white;
  border: 1px solid var(--border);
}
.module-chip.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ── Features ─────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── How It Works ─────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-alt);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}
.step-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Languages ────────────────────────────────────────── */
.languages {
  padding: 100px 0;
  background: var(--bg);
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.lang-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.lang-script {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.3;
}
.lang-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.lang-speakers {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Curriculum ───────────────────────────────────────── */
.curriculum {
  padding: 100px 0;
  background: var(--bg-alt);
}
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.phase-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.phase-card:hover {
  box-shadow: var(--shadow);
}
.phase-header {
  margin-bottom: 20px;
}
.phase-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.phase-1 { background: #E8F5E9; color: #2E7D32; }
.phase-2 { background: #E3F2FD; color: #1565C0; }
.phase-3 { background: #FFF3E0; color: #E65100; }
.phase-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.phase-lessons li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phase-lessons li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.phase-lessons li:last-child { border-bottom: none; }

/* ── Devices ──────────────────────────────────────────── */
.devices {
  padding: 100px 0;
  background: var(--bg);
}
.device-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.device-brand {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.device-brand:hover {
  border-color: var(--primary);
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.brand-models {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ── CTA ──────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1B4965 100%);
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-actions { margin-bottom: 20px; }
.cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  padding: 60px 0 24px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}
.footer-brand .logo-text { color: white; }
.footer-tagline {
  font-size: 0.9rem;
  margin-top: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 40px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: 1fr; }
  .device-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: flex; }

  .hero { padding: 120px 0 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero-mr { font-size: 2rem; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .phone-frame { width: 220px; height: 440px; }

  .features-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .device-logos { grid-template-columns: 1fr; }

  .section-header h2 { font-size: 1.8rem; }
  .cta h2 { font-size: 1.8rem; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-mr { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .lang-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}
