/* ============================================================
   LexGo Website — Design System & Styles
   ============================================================
   Structure:
   1. Design Tokens (CSS Custom Properties)
   2. Reset & Base
   3. Layout
   4. Ambient Effects
   5. Animations
   6. Navigation
   7. Hero Section
   8. Stats & Exam Tags
   9. Word Card Preview
   10. Sections Common
   11. Bento Features Grid
   12. How It Works
   13. Testimonials
   14. FAQ Accordion
   15. CTA Banner
   16. Footer
   17. Responsive Breakpoints
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #07090F;
  --bg-secondary: #0C1017;
  --bg-elevated: #111827;
  --bg-card: rgba(17, 24, 39, 0.65);
  --bg-card-solid: #111827;
  --bg-card-hover: #1A2236;
  --bg-glass: rgba(17, 24, 39, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 107, 80, 0.35);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --text-inverse: #0F172A;
  --accent-primary: #FF6B50;
  --accent-secondary: #FFAE5C;
  --accent-tertiary: #FD2968;
  --accent-gradient: linear-gradient(135deg, #FFAE5C 0%, #FF6B50 45%, #FD2968 100%);
  --accent-glow: rgba(255, 107, 80, 0.15);
  --accent-glow-strong: rgba(255, 107, 80, 0.25);
  --accent-shadow: 0 8px 32px rgba(253, 41, 104, 0.25);
  --badge-bg: rgba(56, 189, 248, 0.10);
  --badge-border: rgba(56, 189, 248, 0.20);
  --badge-text: #38BDF8;
  --success-color: #34D399;
  --nav-bg: rgba(7, 9, 15, 0.80);
  --nav-blur: 20px;
  --stat-bg: rgba(255, 255, 255, 0.04);
  --orb-1: rgba(255, 107, 80, 0.08);
  --orb-2: rgba(253, 41, 104, 0.06);
  --orb-3: rgba(56, 189, 248, 0.04);
  --scrollbar-thumb: rgba(255, 255, 255, 0.12);
  --scrollbar-track: transparent;
}

[data-theme="light"] {
  --bg-primary: #FAFBFD;
  --bg-secondary: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.70);
  --bg-card-solid: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.60);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-default: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(255, 87, 34, 0.35);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-inverse: #F8FAFC;
  --accent-primary: #FF5722;
  --accent-secondary: #FF8A45;
  --accent-tertiary: #D61C52;
  --accent-gradient: linear-gradient(135deg, #FF8A45 0%, #FF5722 45%, #D61C52 100%);
  --accent-glow: rgba(255, 87, 34, 0.08);
  --accent-glow-strong: rgba(255, 87, 34, 0.15);
  --accent-shadow: 0 8px 32px rgba(214, 28, 82, 0.18);
  --badge-bg: rgba(2, 132, 199, 0.08);
  --badge-border: rgba(2, 132, 199, 0.18);
  --badge-text: #0284C7;
  --success-color: #059669;
  --nav-bg: rgba(250, 251, 253, 0.80);
  --nav-blur: 20px;
  --stat-bg: rgba(0, 0, 0, 0.03);
  --orb-1: rgba(255, 107, 80, 0.06);
  --orb-2: rgba(253, 41, 104, 0.04);
  --orb-3: rgba(56, 189, 248, 0.03);
  --scrollbar-thumb: rgba(0, 0, 0, 0.12);
  --scrollbar-track: transparent;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 99px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ============================================================
   4. AMBIENT BACKGROUND ORBS
   ============================================================ */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite alternate;
}

.bg-orbs .orb-1 {
  width: 600px; height: 600px;
  background: var(--orb-1);
  top: -10%; left: -5%;
}

