/* =====================================================
   ALOUD — Main Stylesheet
   Brand: #2F6FED blue · #FF8A3D orange · #16324F navy
         #FFF7ED cream · #2CA58D teal
   ===================================================== */

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

:root {
  --blue:   #2F6FED;
  --orange: #FF8A3D;
  --navy:   #16324F;
  --cream:  #FFF7ED;
  --teal:   #2CA58D;
  --gray:   #F4F6FA;
  --text:   #1A2332;
  --muted:  #637080;
  --border: #E2E8F0;
  --white:  #FFFFFF;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(22,50,79,0.10);
  --shadow-lg: 0 12px 48px rgba(22,50,79,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.lang-hi-active {
  font-family: 'Hind', 'Poppins', sans-serif;
}

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

/* ─── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p  { color: var(--muted); }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-title { color: var(--navy); margin-bottom: 12px; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 580px; margin: 0 auto 40px; text-align: center; }
.accent { color: var(--orange); }

/* ─── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: #e87730; border-color: #e87730; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,138,61,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-nav {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  padding: 9px 20px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: #e87730; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-submit { width: 100%; max-width: 320px; display: block; margin: 0 auto; font-size: 1rem; padding: 16px 32px; }

/* ─── NAV ───────────────────────────────────── */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── LANGUAGE TOGGLE ──────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--orange); }
.lang-toggle .lang-en,
.lang-toggle .lang-hi { transition: color 0.2s; }
.lang-toggle .lang-en.active { color: var(--blue); }
.lang-toggle .lang-hi.active { color: var(--orange); font-family: 'Hind', sans-serif; }
.lang-toggle .lang-divider { color: var(--border); font-size: 0.75rem; }
body.lang-hi-active .lang-toggle { border-color: var(--orange); background: #FFF1E8; }
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.nav-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  padding-left: 4px;
  border-left: 2px solid var(--orange);
  margin-left: 10px;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .nav-tagline { display: none; }
}
/* legacy fallback selectors kept for footer */
.logo-icon { font-size: 1.4rem; }
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #EAF1FF 0%, var(--cream) 60%, #FFF1E8 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.hero-headline { color: var(--navy); margin-bottom: 18px; }
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 0.82rem; color: var(--muted); }

/* book stack */
.book-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s;
}
.book-card:hover { transform: translateY(-4px); }
.book-emoji { font-size: 2rem; }
.book-name { font-size: 0.88rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.book-pub { font-size: 0.72rem; color: var(--muted); }
.bc-1 { border-top: 3px solid var(--blue); }
.bc-2 { border-top: 3px solid var(--orange); }
.bc-3 { border-top: 3px solid var(--teal); }
.bc-4 { border-top: 3px solid #9B59B6; }

/* ─── STATS BAR ─────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 28px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 48px;
  gap: 2px;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ─── SECTION BASE ──────────────────────────── */
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--gray); }

/* ─── HOW IT WORKS ──────────────────────────── */
.how-it-works { text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.step-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 0.88rem; }

/* ─── WHY SECTION ───────────────────────────── */
.why-section { background: var(--navy) !important; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-section .section-title { color: var(--white) !important; }
.why-stat-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.why-big { font-size: 2.2rem; font-weight: 800; color: var(--orange); min-width: 90px; line-height: 1; }
.why-desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); padding-top: 4px; }
.why-benefits { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 32px; }
.why-benefits h3 { color: var(--white); margin-bottom: 20px; }
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.benefit-list li { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
/* stat call-to-action line */
.why-cta-line {
  display: block;
  margin-top: 6px;
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.why-quote {
  margin-top: 24px;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}
.why-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ─── BOOKS ─────────────────────────────────── */
.books-section { text-align: center; }
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.book-tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 16px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.2s;
  border-bottom: 3px solid transparent;
}
.book-tile:hover { transform: translateY(-3px); border-bottom-color: var(--orange); }
.book-tile-emoji { font-size: 2rem; margin-bottom: 10px; display: block; }
.book-tile h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; line-height: 1.3; }
.book-tile p { font-size: 0.8rem; margin-bottom: 10px; }
.book-badge {
  display: inline-block;
  background: #EAF1FF;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.books-note { margin-top: 24px; font-size: 0.85rem; color: var(--muted); }

/* ─── AUDIENCE ──────────────────────────────── */
.audience-section { text-align: center; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 28px;
}
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.audience-card.fit { border-top: 3px solid var(--teal); }
.audience-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.audience-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.not-fit-box {
  background: #FFF1E8;
  border: 1px solid rgba(255,138,61,0.3);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 0.88rem;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}
.not-fit-box strong { color: var(--navy); }

/* ─── FOUNDER ───────────────────────────────── */
.founder-section { background: var(--cream) !important; }
.founder-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 780px;
  margin: 0 auto;
}
.founder-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 16px;
}
.founder-bio { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ─── PRICING ───────────────────────────────── */
.pricing-section { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 0;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
  border: 2px solid var(--border);
}
.pricing-featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-label { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.pricing-save { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 9px; }
.pricing-features li { font-size: 0.88rem; color: var(--muted); padding-left: 22px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pricing-note { font-size: 0.82rem; color: var(--muted); margin-top: 24px; }
.pricing-card .btn { width: 100%; text-align: center; }

/* ─── AVAILABILITY ──────────────────────────── */
.availability-bar {
  background: linear-gradient(90deg, #EAF1FF, #FFF1E8);
  padding: 32px 0;
  text-align: center;
}
.avail-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.avail-title { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.avail-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}
.chip-active { background: var(--teal); color: var(--white); }
.chip-soon { background: var(--border); color: var(--muted); }
.avail-note { font-size: 0.8rem; color: var(--muted); }

/* outreach banner below availability chips */
.avail-outreach {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-top: 28px;
  max-width: 560px;
  box-shadow: 0 4px 20px rgba(255,138,61,0.15);
  text-align: left;
}
.avail-outreach-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.avail-outreach strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.avail-outreach p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── FAQ ───────────────────────────────────── */
.faq-section { text-align: center; }
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--orange); flex-shrink: 0; transition: transform 0.2s; }
.faq-q[aria-expanded="true"] { background: #EAF1FF; }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 18px;
  background: var(--white);
}
.faq-a.open { display: block; }
.faq-a p { font-size: 0.9rem; color: var(--muted); }

/* ─── FORM ──────────────────────────────────── */
.form-section { background: linear-gradient(135deg, #EAF1FF, var(--cream)) !important; text-align: center; }
.interest-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { margin-bottom: 20px; }
label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
input.error, select.error, textarea.error { border-color: #E53E3E; }
.form-privacy { font-size: 0.75rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { font-size: 0.95rem; }
.success-sub { font-size: 0.82rem; margin-top: 8px; }

/* ─── FOOTER ────────────────────────────────── */
.site-footer { background: var(--navy); padding: 48px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: var(--white); }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 10px;
  opacity: 0.92;
}
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-bottom {
  text-align: center;
  padding: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ─── FLOATING WA ───────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .pricing-featured { transform: none; }
}

@media (max-width: 600px) {
  .stats-grid { gap: 0; }
  .stat { padding: 8px 24px; }
  .stat-divider { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .founder-inner { flex-direction: column; }
  .nav-inner { padding: 12px 16px; }
  .hero { padding: 50px 0 40px; }
  .section { padding: 56px 0; }
}

/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: fadeUp 0.6s ease both; }
.hero-visual { animation: fadeUp 0.7s 0.15s ease both; }
