/* ═══════════════════════════════════════════
   Noor ul Haya — Premium Showcase
   ═══════════════════════════════════════════ */
:root {
  --bg: #07080F;
  --bg-elevated: #0F1119;
  --bg-card: #141722;
  --bg-card-hover: #1A1E2E;
  --primary: #7B62FF;
  --primary-soft: rgba(123, 98, 255, 0.15);
  --primary-glow: rgba(123, 98, 255, 0.45);
  --accent: #2EC4A0;
  --accent-soft: rgba(46, 196, 160, 0.12);
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --text: #F4F5FA;
  --text-muted: #8B92A8;
  --text-dim: #5C6378;
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(255, 255, 255, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-arabic: 'Amiri', serif;
  --radius: 20px;
  --radius-lg: 28px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ── Ambient layers ── */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.5s; mix-blend-mode: screen;
}
body:hover .cursor { opacity: 0.35; }

#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.geo-pattern {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  color: var(--primary); opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

/* ── Typography ── */
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(123,98,255,0.25);
  margin-bottom: 16px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }

.section { padding: 110px 0; position: relative; z-index: 1; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer; font-family: var(--font); transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

.btn--glow {
  background: linear-gradient(135deg, var(--primary) 0%, #5B3FE0 50%, var(--accent) 100%);
  color: white; box-shadow: 0 8px 40px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--glow:hover { transform: translateY(-3px); box-shadow: 0 16px 50px var(--primary-glow); }

.btn--glass {
  background: rgba(255,255,255,0.04); color: var(--text);
  border: 1px solid var(--border-bright); backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,0.08); border-color: var(--primary); color: var(--primary); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(7, 8, 15, 0.82); backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; height: 100%; gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand strong { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.nav__brand span { font-family: var(--font-arabic); font-size: 0.75rem; color: var(--text-muted); }
.nav__logo-svg { width: 38px; height: 38px; }

.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.25s; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none; flex-direction: column; gap: 6px; background: none; border: none;
  cursor: pointer; margin-left: auto; padding: 8px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

.nav__drawer {
  display: none; flex-direction: column; padding: 16px 4vw 24px;
  background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.nav__drawer.open { display: flex; }
.nav__drawer a { padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 500; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; padding: calc(var(--nav-h) + 48px) 0 100px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}

.hero__mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(123,98,255,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(46,196,160,0.14) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 60% 10%, rgba(212,175,55,0.08) 0%, transparent 40%);
}

.hero__arc {
  position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 140%; height: 400px; border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(123,98,255,0.04));
  border-top: 1px solid var(--border);
}

.hero__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); margin-bottom: 24px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); animation: blink 2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero__title { margin-bottom: 16px; }
.hero__title-line {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 600; line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--primary) 0%, #A78BFA 40%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero__arabic {
  font-family: var(--font-arabic); font-size: 1.6rem; color: var(--gold);
  margin-bottom: 8px; opacity: 0.9;
}
.hero__verse {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem;
  color: var(--text-muted); margin-bottom: 20px;
}
.hero__desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__metrics { display: flex; gap: 32px; }
.metric strong {
  display: block; font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric span { font-size: 0.75rem; color: var(--text-dim); font-weight: 500; }

/* ── Devices ── */
.hero__devices { position: relative; height: 520px; }

.device { position: absolute; }
.device--back { right: 0; top: 40px; transform: rotate(6deg) scale(0.88); opacity: 0.7; z-index: 1; }
.device--front { left: 20px; top: 0; z-index: 2; animation: float-device 7s ease-in-out infinite; }
@keyframes float-device { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.device__shell {
  width: 260px; background: linear-gradient(145deg, #1E2130, #0A0B10);
  border-radius: 36px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.device__shine {
  position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  animation: pulse-glow 5s ease infinite;
}
@keyframes pulse-glow { 0%,100%{opacity:0.5;transform:scale(1)} 50%{opacity:0.9;transform:scale(1.05)} }

.app {
  background: var(--bg-elevated); border-radius: 28px; overflow: hidden;
  min-height: 480px; padding: 16px; font-size: 0.8rem;
}
.app__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.app__top small { display: block; color: var(--text-dim); font-size: 0.7rem; }
.app__top strong { font-size: 0.85rem; }
.app__pill {
  padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(46,196,160,0.2);
}

.app__hero-card {
  background: linear-gradient(135deg, #5B3FE0, #7B62FF 50%, #2EC4A0);
  border-radius: 16px; padding: 16px; color: white; margin-bottom: 12px;
  box-shadow: 0 12px 32px rgba(123,98,255,0.3);
}
.app__hero-card small { opacity: 0.8; font-size: 0.68rem; }
.app__hero-card h3 { font-size: 1.5rem; font-weight: 800; margin: 2px 0 6px; }
.app__countdown { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.9; margin-bottom: 10px; }
.app__progress { height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; }
.app__progress-fill { height: 100%; width: 62%; background: white; border-radius: 4px; animation: grow 2s var(--ease) forwards; }
@keyframes grow { from{width:0} }

.app__tracker {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border); margin-bottom: 12px;
}
.app__tracker-ring { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.app__tracker-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app__tracker-ring span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
}
.ring-anim { animation: ring-draw 2s var(--ease) forwards; }
@keyframes ring-draw { from{stroke-dasharray:0,100} to{stroke-dasharray:60,100} }
.app__tracker strong { display: block; font-size: 0.78rem; }
.app__tracker small { color: var(--text-dim); font-size: 0.65rem; }

.app__prayers { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.app__prayers li {
  display: flex; align-items: center; padding: 9px 12px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); font-weight: 500;
}
.app__prayers li span { flex: 1; }
.app__prayers time { color: var(--text-dim); font-size: 0.72rem; margin-right: 8px; }
.app__prayers li.done { opacity: 0.5; }
.app__prayers li.done i { color: var(--accent); font-style: normal; }
.app__prayers li.active { border-color: var(--primary); background: var(--primary-soft); }
.app__prayers .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary); animation: blink 1.5s infinite;
}

/* Qibla app */
.app--qibla { display: flex; flex-direction: column; align-items: center; padding-top: 24px; }
.app__bar { font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; align-self: flex-start; }
.compass { width: 160px; height: 160px; position: relative; margin: 20px 0; }
.compass__ring {
  width: 100%; height: 100%; border-radius: 50%;
  border: 2px solid var(--border-bright);
  background: radial-gradient(circle, var(--bg-card) 50%, transparent);
  animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow { to{transform:rotate(360deg)} }
.compass__needle {
  position: absolute; top: 50%; left: 50%; width: 3px; height: 60px;
  background: linear-gradient(to top, var(--accent), var(--primary));
  transform: translate(-50%, -90%) rotate(24deg); transform-origin: bottom center; border-radius: 3px;
}
.compass__kaaba { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 1rem; }
.compass__hint { color: var(--accent); font-weight: 600; font-size: 0.78rem; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: rgba(20, 23, 34, 0.9); border: 1px solid var(--border-bright);
  backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 10;
  animation: float-card 6s ease-in-out infinite;
}
.float-card--1 { bottom: 80px; right: -10px; animation-delay: 0s; }
.float-card--2 { top: 60px; left: -20px; animation-delay: -2s; }
@keyframes float-card { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Marquee */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 18px 0; border-top: 1px solid var(--border);
  background: rgba(7,8,15,0.6); backdrop-filter: blur(8px); overflow: hidden;
}
.marquee__track {
  display: flex; gap: 32px; white-space: nowrap;
  animation: marquee 30s linear infinite; width: max-content;
}
.marquee__track span { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.04em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Bento Features ── */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%); }

.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.bento__card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.45s var(--ease); overflow: hidden;
}
.bento__card:hover {
  transform: translateY(-6px); border-color: var(--border-bright);
  background: var(--bg-card-hover); box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.bento__card--hero { grid-row: span 2; }
.bento__card--wide { grid-column: span 2; }

.bento__glow {
  position: absolute; top: -50%; right: -30%; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  opacity: 0.3; pointer-events: none;
}
.bento__icon { font-size: 1.8rem; margin-bottom: 14px; }
.bento__card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.bento__card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
.bento__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bento__tags li {
  padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 600;
  background: rgba(255,255,255,0.04); color: var(--text-dim); border: 1px solid var(--border);
}

.bento__split { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.bento__chips { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.chip {
  padding: 8px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); white-space: nowrap;
}
.chip--live { display: flex; align-items: center; gap: 8px; color: var(--accent); border-color: rgba(46,196,160,0.25); }
.chip--live span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 2s infinite; }

/* ── Screens rail ── */
.screens { overflow: hidden; }
.screens__rail {
  display: flex; gap: 24px; padding: 0 4vw 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.screens__rail::-webkit-scrollbar { display: none; }

.screen-card {
  flex: 0 0 280px; scroll-snap-align: center;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.screen-card:hover { border-color: rgba(123,98,255,0.3); transform: translateY(-4px); }
.screen-card h4 { font-size: 1rem; font-weight: 700; margin: 16px 0 6px; }
.screen-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.screen-card__phone {
  background: linear-gradient(145deg, #1E2130, #0A0B10); border-radius: 24px; padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.mini-app {
  background: var(--bg-elevated); border-radius: 18px; min-height: 200px;
  padding: 12px; font-size: 0.72rem; text-align: center;
}
.mini-bar { font-weight: 700; text-align: left; margin-bottom: 12px; font-size: 0.78rem; }
.mini-hero { font-size: 2rem; margin: 16px 0 8px; }
.mini-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.mini-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); }
.mini-dots .on { background: var(--accent); width: 18px; border-radius: 3px; }
.mini-card { padding: 10px; border-radius: 10px; margin-bottom: 8px; text-align: left; font-weight: 600; }
.mini-card.purple { background: linear-gradient(135deg, #5B3FE0, #7B62FF); }
.mini-row { padding: 8px 10px; background: var(--bg-card); border-radius: 8px; margin-bottom: 4px; text-align: left; border: 1px solid var(--border); }
.mini-row.done { opacity: 0.5; }
.mini-compass {
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--border-bright);
  margin: 16px auto; position: relative;
  background: conic-gradient(from 0deg, var(--primary-soft), var(--accent-soft), var(--primary-soft));
}
.mini-compass::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 2px; height: 30px;
  background: var(--accent); transform: translate(-50%, -80%) rotate(20deg); border-radius: 2px;
}
.green { color: var(--accent); font-weight: 600; margin-top: 8px; }
.mini-surah {
  display: flex; align-items: center; gap: 10px; padding: 10px; text-align: left;
  background: var(--bg-card); border-radius: 10px; margin-bottom: 6px; border: 1px solid var(--border);
}
.mini-surah b {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 0.75rem;
}
.mini-surah small { display: block; color: var(--text-dim); font-size: 0.65rem; }
.mini-app .ar { font-family: var(--font-arabic); font-size: 1.2rem; color: var(--gold); margin: 16px 0 8px; }
.mini-app .trans { color: var(--text-muted); font-size: 0.7rem; }
.mini-bead {
  width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center; margin: 20px auto 8px;
  font-size: 1.4rem; font-weight: 800; color: var(--accent); background: var(--accent-soft);
}

/* ── Sacred Library ── */
.sacred { background: var(--bg-elevated); }

.sacred__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.quran-panel {
  padding: 36px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(123,98,255,0.08), rgba(46,196,160,0.05));
  border: 1px solid var(--border-bright);
}
.quran-panel h3 { font-size: 1.1rem; margin-bottom: 20px; }
.quran-verse {
  font-family: var(--font-arabic); font-size: 1.5rem; line-height: 2;
  color: var(--gold); margin-bottom: 16px;
}
.quran-trans { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 12px; font-style: italic; }
.quran-panel cite { font-size: 0.78rem; color: var(--text-dim); font-style: normal; }
.surah-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.surah-pills span {
  padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(123,98,255,0.2);
}

.dua-stack { display: flex; flex-direction: column; gap: 14px; }
.dua-card {
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}
.dua-card:hover { border-color: rgba(212,175,55,0.3); transform: translateX(4px); }
.dua-card header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.dua-card header strong { font-size: 0.88rem; }
.dua-card header span { font-size: 0.72rem; color: var(--text-dim); padding: 2px 8px; background: rgba(255,255,255,0.04); border-radius: 4px; }
.dua-card__ar { font-family: var(--font-arabic); font-size: 1.15rem; color: var(--gold); line-height: 1.8; margin-bottom: 8px; }
.dua-card__en { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Journey ── */
.journey__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s var(--ease);
}
.step:hover::before { transform: scaleX(1); }
.step:hover { transform: translateY(-4px); }
.step__num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px; line-height: 1;
}
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ── Tech ── */
.tech__row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 28px 32px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
}
.tech__row p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; max-width: 560px; }
.tech__row strong { color: var(--text); }
.tech__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tech__badges span {
  padding: 8px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  transition: all 0.3s;
}
.tech__badges span:hover { border-color: var(--primary); color: var(--primary); }

