/* ═══════════════════════════════════════════════════════════
   TADREEB LANDING PAGE — style.css
   Dark-first design with light mode support
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg: #0b0f1e;
  --bg-card: #141929;
  --bg-card-light: #1c2240;
  --gold: #ffb800;
  --gold-light: #ffd54f;
  --emerald: #00e5a0;
  --purple: #7c4dff;
  --purple-light: #b388ff;
  --sky: #00b4d8;
  --error: #ff4757;
  --white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #636e82;
  --border: #2a2f4a;
  --border-light: #3a3f5a;
  --gradient-gold: linear-gradient(135deg, #ffb800, #ff8c00);
  --gradient-purple: linear-gradient(135deg, #7c4dff, #448aff);
  --gradient-emerald: linear-gradient(135deg, #00e5a0, #00b4d8);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Light Mode ──────────────────────────────────────── */
body.light {
  --bg: #f7f8fc;
  --bg-card: #ffffff;
  --bg-card-light: #f0f1f5;
  --text-primary: #1a1a2e;
  --text-secondary: #555b6e;
  --text-muted: #8b8fa3;
  --border: #e2e4eb;
  --border-light: #d1d5db;
  --white: #1a1a2e;
}
body.light .navbar {
  background: rgba(247, 248, 252, 0.85);
}
body.light .store-btn.apple {
  background: #1a1a2e;
  color: #fff;
}
body.light .store-btn.google {
  background: var(--bg-card);
  color: #1a1a2e;
}
body.light .phone-frame {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
body.light .phone-screen {
  background: #f7f8fc;
}
body.light .hero-glow {
  opacity: 0.08;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background 0.3s,
    color 0.3s;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
}

/* ── Theme toggle ────────────────────────────────────── */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.theme-toggle:hover {
  border-color: var(--gold);
  transform: scale(1.1);
}

/* ── Gradient Text ───────────────────────────────────── */
.gradient-text.gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text.purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text.emerald {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11, 15, 30, 0.8);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-gold);
  color: #1a1400;
  font-size: 18px;
}
.logo-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-cta {
  padding: 10px 24px !important;
  border-radius: var(--radius-xl);
  background: var(--gradient-gold) !important;
  color: #1a1400 !important;
  font-weight: 800 !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
}
.hero-glow--gold {
  top: -200px;
  right: -100px;
  background: var(--gold);
}
.hero-glow--purple {
  bottom: -200px;
  left: -200px;
  background: var(--purple);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  background: rgba(124, 77, 255, 0.15);
  border: 1px solid rgba(124, 77, 255, 0.3);
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}
.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.store-btn:hover {
  transform: translateY(-2px);
}
.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}
.store-btn strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.store-btn.apple {
  background: var(--white);
  color: #111;
}
.store-btn.apple:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}
.store-btn.google {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.store-btn.google:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--border-light);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  position: relative;
  z-index: 1;
}
.phone-frame {
  width: 280px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 3px solid var(--border);
  padding: 12px;
  box-shadow:
    0 0 80px rgba(124, 77, 255, 0.15),
    0 0 40px rgba(255, 184, 0, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s;
}
.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  padding: 20px 16px;
  transition: background 0.3s;
}
.mock-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-greeting {
  font-size: 12px;
  color: var(--text-muted);
}
.mock-name {
  font-size: 20px;
  font-weight: 900;
}
.mock-streak-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 12px;
}
.mock-streak-icon {
  font-size: 24px;
}
.mock-streak-count {
  font-size: 14px;
  font-weight: 800;
  color: var(--purple-light);
}
.mock-streak-sub {
  font-size: 11px;
  color: var(--text-muted);
}
.mock-daily {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    135deg,
    rgba(124, 77, 255, 0.15),
    rgba(124, 77, 255, 0.05)
  );
  border: 1px solid rgba(124, 77, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}
.mock-arrow {
  margin-left: auto;
  color: var(--purple);
}
.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock-mode {
  padding: 14px 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--border);
}
.mock-mode--quiz {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.25);
  color: var(--gold);
}
.mock-mode--multi {
  background: rgba(0, 229, 160, 0.1);
  border-color: rgba(0, 229, 160, 0.25);
  color: var(--emerald);
}
.mock-mode--survival {
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255, 71, 87, 0.25);
  color: var(--error);
}
.mock-mode--path {
  background: rgba(124, 77, 255, 0.1);
  border-color: rgba(124, 77, 255, 0.25);
  color: var(--purple-light);
}
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.floating-badge--1 {
  top: 30px;
  right: -20px;
  background: rgba(124, 77, 255, 0.2);
  border: 1px solid rgba(124, 77, 255, 0.3);
  color: var(--purple-light);
}
.floating-badge--2 {
  bottom: 120px;
  left: -10px;
  background: rgba(255, 184, 0, 0.2);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--gold);
  animation-delay: 1.3s;
}
.floating-badge--3 {
  bottom: 40px;
  right: -30px;
  background: rgba(0, 229, 160, 0.2);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--emerald);
  animation-delay: 2.6s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ═══════════ SECTIONS ═══════════ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.25);
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-badge--gold {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.25);
  color: var(--gold);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════ FEATURES ═══════════ */