.bg-orbs .orb-2 {
  width: 500px; height: 500px;
  background: var(--orb-2);
  top: 40%; right: -10%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.bg-orbs .orb-3 {
  width: 450px; height: 450px;
  background: var(--orb-3);
  bottom: -5%; left: 30%;
  animation-delay: -14s;
  animation-duration: 30s;
}

/* ============================================================
   5. ANIMATIONS
   ============================================================ */
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.02); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bannerUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal — content is visible by default so the page can never
   appear blank when JS is disabled, blocked, or fails to load.
   The `js` class (added by a tiny inline script in <head>) enables
   the hidden pre-reveal state only when JS is confirmed running. */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Entrance stagger must not slow down later hovers on the same element:
   kill the leftover delay the moment the pointer interacts. */
.bento-card:hover,
.step-card:hover,
.testimonial-card:hover,
.faq-item:hover,
.btn-play:hover,
.btn-outline:hover,
.word-pill:hover {
  transition-delay: 0s;
}

/* ============================================================
   6. NAVIGATION BAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Floating Sticky CTA Bar (hidden by default on desktop) */
.sticky-mobile-cta {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
  font-size: 17px;
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
  transform: scale(1.06);
  background: var(--bg-card-hover);
}

/* Header CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #FFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: var(--accent-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(253, 41, 104, 0.30);
}

.nav-cta svg { flex-shrink: 0; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
}

.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after  { top: 6px; }

.menu-toggle.active .bar { background: transparent; }
.menu-toggle.active .bar::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .bar::after  { top: 0; transform: rotate(-45deg); }

/* While the menu is open the page behind it must not scroll (including
   iOS rubber-banding and scroll-chaining from the menu itself). */
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Mobile Menu Overlay — display flips instantly, so visibility carries
   the fade: hidden menus ignore pointer events, open menus animate. */
.mobile-menu {
  overscroll-behavior: contain;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--bg-primary);
  z-index: 999;
  padding: calc(68px + 20px) 24px 32px;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--bg-card-hover);
}

.mobile-menu .mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  background: var(--accent-gradient);
  color: #FFF;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 14px;
  text-align: center;
}

/* ============================================================
   DEEP LINK BANNER
   ============================================================ */
#deepLinkNotice {
  display: none;
  background: var(--accent-gradient);
  color: #FFF;
  text-align: center;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  width: 100%;
  margin-top: 68px; /* Natural flow right under fixed navbar, zero overlap! */
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(255, 107, 80, 0.25);
  animation: slideDown 0.3s ease;
}

#deepLinkNotice strong {
  font-weight: 800;
  text-transform: capitalize;
}

#deepLinkNotice a {
  color: #FFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  margin-left: 8px;
  display: inline-block;
}

#deepLinkNotice a:hover {
  opacity: 0.9;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  text-align: center;
  padding-top: 130px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge-text-short { display: none; }
.badge-text-full { display: inline; }

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--badge-text);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--badge-text);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 22px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

/* Play Store Button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.30);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 14px 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-default);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-tertiary);
  transform: translateY(-2px);
}

/* ============================================================
   8. SOCIAL PROOF / STATS BAR & EXAM TAGS
   ============================================================ */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stat-bg);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.stat-chip .stat-icon {
  font-size: 16px;
  line-height: 1;
}

.stat-chip .stat-number {
  color: var(--text-primary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.exam-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto 64px;
}

.exam-tag {
  background: var(--stat-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.exam-tag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

/* ============================================================
   9. INTERACTIVE WORD CARD PREVIEW
   ============================================================ */
.card-showcase {
  max-width: 700px;
  margin: 0 auto 100px;
  position: relative;
}

.card-showcase::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  max-width: 100%;
}

.word-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.20);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.4s ease, box-shadow 0.35s ease;
}

.word-card:hover {
  border-color: var(--border-hover);
}

.word-card .card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 107, 80, 0.12);
  color: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.35;
}

.word-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.word-title-group {
  flex: 1;
  min-width: 0;
}

.word-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  word-break: break-word;
}

