/* ==========================================================================
   DALCANCIAA DESIGN SYSTEM — 3D MODERN ISLAMIC DIGITAL ECOSYSTEM
   ========================================================================== */

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

:root {
  --bg-primary: #030708;
  --bg-secondary: #071012;
  --bg-tertiary: #0c181b;
  --bg-card: rgba(10, 23, 26, 0.72);
  --bg-card-hover: rgba(14, 32, 36, 0.88);

  --emerald-primary: #10B981;
  --emerald-light: #34D399;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --gold-primary: #F59E0B;
  --gold-light: #FDE047;
  --gold-dark: #B45309;

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.28);
  --border-gold: rgba(245, 158, 11, 0.3);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Amiri Quran', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(16,185,129,0.1);
  --shadow-3d: 0 25px 50px -12px rgba(0,0,0,0.75), 0 0 40px rgba(16,185,129,0.18);

  --transition-fast: 0.2s cubic-bezier(0.16,1,0.3,1);
  --transition-smooth: 0.4s cubic-bezier(0.16,1,0.3,1);
  --transition-bounce: 0.6s cubic-bezier(0.34,1.56,0.64,1);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(16,185,129,0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6,182,212,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(245,158,11,0.05) 0%, transparent 50%);
  background-attachment: fixed;
}
::selection { background: var(--emerald-primary); color: #000; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 6px; border: 2px solid var(--bg-primary); }
::-webkit-scrollbar-thumb:hover { background: var(--emerald-dark); }

/* Canvas & Glows */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0.85; }
.ambient-glow-orb { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; opacity: 0.3; }
.glow-1 { top: 15%; left: 10%; width: 450px; height: 450px; background: radial-gradient(circle, var(--emerald-primary), transparent 70%); }
.glow-2 { top: 55%; right: 5%; width: 500px; height: 500px; background: radial-gradient(circle, #0d9488, transparent 70%); }
.glow-3 { bottom: 5%; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, var(--gold-dark), transparent 70%); }

/* Layout */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section { padding: 110px 0; position: relative; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px auto; }

.badge-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(16,185,129,0.12); border: 1px solid var(--border-emerald);
  color: var(--emerald-light); margin-bottom: 20px;
  backdrop-filter: blur(12px); box-shadow: 0 0 15px rgba(16,185,129,0.2);
}
.badge-tag.gold { background: rgba(245,158,11,0.12); border-color: var(--border-gold); color: var(--gold-light); box-shadow: 0 0 15px rgba(245,158,11,0.2); }

.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: #fff; margin-bottom: 18px; }
.section-title .gradient-text, .gradient-text { background: linear-gradient(135deg, #fff 20%, var(--emerald-light) 65%, #2dd4bf 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title .gold-text, .gold-text { background: linear-gradient(135deg, #fff 0%, var(--gold-light) 50%, var(--gold-primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-desc { font-size: 1.12rem; color: var(--text-muted); line-height: 1.7; }

/* Glass Cards */
.glass-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative; overflow: hidden;
}
.glass-card:hover { border-color: var(--border-emerald); box-shadow: var(--shadow-md); transform: translateY(-5px); }

/* ========== NAV ========== */
.site-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; padding: 18px 0; transition: all var(--transition-smooth); }
.site-nav.scrolled { padding: 12px 0; background: rgba(3,7,8,0.85); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border-subtle); box-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.35rem; }
.brand-logo-icon { width: 42px; height: 42px; border-radius: 12px; transition: transform var(--transition-bounce); object-fit: cover; }
.brand-logo:hover .brand-logo-icon { transform: scale(1.08) rotate(4deg); filter: drop-shadow(0 0 12px var(--emerald-primary)); }
.brand-name { display: flex; flex-direction: column; }
.brand-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; background: linear-gradient(135deg, #fff 40%, var(--emerald-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-tagline-nav { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.94rem; transition: color var(--transition-fast); position: relative; padding: 6px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--emerald-primary); border-radius: 2px; transition: width var(--transition-smooth); box-shadow: 0 0 8px var(--emerald-primary); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: var(--radius-full);
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: all var(--transition-smooth); border: none; outline: none;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-primary { background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark)); color: #021a12; box-shadow: 0 8px 24px rgba(16,185,129,0.35); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 32px rgba(16,185,129,0.55); background: linear-gradient(135deg, var(--emerald-light), var(--emerald-primary)); }
.btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--border-subtle); backdrop-filter: blur(12px); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--border-emerald); transform: translateY(-2px); color: var(--emerald-light); }

/* ========== HERO ========== */
.hero-section { padding-top: 160px; padding-bottom: 80px; min-height: 90vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; color: #fff; margin-bottom: 24px; }
.hero-title .glow { text-shadow: 0 0 35px rgba(16,185,129,0.6); }
.hero-desc { font-size: 1.18rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; max-width: 580px; }
.hero-desc strong { color: #fff; font-weight: 600; }
.hero-cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg,#fff,var(--emerald-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* Hero Visual */
.hero-visual-wrapper { position: relative; perspective: 1400px; display: flex; justify-content: center; align-items: center; }
.hero-visual-glow { position: absolute; width: 380px; height: 520px; background: radial-gradient(circle, rgba(16,185,129,0.28), rgba(6,182,212,0.15) 50%, transparent 80%); filter: blur(50px); z-index: 0; border-radius: 50%; animation: pulseGlow 6s ease-in-out infinite alternate; }
@keyframes pulseGlow { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.15); opacity: 0.95; } }

