/* ==========================================================================
   SAHIH ISLAM — MODERN ISLAMIC WEB DESIGN SYSTEM (PREMIUM EDITION)
   Architected for Ultra-Crisp Typography, Glassmorphism & High-Converting UX
   ========================================================================== */

:root {
  --primary: #064e3b;         /* Deep Imperial Emerald */
  --primary-light: #047857;   /* Vibrant Emerald */
  --primary-accent: #10b981;  /* Radiant Mint Green */
  --primary-subtle: #ecfdf5;  /* Pale Mint Backdrop */
  --primary-glow: rgba(16, 185, 129, 0.22);
  
  --gold: #d97706;           /* Regal Islamic Gold */
  --gold-light: #f59e0b;     /* Radiant Gold */
  --gold-subtle: #fef3c7;    /* Gold Whisper */
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --dark: #0f172a;           /* Obsidian Slate */
  --dark-surface: #1e293b;   /* Midnight Slate */
  --dark-border: #334155;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --white: #ffffff;
  --border: #e2e8f0;
  
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 48px -12px rgba(6, 78, 59, 0.18);
  --shadow-gold: 0 12px 30px -6px rgba(217, 119, 6, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom-color: var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.025em;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.22);
  flex-shrink: 0;
  object-fit: cover;
}

.brand-logo span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand-logo span small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary-accent);
  border-radius: var(--radius-full);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: #475569;
  position: relative;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.brand-logo {
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #065f46 !important;
  border: 1.5px solid #10b981;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-login:hover {
  background: #10b981;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.22);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-playstore:hover {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.32);
  color: #ffffff !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.35);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  color: var(--white);
}

.btn-outline {
  border-color: var(--border);
  color: var(--dark);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 88% 75%, rgba(217, 119, 6, 0.09) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.06);
}

.hero-badge .pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--primary-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.14;
  color: var(--dark);
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}

.stat-item h4 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ==========================================================================
   APP MOCKUP (INTERACTIVE CARD)
   ========================================================================== */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 520px;
  background: radial-gradient(circle, var(--primary-glow) 0%, var(--gold-glow) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.app-mockup-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.9);
  width: 100%;
  max-width: 400px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-mockup-card:hover {
  transform: translateY(-6px);
}

.app-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.app-mockup-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-mockup-user img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.15);
}

.app-badge-pro {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px var(--gold-glow);
}

.ayah-card-demo {
  background: linear-gradient(145deg, #064e3b 0%, #033629 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(6, 78, 59, 0.25);
  position: relative;
  overflow: hidden;
}

.ayah-arabic {
  font-family: var(--font-arabic);
  font-size: 1.65rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #fef08a;
  direction: rtl;
}

.ayah-translation {
  font-size: 0.88rem;
  opacity: 0.92;
  font-style: italic;
  line-height: 1.5;
}

.shortcuts-grid-demo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.shortcut-demo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.shortcut-demo-item:hover {
  background: var(--primary-subtle);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.shortcut-demo-item img {
  width: 34px;
  height: 34px;
}

/* ==========================================================================
   OFFER BANNER (INTRODUCTORY PRO SPECIAL)
   ========================================================================== */
.offer-banner-section {
  padding: 30px 0;
}

.offer-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid rgba(217, 119, 6, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.offer-content h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.2;
}

.offer-content h3 span {
  color: var(--gold-light);
}

.offer-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.6;
}

.offer-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  letter-spacing: 0.04em;
}

.offer-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.offer-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.offer-price small {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ==========================================================================
   EXCLUSIVE SHOWCASE: DEEDS TREE, HABITS, NEARBY MASJIDS
   ========================================================================== */
.showcase-section {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.showcase-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 78, 59, 0.25);
  background: #ffffff;
}

