/* ================================================================
   IbadShafi Premium Landing Page
   ================================================================ */

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

:root {
  --bg: #060a18;
  --bg-light: #0c1228;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #e4e4f0;
  --text-muted: #9a9ab4;
  --gold: #F5A623;
  --violet: #8B5CF6;
  --rose: #EC4899;
  --emerald: #10B981;
  --blue: #3B82F6;
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layered ambient background orbs */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(139, 92, 246, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 30%, rgba(245, 166, 35, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 50% 60%, rgba(236, 72, 153, 0.035) 0%, transparent 70%),
    radial-gradient(ellipse 800px 600px at 10% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 90% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Keyframes ===== */
@keyframes twinkle {
  0% { opacity: 0.1; }
  100% { opacity: 0.85; }
}

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

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.7; text-shadow: 0 0 20px rgba(245, 166, 35, 0.3); }
  50% { opacity: 1; text-shadow: 0 0 40px rgba(245, 166, 35, 0.5); }
}

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

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

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Accent text colors ===== */
.text-gold {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(245, 166, 35, 0.35), 0 0 80px rgba(245, 166, 35, 0.15);
}
.text-violet {
  color: var(--violet);
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.35), 0 0 80px rgba(139, 92, 246, 0.15);
}
.text-rose {
  color: var(--rose);
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.35), 0 0 80px rgba(236, 72, 153, 0.15);
}
.text-emerald {
  color: var(--emerald);
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.35), 0 0 80px rgba(16, 185, 129, 0.15);
}
.text-blue {
  color: var(--blue);
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.35), 0 0 80px rgba(59, 130, 246, 0.15);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s var(--ease-smooth), backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(6, 10, 24, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease-smooth);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-smooth);
  position: relative;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(245, 166, 35, 0.3));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(8px);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-chevron {
  font-size: 0.7rem;
  transition: transform 0.25s;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(12, 18, 40, 0.95);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transition: all 0.3s var(--ease-out);
  z-index: 100;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s var(--ease-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0a0825 0%, #1a0e42 25%, #180c38 45%, #120830 65%, #060a18 100%);
  overflow: hidden;
  padding: 140px 24px 100px;
}

/* Aurora glow behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background:
    radial-gradient(ellipse 400px 300px at 35% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 350px 250px at 65% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 50% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite;
}

/* Vignette edges */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(6, 10, 24, 0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-arabic {
  font-family: 'Amiri', serif;
  font-size: 3.2rem;
  color: var(--gold);
  text-shadow:
    0 0 30px rgba(245, 166, 35, 0.4),
    0 0 60px rgba(245, 166, 35, 0.2),
    0 0 100px rgba(245, 166, 35, 0.1);
  margin-bottom: 16px;
  line-height: 1.4;
  animation: softPulse 6s ease-in-out infinite;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #e0d4f5 40%, #ffffff 60%, #f5e6d0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.hero-quote {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Store button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #000;
  padding: 16px 32px;
  border-radius: 16px;
  font-family: inherit;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
  position: relative;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.12),
    0 0 60px rgba(245, 166, 35, 0.2),
    0 0 100px rgba(245, 166, 35, 0.1);
}

.store-btn ion-icon {
  font-size: 30px;
}

.store-text {
  text-align: left;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.7rem;
  font-weight: 400;
  display: block;
  opacity: 0.65;
}

.store-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 18px;
  animation: float 4s ease-in-out infinite;
}

.badge-violet {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}
.badge-rose {
  background: rgba(236, 72, 153, 0.12);
  color: var(--rose);
  border: 1px solid rgba(236, 72, 153, 0.22);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}
.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}
.badge-gold {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.22);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.1);
}

/* ============================================================
   MISSION
   ============================================================ */
.mission-section {
  padding: 80px 0;
}

.mission-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient border effect */
.mission-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), transparent 40%, transparent 60%, rgba(139, 92, 246, 0.15));
  z-index: -1;
}

.mission-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.mission-icon {
  font-size: 2.6rem;
  color: var(--rose);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.3));
}