.features-section {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.feature-card--large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px 24px;
  align-items: start;
}
.feature-card--large .feature-icon {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  font-size: 32px;
}
.feature-card--large h3 {
  font-size: 24px;
}
.feature-card--large .feature-tags {
  grid-column: span 2;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-icon--gold {
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.2);
}
.feature-icon--purple {
  background: rgba(124, 77, 255, 0.12);
  border: 1px solid rgba(124, 77, 255, 0.2);
}
.feature-icon--emerald {
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.2);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature-tags span {
  padding: 5px 12px;
  border-radius: var(--radius-xl);
  background: var(--bg-card-light);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ═══════════ GAME MODES ═══════════ */
.modes-section {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124, 77, 255, 0.03),
    transparent
  );
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}
.mode-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.mode-card--featured {
  border-color: rgba(255, 184, 0, 0.3);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.05), var(--bg-card));
}
.mode-card--featured:hover {
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 8px 40px rgba(255, 184, 0, 0.1);
}
.mode-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.mode-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--bg-card-light);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mode-badge--gold {
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
}
.mode-badge--purple {
  background: rgba(124, 77, 255, 0.15);
  color: var(--purple-light);
}
.mode-badge--error {
  background: rgba(255, 71, 87, 0.15);
  color: var(--error);
}
.mode-badge--emerald {
  background: rgba(0, 229, 160, 0.15);
  color: var(--emerald);
}
.mode-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.mode-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ═══════════ LIVE QUIZ PROMO ═══════════ */
.live-quiz-section {
  padding: 60px 0;
}
.live-quiz-card {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    135deg,
    rgba(255, 184, 0, 0.08),
    rgba(124, 77, 255, 0.08)
  );
  border: 1px solid rgba(255, 184, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.live-quiz-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.live-quiz-card h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  margin-bottom: 16px;
}
.live-quiz-card p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 28px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  background: var(--gradient-gold);
  color: #1a1400;
  font-weight: 800;
  font-size: 16px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3);
}

/* ═══════════ QUOTE ═══════════ */
.quote-section {
  padding: 80px 0;
}
.quote-card {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    135deg,
    rgba(124, 77, 255, 0.08),
    rgba(255, 184, 0, 0.05)
  );
  border: 1px solid rgba(124, 77, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.06), transparent 70%);
  pointer-events: none;
}
.quote-ornament {
  font-size: 36px;
  margin-bottom: 24px;
  opacity: 0.8;
}
.quote-arabic {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--gold);
}
.quote-translation {
  font-size: 20px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
}
.quote-card cite {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

/* ═══════════ PREMIUM ═══════════ */
.premium-section {
  padding: 100px 0;
}
.premium-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.premium-comparison {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 24px;
  background: var(--bg-card-light);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.comparison-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.comparison-col {
  color: var(--text-secondary);
}
.comparison-col:first-child {
  color: var(--text-primary);
  font-weight: 600;
}
.comparison-col--premium {
  color: var(--gold) !important;
  font-weight: 700 !important;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}
.pricing-card--popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.06), var(--bg-card));
  box-shadow: 0 0 40px rgba(255, 184, 0, 0.08);
}
.pricing-card--popular:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 60px rgba(255, 184, 0, 0.12);
}
.pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-xl);
  background: var(--gradient-gold);
  color: #1a1400;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-period {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 8px;
}
.pricing-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}
.pricing-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ═══════════ HOW IT WORKS ═══════════ */
.how-section {
  padding: 100px 0;
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: transform 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #1a1400;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.step-arrow {
  color: var(--text-muted);
  font-size: 24px;
}

/* ═══════════ DOWNLOAD CTA ═══════════ */
.download-section {
  padding: 80px 0 100px;
}
.download-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
  border: 1px solid var(--border);
  overflow: hidden;
}
.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.download-card h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.download-card p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large {
    grid-column: span 2;
  }
  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .feature-card--large .feature-icon {
    grid-row: span 1;
  }
  .feature-card--large .feature-tags {
    grid-column: span 1;
  }
  .modes-grid {
    grid-template-columns: 1fr;
  }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 13px;
    padding: 12px 16px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .floating-badge {
    display: none;
  }
  .phone-frame {
    width: 240px;
  }
  .hero {
    padding-top: 120px;
    min-height: auto;
  }
}
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero-stats {
    gap: 16px;
  }
  .stat-value {
    font-size: 22px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .quote-card {
    padding: 40px 20px;
  }
  .live-quiz-card {
    padding: 40px 20px;
  }
}