/* ── Download ── */
.download { position: relative; overflow: hidden; }
.download__aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(123,98,255,0.15), transparent),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(46,196,160,0.1), transparent);
}
.download__panel {
  position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  align-items: center; padding: 56px; border-radius: 32px;
  background: linear-gradient(145deg, var(--bg-card), rgba(20,23,34,0.8));
  border: 1px solid var(--border-bright);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.download__copy h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600; margin: 12px 0 16px; line-height: 1.15;
}
.download__copy h2 em { font-style: italic; color: var(--accent); }
.download__copy p { color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.download__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.download__specs { display: flex; gap: 16px; flex-wrap: wrap; }
.download__specs span {
  font-size: 0.78rem; font-weight: 600; color: var(--text-dim);
  padding: 6px 12px; background: rgba(255,255,255,0.03); border-radius: 6px;
  border: 1px solid var(--border);
}

.orbit { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(123,98,255,0.2);
  animation: orbit-spin 12s linear infinite;
}
.orbit__ring:nth-child(2) { inset: 20px; animation-direction: reverse; animation-duration: 18s; border-color: rgba(46,196,160,0.2); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit__moon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; animation: moon-float 5s ease-in-out infinite;
}
@keyframes moon-float { 0%,100%{transform:translateY(0) rotate(-5deg)} 50%{transform:translateY(-12px) rotate(5deg)} }

/* ── Footer ── */
.footer {
  padding: 48px 0; border-top: 1px solid var(--border); position: relative; z-index: 1;
}
.footer__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__brand strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.footer__brand p { font-family: var(--font-arabic); color: var(--text-muted); margin-bottom: 8px; }
.footer__brand small { color: var(--text-dim); font-size: 0.78rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; transition: color 0.25s; }
.footer__links a:hover { color: var(--primary); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(32px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ── Screens hint ── */
.screens__hint {
  text-align: center; font-size: 0.8rem; color: var(--text-dim);
  margin-bottom: 20px; letter-spacing: 0.04em;
}

.mini-explore { display: flex; gap: 6px; margin-bottom: 8px; }
.mini-explore span {
  flex: 1; padding: 10px 4px; background: var(--bg-card); border-radius: 8px;
  border: 1px solid var(--border); font-size: 0.9rem;
}
.mini-loader {
  width: 40px; height: 3px; background: var(--border); border-radius: 3px;
  margin: 16px auto 0; position: relative; overflow: hidden;
}
.mini-loader::after {
  content: ''; position: absolute; left: -40%; top: 0; width: 40%; height: 100%;
  background: var(--primary); animation: loader-slide 1.2s ease infinite;
}
@keyframes loader-slide { to { left: 100%; } }

/* ── Why section ── */
.why { background: var(--bg-elevated); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.why__card {
  padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid var(--border); transition: all 0.4s var(--ease);
}
.why__card:hover { border-color: var(--primary); transform: translateY(-4px); }
.why__icon { font-size: 1.8rem; margin-bottom: 12px; }
.why__card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why__card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.why__card a { color: var(--primary); text-decoration: underline; }

.compare {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
}
.compare__head, .compare__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px;
  padding: 14px 20px; align-items: center;
}
.compare__head {
  background: rgba(123,98,255,0.08); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim);
}
.compare__row { border-top: 1px solid var(--border); font-size: 0.88rem; }
.compare__row span:first-child { color: var(--text-muted); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: #F87171; font-weight: 700; }
.compare .partial { color: var(--gold); font-weight: 600; font-size: 0.8rem; }

/* ── Sacred banner ── */
.sacred__banner {
  margin-top: 32px; padding: 28px 32px; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--primary-soft));
  border: 1px solid rgba(212,175,55,0.2);
}
.sacred__banner-ar {
  font-family: var(--font-arabic); font-size: 1.4rem; color: var(--gold); margin-bottom: 10px;
}
.sacred__banner em { color: var(--text-muted); font-size: 0.92rem; }

/* ── FAQ ── */
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--primary); }
.faq__item summary {
  padding: 18px 22px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); transition: transform 0.3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 22px 18px; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
}
.faq__item a { color: var(--primary); text-decoration: underline; }

