/* 
  iERA GORAP Dawah & New Muslim Platform
  Cinematic Dark Theme - Stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Cinzel:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

:root {
  /* Colors - Dark Backgrounds */
  --bg-dark-1: #0A0B0D;
  --bg-dark-2: #0D0F14;
  --bg-dark-3: #111318;
  --bg-card: rgba(17, 19, 24, 0.75);
  --bg-card-hover: rgba(26, 29, 36, 0.85);

  /* Typography & Readability Colors */
  --text-pure: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-main: #F8FAFC;

  /* Vibrant Gradients */
  --grad-teal-cyan: linear-gradient(135deg, #06B6D4, #22D3EE);
  --grad-emerald-lime: linear-gradient(135deg, #10B981, #84CC16);
  --grad-amber-orange: linear-gradient(135deg, #F59E0B, #F97316);
  --grad-violet-fuchsia: linear-gradient(135deg, #8B5CF6, #D946EF);
  --grad-rose-pink: linear-gradient(135deg, #F43F5E, #EC4899);

  /* Gold Tones */
  --gold-primary: #FFD700;
  --gold-secondary: #F7C948;
  --gold-dark: #DAA520;
  --gold-500: #FFD700;
  --gold-600: #F59E0B;
  --grad-gold: linear-gradient(135deg, #FFD700, #DAA520);

  /* Accent Colors */
  --primary-600: #06B6D4;
  --primary-900: #E2E8F0;
  --primary-950: #FFFFFF;
  --accent-success: #10B981;
  --accent-success-bg: rgba(16, 185, 129, 0.15);
  --accent-danger: #F43F5E;
  --accent-danger-bg: rgba(244, 63, 94, 0.15);

  /* Surfaces & Cards */
  --surface-card: rgba(17, 19, 24, 0.8);
  --sand-50: rgba(255, 255, 255, 0.04);
  --sand-100: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-booklet: 'Georgia', 'Merriweather', serif;

  /* Glass/Glow */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);

  /* Transitions */
  --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ------------------------------------- */
/* ## Reset & Base */
/* ------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-1);
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
}

/* Modern Typography Legibility Rules */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .booklet-main-title, .modal-title, .cert-title {
  text-wrap: balance;
  letter-spacing: -0.015em;
}

p, li, blockquote, .section-desc, .hero-lead,
.arg-points li, .chat-bubble, .obj-elevator, .obj-expanded-content,
.booklet-body p, .step-desc {
  text-wrap: pretty;
}

img, svg {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  outline: none;
  transition: var(--trans-smooth);
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-1);
}
::-webkit-scrollbar-thumb {
  background: var(--grad-teal-cyan);
  border-radius: 4px;
}

::selection {
  background: rgba(255, 215, 0, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* ------------------------------------- */
/* ## Header & Navigation */
/* ------------------------------------- */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 11, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-crest {
  height: 48px;
  width: 48px;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: #94A3B8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.persona-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-dark-2);
  padding: 0.25rem;
  border-radius: 2rem;
  border: 1px solid var(--glass-border);
}

.persona-btn {
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.persona-btn.active {
  background: var(--glass-bg);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.persona-icon {
  width: 16px;
  height: 16px;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-item-btn {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #CBD5E1;
  position: relative;
}

.nav-item-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-teal-cyan);
  transition: var(--trans-smooth);
}

.nav-item-btn:hover::after, .nav-item-btn.active::after {
  width: 100%;
}

.nav-item-btn:hover, .nav-item-btn.active {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Font Scaler Widget */
.font-scaler-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 0.2rem 0.4rem;
  gap: 0.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-font-scale {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--trans-smooth);
}

.btn-font-scale:hover {
  background: rgba(6, 182, 212, 0.25);
  color: #22D3EE;
  border-color: rgba(6, 182, 212, 0.5);
  transform: scale(1.1);
}

.btn-font-scale:active {
  transform: scale(0.92);
}

.font-scale-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  min-width: 38px;
  text-align: center;
  user-select: none;
}

/* ------------------------------------- */
/* ## Small & Reading Font Scaler Engine */
/* Big fonts (h1, h2, large arabic, stat values) are NOT affected */
/* ------------------------------------- */
:root {
  --text-scale: 1;
}

body.text-scale-100 { --text-scale: 1; }
body.text-scale-115 { --text-scale: 1.15; }
body.text-scale-130 { --text-scale: 1.30; }
body.text-scale-145 { --text-scale: 1.45; }

/* Small & Reading Typography Scaling */
.hero-lead { font-size: calc(1.25rem * var(--text-scale)); }
.section-desc { font-size: calc(1.1rem * var(--text-scale)); }
.stat-sub { font-size: calc(0.85rem * var(--text-scale)); }
.stat-label { font-size: calc(0.9rem * var(--text-scale)); }
.arg-points li { font-size: calc(0.95rem * var(--text-scale)); line-height: calc(1.6 * (1 + (var(--text-scale) - 1) * 0.1)); }
.arg-analogy { font-size: calc(0.95rem * var(--text-scale)); }
.tips-list li { font-size: calc(0.95rem * var(--text-scale)); }
.quran-english-text { font-size: calc(1.2rem * var(--text-scale)); }
.quran-ref-badge { font-size: calc(0.9rem * var(--text-scale)); }
.chat-bubble { font-size: calc(1rem * var(--text-scale)); line-height: calc(1.5 * (1 + (var(--text-scale) - 1) * 0.1)); }
.sim-choice-btn { font-size: calc(0.95rem * var(--text-scale)); }
.feedback-callout { font-size: calc(0.92rem * var(--text-scale)); }
.sim-persona-info p { font-size: calc(0.85rem * var(--text-scale)); }
.scenario-choice-btn { font-size: calc(0.9rem * var(--text-scale)); }
.obj-elevator { font-size: calc(1rem * var(--text-scale)); }
.obj-expanded-content { font-size: calc(0.95rem * var(--text-scale)); }
.obj-quran-ref { font-size: calc(0.85rem * var(--text-scale)); }
.obj-details-toggle { font-size: calc(0.85rem * var(--text-scale)); }
.step-desc { font-size: calc(0.95rem * var(--text-scale)); }
.shahada-phonetics { font-size: calc(1.25rem * var(--text-scale)); }
.shahada-meaning { font-size: calc(1.1rem * var(--text-scale)); }
.flashcard-content.back-content { font-size: calc(1.05rem * var(--text-scale)); }
.flashcard-hint { font-size: calc(0.82rem * var(--text-scale)); }
.quiz-option-btn { font-size: calc(0.95rem * var(--text-scale)); }
.booklet-body p, .booklet-body li { font-size: calc(1.15rem * var(--text-scale)); line-height: calc(1.75 * (1 + (var(--text-scale) - 1) * 0.15)); }
.modal-body, .modal-body p, .modal-body li { font-size: calc(0.95rem * var(--text-scale)); }
.footer-brand p { font-size: calc(0.9rem * var(--text-scale)); }
.footer-links a { font-size: calc(0.9rem * var(--text-scale)); }
.footer-bottom { font-size: calc(0.85rem * var(--text-scale)); }

.btn-dawah-quick {
  background: var(--grad-gold);
  color: var(--bg-dark-1);
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-dawah-quick:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
}

/* ------------------------------------- */
/* ## Hero Section */
/* ------------------------------------- */
.hero-banner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title .gold-text {
  color: var(--gold-primary);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-lead {
  font-size: 1.25rem;
  color: #CBD5E1;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad-teal-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ------------------------------------- */
/* ## View Panels */
/* ------------------------------------- */
.view-panel {
  display: none;
  animation: fadeIn 0.6s ease forwards;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------- */
/* ## Section Headers */
/* ------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

/* ------------------------------------- */
/* ## GORAP Navigator */
/* ------------------------------------- */
.gorap-navigator {
  display: flex;
  justify-content: space-between;
  background: var(--bg-dark-2);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  margin-bottom: 3rem;
  overflow-x: auto;
}

.gorap-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  flex: 1;
  min-width: 120px;
  position: relative;
  opacity: 0.6;
}

.gorap-nav-btn:hover {
  opacity: 0.8;
  background: rgba(255,255,255,0.02);
}

.gorap-nav-btn.active {
  opacity: 1;
  background: var(--bg-dark-3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gorap-letter-badge {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  background: #1E293B;
  color: #94A3B8;
  transition: var(--trans-smooth);
}

.gorap-nav-btn:nth-child(1).active .gorap-letter-badge { background: var(--grad-teal-cyan); color: #000; box-shadow: 0 0 20px rgba(6,182,212,0.4); }
.gorap-nav-btn:nth-child(2).active .gorap-letter-badge { background: var(--grad-emerald-lime); color: #000; box-shadow: 0 0 20px rgba(16,185,129,0.4); }
.gorap-nav-btn:nth-child(3).active .gorap-letter-badge { background: var(--grad-amber-orange); color: #000; box-shadow: 0 0 20px rgba(245,158,11,0.4); }
.gorap-nav-btn:nth-child(4).active .gorap-letter-badge { background: var(--grad-violet-fuchsia); color: #fff; box-shadow: 0 0 20px rgba(139,92,246,0.4); }
.gorap-nav-btn:nth-child(5).active .gorap-letter-badge { background: var(--grad-rose-pink); color: #fff; box-shadow: 0 0 20px rgba(244,63,94,0.4); }

.gorap-nav-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.gorap-nav-sub {
  font-size: 0.8rem;
  color: #64748B;
}

.gorap-nav-btn.active .gorap-nav-sub {
  color: #CBD5E1;
}

/* ------------------------------------- */
/* ## GORAP Content */
/* ------------------------------------- */
.gorap-content-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.gorap-content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-teal-cyan); /* overridden dynamically sometimes */
}

.quran-ayah-card {
  background: radial-gradient(ellipse at top right, rgba(255, 215, 0, 0.12), transparent 55%), var(--bg-dark-2);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  position: relative;
}

.quran-arabic-text {
  font-family: var(--font-arabic);
  font-size: 2.5rem;
  line-height: 2.2;
  color: var(--gold-secondary);
  margin-bottom: 1.5rem;
  direction: rtl;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
}

.quran-english-text {
  font-size: 1.18rem;
  font-style: italic;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

.quran-ref-badge {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold-primary);
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Core Objective Callout */
.core-objective-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.05)), var(--bg-dark-3);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-left: 4px solid var(--primary-600);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.core-objective-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.core-objective-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #22D3EE;
}

.core-objective-text {
  font-size: 1.05rem;
  color: #F8FAFC;
  line-height: 1.65;
  font-weight: 500;
}

.arguments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.arg-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--trans-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.arg-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.arg-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.arg-summary {
  font-size: 0.95rem;
  color: #CBD5E1;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.arg-points {
  list-style: none;
  flex: 1;
}

.arg-points li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: #F1F5F9;
  font-size: 0.96rem;
  line-height: 1.65;
}

.arg-points li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.arg-analogy {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border-left: 3.5px solid #10B981;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
  color: #E2E8F0;
  line-height: 1.65;
}

.arg-analogy strong {
  color: #6EE7B7;
}

.tips-callout {
  display: flex;
  gap: 1.5rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 1rem;
  padding: 2rem;
}

.tips-icon {
  font-size: 2rem;
  color: #F59E0B;
}

.tips-content h4 {
  color: #F59E0B;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tips-list {
  list-style: none;
}

.tips-list li {
  margin-bottom: 0.5rem;
  color: #E2E8F0;
  display: flex;
  gap: 0.5rem;
}
.tips-list li::before {
  content: '•';
  color: #F59E0B;
}

/* ------------------------------------- */
/* ## Simulator */
/* ------------------------------------- */
.simulator-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: var(--bg-dark-2);
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  height: 700px;
}

.sim-sidebar {
  background: var(--bg-dark-3);
  padding: 2rem;
  border-right: 1px solid var(--glass-border);
  overflow-y: auto;
}

.sim-scenario-selector h3 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
}

.scenario-btn-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-choice-btn {
  text-align: left;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  transition: var(--trans-smooth);
}

.scenario-choice-btn:hover {
  background: rgba(255,255,255,0.05);
}

.scenario-choice-btn.active {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: inset 4px 0 0 #06B6D4;
}

.sim-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sim-stage-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-persona-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sim-score-badge {
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.sim-chat-area {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(0,0,0,0.2);
}

.chat-bubble {
  max-width: 84%;
  padding: 1.15rem 1.6rem;
  border-radius: 1.25rem;
  line-height: 1.65;
  font-size: 1rem;
}

.chat-bubble.speaker {
  align-self: flex-start;
  background: rgba(22, 27, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3.5px solid #8B5CF6;
  border-bottom-left-radius: 0.25rem;
  color: #F8FAFC;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.chat-bubble.speaker strong {
  color: #C084FC;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-bubble.user-resp {
  align-self: flex-end;
  background: linear-gradient(135deg, #0E7490, #0F766E);
  color: #FFFFFF;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-bottom-right-radius: 0.25rem;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
}

.chat-bubble.user-resp strong {
  color: #A5F3FC;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feedback-callout {
  align-self: center;
  padding: 0.85rem 1.75rem;
  border-radius: 2rem;
  font-size: 0.92rem;
  text-align: center;
  max-width: 85%;
  line-height: 1.55;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.feedback-callout.positive {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.feedback-callout.negative {
  background: rgba(244, 63, 94, 0.15);
  color: #FB7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.sim-completed-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08)), var(--bg-dark-3);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sim-completed-title {
  font-family: var(--font-heading);
  color: #34D399;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.sim-completed-outcome {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

.sim-completed-score {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.sim-actions-area {
  padding: 2rem;
  background: var(--bg-dark-3);
  border-top: 1px solid var(--glass-border);
}

.sim-prompt-title {
  margin-bottom: 1rem;
  color: #94A3B8;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sim-choice-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 3.5rem;
}

.sim-choice-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.sim-choice-num {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ------------------------------------- */
/* ## Objections */
/* ------------------------------------- */
.search-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.search-input-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: var(--bg-dark-2);
  border: 1px solid var(--glass-border);
  border-radius: 3rem;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
  transition: var(--trans-smooth);
}

.search-input-wrapper input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.search-icon-inside {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 1.2rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-tag-btn {
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2rem;
  font-size: 0.9rem;
  color: #94A3B8;
}

.filter-tag-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.filter-tag-btn.active {
  background: var(--grad-violet-fuchsia);
  color: #fff;
  border-color: transparent;
}

.objections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.obj-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--trans-smooth);
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.obj-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.obj-category-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #E879F9;
  border-radius: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.obj-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.obj-elevator {
  color: #F1F5F9;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.obj-elevator strong {
  color: var(--gold-primary);
  font-weight: 700;
}

.obj-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #C084FC;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  border-radius: 1.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  transition: all var(--trans-smooth);
}

.obj-details-toggle:hover {
  background: rgba(139, 92, 246, 0.22);
  color: #F0ABFC;
  border-color: rgba(139, 92, 246, 0.45);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.obj-details-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.obj-expanded-content {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  color: #E2E8F0;
  font-size: 1rem;
  line-height: 1.75;
}

.obj-expanded-content.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.obj-quran-ref {
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255, 215, 0, 0.08);
  border-left: 3.5px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #FFFBEB;
  font-style: italic;
  line-height: 1.7;
}

.obj-tip-box {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: #FDE68A;
  line-height: 1.6;
}

.obj-tip-box strong {
  color: #FBBF24;
}

/* ------------------------------------- */
/* ## Shahada & New Muslim */
/* ------------------------------------- */
.shahada-hero-card {
  position: relative;
  background: var(--bg-dark-2);
  border-radius: 2rem;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 4rem;
}

.shahada-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
  animation: mesh-shift 15s infinite linear;
  z-index: 0;
}

.shahada-arabic-display {
  position: relative;
  z-index: 1;
  font-family: var(--font-arabic);
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  direction: rtl;
}

.shahada-phonetics {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.shahada-meaning {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-style: italic;
}

.shahada-controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn-audio-play {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  color: #fff;
  font-weight: 600;
}

.btn-audio-play:hover {
  background: rgba(255,255,255,0.2);
}

.btn-audio-play.playing {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
  color: #10B981;
}

.btn-shahada-cert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--grad-emerald-lime);
  border-radius: 2rem;
  color: #000;
  font-weight: 700;
}

.btn-shahada-cert:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.tabs-subnav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.tab-subnav-btn {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: #64748B;
  padding: 0.5rem 1rem;
  position: relative;
}

.tab-subnav-btn.active {
  color: #fff;
}

.tab-subnav-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-emerald-lime);
  border-radius: 3px 3px 0 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: var(--trans-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  background: var(--bg-dark-2);
  border-color: rgba(16, 185, 129, 0.3);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: var(--grad-emerald-lime);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.step-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.step-desc {
  color: #94A3B8;
  font-size: 0.95rem;
}

/* ------------------------------------- */
/* ## Flashcards & Quiz */
/* ------------------------------------- */
.flashcard-wrapper {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  width: 100%;
  max-width: 620px;
  min-height: 380px;
  margin: 0 auto 2rem;
  position: relative;
}

.flashcard {
  width: 100%;
  min-height: 380px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  cursor: pointer;
  border-radius: 1.5rem;
  user-select: none;
  -webkit-user-select: none;
}

.flashcard.flipped {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.flashcard-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1.5rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
  transition: border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.flashcard:hover .flashcard-face {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.2);
}

.flashcard-front {
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.15), transparent 70%), var(--bg-dark-2);
}

.flashcard-back {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 70%), var(--bg-dark-3);
  border-color: rgba(16, 185, 129, 0.3);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.flashcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.flashcard-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 1rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22D3EE;
}

.flashcard-back .flashcard-badge {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.flashcard-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  text-transform: uppercase;
}

.flashcard-type-tag.answer-tag {
  color: #FCD34D;
}

.flashcard-content {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  color: #FFFFFF;
  margin: 1.5rem 0;
  text-align: center;
  font-family: var(--font-heading);
}

.flashcard-content.back-content {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  color: #E2E8F0;
  font-family: var(--font-body);
  text-align: left;
  white-space: pre-line;
}

.flashcard-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #64748B;
  transition: color var(--trans-smooth);
}

.flashcard:hover .flashcard-hint {
  color: #94A3B8;
}

.flashcard-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.btn-fc-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.btn-fc-nav:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  color: #F1F5F9;
  font-size: 1rem;
  line-height: 1.5;
  transition: all var(--trans-smooth);
  cursor: pointer;
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateX(4px);
}

.quiz-option-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.quiz-option-text {
  flex: 1;
}

/* ------------------------------------- */
/* ## Booklet Reader & Reading Themes */
/* ------------------------------------- */
.booklet-container {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 1.25rem;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

/* 1. Dark Editorial Mode (Default) */
.booklet-container.theme-dark,
.booklet-container {
  background: #11141A;
  color: #F1F5F9;
  border-color: rgba(255, 255, 255, 0.1);
}
.booklet-container.theme-dark .booklet-main-title {
  color: #FFFFFF;
}
.booklet-container.theme-dark .booklet-author {
  color: #94A3B8;
}
.booklet-container.theme-dark .booklet-chapter-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.booklet-container.theme-dark .booklet-counter {
  color: #F8FAFC;
}
.booklet-container.theme-dark .booklet-paragraph {
  color: #E2E8F0;
}
.booklet-container.theme-dark .booklet-quote {
  background: rgba(255, 215, 0, 0.05);
  border-left-color: var(--gold-primary);
  color: #FFFBEB;
}
.booklet-container.theme-dark .booklet-list-item {
  color: #E2E8F0;
}

/* 2. Warm Sepia Mode */
.booklet-container.theme-sepia {
  background: #25201A;
  color: #F7EBD6;
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.booklet-container.theme-sepia .booklet-main-title {
  color: #FFD700;
}
.booklet-container.theme-sepia .booklet-author {
  color: #D4AF37;
}
.booklet-container.theme-sepia .booklet-chapter-nav {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
}
.booklet-container.theme-sepia .booklet-counter {
  color: #F7EBD6;
}
.booklet-container.theme-sepia .booklet-paragraph {
  color: #EEDBBF;
}
.booklet-container.theme-sepia .booklet-quote {
  background: rgba(255, 215, 0, 0.08);
  border-left-color: #F59E0B;
  color: #FFF2DC;
}
.booklet-container.theme-sepia .booklet-list-item {
  color: #EEDBBF;
}
.booklet-container.theme-sepia .btn-fc-nav {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #F7EBD6;
}

/* 3. Clean Paper Mode */
.booklet-container.theme-paper {
  background: #FAF8F5;
  color: #1E293B;
  border-color: #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.booklet-container.theme-paper .booklet-main-title {
  color: #0F172A;
}
.booklet-container.theme-paper .booklet-author {
  color: #64748B;
}
.booklet-container.theme-paper .booklet-chapter-nav {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
}
.booklet-container.theme-paper .booklet-counter {
  color: #0F172A;
}
.booklet-container.theme-paper .booklet-paragraph {
  color: #334155;
}
.booklet-container.theme-paper .booklet-quote {
  background: #F8FAFC;
  border-left-color: #D97706;
  color: #0F172A;
}
.booklet-container.theme-paper .booklet-list-item {
  color: #334155;
}
.booklet-container.theme-paper .btn-fc-nav {
  background: #E2E8F0;
  border-color: #CBD5E1;
  color: #0F172A;
}

/* Booklet Theme Selector Bar */
.booklet-theme-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.booklet-theme-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
  margin-right: 0.25rem;
}

.btn-booklet-theme {
  padding: 0.35rem 0.85rem;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  transition: all var(--trans-smooth);
}

.btn-booklet-theme:hover {
  transform: translateY(-1px);
  border-color: var(--gold-primary);
}

.btn-booklet-theme.active {
  background: var(--grad-gold);
  color: #0A0B0D !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.booklet-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booklet-container.theme-paper .booklet-header {
  border-bottom-color: #E2E8F0;
}

.booklet-main-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.booklet-author {
  font-size: 1.05rem;
  font-style: italic;
}

.booklet-chapter-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

.booklet-counter {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.booklet-body {
  font-family: var(--font-booklet);
  font-size: 1.15rem;
  line-height: 1.85;
}

.booklet-paragraph {
  margin-bottom: 1.6rem;
  text-wrap: pretty;
}

.booklet-intro {
  margin-bottom: 1rem;
  font-weight: 600;
}

.booklet-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
}

.booklet-ordered-list,
.booklet-bullet-list {
  margin: 1.5rem 0 2rem 1.75rem;
  padding-left: 0.5rem;
}

.booklet-list-item {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.booklet-list-item strong {
  color: var(--gold-primary);
}

.booklet-container.theme-paper .booklet-list-item strong {
  color: #B45309;
}

.booklet-print-bar {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.booklet-container.theme-paper .booklet-print-bar {
  border-top-color: #CBD5E1;
}

.btn-print-booklet {
  padding: 0.75rem 2rem;
  background: #0F172A;
  color: #fff;
  border-radius: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ------------------------------------- */
/* ## Modal */
/* ------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-dark-2);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 3rem;
  width: 90%;
  max-width: 700px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.certificate-preview {
  background: #FFFDF9;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  color: #0F172A;
  margin: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.certificate-border-inner {
  border: 3px double var(--gold-primary);
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at center, #FFFFFF 0%, #FFFDF7 100%);
}

.cert-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #92400E;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.cert-arabic {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  line-height: 2;
  color: #B45309;
  margin: 1rem 0;
  direction: rtl;
}

.cert-name-input {
  width: 85%;
  max-width: 420px;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-bottom: 3px solid var(--gold-primary);
  border-radius: 0.25rem;
  color: #0F172A;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 1.25rem auto;
  display: block;
}

.cert-name-input:focus {
  border-color: var(--gold-primary);
  background: #FFFFFF;
}

/* Modal Step Cards for Quick Cheat Sheet */
.modal-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.modal-step-card.step-1 { border-left: 4px solid var(--gold-primary); }
.modal-step-card.step-2 { border-left: 4px solid var(--primary-600); }
.modal-step-card.step-3 { border-left: 4px solid #10B981; }

.modal-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-step-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-step-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ------------------------------------- */
/* ## Footer */
/* ------------------------------------- */
.app-footer {
  background: var(--bg-dark-3);
  position: relative;
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
}

.app-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #06B6D4, #10B981, #F59E0B, #8B5CF6, #F43F5E);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand p {
  color: #94A3B8;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748B;
  font-size: 0.9rem;
  max-width: 1440px;
  margin: 0 auto;
}

.version-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.25rem;
  font-family: monospace;
}

/* ------------------------------------- */
/* ## NEW: Animations & Effects */
/* ------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow-teal:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); }
.glow-emerald:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.glow-violet:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
.glow-amber:hover { box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
.glow-rose:hover { box-shadow: 0 0 20px rgba(244, 63, 94, 0.4); }

.gradient-text-animated {
  background: linear-gradient(270deg, #06B6D4, #8B5CF6, #F43F5E, #06B6D4);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.floating-orbs {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none; z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.orb:nth-child(1) {
  width: 300px; height: 300px;
  background: #06B6D4;
  top: 10%; left: 20%;
  animation: float-orb-1 10s infinite alternate ease-in-out;
}
.orb:nth-child(2) {
  width: 400px; height: 400px;
  background: #8B5CF6;
  bottom: 10%; right: 10%;
  animation: float-orb-2 15s infinite alternate ease-in-out;
}
.orb:nth-child(3) {
  width: 200px; height: 200px;
  background: #F59E0B;
  top: 40%; right: 40%;
  animation: float-orb-3 12s infinite alternate ease-in-out;
}

@keyframes float-orb-1 { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }
@keyframes float-orb-2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-50px, -50px); } }
@keyframes float-orb-3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-30px, 60px); } }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: var(--trans-smooth);
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  transform: scale(1.02);
  border-color: rgba(255,255,255,0.2);
}

.bento-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-card:nth-child(2) { grid-column: span 2; }
.bento-card:nth-child(3) { grid-column: span 1; }
.bento-card:nth-child(4) { grid-column: span 1; }

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--gold-primary);
  vertical-align: text-bottom;
  animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.gorap-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-dark-3);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.gorap-progress-fill {
  height: 100%;
  background: var(--grad-teal-cyan);
  width: 0%;
  transition: width 1s ease-out;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer-bg {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, var(--bg-dark-3) 4%, var(--bg-dark-2) 25%, var(--bg-dark-3) 36%);
  background-size: 1000px 100%;
}

@keyframes mesh-shift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.mesh-gradient-bg {
  background-image: radial-gradient(at 40% 20%, hsla(28,100%,74%,0.15) 0px, transparent 50%),
                    radial-gradient(at 80% 0%, hsla(189,100%,56%,0.15) 0px, transparent 50%),
                    radial-gradient(at 0% 50%, hsla(355,100%,93%,0.15) 0px, transparent 50%),
                    radial-gradient(at 80% 50%, hsla(340,100%,76%,0.15) 0px, transparent 50%),
                    radial-gradient(at 0% 100%, hsla(22,100%,77%,0.15) 0px, transparent 50%),
                    radial-gradient(at 80% 100%, hsla(242,100%,70%,0.15) 0px, transparent 50%),
                    radial-gradient(at 0% 0%, hsla(343,100%,76%,0.15) 0px, transparent 50%);
  background-size: 200% 200%;
  animation: mesh-shift 20s infinite alternate;
/* ------------------------------------- */
/* ## Master Da'ee Field Wisdom & Masterclasses */
/* ------------------------------------- */
.master-daees-section {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.master-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.btn-master-filter {
  padding: 0.65rem 1.4rem;
  border-radius: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  transition: all var(--trans-smooth);
}

.btn-master-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-master-filter.active {
  background: var(--grad-gold);
  color: #0A0B0D !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

.master-daees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.master-daee-card {
  background: var(--bg-dark-3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.master-daee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: height 0.3s ease;
}

/* Scholar Theme Variations */
.master-daee-card.theme-teal::before { background: var(--grad-teal-cyan); }
.master-daee-card.theme-emerald::before { background: var(--grad-emerald-lime); }
.master-daee-card.theme-amber::before { background: var(--grad-amber-orange); }
.master-daee-card.theme-violet::before { background: var(--grad-violet-fuchsia); }

.master-daee-card.theme-teal:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.15);
  transform: translateY(-6px);
}
.master-daee-card.theme-emerald:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.15);
  transform: translateY(-6px);
}
.master-daee-card.theme-amber:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.15);
  transform: translateY(-6px);
}
.master-daee-card.theme-violet:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
  transform: translateY(-6px);
}

.master-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.master-avatar-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.master-avatar-emoji {
  font-size: 1.8rem;
}

.master-card-meta {
  flex: 1;
}

.master-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.badge-teal {
  background: rgba(6, 182, 212, 0.15);
  color: #22D3EE;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #C084FC;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.master-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.master-title {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.4;
}

.master-motto {
  margin: 0.5rem 0 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #F1F5F9;
}

.master-signature-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.75rem;
}

.master-sig-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.master-sig-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.master-sig-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFFFFF;
}

.master-sig-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: #CBD5E1;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.master-sig-desc {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.6;
}

.master-tips-section {
  margin-bottom: 1.75rem;
}

.master-section-heading {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #E2E8F0;
  margin-bottom: 1rem;
}

.master-tips-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.master-tip-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--trans-fast);
}

.master-tip-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.master-tip-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.master-tip-content {
  flex: 1;
}

.master-tip-title {
  display: block;
  font-size: 0.94rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.master-tip-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
}

.master-scenario-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-top: auto;
}