.audio-pronounce-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 80, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 107, 80, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.audio-pronounce-btn:hover {
  background: var(--accent-gradient);
  color: #FFF;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(255, 107, 80, 0.35);
}

.audio-pronounce-btn:active {
  transform: scale(0.96);
}

.audio-pronounce-btn.playing {
  animation: pulse 1s infinite;
  background: var(--accent-gradient);
  color: #FFF;
}

.word-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.word-pronunciation {
  color: var(--text-tertiary);
  font-size: 14px;
  font-style: italic;
}

.word-pos {
  background: var(--stat-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.word-definition {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hindi-block {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin-bottom: 16px;
  transition: background-color 0.4s ease;
}

.hindi-meaning {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.hindi-trick {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.word-example {
  font-size: 13.5px;
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--border-default);
  line-height: 1.6;
}

.word-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.word-chips span {
  font-size: 11.5px;
  color: var(--text-tertiary);
  background: var(--stat-bg);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Card CTA Action */
.card-bottom-cta {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

.btn-card-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #FFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--accent-shadow);
  text-align: center;
  width: auto;
  max-width: 290px;
}

.btn-card-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 41, 104, 0.35);
}

/* Shared Word Alert Banner */
.shared-word-alert {
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(255, 107, 80, 0.20);
  animation: slideDown 0.4s ease;
}

.shared-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-primary);
  margin-bottom: 4px;
}

.shared-hint {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Word Sample Interactive Pills */
.word-sample-pills {
  margin-top: 24px;
  text-align: center;
}

.sample-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.pills-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.word-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.word-pill:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.word-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(255, 107, 80, 0.30);
}

/* ============================================================
   10. SECTION COMMON
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   11. BENTO FEATURES GRID
   ============================================================ */
.features-section {
  padding-top: 40px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 22px;
  padding: 30px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-glow-strong) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Make first and last cards span wider */
.bento-card:nth-child(1) { grid-column: span 2; }
.bento-card:nth-child(4) { grid-column: span 2; }

.bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 107, 80, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.bento-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  flex-grow: 1;
}

/* ============================================================
   12. HOW IT WORKS
   ============================================================ */