/* ── Tech details ── */
.tech__details {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px;
}
.tech__detail {
  padding: 16px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); text-align: center;
}
.tech__detail strong { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.tech__detail span { font-size: 0.82rem; font-weight: 600; }

/* ── Download legal links ── */
.download__legal {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.download__legal a { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; transition: color 0.25s; }
.download__legal a:hover { color: var(--primary); }

/* ── Footer enhanced ── */
.footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 4px; }
.footer__col a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.25s; }
.footer__col a:hover { color: var(--primary); }
.footer__email { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__metrics { justify-content: center; }
  .hero__devices { height: 460px; margin-top: 20px; }
  .device--front { left: 50%; transform: translateX(-55%); }
  .device--back { right: 10%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--hero { grid-row: span 1; }
  .bento__card--wide { grid-column: span 2; }
  .sacred__grid { grid-template-columns: 1fr; }
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .download__panel { grid-template-columns: 1fr; text-align: center; padding: 40px; }
  .download__btns, .download__specs, .download__legal { justify-content: center; }
  .tech__row { flex-direction: column; text-align: center; }
  .why__grid { grid-template-columns: 1fr; }
  .tech__details { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav > .container > .btn { display: none; }
  .nav__burger { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .bento__split { flex-direction: column; }
  .journey__steps { grid-template-columns: 1fr; }
  .hero__devices { height: 400px; }
  .device__shell { width: 220px; }
  .float-card { display: none; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__col { align-items: center; }
  .tech__details { grid-template-columns: 1fr; }
  .compare__head, .compare__row { grid-template-columns: 1.2fr 0.8fr 0.8fr; font-size: 0.78rem; padding: 12px 14px; }
}
