/* ===============================================================
   Tealum Quran Learn — landing page
   Palette mirrors the Flutter app (lib/core/constants/app_colors.dart)
   =============================================================== */

:root {
  --primary: #5B8DEF;
  --primary-light: #8FB3F5;
  --primary-dark: #3A6FD0;
  --primary-soft: #E8F0FE;
  --secondary: #FFB84C;
  --secondary-soft: #FFF3E0;
  --accent: #FF6B9D;
  --accent-soft: #FFE6EE;
  --purple: #A78BFA;
  --purple-soft: #EEE9FE;
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --surface-alt: #FDF4E8;
  --text: #2B2D42;
  --text-secondary: #6C7A89;
  --text-light: #B8C0CC;
  --xp: #FFC93C;
  --heart: #FF6B9D;
  --streak: #FF8C42;
  --gem: #5B8DEF;
  --correct: #7ED957;
  --correct-light: #E6F9DC;
  --close: #FFB84C;
  --incorrect: #FF6B6B;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(91, 141, 239, 0.15);
  --shadow-lg: 0 20px 50px rgba(91, 141, 239, 0.22);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

html[data-lang="en"] body,
html[data-lang="en"] {
  font-family: var(--font-en);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Decorative background blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--primary-light);
  top: -150px; right: -150px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--accent-soft);
  top: 40%; left: -150px;
}
.blob-3 {
  width: 450px; height: 450px;
  background: var(--secondary-soft);
  bottom: -100px; right: 20%;
}

/* ───── Header ───── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(91, 141, 239, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.logo-mark {
  filter: drop-shadow(0 4px 10px rgba(91, 141, 239, 0.35));
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.nav a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.2s, background 0.2s;
}
.lang-toggle:hover {
  transform: scale(1.05);
  background: var(--primary-light);
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary-soft);
}
.btn-ghost:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ───── Hero ───── */
.hero {
  padding: 60px 0 80px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--secondary-soft);
  color: #B5731E;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 480px;
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* Hero visual: phone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 280px;
  height: 580px;
  background: #1A1B2E;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 30px 80px rgba(91, 141, 239, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 0 0 2px #2B2D42;
  position: relative;
}
.phone-tilt { transform: rotate(-3deg); }
.phone-sm {
  width: 240px;
  height: 500px;
  border-radius: 36px;
  padding: 7px;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1A1B2E;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.phone-sm .phone-screen { border-radius: 30px; }

/* Mockup screens */
.mock {
  height: 100%;
  padding: 30px 16px 16px;
  font-family: var(--font-ar);
  display: flex;
  flex-direction: column;
}
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  padding: 4px 4px 12px;
}

.mock-toprow {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pill-streak { color: var(--streak); }
.pill-gem { color: var(--gem); }
.pill-heart { color: var(--heart); }

.mock-greeting {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-soft), var(--surface));
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.mock-noor { flex-shrink: 0; }
.mock-hi {
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-dark);
  margin-bottom: 2px;
}
.mock-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.mock-progress {
  height: 7px;
  background: var(--bg);
  border-radius: 100px;
  overflow: hidden;
}
.mock-progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 100px;
}

.mock-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--purple), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mock-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mock-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  background: #E0E5EC;
  color: #6C7A89;
  box-shadow: 0 6px 0 #B8C0CC, var(--shadow-sm);
}
.mock-node.done {
  background: var(--secondary);
  color: white;
  box-shadow: 0 6px 0 var(--streak);
}
.mock-node.done-mid {
  background: var(--correct);
  color: white;
  box-shadow: 0 6px 0 #5FB83C;
}
.mock-node.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 0 var(--primary-dark), 0 0 0 6px rgba(91, 141, 239, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { transform: scale(1.06); }
}
.mock-path .mock-node:nth-child(1) { transform: translateX(-30px); }
.mock-path .mock-node:nth-child(2) { transform: translateX(30px); }
.mock-path .mock-node:nth-child(3) { transform: translateX(-20px); }
.mock-path .mock-node:nth-child(4) { transform: translateX(20px); }
.mock-path .mock-node:nth-child(5) { transform: translateX(-30px); }