.how-section {
  padding-top: 40px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-content {
  width: 100%;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #FFF;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding-top: 40px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13.5px;
  font-weight: 700;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ============================================================
   14. FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding-top: 40px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  gap: 16px;
  transition: background 0.2s ease;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--text-tertiary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   15. CTA BANNER
   ============================================================ */
.cta-section {
  padding-top: 20px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100%);
  max-width: 100%;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
  position: relative;
}

.cta-card .btn-play {
  position: relative;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 52px 0 36px;
  position: relative;
  z-index: 1;
  transition: border-color 0.4s ease;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.footer-brand-row span {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.footer-brand-desc {
  color: var(--text-tertiary);
  font-size: 13px;
  max-width: 260px;
  line-height: 1.55;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-support-links {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 12.5px;
}

/* ============================================================
   17. RESPONSIVE SYSTEM (Desktop, Tablet, Mobile)
   ============================================================ */

/* ---------- Tablet Landscape & Small Laptops (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .bento-card:nth-child(1) { grid-column: span 2; }
  .bento-card:nth-child(4) { grid-column: span 1; }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
  }

  .card-showcase {
    max-width: 640px;
    margin-bottom: 70px;
  }

  .cta-card {
    padding: 50px 32px;
  }
}

/* ---------- Tablet Portrait & Foldables (<= 860px) ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .mobile-menu {
    max-height: none;
    overflow-y: auto;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 32px;
  }

  .hero-title {
    letter-spacing: -1px;
    font-size: clamp(32px, 5.5vw, 48px);
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
  }
  .bento-card:nth-child(1),
  .bento-card:nth-child(4) { grid-column: span 1; }

  .bento-card {
    padding: 24px 22px;
    border-radius: 20px;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
  }

  .cta-card {
    padding: 42px 28px;
    border-radius: 22px;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-cols {
    justify-content: center;
    gap: 36px;
  }
}

/* ---------- Handheld Mobile Devices (<= 600px) ---------- */
@media (max-width: 600px) {
  /* Universal 20px side margins so all cards and buttons never touch screen edges */
  .container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* Smaller ambient orbs on phones: less GPU overdraw, same glow feel */
  .bg-orbs .orb-1 { width: 320px; height: 320px; }
  .bg-orbs .orb-2 { width: 280px; height: 280px; }
  .bg-orbs .orb-3 { width: 240px; height: 240px; }
  .bg-orbs .orb { filter: blur(70px); }

  .nav-inner {
    height: 60px;
  }

  .mobile-menu {
    top: 0;
    padding: calc(60px + 16px) 18px 24px;
  }

  #deepLinkNotice {
    margin-top: 60px;
    padding: 9px 16px;
    font-size: 12.5px;
  }

  /* Hero Section */
  .hero {
    padding-top: 96px;
    padding-bottom: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 6px 14px;
    margin-bottom: 18px;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
  }

  .badge-text-short { display: inline; }
  .badge-text-full { display: none; }

  .hero-title {
    font-size: clamp(26px, 7vw, 32px);
    letter-spacing: -0.6px;
    line-height: 1.16;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Action Buttons - Centered and compact with generous side space */
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 30px;
  }

  .btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 250px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 250px;
    padding: 11px 18px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
  }

  /* Stats Bar - single trust line (unboxed, divider-separated).
     The "Exams Covered" chip is hidden here: the exam rail below says it. */
  .stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 8px;
    max-width: 340px;
    margin: 0 auto 18px;
  }

  .stat-chip {
    display: inline-flex;
    width: auto;
    align-items: baseline;
    gap: 2px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
  }

  .stat-chip .stat-icon { display: none; }

  .stat-chip:nth-child(3) { display: none; }

  .stat-chip:nth-child(2)::before,
  .stat-chip:nth-child(4)::before {
    content: '·';
    color: var(--text-tertiary);
    margin: 0 6px 0 4px;
    font-weight: 400;
  }

  .stat-chip:nth-child(4) .stat-icon {
    display: inline;
    color: #F59E0B;
  }

  /* Exam Tags - full-bleed swipe rail (breaks out of the 20px container
     gutter so the cut-off chip reads as an intentional swipe cue) */
  .exam-tags {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    max-width: none;
    margin: 0 -20px 28px;
    padding: 2px 20px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    scroll-padding-left: 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
  }

  .exam-tags::-webkit-scrollbar { display: none; }

  .exam-tag {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 12.5px;
    padding: 7px 14px;
    border-radius: 999px;
  }

  /* Word Card Showcase */
  .card-showcase {
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .card-showcase::before {
    inset: -15px;
  }

  .word-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  /* Word Card Header - Clean single badge */
  .card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 14px;
  }

  .card-label {
    font-size: 10.5px;
    padding: 4px 9px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    line-height: 1.35;
    display: inline-block;
  }

  .word-title-row {
    gap: 8px;
  }

  .word-name {
    font-size: 24px;
  }

  .audio-pronounce-btn {
    padding: 5px 11px;
    font-size: 12px;
  }

  .word-definition {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .hindi-block {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 0 10px 10px 0;
  }

  .hindi-meaning {
    font-size: 14.5px;
  }

  .hindi-trick {
    font-size: 12px;
    line-height: 1.45;
  }

  .word-example {
    font-size: 12.5px;
    margin-bottom: 12px;
    padding-left: 10px;
  }

  .word-chips span {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .card-bottom-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 14px;
  }

  /* Word Card CTA Button - Single clean line, never wrap */
  .btn-card-app {
    width: auto;
    max-width: 100%;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 12px;
    justify-content: center;
  }

  .pills-scroll {
    gap: 6px;
  }

  .word-pill {
    font-size: 11.5px;
    padding: 5px 11px;
  }

  /* Bento Cards (Features) */
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .bento-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 19px;
    margin-bottom: 12px;
  }

  .bento-card h3 {
    font-size: 16.5px;
    margin-bottom: 6px;
  }

  .bento-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  /* How It Works Steps - Clean horizontal layout with proper content container */
  .steps-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .step-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-content {
    flex: 1;
    min-width: 0;
  }

  .step-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }

  .step-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
  }

  /* Testimonials */
  .testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonial-card {
    padding: 18px 18px;
    border-radius: 16px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: clamp(23px, 5.8vw, 30px);
    letter-spacing: -0.5px;
    line-height: 1.2;
  }

  .section-desc {
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* Vertical Section Spacing - Preserves Container Horizontal Gutters */
  .features-section,
  .how-section,
  .testimonials-section,
  .faq-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  /* FAQ List */
  .faq-list {
    max-width: 400px;
    margin: 0 auto;
    gap: 8px;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 13.5px;
  }

  .faq-answer-inner {
    padding: 0 16px 14px;
    font-size: 12.5px;
    line-height: 1.6;
  }

  /* CTA Banner */
  .cta-section {
    padding-top: 12px;
    padding-bottom: 48px;
  }

  .cta-card {
    padding: 30px 18px;
    border-radius: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-card h2 {
    font-size: clamp(21px, 5.2vw, 26px);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .cta-card p {
    font-size: 13px;
    margin-bottom: 20px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-card .btn-play {
    max-width: 240px;
    margin: 0 auto;
  }

  /* Footer - Compact Modern 2-Column Grid */
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    max-width: 420px;
    margin: 0 auto 28px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-brand-desc {
    max-width: 320px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.55;
  }

  .footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
  }

  .footer-col h4 {
    font-size: 11.5px;
    letter-spacing: 1px;
    margin-bottom: 12px;
  }

  .footer-col a {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-col-support {
    grid-column: span 2;
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
    margin-top: 4px;
  }

  .footer-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-support-links a {
    display: inline-flex;
    align-items: center;
  }

  footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom {
    font-size: 11.5px;
    padding-top: 18px;
    line-height: 1.6;
    text-align: center;
  }

  /* Floating Sticky CTA Bar for Mobile */
  .sticky-mobile-cta {
    display: block;
    position: fixed;
    bottom: -90px;
    left: 0;
    right: 0;
    z-index: 990;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  .sticky-mobile-cta.visible {
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(17, 24, 39, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-default);
    border-radius: 18px;
    padding: 9px 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    max-width: 380px;
    margin: 0 auto;
  }

  [data-theme="light"] .sticky-cta-inner {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .sticky-cta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .sticky-cta-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .sticky-cta-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .sticky-cta-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }

  .sticky-cta-sub {
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
    line-height: 1.2;
  }

  .btn-sticky-get {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-gradient);
    color: #FFF;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--accent-shadow);
    transition: transform 0.15s ease;
  }

  .btn-sticky-get:active {
    transform: scale(0.95);
  }
}

/* ---------- Ultra-Compact Phones (<= 360px e.g. iPhone SE, 320px-350px) ---------- */
@media (max-width: 360px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 16px;
  }

  .hero-title {
    font-size: 23px;
    letter-spacing: -0.3px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .btn-play,
  .btn-outline {
    max-width: 240px;
    font-size: 13px;
    padding: 11px 16px;
  }

  .word-card {
    padding: 16px 14px;
  }

  .word-name {
    font-size: 21px;
  }

  .btn-card-app {
    font-size: 12px;
    padding: 10px 16px;
  }

  .step-card h3 {
    font-size: 14.5px;
  }

  .stat-chip {
    font-size: 12.5px;
  }
}

/* ============================================================
   18. LEGAL & POLICY PAGES (Privacy, Terms, Account Deletion)
   ============================================================ */
.legal-main {
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.legal-back-nav:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  transform: translateX(-3px);
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.legal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.18;
  margin-bottom: 12px;
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.legal-card:hover {
  border-color: var(--border-hover);
}

.legal-card.danger-card {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.04);
}

.legal-card.danger-card h2 {
  color: #EF4444;
}

.legal-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.legal-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--text-primary);
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul, .legal-card ol {
  padding-left: 22px;
  margin: 10px 0 14px;
  color: var(--text-secondary);
}

.legal-card li {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.legal-card a:hover {
  opacity: 0.85;
}

.legal-card b, .legal-card strong {
  color: var(--text-primary);
}

/* Numbered step list for Account Deletion */
.legal-steps {
  list-style: none !important;
  counter-reset: legal-step;
  padding: 0 !important;
  margin: 16px 0 !important;
}

.legal-steps li {
  counter-increment: legal-step;
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-steps li::before {
  content: counter(legal-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-gradient);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 600px) {
  .legal-main {
    padding-top: 84px;
    padding-bottom: 40px;
  }
  .legal-card {
    padding: 20px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .legal-title {
    font-size: 27px;
  }
}

/* ============================================================
   19. SOCIAL LINKS (Footer — Instagram, YouTube, Telegram, Facebook)
   ============================================================ */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.social-links svg {
  display: block;
  flex-shrink: 0;
}

/* Centered variant (404 page footer) */
.social-links.social-center {
  justify-content: center;
  margin: 0 0 20px;
}

/* Mobile footer stacks centered — center the icon row too */
@media (max-width: 860px) {
  .footer-brand .social-links {
    justify-content: center;
  }
}

/* Safety net: if main.js fails to load or throws before the reveal setup,
   the inline <head> timer adds .force-show after 2.5s so content can never
   stay invisible. main.js clears that timer on successful boot. */
html.force-show .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   21. REDUCED MOTION — respect OS setting (JS already guards
   reveal/counters/scroll; CSS kills ambient + smooth scrolling)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-orbs .orb { animation: none; }
  .pulse-dot,
  .audio-pronounce-btn.playing { animation: none; }
  #deepLinkNotice,
  .shared-word-alert,
  #gaConsentBanner,
  #socialToast { animation: none; }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sticky-mobile-cta { transition: none; }
  .mobile-menu { transition: none; }
  .faq-answer { transition: none; }
  .social-toast { transition: none; }
  .tour-callout { transition: none; }
}

/* ============================================================
   20. GA CONSENT BANNER (GDPR/DPDP — injected by main.js)
   ============================================================ */
#gaConsentBanner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  animation: bannerUp 0.35s ease;
}

#gaConsentBanner .ga-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

#gaConsentBanner button {
  background: var(--accent-gradient);
  color: #FFF;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
}

#gaConsentBanner button.ga-decline {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

/* ============================================================
   22. SOCIAL PROOF TOAST (populated by main.js — fixed top-left,
   below navbar; sits under the mobile menu overlay at z 999)
   ============================================================ */
.social-toast {
  position: fixed;
  top: 80px;
  left: 16px;
  z-index: 940;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 10px 12px;
  max-width: 340px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.social-toast.show {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

/* Deep-link banner pushes page content down — keep the toast clear of it */
body.has-deeplink .social-toast { top: 128px; }

.st-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.st-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #FFF;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.st-text {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-text strong { font-weight: 700; }

.st-meta {
  font-size: 11.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.st-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.st-close:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

@media (max-width: 600px) {
  .social-toast {
    top: 70px;
    left: 12px;
    max-width: min(320px, calc(100vw - 24px));
    padding: 9px 10px;
    border-radius: 14px;
  }
  body.has-deeplink .social-toast { top: 114px; }
  .st-text { font-size: 12.5px; }
  .st-avatar { width: 32px; height: 32px; font-size: 14px; }
}

/* ============================================================
   23. APP TOUR — reusable phone mockup with arrow callouts.
   Copy .tour-stage for a new screen: swap .phone-screen content
   and the 3 .tour-callout pills + .tour-legend items.
   ============================================================ */
.tour-section {
  padding-top: 24px;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

.tour-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 4px;
  max-width: 920px;
  margin: 0 auto;
}

.tour-side {
  display: flex;
  min-width: 0;
}

.tour-side.tour-left {
  justify-content: flex-end;
  align-items: center;
}

.tour-side.tour-right {
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 0 84px;
}

/* Floating label + curved arrow */
.tour-callout {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tc-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #FFF;
  padding: 9px 16px;
  border-radius: 999px;
  border: 2.5px solid #FFF;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.30);
  white-space: nowrap;
}

.tc-orange .tc-pill { background: linear-gradient(135deg, #FF8A45, #FF6B50); }
.tc-violet .tc-pill { background: linear-gradient(135deg, #8B5CF6, #6D43F0); }
.tc-pink .tc-pill { background: linear-gradient(135deg, #FD2968, #E0145B); }

.tc-arrow { flex-shrink: 0; overflow: visible; }

.tc-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Phone frame */
.phone-frame {
  width: min(300px, 78vw);
  border-radius: 46px;
  background: #0B0E14;
  padding: 11px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  justify-self: center;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  border-radius: 999px;
  background: #0B0E14;
  z-index: 3;
}

.phone-screen {
  border-radius: 36px;
  background: #F1F4EF;
  color: #14201B;
  overflow: hidden;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 560px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px 0;
}

.phone-sicons { opacity: 0.85; display: flex; }

.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E7EEE9;
  color: #1E2A24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E7EEE9;
  border-radius: 999px;
  padding: 10px 14px;
  margin: 0 10px;
  font-size: 13px;
}

.phone-progress strong { font-weight: 800; }

.phone-track {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.phone-fill {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: 99px;
  background: #0E7A5F;
}

.phone-word {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 37px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  color: #10181A;
  margin-top: 10px;
}

.phone-pron {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  font-size: 13px;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.phone-audio {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 122, 95, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex-shrink: 0;
}

.phone-defcard {
  background: #FFF;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #1E2A24;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-defcard strong { font-weight: 800; }

.phone-example {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  text-align: center;
  color: #46555A;
}

.phone-actionrow {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 6px;
}

.phone-actionrow span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFF;
  color: #1E2A24;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
}

.phone-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background: #FFF;
  border-radius: 20px 20px 14px 14px;
  padding: 10px 4px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #3A4A44;
  min-width: 44px;
}

.phone-tabbar em {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
}

.phone-tabbar .active {
  color: #0E7A5F;
}

.phone-tabbar .active em { font-weight: 800; }

.phone-homebar {
  width: 110px;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.25);
  margin: 6px auto 0;
}

/* Numbered dots (mobile legend anchors) */
.tour-target { position: relative; }

.tour-dot {
  display: none;
  position: absolute;
  top: -11px;
  right: -9px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #FFF;
  font-size: 12.5px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-style: normal;
}

/* Mobile legend (side callouts don't fit on phones) */
.tour-legend {
  display: none;
  list-style: none;
  max-width: 400px;
  margin: 22px auto 0;
  padding: 0;
  flex-direction: column;
  gap: 10px;
}

.tour-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.tour-legend strong { color: var(--text-primary); }

.tour-dot.static {
  display: inline-flex;
  position: static;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .tour-stage { grid-template-columns: 1fr; }
  .tour-side { display: none; }
  .tour-legend { display: flex; }
  .tour-dot { display: inline-flex; }
}

@media (max-width: 600px) {
  .tour-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .phone-word { font-size: 30px; }
  .tc-pill { font-size: 14px; }
}