.showcase-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.showcase-badge.tree {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.showcase-badge.habits {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.showcase-badge.masjid {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.showcase-visual {
  height: 180px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-visual img {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-visual img {
  transform: scale(1.08);
}

.showcase-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.showcase-card p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.showcase-metric-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-metric-box strong {
  font-size: 0.9rem;
  color: var(--dark);
}

.showcase-metric-box span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   FEATURES GRID (8 POWERHOUSE TOOLS)
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(6, 78, 59, 0.12);
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 78, 59, 0.25);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-icon-wrapper img {
  width: 36px;
  height: 36px;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   HADITH COLLECTIONS SHOWCASE
   ========================================================================== */
.hadith-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.book-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.28s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.book-card img {
  width: 95px;
  height: 135px;
  object-fit: contain;
  margin: 0 auto 16px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.25s ease;
}

.book-card:hover img {
  transform: scale(1.05);
}

.book-card h5 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.book-card span {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   PRICING & PLANS SECTION
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-accent) 100%);
  color: var(--white);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing-header h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  min-height: 44px;
}

.pricing-cost {
  margin: 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-cost .amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.pricing-cost .period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--dark);
  margin-bottom: 14px;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.28s ease;
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* ==========================================================================
   POLICY & LEGAL CONTENT TEMPLATES
   ========================================================================== */
.policy-page {
  padding: 150px 0 100px;
  background: var(--white);
  min-height: 80vh;
}

.policy-header {
  max-width: 840px;
  margin: 0 auto 44px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}

.policy-header h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.policy-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.policy-body {
  max-width: 840px;
  margin: 0 auto;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.85;
}

.policy-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 16px;
  letter-spacing: -0.015em;
}

.policy-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 26px 0 12px;
}

.policy-body p {
  margin-bottom: 18px;
}

.policy-body ul {
  list-style: disc;
  margin: 0 0 24px 28px;
}

.policy-body li {
  margin-bottom: 10px;
}

.contact-card-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  margin: 32px 0;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 22px;
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.94rem;
  color: #94a3b8;
}

.footer-col ul li a:hover {
  color: var(--primary-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  font-size: 0.88rem;
}

.footer-compliance-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  padding: 30px 24px;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
}

.mobile-nav-backdrop.active {
  display: block;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer-links a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* ==========================================================================
   NAVIGATION CTA BUTTONS
   ========================================================================== */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #065f46 !important;
  border: 1.5px solid #10b981;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-login:hover {
  background: #10b981;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.22);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-playstore:hover {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.32);
  color: #ffffff !important;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-preview {
    margin-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .site-header {
    height: 70px;
  }
  .nav-container {
    height: 70px;
  }
  .brand-logo {
    font-size: 1.2rem;
    gap: 10px;
  }
  .brand-logo img {
    width: 38px;
    height: 38px;
  }
  .brand-logo span small {
    font-size: 0.62rem;
  }
  .nav-links, 
  .nav-cta .btn,
  .nav-cta .btn-login,
  .nav-cta .btn-playstore {
    display: none !important;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-nav-drawer {
    display: flex;
  }
  .hero-section {
    padding: 100px 0 50px;
    overflow: hidden;
    width: 100%;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 14px;
    max-width: 95%;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.25rem);
    line-height: 1.24;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
    padding: 0 4px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 30px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    padding: 13px 18px;
    font-size: 0.92rem;
    justify-content: center;
    text-align: center;
  }
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 12px !important;
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    padding-top: 22px !important;
    border-top: 1px solid var(--border);
  }
  .stat-item {
    text-align: center;
  }
  .stat-item h4 {
    font-size: 1.55rem;
  }
  .stat-item p {
    font-size: 0.78rem;
    margin-top: 2px;
  }
  .hero-preview {
    width: 100%;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 0 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
  }
  .hero-glow-backdrop {
    width: 240px;
    height: 240px;
  }
  .app-mockup-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 18px 14px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
  }
  .app-mockup-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .app-mockup-user img {
    width: 36px;
    height: 36px;
  }
  .ayah-card-demo {
    padding: 16px 12px;
    margin-bottom: 14px;
  }
  .ayah-arabic {
    font-size: 1.45rem;
    line-height: 1.7;
    margin-bottom: 8px;
  }
  .ayah-translation {
    font-size: 0.8rem;
  }
  .shortcuts-grid-demo {
    gap: 8px;
  }
  .shortcut-demo-item {
    padding: 10px 4px;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  .shortcut-demo-item img {
    width: 28px;
    height: 28px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}
