/* ── EdVerse AI Website — Global Styles ──────────────────────────────
   Poore website ke colors, layout aur components yahan define hain.
   App wale dark teal theme se match karta hai.
------------------------------------------------------------------- */

/* CSS variables — app ke colors se liye gaye hain */
:root {
  --primary: #29F3C3;
  --primary-light: #7DF9FF;
  --bg: #06131D;
  --bg-card: #101B2D;
  --bg-deep: #0A2436;
  --bg-purple: #17122A;
  --text: #F8FAFC;
  --text-secondary: #C6D3E1;
  --text-muted: #93A4B7;
  --gold: #FFD166;
  --blue: #8EA7FF;
  --danger: #FF5E8A;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --maxw: 1120px;
}

/* Reset — browser ki default spacing hatado */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Sab headings Poppins font mein */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.accent { color: var(--primary); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  background: var(--primary);
  color: #04141a;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 26px rgba(41, 243, 195, 0.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(41, 243, 195, 0.42); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* Ghost button — sirf border, background transparent */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }

/* ── Navbar ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 19, 29, 0.72);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.nav__logo { width: 34px; height: 34px; border-radius: 9px; }
/* Wide brand logo (EdVerse.Ai) — header aur footer dono mein */
.brand-logo { height: 30px; width: auto; display: block; }
.footer__brand .brand-logo { height: 34px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text-secondary); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links .btn { color: #04141a; }

/* Mobile hamburger — bade screen par chhupa rehta hai */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { position: relative; padding: 80px 0 70px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(41, 243, 195, 0.22), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(41, 243, 195, 0.12);
  border: 1px solid rgba(41, 243, 195, 0.34);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; }

/* Phone mockup — pure CSS */
.hero__phone { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 260px;
  height: 530px;
  background: linear-gradient(160deg, #0d2233, #0a1826);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(41, 243, 195, 0.15);
  animation: float 5s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #05101a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__screen {
  height: 100%;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 0%, #12283a, #06131d 70%);
  padding: 40px 20px 20px;
  text-align: center;
  overflow: hidden;
}
.phone__logo { width: 60px; height: 60px; margin: 6px auto 8px; border-radius: 16px; }
.phone__title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; }
.phone__chip {
  display: inline-block;
  margin: 12px 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}
.phone__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
}
.phone__q { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.phone__opt {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 7px;
  color: var(--text-secondary);
}
.phone__opt--right {
  background: rgba(41, 243, 195, 0.16);
  border: 1px solid rgba(41, 243, 195, 0.4);
  color: var(--primary);
  font-weight: 600;
}
.phone__xp {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 18px 0 6px;
  overflow: hidden;
}
.phone__xp span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 999px;
}
.phone__xp-label { font-size: 12px; color: var(--primary); font-weight: 600; }

/* Phone floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Stats strip ──────────────────────────────────────────────── */
.stats { padding: 10px 0 30px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.9rem; color: var(--primary); }
.stat span { font-size: 13px; color: var(--text-muted); }

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 78px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(23, 18, 42, 0.35)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__head h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); margin-bottom: 14px; }
.section__head p { color: var(--text-secondary); }

/* ── Features grid ────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(41, 243, 195, 0.35); }
.feature__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 15px; }

/* ── Steps ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.step__num {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #04141a;
  background: var(--primary);
  border-radius: 50%;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 15px; }

/* ── CTA box ──────────────────────────────────────────────────── */
.cta {
  position: relative;
  text-align: center;
  background: linear-gradient(150deg, var(--bg-deep), var(--bg-purple));
  border: 1px solid rgba(41, 243, 195, 0.25);
  border-radius: 28px;
  padding: 60px 30px;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(41, 243, 195, 0.2), transparent 65%);
  pointer-events: none;
}
.cta h2 { position: relative; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 12px; }
.cta p { position: relative; color: var(--text-secondary); margin-bottom: 26px; }
.cta__buttons { position: relative; display: flex; justify-content: center; }
.cta__note { position: relative; font-size: 13px; color: var(--text-muted); margin-top: 16px; margin-bottom: 0; }

/* Google Play badge — CSS se banaya hua */
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 24px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform .2s, border-color .2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--primary); }
.store-badge__top { font-size: 10px; letter-spacing: 1px; color: var(--text-muted); }
.store-badge__main { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 20px; color: #fff; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-wrap { max-width: 780px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq__item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--primary); font-size: 22px; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-secondary); padding: 0 0 18px; font-size: 15px; }

/* ── Footer — single row: brand left, links center, copyright right ── */
.footer { border-top: 1px solid var(--border); background: rgba(10, 20, 30, 0.5); margin-top: 40px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 22px;
}
.footer__logo { flex-shrink: 0; }
.footer__logo .brand-logo { height: 28px; }
/* Beech mein nav links — baaki jagah le lein */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  flex: 1;
}
.footer__nav a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color .2s; }
.footer__nav a:hover { color: var(--primary); }
.footer__copy { flex-shrink: 0; color: var(--text-muted); font-size: 13px; white-space: nowrap; }

/* ── Legal pages (privacy / terms) ────────────────────────────── */
.legal { padding: 60px 0 40px; }
.legal__inner { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; color: var(--primary); }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-secondary); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--primary); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.back-link:hover { color: var(--primary); }

/* ── Reveal on scroll animation ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ── Responsive — tablet ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { order: 2; }
  .hero__phone { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  /* Footer ko column bana do — brand, links, copyright ek ke neeche ek */
  .footer__inner { flex-direction: column; text-align: center; gap: 18px; padding: 34px 22px; }
}

/* ── Responsive — mobile ──────────────────────────────────────── */
@media (max-width: 640px) {
  /* Mobile par nav links chhupao, hamburger dikhao */
  .nav__links {
    position: fixed;
    top: 68px;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 10px 22px 20px;
    transform: translateY(-140%);
    transition: transform .35s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 12px 0; }
  .nav__links .btn { margin-top: 8px; width: 100%; }
  .nav__toggle { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__nav { gap: 14px 20px; }
  .section { padding: 56px 0; }
}