.mission-text {
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.85;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  padding: 48px 0;
  position: relative;
}

/* Gradient top and bottom borders */
.stats-bar::before,
.stats-bar::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.4) 30%, rgba(245, 166, 35, 0.5) 50%, rgba(245, 166, 35, 0.4) 70%, transparent 100%);
}
.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow:
    0 0 20px rgba(245, 166, 35, 0.35),
    0 0 50px rgba(245, 166, 35, 0.15);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.25), transparent);
}

/* ============================================================
   PHONE SHOWCASE (kept for compatibility)
   ============================================================ */
.phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-mockup { position: relative; z-index: 1; }

.phone-frame {
  width: 280px;
  height: 580px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(139, 92, 246, 0.12);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  transition: opacity 0.3s ease;
}

.phone-dots { display: flex; gap: 8px; margin-top: 24px; z-index: 1; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.dot.active {
  background: var(--violet);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    transform 0.4s var(--ease-spring),
    border-color 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth),
    background 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

/* Gradient border shimmer on hover using top edge highlight */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(139, 92, 246, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.glass-card:hover .card-icon-wrap {
  transform: scale(1.08);
}

.card-icon-wrap.large {
  width: 68px;
  height: 68px;
  font-size: 1.9rem;
}

.card-icon-wrap.violet {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}
.card-icon-wrap.rose {
  background: rgba(236, 72, 153, 0.12);
  color: var(--rose);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.08);
}
.card-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}
.card-icon-wrap.gold {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.08);
}
.card-icon-wrap.blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

.glass-card:hover .card-icon-wrap.violet { box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); }
.glass-card:hover .card-icon-wrap.rose { box-shadow: 0 0 30px rgba(236, 72, 153, 0.2); }
.glass-card:hover .card-icon-wrap.emerald { box-shadow: 0 0 30px rgba(16, 185, 129, 0.2); }
.glass-card:hover .card-icon-wrap.gold { box-shadow: 0 0 30px rgba(245, 166, 35, 0.2); }
.glass-card:hover .card-icon-wrap.blue { box-shadow: 0 0 30px rgba(59, 130, 246, 0.2); }

.glass-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}

.glass-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Feature tags */
.feature-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 7px;
  margin-bottom: 12px;
}

.tag-gold {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.08);
}
.tag-violet {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.08);
}
.tag-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.08);
}

/* ============================================================
   KNOWLEDGE GRID
   ============================================================ */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

.knowledge-grid .featured-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(245, 166, 35, 0.15);
  position: relative;
}

.featured-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.3), transparent);
}

.featured-card:hover {
  border-color: rgba(245, 166, 35, 0.3) !important;
  box-shadow:
    0 20px 60px rgba(245, 166, 35, 0.08),
    0 0 40px rgba(245, 166, 35, 0.05) !important;
}

.featured-card p {
  max-width: 600px;
}

/* ============================================================
   LIVING SKY
   ============================================================ */
.sky-section {
  padding: 100px 0;
}

.sky-bars {
  display: flex;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto;
}