/* 3D Phone Duo */
.hero-phones-duo { position: relative; z-index: 1; width: 340px; height: 580px; }
.hero-phone-back, .hero-phone-front { position: absolute; width: 260px; }
.hero-phone-back { top: 20px; left: 0; transform: rotate(-6deg); z-index: 1; opacity: 0.85; }
.hero-phone-front { top: 0; right: 0; transform: rotate(4deg); z-index: 2; }

.phone-mockup-frame {
  width: 100%; aspect-ratio: 9/18.5; background: #0b1416;
  border-radius: 36px; border: 5px solid #1f2d30;
  outline: 1px solid rgba(16,185,129,0.3);
  box-shadow: 0 30px 80px -15px rgba(0,0,0,0.9), 0 0 40px rgba(16,185,129,0.18);
  overflow: hidden; position: relative;
}
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #000; border-radius: 16px; z-index: 20; display: flex; align-items: center; justify-content: center; }
.notch-camera { width: 8px; height: 8px; background: #081a1a; border-radius: 50%; border: 1px solid #143635; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; }
.phone-screen-img { width: 100%; height: 100%; object-fit: cover; }

/* Floating Badges */
.floating-3d-badge { position: absolute; padding: 10px 16px; border-radius: var(--radius-md); background: rgba(7,16,18,0.88); border: 1px solid var(--border-emerald); backdrop-filter: blur(16px); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; z-index: 10; animation: floatAnim 4s ease-in-out infinite alternate; }
.floating-badge-1 { top: 15%; right: -30px; }
.floating-badge-2 { bottom: 18%; left: -35px; animation-delay: -2s; border-color: var(--border-gold); }
.floating-badge-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(16,185,129,0.18); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.floating-badge-2 .floating-badge-icon { background: rgba(245,158,11,0.18); }
.floating-badge-text { display: flex; flex-direction: column; }
.floating-badge-title { font-size: 0.85rem; font-weight: 700; color: #fff; }
.floating-badge-sub { font-size: 0.72rem; color: var(--text-muted); }
@keyframes floatAnim { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }

/* Quran Page Mini Badges */
.quran-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle);
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition-fast);
}
.hero-mini-badge:hover { border-color: var(--border-emerald); color: var(--emerald-light); background: rgba(16,185,129,0.08); }
.mini-badge-icon { font-size: 1rem; }

/* ========== PRODUCTS (INDEX) ========== */
.product-flagship {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  padding: 48px; margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(10,23,26,0.9) 60%);
  border: 1px solid var(--border-emerald);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(16,185,129,0.12);
}
.product-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.product-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.02em; }
.product-desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.app-logo-image-box { width: 72px; height: 72px; border-radius: 20px; overflow: hidden; border: 2px solid var(--border-emerald); box-shadow: 0 8px 25px rgba(16,185,129,0.35); transition: transform var(--transition-bounce); }
.app-logo-img { width: 100%; height: 100%; object-fit: cover; }
.glass-card:hover .app-logo-image-box, .product-flagship:hover .app-logo-image-box { transform: scale(1.1) rotate(4deg); }

.app-icon-large { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: var(--shadow-sm); transition: transform var(--transition-bounce); }
.glass-card:hover .app-icon-large { transform: scale(1.1) rotate(5deg); border-color: var(--emerald-primary); }

.app-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.status-live { background: rgba(16,185,129,0.15); color: var(--emerald-light); border: 1px solid var(--border-emerald); }
.status-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-light); box-shadow: 0 0 8px var(--emerald-light); }
.status-upcoming { background: rgba(245,158,11,0.15); color: var(--gold-light); border: 1px solid var(--border-gold); }
.status-upcoming::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #cbd5e1; }
.feature-list li svg { color: var(--emerald-light); flex-shrink: 0; }

/* Product Screenshots Fan */
.product-flagship-visual { display: flex; align-items: center; justify-content: center; }
.product-screenshots-fan { position: relative; width: 100%; height: 450px; display: flex; align-items: center; justify-content: center; }
.fan-phone { position: absolute; transition: transform var(--transition-smooth); }
.phone-mockup-sm { width: 200px; aspect-ratio: 9/19; background: #0b1416; border-radius: 28px; border: 4px solid #1f2d30; outline: 1px solid rgba(16,185,129,0.25); box-shadow: 0 25px 60px -15px rgba(0,0,0,0.8), 0 0 30px rgba(16,185,129,0.12); overflow: hidden; }
.phone-mockup-sm img { width: 100%; height: 100%; object-fit: cover; }
.fan-1 { left: 5%; transform: rotate(-12deg) translateY(20px); z-index: 1; }
.fan-2 { left: 50%; transform: translateX(-50%) translateY(-10px); z-index: 3; }
.fan-3 { right: 5%; transform: rotate(12deg) translateY(20px); z-index: 2; }

/* Upcoming Products Grid */
.products-upcoming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 12px; }
.product-card { padding: 36px; display: flex; flex-direction: column; }
.product-card-title { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 10px; margin-top: 16px; }
.product-card-desc { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; margin-bottom: 24px; flex: 1; }