.master-scenario-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #22D3EE;
  margin-bottom: 0.5rem;
}

.master-scenario-context {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.master-scenario-dialogue {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.scenario-line {
  color: #E2E8F0;
}

.scenario-speaker {
  color: var(--gold-primary);
  font-weight: 700;
}

/* ------------------------------------- */
/* ## Print Styles */
/* ------------------------------------- */
@media print {
  .top-header, .app-footer, .gorap-navigator, .flashcard-controls, .sim-actions-area, .btn-print-booklet {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .booklet-container {
    box-shadow: none;
    padding: 0;
  }
}

/* ------------------------------------- */
/* ## Responsive */
/* ------------------------------------- */
@media (max-width: 1100px) {
  .hero-title { font-size: 3.5rem; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .simulator-layout { grid-template-columns: 250px 1fr; }
  .bento-card:nth-child(1), .bento-card:nth-child(2), .bento-card:nth-child(3), .bento-card:nth-child(4) {
    grid-column: span 4;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions .btn-dawah-quick { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; gap: 2rem; }
  .simulator-layout { grid-template-columns: 1fr; height: auto; }
  .sim-sidebar { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .shahada-hero-card { padding: 2rem 1rem; }
  .shahada-arabic-display { font-size: 2.5rem; }
  .booklet-container { padding: 2rem 1rem; }
  .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-banner { padding: 6rem 1rem 3rem; }
  .hero-cta-row { flex-direction: column; }
  .gorap-navigator { gap: 0.5rem; }
  .gorap-nav-btn { min-width: 80px; padding: 0.5rem; }
  .gorap-letter-badge { width: 36px; height: 36px; font-size: 1.2rem; }
  .gorap-nav-name { font-size: 0.9rem; }
  .gorap-nav-sub { display: none; }
  .flashcard-wrapper { height: 300px; }
  .quran-ayah-card { padding: 1.5rem; }
  .quran-arabic-text { font-size: 2rem; }
}