/* Floating cards on phone */
.float-card {
  position: absolute;
  background: var(--surface);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  animation: float 4s ease-in-out infinite;
}
.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.float-xp { top: 80px; left: -30px; }
.float-xp .float-icon { background: var(--xp); }
.float-xp { color: #B5731E; }
.float-correct { bottom: 100px; right: -30px; animation-delay: 1.5s; }
.float-correct .float-icon { background: var(--correct); }
.float-correct { color: #4F8B30; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Section heads */
.section-head {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: var(--text);
}
.section-head p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ───── Features ───── */
.features {
  padding: 100px 0 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
  background: var(--primary-soft);
}
.feat-1 .feature-icon { background: var(--primary-soft); }
.feat-2 .feature-icon { background: var(--accent-soft); }
.feat-3 .feature-icon { background: var(--secondary-soft); }
.feat-4 .feature-icon { background: var(--purple-soft); }
.feat-5 .feature-icon { background: var(--correct-light); }
.feat-6 .feature-icon { background: #FFF3D6; }

.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ───── Screens ───── */
.screens {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, transparent, var(--primary-soft), transparent);
}

.screens-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Quran reader mock */
.mock.quran { padding: 30px 14px 16px; }
.mock-app-title {
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text);
}
.quran-title {
  font-family: 'Cairo', serif;
  background: linear-gradient(135deg, var(--primary-dark), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mock-search {
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.mock-surah-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 11px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-surah-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.mock-surah-num.n2 { background: linear-gradient(135deg, var(--secondary), var(--accent)); }
.mock-surah-num.n3 { background: linear-gradient(135deg, var(--purple), var(--primary)); }
.mock-surah-name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 2px;
}
.mock-surah-meta {
  font-size: 10px;
  color: var(--text-secondary);
}

/* Lesson mock */
.mock.lesson { padding: 30px 14px 16px; }
.mock-lesson-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.mock-x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.mock-progress-lesson {
  flex: 1;
  height: 10px;
  background: var(--primary-soft);
}
.mock-progress-lesson .mock-progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.mock-question {
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text);
}
.mock-answer-box {
  background: var(--surface);
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}
.mock-words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}
.word-chip {
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 10px;
  font-family: 'Amiri', 'Cairo', serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.mock-check-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  margin-top: auto;
  box-shadow: var(--shadow-md);
}

/* Recitation mock */
.mock.recitation { padding: 30px 14px 16px; }
.mock-ayah-box {
  background: var(--surface-alt);
  border: 1.5px solid rgba(91, 141, 239, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
  font-family: 'Amiri', 'Cairo', serif;
  font-size: 18px;
  line-height: 2;
}
.word-correct {
  color: var(--correct);
  background: var(--correct-light);
  padding: 0 4px;
  border-radius: 4px;
}
.word-close {
  color: var(--secondary-dark, #B5731E);
  background: var(--secondary-soft);
  padding: 0 4px;
  border-radius: 4px;
}

.mock-score {
  background: var(--surface);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.score-emoji { font-size: 28px; margin-bottom: 4px; }
.score-text {
  font-weight: 800;
  font-size: 13px;
  color: var(--correct);
  margin-bottom: 8px;
}
.score-bar {
  height: 8px;
  background: var(--primary-soft);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 4px;
}
.score-fill {
  height: 100%;
  width: 93%;
  background: linear-gradient(90deg, var(--correct), #4ECDC4);
}
.score-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--correct);
}
.mock-mic {
  width: 60px;
  height: 60px;
  margin: auto auto 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 0 8px rgba(91, 141, 239, 0.18), var(--shadow-md);
}

/* Profile mock */
.mock.profile {
  padding: 30px 14px 16px;
  align-items: center;
  text-align: center;
}
.mock-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}
.mock-avatar-circle svg {
  background: white;
  border-radius: 50%;
}
.mock-name {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}
.mock-level {
  font-size: 11px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--primary));
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.mock-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.mock-stat-card {
  background: var(--surface);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.mock-stat-icon { font-size: 18px; margin-bottom: 4px; }
.mock-stat-val {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 2px;
}
.mock-stat-card.xp .mock-stat-val { color: var(--xp); }
.mock-stat-card.streak .mock-stat-val { color: var(--streak); }
.mock-stat-card.lessons .mock-stat-val { color: var(--primary); }
.mock-stat-card.gems .mock-stat-val { color: var(--gem); }
.mock-stat-lbl {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ───── Avatars ───── */
.avatars { padding: 80px 0; }
.avatar-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
  padding: 8px;
}
.avatar-circle:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-lg);
}
.avatar-circle svg {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

/* ───── Reciters ───── */
.reciters {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, var(--accent-soft), transparent);
}

.reciter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.reciter-card {
  background: var(--surface);
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.reciter-card:hover { transform: translateY(-4px); }
.reciter-mic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}
.reciter-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.reciter-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ───── Languages ───── */
.languages { padding: 80px 0; }

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.lang-card {
  background: var(--surface);
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
  border: 2px solid transparent;
}
.lang-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.lang-flag {
  font-size: 50px;
  margin-bottom: 14px;
}
.lang-card h4 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lang-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ───── Download ───── */
.download {
  padding: 80px 0;
}
.download-inner {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.download-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 201, 60, 0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.25), transparent 50%);
  pointer-events: none;
}
.download-text {
  color: white;
  position: relative;
}
.download-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.download-text p {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
}
.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.store-btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.75);
}
.store-icon {
  font-size: 24px;
  line-height: 1;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: start;
}
.store-text small { font-size: 10px; opacity: 0.85; }
.store-text strong { font-size: 16px; font-weight: 800; }

.download-soon {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
}

.download-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* ───── Footer ───── */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(91, 141, 239, 0.1);
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.footer-brand strong { font-weight: 800; }
.footer-brand span {
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--primary); }
.footer-meta {
  font-size: 13px;
  color: var(--text-light);
}

/* ───── Responsive ───── */
@media (max-width: 920px) {
  .nav { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
  }
  .download-buttons { justify-content: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { gap: 12px; }
  .header-actions .btn { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .float-card { display: none; }
  .features, .screens, .avatars, .reciters, .languages, .download {
    padding: 60px 0;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