/* ========== FEATURE SHOWCASE ROWS (QURAN PAGE) ========== */
.feature-showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.feature-showcase-row.reverse { direction: rtl; }
.feature-showcase-row.reverse > * { direction: ltr; }
.feature-number { font-size: 4rem; font-weight: 900; background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 12px; }
.feature-title { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.feature-desc { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 20px; }
.feature-desc strong { color: #fff; }
.feature-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-bullets li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: #cbd5e1; }
.feature-bullets li::before { content: '✓'; color: var(--emerald-light); font-weight: 900; font-size: 0.85rem; }

.feature-phones { display: flex; gap: 20px; justify-content: center; align-items: flex-end; perspective: 1000px; }
.feature-phone { transition: transform var(--transition-smooth); }
.feature-phone-offset { transform: translateY(-30px); }

/* ========== GALLERY SCROLL ========== */
.gallery-scroll-container { overflow-x: auto; padding: 20px 0 40px 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery-scroll-container::-webkit-scrollbar { height: 8px; }
.gallery-scroll-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 8px; }
.gallery-scroll-container::-webkit-scrollbar-thumb { background: var(--emerald-dark); border-radius: 8px; }
.gallery-scroll-track { display: flex; gap: 24px; padding: 0 24px; width: max-content; }
.gallery-phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone-mockup-gallery { width: 220px; aspect-ratio: 9/19; background: #0b1416; border-radius: 30px; border: 4px solid #1f2d30; outline: 1px solid rgba(16,185,129,0.2); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7), 0 0 25px rgba(16,185,129,0.1); overflow: hidden; transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.gallery-phone:hover .phone-mockup-gallery { transform: translateY(-8px) scale(1.03); box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(16,185,129,0.2); }
.phone-mockup-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-align: center; }

/* ========== DOWNLOAD CTA ========== */
.download-cta-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(10,23,26,0.85));
  border: 1px solid var(--border-emerald); border-radius: var(--radius-xl);
  padding: 60px 40px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-3d);
}
.download-cta-content { position: relative; z-index: 1; }
.download-logo { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 24px auto; box-shadow: 0 12px 35px rgba(16,185,129,0.4); }
.download-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ========== VALUES ========== */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value-card { padding: 36px; }
.value-icon-box { width: 56px; height: 56px; border-radius: 16px; background: rgba(16,185,129,0.12); border: 1px solid var(--border-emerald); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 22px; }
.value-title { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.value-desc { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; }

/* ========== NEWSLETTER ========== */
.newsletter-box { background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(10,23,26,0.85)); border: 1px solid var(--border-emerald); border-radius: var(--radius-xl); padding: 60px 40px; text-align: center; box-shadow: var(--shadow-3d); }
.newsletter-form { display: flex; max-width: 520px; margin: 32px auto 0; gap: 12px; }
.newsletter-input { flex: 1; padding: 14px 22px; background: rgba(3,7,8,0.8); border: 1px solid var(--border-subtle); border-radius: var(--radius-full); color: #fff; font-size: 0.95rem; outline: none; transition: border-color var(--transition-fast); }
.newsletter-input:focus { border-color: var(--emerald-primary); }

/* ========== LEGAL / POLICY PAGES ========== */
.legal-page-wrapper {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
  max-width: 900px;
  margin: 0 auto;
}
.legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-meta {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
}
.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--emerald-primary);
  border-radius: 4px;
}
.legal-section p {
  margin-bottom: 12px;
  color: var(--text-muted);
}
.legal-section ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.legal-section ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}
.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--emerald-light);
  font-weight: bold;
}
.legal-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 16px 0;
  color: #e2e8f0;
  font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.site-footer { background: #020506; border-top: 1px solid var(--border-subtle); padding: 80px 0 36px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand-info { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-desc { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--emerald-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-dim); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-cta-group, .quran-hero-badges { justify-content: center; }
  .hero-stats { max-width: 480px; margin: 0 auto; }
  .product-flagship { grid-template-columns: 1fr; }
  .product-screenshots-fan { height: 350px; }
  .products-upcoming-grid { grid-template-columns: 1fr; }
  .feature-showcase-row, .feature-showcase-row.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; text-align: center; }
  .feature-phones { justify-content: center; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .mobile-menu-toggle { display: block; }
  .section { padding: 70px 0; }
  .hero-phones-duo { width: 280px; height: 480px; }
  .hero-phone-back { width: 200px; }
  .hero-phone-front { width: 210px; }
  .phone-mockup-sm { width: 160px; }
  .product-screenshots-fan { height: 300px; }
  .fan-1 { left: 0; }
  .fan-3 { right: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .gallery-scroll-track { gap: 16px; }
  .phone-mockup-gallery { width: 180px; }
  .feature-phones { flex-direction: column; align-items: center; }
  .feature-phone-offset { transform: none; }
}