.sky-bar {
  flex: 1;
  height: 120px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.sky-bar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.sky-bar small {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.sky-bar:hover {
  transform: scale(1.06) translateY(-4px);
}

.sky-bar.fajr {
  background: linear-gradient(180deg, #1a0533, #4a1942, #c2566e, #f4a261, #f9d5a0);
  box-shadow: 0 8px 30px rgba(244, 162, 97, 0.15);
}
.sky-bar.fajr:hover {
  box-shadow: 0 12px 40px rgba(244, 162, 97, 0.25);
}

.sky-bar.day {
  background: linear-gradient(180deg, #3a80c0, #5ba0d8, #88b8e0, #a8c8ea);
  color: #1a3a5c;
  box-shadow: 0 8px 30px rgba(88, 160, 216, 0.15);
}
.sky-bar.day:hover {
  box-shadow: 0 12px 40px rgba(88, 160, 216, 0.25);
}
.sky-bar.day span {
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.3);
}

.sky-bar.evening {
  background: linear-gradient(180deg, #120828, #3a1848, #882850, #d04860, #e87840, #f0a040);
  box-shadow: 0 8px 30px rgba(208, 72, 96, 0.15);
}
.sky-bar.evening:hover {
  box-shadow: 0 12px 40px rgba(208, 72, 96, 0.25);
}

.sky-bar.night {
  background: linear-gradient(180deg, #030508, #060c18, #0a1028, #0c1430, #080c20);
  color: #c8b8e0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.sky-bar.night:hover {
  box-shadow: 0 12px 40px rgba(100, 80, 160, 0.15);
}

/* ============================================================
   LANGUAGE PILLS
   ============================================================ */
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.lang-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.35s var(--ease-spring);
  backdrop-filter: blur(8px);
}

.lang-pill:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

/* ============================================================
   UNIQUE CARDS
   ============================================================ */
.unique-card {
  text-align: center;
}

.unique-card .card-icon-wrap {
  margin: 0 auto 18px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.pricing-featured {
  border-color: rgba(245, 166, 35, 0.35);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.06) 0%, rgba(255, 255, 255, 0.03) 35%);
  box-shadow:
    0 0 50px rgba(245, 166, 35, 0.08),
    0 0 100px rgba(245, 166, 35, 0.04);
  position: relative;
  overflow: hidden;
}

.pricing-featured:hover {
  box-shadow:
    0 20px 60px rgba(245, 166, 35, 0.12),
    0 0 80px rgba(245, 166, 35, 0.08) !important;
}

/* Shimmer border animation */
.pricing-featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.5) 25%, var(--gold) 50%, rgba(245, 166, 35, 0.5) 75%, transparent 100%);
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
  z-index: -1;
  opacity: 0.3;
}

/* Inner glow at top of featured card */
.pricing-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e8941a);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.pricing-tier {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.pricing-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.pricing-featured .pricing-amount {
  color: var(--gold);
  text-shadow:
    0 0 20px rgba(245, 166, 35, 0.35),
    0 0 50px rgba(245, 166, 35, 0.15);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 7px 0;
  padding-left: 24px;
  position: relative;
  transition: color 0.2s;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.pricing-features .pricing-section-label::before {
  content: none;
}

.pricing-save {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 22px;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s var(--ease-smooth);
  cursor: pointer;
}

.pricing-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.featured-btn {
  background: linear-gradient(135deg, var(--gold), #e8941a) !important;
  color: #000 !important;
  border-color: var(--gold) !important;
  font-weight: 800 !important;
}

.featured-btn:hover {
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35), 0 0 60px rgba(245, 166, 35, 0.15) !important;
  transform: translateY(-3px);
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 40px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(160deg, #16103e 0%, #130b34 40%, #0e0828 70%, #060a18 100%);
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

/* Dramatic radial glow behind CTA */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background:
    radial-gradient(ellipse 350px 250px at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 250px 200px at 40% 60%, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

.cta-content {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-bismillah {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: softPulse 5s ease-in-out infinite;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.5px;
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.15);
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 72px 0 44px;
}

/* Gradient border on top */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.25), rgba(245, 166, 35, 0.3), rgba(139, 92, 246, 0.25), transparent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer-brand strong {
  display: block;
  font-size: 1.12rem;
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(154, 154, 180, 0.6);
  margin-top: 24px;
  padding-top: 28px;
  position: relative;
}

.footer-copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ============================================================
   RTL SUPPORT
   ============================================================ */
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .store-text { text-align: right; }
[dir="rtl"] .pricing-features { text-align: right; }
[dir="rtl"] .pricing-features li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .pricing-features li::before { left: auto; right: 0; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .footer-links { direction: rtl; }
[dir="rtl"] .footer-col a:hover { transform: translateX(-3px); }
[dir="rtl"] .nav-links a::after { transform-origin: right; }

/* ============================================================
   RESPONSIVE: 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 2.1rem; }
  .hero-title { font-size: 4rem; }
  .pricing-featured { transform: none; }
  .pricing-grid { gap: 20px; }
}

/* ============================================================
   RESPONSIVE: 768px
   ============================================================ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .lang-dropdown { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(6, 10, 24, 0.97);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; padding: 8px 0; }

  .hero { padding: 110px 20px 70px; min-height: auto; }
  .hero::before { width: 500px; height: 400px; }
  .hero-arabic { font-size: 2.1rem; }
  .hero-title { font-size: 3rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-quote { font-size: 1rem; margin-bottom: 32px; }
  .store-btn { padding: 13px 26px; }
  .store-btn ion-icon { font-size: 24px; }
  .store-text strong { font-size: 1.05rem; }

  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.7rem; line-height: 1.3; }
  .section-sub { font-size: 0.94rem; padding: 0 8px; }
  .container { padding: 0 18px; }

  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .glass-card { padding: 24px 18px; }
  .glass-card:hover { transform: translateY(-4px); }
  .card-icon-wrap { width: 46px; height: 46px; margin-bottom: 14px; }
  .card-icon-wrap ion-icon { font-size: 20px; }
  .card-icon-wrap.large { width: 54px; height: 54px; }
  .glass-card h3 { font-size: 0.95rem; }
  .glass-card p { font-size: 0.82rem; line-height: 1.55; }

  .knowledge-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .knowledge-grid .featured-card { grid-column: span 2; padding: 32px 24px; }

  .mission-card { padding: 36px 24px; }
  .mission-text { font-size: 0.95rem; line-height: 1.75; }

  .stats-grid { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat-number { font-size: 2.1rem; }
  .stat-label { font-size: 0.82rem; }

  .sky-section { padding: 80px 0; }
  .sky-bars { gap: 10px; }
  .sky-bar { height: 90px; border-radius: 14px; font-size: 0.88rem; }
  .sky-bar small { font-size: 0.58rem; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 18px; }
  .pricing-card { padding: 32px 24px; }
  .pricing-amount { font-size: 2.6rem; }
  .pricing-featured { transform: none; }

  .lang-pills { gap: 10px; }
  .lang-pill { padding: 10px 20px; font-size: 0.85rem; }

  .unique-grid { grid-template-columns: 1fr !important; gap: 14px; }

  .cta-section { padding: 90px 0; }
  .cta-title { font-size: 1.9rem; }
  .cta-sub { font-size: 0.94rem; }

  .footer { padding: 48px 0 28px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .footer-links { gap: 36px; }
  .footer-brand { flex-direction: column; align-items: center; }
}

/* ============================================================
   RESPONSIVE: 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 100px 16px 56px; }
  .hero::before { width: 350px; height: 280px; }
  .hero-arabic { font-size: 1.7rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-quote { font-size: 0.92rem; max-width: 300px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-sub { font-size: 0.84rem; }

  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr; gap: 12px; }
  .glass-card { padding: 22px 18px; }
  .glass-card:hover { transform: translateY(-3px); }
  .glass-card h3 { font-size: 0.92rem; }
  .glass-card p { font-size: 0.8rem; }

  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-grid .featured-card { grid-column: span 1; }

  .mission-card { padding: 28px 20px; }
  .mission-text { font-size: 0.88rem; }

  .stats-grid { flex-direction: column; gap: 14px; }
  .stat-number { font-size: 1.8rem; }

  .sky-bars { flex-direction: column; gap: 8px; }
  .sky-bar { height: 60px; border-radius: 12px; }

  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 28px 18px; }
  .pricing-amount { font-size: 2.2rem; }
  .pricing-features li { font-size: 0.84rem; }

  .lang-pills { gap: 8px; }
  .lang-pill { padding: 9px 16px; font-size: 0.82rem; }

  .store-btn { padding: 12px 22px; }
  .store-text strong { font-size: 0.98rem; }

  .cta-section { padding: 72px 0; }
  .cta-title { font-size: 1.55rem; }
  .cta-sub { font-size: 0.88rem; }
  .cta-bismillah { font-size: 1.05rem; }

  .footer-links { flex-direction: column; gap: 22px; }
  .footer-copy { font-size: 0.8rem; }

  .badge { font-size: 0.65rem; padding: 5px 14px; }
}
