/* صفحة الهبوط — طابع «ستيكرات» فاتح: خلفيات باستيل، حدود سوداء رفيعة، أزرار حبّية
   القيم من توكنز التصميم: carbon / paper / sky-wash / concrete / soft-mist + ألوان التمييز، وأنصاف أقطار 16/20/30/40 */
:root {
  --sky: #dceeff;
  --white: #ffffff;
  --gray: #cccccc;
  --mist: #e9e9e9;
  --ink: #000000;
  --ink-2: #1f1f1f;
  --muted: #4a4a4a;
  --blue: #4da2ff;
  --mint: #55db9c;
  --lav: #e9ccff;
  --ember: #fb4903;
  --sun: #ffd731;
  --violet: #5c4ade;
  --line: 1px solid var(--ink);
  --pill: 1600px;
  --r-sm: 16px;
  --r-md: 20px;
  --r-card: 30px;
  --r-lg: 40px;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ui: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 500 17px/1.75 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.band { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.band-sky { background: var(--sky); }
.band-white { background: var(--white); }
.band-gray { background: var(--gray); }
.band-mist { background: var(--mist); }
.band + .band { border-top: var(--line); }

/* ── الخطوط ── */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(120px, 22vw, 340px);
  line-height: 1.1;
  margin: 0;
}
.display-md { font-size: clamp(88px, 16vw, 240px); }
.h-xl { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: 1.3; padding-bottom: .12em; }
.h-lg { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.32; }
h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.35; }
.kicker {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px; margin-bottom: 18px;
  border: var(--line); border-radius: var(--pill); background: var(--white);
  font-weight: 700; font-size: 14px;
}
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.75; max-width: 760px; color: var(--ink-2); }
.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin-top: 18px; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.icon { flex: none; }

/* ── الأزرار الحبّية ── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: var(--line); border-radius: var(--pill);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0); }
.pill-dark { background: var(--ink); color: var(--white); }
.pill-dark:hover { background: var(--violet); }
.pill-light { background: var(--white); color: var(--ink); }
.pill-light:hover { background: var(--lav); }
.pill-lg { height: 58px; padding: 0 32px; font-size: 18px; }

/* ── الشريط المتحرك ── */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; direction: ltr; border-bottom: var(--line); }
.marquee-track { display: flex; align-items: center; width: max-content; gap: 28px; padding-block: 10px; animation: marquee 48s linear infinite; }
.marquee-track span { font-weight: 700; font-size: 15px; white-space: nowrap; direction: rtl; }
.marquee-track .spark {
  width: 14px; height: 14px; flex: none; background: var(--sun);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.marquee-track .dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--blue); border: var(--line); }
.marquee-alt { border-block: var(--line); }
.marquee-alt .marquee-track { padding-block: 18px; animation-duration: 60s; animation-direction: reverse; }
.marquee-alt .marquee-track span { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 34px); }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── شريط التنقل ── */
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 12px clamp(16px, 4vw, 48px); background: var(--sky); border-bottom: var(--line); }
.nav {
  max-width: 1440px; margin-inline: auto; height: 60px; padding: 0 8px; padding-inline-start: 18px;
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: var(--line); border-radius: var(--pill);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 24px; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 16px; }
.nav-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--pill); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { background: var(--sky); }
.nav-cta { display: flex; gap: 8px; margin-inline-start: auto; }

/* ── البطل ── */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; overflow: hidden; border-top: 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px;
  background: var(--white); border: var(--line); border-radius: var(--pill); font-weight: 700; font-size: 15px;
}
.tag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: var(--line); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { background: var(--sun); } }
.hero-title { position: relative; margin-block: clamp(8px, 2vw, 24px) clamp(16px, 3vw, 40px); padding-inline: clamp(40px, 8vw, 140px); }
.hero-title .display { position: relative; z-index: 2; }
.sticker { position: absolute; z-index: 3; width: clamp(56px, 7vw, 104px); animation: bob 6s ease-in-out infinite; }
.sticker svg { width: 100%; height: auto; overflow: visible; }
.st-check { top: 6%; inset-inline-end: 0; rotate: 14deg; }
.st-coin { bottom: 10%; inset-inline-end: 4%; rotate: -12deg; animation-delay: -1.5s; }
.st-flame { top: 2%; inset-inline-start: 6%; rotate: -10deg; animation-delay: -3s; }
.st-trophy { bottom: 6%; inset-inline-start: 0; rotate: 9deg; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero .lead { margin-inline: auto; }
.hero .lead b { background: var(--sun); padding: 0 6px; border-radius: 6px; font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.trust { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; margin-top: 22px; font-size: 15px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: var(--line); background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* المسرح: الأنبوب + الموبايلات */
.stage {
  --p: 0; /* 0 → 1 مع السكرول (من landing.js) */
  position: relative;
  margin-top: clamp(24px, 4vw, 56px);
  height: clamp(560px, 58vw, 860px);
}
.tube {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  transform: translateY(calc(var(--p) * 60px)) scale(calc(1 + var(--p) * 0.06));
  transform-origin: 50% 40%;
}
.phones { position: relative; z-index: 1; height: 100%; display: flex; justify-content: center; align-items: flex-start; }

/* إطار الموبايل */
.phone {
  --w: 260px;
  position: relative; flex: none;
  width: var(--w); aspect-ratio: 390 / 844;
  padding: calc(var(--w) * 0.032);
  background: #0c0c0c;
  border: var(--line);
  border-radius: calc(var(--w) * 0.155);
  box-shadow: inset 0 0 0 calc(var(--w) * 0.008) #3a3a3a, 0 40px 70px -30px rgb(0 0 0 / 0.45);
}
.phone::before {
  content: ''; position: absolute; z-index: 2; top: calc(var(--w) * 0.06); left: 50%; translate: -50% 0;
  width: 30%; height: calc(var(--w) * 0.075); border-radius: var(--pill); background: #000;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * 0.125); background: var(--mist); }

.ph-c { --w: clamp(220px, 22vw, 330px); z-index: 2; margin-top: 0; transform: translateY(calc(var(--p) * -40px)); }
.ph-side { --w: clamp(180px, 18vw, 270px); z-index: 1; margin-top: clamp(60px, 7vw, 110px); }
.ph-l { rotate: -9deg; margin-inline-end: clamp(-40px, -2vw, -16px); transform: translateY(calc(var(--p) * -90px)); }
.ph-r { rotate: 9deg; margin-inline-start: clamp(-40px, -2vw, -16px); transform: translateY(calc(var(--p) * -90px)); }
.ph-c, .ph-side { animation: float 7s ease-in-out infinite; }
.ph-l { animation-delay: -2.3s; }
.ph-r { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  background: var(--white); border: var(--line); border-radius: var(--pill);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.float-chip b { font-family: var(--display); background: var(--sun); border: var(--line); border-radius: var(--pill); padding: 0 10px; line-height: 28px; direction: ltr; }
.fc-1 { top: 18%; inset-inline-start: calc(50% + clamp(130px, 13vw, 200px)); background: var(--mint); }
.fc-2 { top: 52%; inset-inline-end: calc(50% + clamp(140px, 14vw, 215px)); animation-delay: -1.7s; }
.fc-3 { top: 70%; inset-inline-start: calc(50% + clamp(150px, 15vw, 230px)); background: var(--lav); animation-delay: -3.4s; }

/* ── البطاقات ── */
.card { border: var(--line); border-radius: var(--r-card); padding: 24px; background: var(--white); min-width: 0; }
.card-white { background: var(--white); }
.card-sky { background: var(--sky); }
.card-mint { background: var(--mint); }
.card-lav { background: var(--lav); }
.card-sun { background: var(--sun); }
.card-ember { background: var(--ember); }
.card-violet { background: var(--violet); color: var(--white); }
.card p { color: inherit; }

/* ── الشاشات ── */
.screens { overflow: hidden; }
.rail { overflow: hidden; direction: ltr; padding-block: 12px 40px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rail-track { display: flex; gap: clamp(20px, 2.4vw, 36px); width: max-content; animation: marquee 70s linear infinite; }
.rail:hover .rail-track { animation-play-state: paused; }
.rail-item { display: grid; gap: 16px; justify-items: center; direction: rtl; }
.rail-item .phone { --w: clamp(190px, 17vw, 250px); box-shadow: inset 0 0 0 2px #3a3a3a, 0 24px 40px -24px rgb(0 0 0 / 0.4); transition: transform 0.3s var(--ease); }
.rail-item:nth-child(odd) .phone { transform: translateY(18px); }
.rail-item:hover .phone { transform: translateY(-8px) rotate(-2deg); }
.rail-item figcaption {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border: var(--line); border-radius: var(--pill); background: var(--sky); font-weight: 700; font-size: 15px;
}

.desk { position: relative; margin-top: clamp(48px, 7vw, 96px); padding-inline-end: clamp(0px, 6vw, 110px); }
.browser { border: var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.35); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-bottom: var(--line); background: var(--mist); direction: ltr; }
.browser-bar i { width: 13px; height: 13px; border-radius: 50%; border: var(--line); background: var(--ember); }
.browser-bar i:nth-child(2) { background: var(--sun); }
.browser-bar i:nth-child(3) { background: var(--mint); }
.browser-bar span { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; height: 30px; padding: 0 18px; border: var(--line); border-radius: var(--pill); background: var(--white); font-size: 13px; font-weight: 600; }
.browser img { width: 100%; height: auto; }
.ph-desk { --w: clamp(130px, 13vw, 200px); position: absolute; inset-inline-end: 0; bottom: clamp(-20px, -1vw, 0px); rotate: -5deg; }
.desk-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 700; font-size: 17px; max-width: 640px; }
.desk-note .icon { color: var(--violet); }

/* ── شبكة الأقسام ── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento .card { display: grid; gap: 12px; align-content: start; padding: 28px; min-height: 300px; transition: transform 0.25s var(--ease); }
.bento .card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.cat-ico { width: 64px; height: 64px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--white); color: var(--ink); }
.bento h3 { font-size: 30px; }
.bento p { font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.chips li { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; }

/* ── لقطات مفصّلة ── */
.spots { display: grid; gap: clamp(64px, 9vw, 120px); }
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spot-rev .spot-text { order: 2; }
.spot-text p:not(.kicker) { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 560px; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ticks li::before { content: ''; width: 24px; height: 24px; flex: none; border: var(--line); border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 8.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.spot-visual {
  position: relative; overflow: hidden;
  height: clamp(420px, 42vw, 580px);
  border: var(--line); border-radius: var(--r-lg);
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: clamp(36px, 4vw, 56px);
}
.spot-visual .phone { --w: clamp(220px, 21vw, 300px); rotate: -4deg; transition: rotate 0.4s var(--ease), translate 0.4s var(--ease); }
.spot-rev .spot-visual .phone { rotate: 4deg; }
.spot-visual:hover .phone { rotate: 0deg; translate: 0 -10px; }
.sv-chip { top: auto; bottom: 28px; inset-inline-start: 24px; }

/* ── كيف تبدأ ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps .card { display: grid; gap: 10px; align-content: start; padding: 32px 28px; }
.step-n { font-family: var(--display); font-weight: 900; font-size: 96px; line-height: 1; margin-bottom: 8px; }
.steps p { font-size: 17px; }

/* ── المكافآت ── */
.rewards-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.points h3 { margin-bottom: 14px; }
.points ul { display: grid; }
.points li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: var(--line); font-weight: 600; }
.points li span { display: inline-flex; align-items: center; gap: 10px; }
.points li b { font-family: var(--display); font-weight: 800; font-size: 20px; min-width: 76px; height: 36px; display: inline-grid; place-items: center; border: var(--line); border-radius: var(--pill); background: var(--sun); direction: ltr; }
.rewards-side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.ph-rewards { --w: clamp(200px, 18vw, 260px); grid-row: span 2; rotate: -3deg; margin-top: 8px; }
.rewards-side .card { display: grid; gap: 12px; align-content: start; }
.level-path { display: flex; flex-wrap: wrap; gap: 8px; }
.level-path li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px; padding-inline-end: 14px; border: var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink); font-weight: 700; }
.level-path i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: var(--line); font-style: normal; font-family: var(--display); font-size: 13px; }
.reward-items { display: grid; gap: 8px; }
.reward-items span { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: var(--line); border-radius: var(--pill); background: var(--white); font-weight: 700; }
.reward-items b { font-family: var(--display); direction: ltr; margin-inline-start: auto; }

/* ── مزايا إضافية ── */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.extras .card { display: grid; gap: 10px; align-content: start; }
.ex-ico { width: 56px; height: 56px; display: grid; place-items: center; border: var(--line); border-radius: var(--r-md); background: var(--sky); }
.extras h3 { font-size: 22px; }
.extras p { font-size: 16px; color: var(--ink-2); }

/* ── مجاني ── */
.free { overflow: hidden; }
.free-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; position: relative; }
.st-free { width: clamp(104px, 12vw, 170px); top: 0; inset-inline-end: 12%; rotate: 12deg; }
.free .lead { margin-inline: auto; }
.free .display { line-height: 1.1; margin-bottom: 0.42em; }

/* ── الأسئلة ── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 0; border-radius: var(--r-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border: var(--line); border-radius: 50%; background: var(--sky); font-family: var(--ui); font-size: 22px; line-height: 1;
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--sun); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ── الدعوة الأخيرة ── */
.final { overflow: hidden; }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; }
.final .display { line-height: 1.15; margin-bottom: .18em; }
.final .lead { margin-inline: auto; }
.final .hero-cta { margin-top: 12px; }
.st-final1 { top: -40px; inset-inline-start: 2%; rotate: -14deg; }
.st-final2 { bottom: 8%; inset-inline-end: 10%; rotate: 10deg; animation-delay: -2s; }

/* ── التذييل ── */
.footer { background: var(--white); border-top: var(--line); padding-block: 36px; }
.footer-inner { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { margin-inline-start: auto; font-size: 14px; color: var(--muted); }

/* ── الظهور مع السكرول (landing.js بيضيف .js و .is-in) ── */
.js .reveal { opacity: 0; translate: 0 36px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ── الشاشات الأصغر ── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-grid { grid-template-columns: minmax(0, 1fr); }
  .fc-3 { display: none; }
}
@media (max-width: 860px) {
  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot-rev .spot-text { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .copy { margin-inline-start: 0; width: 100%; }
  .stage { height: clamp(460px, 120vw, 620px); }
  .ph-c { --w: min(56vw, 250px); }
  .ph-side { --w: min(42vw, 190px); margin-top: 70px; }
  .ph-l { margin-inline-end: -16vw; }
  .ph-r { margin-inline-start: -16vw; }
  .fc-1 { inset-inline-start: auto; inset-inline-end: 4%; top: auto; bottom: 18%; }
  .fc-2 { inset-inline-end: auto; inset-inline-start: 4%; top: 6%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-wrap { padding: 10px 12px; }
  .nav { height: 54px; padding-inline-start: 12px; padding-inline-end: 5px; gap: 8px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-cta { gap: 6px; }
  .nav-cta .pill { height: 42px; padding: 0 14px; font-size: 14.5px; }
  .hero-title { padding-inline: 34px; }
  .sticker { width: 52px; }
  .st-check { inset-inline-end: -4px; }
  .pill-lg { height: 54px; padding: 0 26px; font-size: 17px; }
  .hero-cta { width: 100%; }
  .hero-cta .pill { flex: 1 1 100%; }
  .float-chip { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .card { min-height: 0; padding: 24px; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .rewards-side { grid-template-columns: minmax(0, 1fr); }
  .ph-rewards { grid-row: auto; justify-self: center; }
  .spot-visual { height: 440px; }
  .sv-chip { inset-inline-start: 16px; bottom: 18px; }
  .desk { padding-inline-end: 0; padding-bottom: 40px; }
  .ph-desk { --w: 120px; bottom: -10px; inset-inline-end: -6px; }
  .browser-bar { height: 36px; padding: 0 12px; }
  .browser-bar i { width: 10px; height: 10px; }
  .browser-bar span { height: 24px; font-size: 11.5px; padding: 0 12px; }
  .desk-note { font-size: 15.5px; align-items: flex-start; padding-inline-end: 120px; }
  .fc-2 { inset-inline-start: 2%; top: auto; bottom: 4%; }
  .fc-1 { bottom: 26%; }
  .step-n { font-size: 72px; }
  .faq summary { font-size: 17px; padding: 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .st-free { width: 92px; inset-inline-end: 0; top: -12px; }
  .st-final1 { width: 46px; }
  .st-final2 { display: none; }
  .st-final1 { top: -48px; inset-inline-start: 2%; }
  .st-final2 { bottom: -24px; inset-inline-end: 2%; }
}
@media (max-width: 370px) {
  .nav-cta .pill-light { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .rail-track, .sticker, .float-chip, .ph-c, .ph-side, .tag-dot { animation: none; }
  .rail { overflow-x: auto; }
  .pill, .faq summary::after, .bento .card, .spot-visual .phone, .rail-item .phone { transition: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .stage, .tube, .phone { transform: none !important; }
}


/* ── الإضافات: وسام رابع في البطل ── */
.fc-4 { top: 30%; inset-inline-end: calc(50% + clamp(150px, 15vw, 235px)); background: var(--sun); animation-delay: -2.6s; }

/* ── الإضافة الذكية ── */
.quick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.quick .section-head { margin-bottom: 0; }
.qd { display: grid; gap: 0; padding: 8px 24px; border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--ink); }
.qd-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px auto; align-items: center; gap: 12px; padding-block: 18px; }
.qd-row + .qd-row { border-top: var(--line); }
.qd-say { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); }
.qd-arrow { height: 2px; background: var(--ink); position: relative; }
.qd-arrow::after { content: ''; position: absolute; inset-inline-end: -1px; top: -5px; width: 10px; height: 10px; border-inline-end: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 135deg; }
.qd-out { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.qd-out li { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: var(--line); border-radius: var(--pill); background: var(--sky); font-weight: 700; font-size: 14px; white-space: nowrap; }
.qd-out li b { font-family: var(--display); direction: ltr; }
.qd-out .is-violet { background: var(--violet); color: var(--white); }
.qd-out .is-ember { background: var(--ember); color: var(--white); }
.qd-out .is-mint { background: var(--mint); }

/* ── الصلاة ورمضان ── */
.band-violet { background: var(--violet); color: var(--white); }
.band-violet .sub { color: rgb(255 255 255 / 0.85); }
.band-violet .kicker { color: var(--ink); }
.band-violet .card { color: var(--ink); }
.faith { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.faith-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faith-cards .card { display: grid; gap: 10px; align-content: start; }
.faith-cards h3 { font-size: 22px; }
.faith-cards p { font-size: 16px; }
.faith-cards .ex-ico { background: var(--white); }
.prayer-board { padding: 28px; box-shadow: 8px 8px 0 var(--ink); }
.prayer-board header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.prayer-board h3 { display: inline-flex; align-items: center; gap: 10px; }
.hijri { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--line); border-radius: var(--pill); background: var(--lav); font-weight: 700; font-size: 14px; }
.prayer-board ol { display: grid; }
.prayer-board li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 12px; border-top: var(--line); }
.prayer-board li b { font-family: var(--display); font-size: 19px; min-width: 64px; }
.prayer-board time { font-family: var(--display); font-weight: 700; direction: ltr; color: var(--muted); margin-inline-end: auto; }
.prayer-board .hab { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: var(--line); border-radius: var(--pill); background: var(--mint); font-weight: 700; font-size: 13.5px; }
.prayer-board .is-now { background: var(--sun); border-radius: var(--r-sm); border: var(--line); }
.prayer-board .is-now + li { border-top: 0; }
.prayer-board .is-iftar { background: var(--white); }

/* ── البرامج ── */
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prog { display: grid; gap: 10px; align-content: start; padding: 28px; transition: transform 0.25s var(--ease); }
.prog:hover { transform: translateY(-6px) rotate(-0.6deg); }
.prog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.prog .ex-ico { background: var(--white); }
.prog-days { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--line); border-radius: var(--pill); background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; }
.prog p { font-size: 16px; color: var(--ink-2); }

/* ── الأصدقاء ── */
.circle { padding: 28px; border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--ink); display: grid; gap: 18px; }
.circle header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.circle h3 { display: inline-flex; align-items: center; gap: 10px; }
.code { font-family: var(--display); font-weight: 800; letter-spacing: 0.12em; direction: ltr; height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--line); border-radius: var(--pill); background: var(--sun); }
.circle-goal { padding: 16px; border: var(--line); border-radius: var(--r-md); background: var(--lav); display: grid; gap: 10px; }
.circle-goal p { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.circle-goal span { direction: rtl; }
.bar { height: 16px; border: var(--line); border-radius: var(--pill); background: var(--white); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--violet); border-inline-end: var(--line); }
.members { display: grid; }
.members li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: var(--line); }
.members b { font-family: var(--display); font-size: 17px; }
.av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: var(--line); border-radius: 50%; font-family: var(--display); font-weight: 800; }
.av-1 { background: var(--mint); } .av-2 { background: var(--sun); } .av-3 { background: var(--lav); } .av-4 { background: var(--mist); }
.m-meta { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.lvl { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: var(--line); border-radius: var(--pill); background: var(--sky); font-weight: 700; font-size: 13.5px; }
.is-private .m-meta { color: var(--muted); }

/* ── التذكيرات وتيليجرام ── */
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reach-card { display: grid; gap: 12px; align-content: start; padding: 32px; }
.reach-card > p { font-size: 17px; }
.reach-card .ex-ico { background: var(--white); }
.notes { display: grid; gap: 10px; margin-top: 10px; }
.note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.note .icon { margin-top: 3px; }
.note p { display: grid; gap: 2px; }
.note span { color: var(--muted); font-size: 15px; }
.note:nth-child(2) { margin-inline-start: 24px; }
.chat { display: grid; gap: 10px; margin-top: 10px; padding: 18px; border: var(--line); border-radius: var(--r-md); background: var(--white); }
.msg { max-width: 82%; padding: 10px 16px; border: var(--line); border-radius: 18px; font-weight: 600; font-size: 15.5px; }
.msg.me { justify-self: start; background: var(--sky); border-end-start-radius: 4px; }
.msg.bot { justify-self: end; background: var(--mint); border-end-end-radius: 4px; }

/* ── تجميد السلسلة في المكافآت ── */
.freeze { grid-column: 1 / -1; }
.freeze h3 { display: inline-flex; align-items: center; gap: 10px; }

@media (max-width: 1100px) {
  .fc-4 { display: none; }
  .quick, .faith { grid-template-columns: minmax(0, 1fr); }
  .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .reach { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .faith-cards, .progs { grid-template-columns: minmax(0, 1fr); }
  .qd { padding: 4px 18px; box-shadow: 5px 5px 0 var(--ink); }
  .qd-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .qd-arrow { display: none; }
  .qd-out { justify-content: flex-start; }
  .prayer-board, .circle { padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
  .reach-card { padding: 24px; }
  .note:nth-child(2) { margin-inline-start: 0; }
  .m-meta { font-size: 13.5px; }
  .lvl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .prog { transition: none; }
}


/* ── شعار البطل ── */
a.tag { text-decoration: none; color: inherit; transition: transform 0.2s var(--ease); }
a.tag:hover { transform: translateY(-2px); }
.hero-slogan { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.2; position: relative; z-index: 3; margin-top: calc(clamp(120px, 22vw, 340px) * 0.2); }

/* ── الجديد في بَرَكة ── */
.new-head { display: grid; justify-items: center; text-align: center; gap: 16px; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.new-badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: var(--line); border-radius: var(--pill); background: var(--sun); font-weight: 800; }
.new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.new-tile { display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-decoration: none; color: inherit; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.new-tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.new-tile .ex-ico { flex: none; background: var(--white); color: var(--ink); }
.nt-text { display: grid; gap: 2px; min-width: 0; }
.nt-text b { font-family: var(--display); font-size: 19px; }
.nt-text span { font-size: 15px; opacity: 0.85; }
.nt-go { flex: none; margin-inline-start: auto; width: 12px; height: 12px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; }

/* ── رأس الشاشات المقسوم ── */
.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.split-side { display: grid; gap: 18px; padding: 24px; border: var(--line); border-radius: var(--r-lg); background: var(--sky); }
.split-side .sub { margin: 0; }
.mini-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-facts li { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: var(--line); border-radius: var(--pill); background: var(--white); font-weight: 700; font-size: 14px; }

/* ── منصة الجوالات: صف واحد منتظم داخل إطار ── */
.rail-stage { margin-inline: clamp(16px, 3vw, 40px); border: var(--line); border-radius: clamp(28px, 4vw, 48px); background: var(--mist); padding-block: clamp(32px, 4vw, 52px) 0; overflow: hidden; }
.rail-stage .rail { padding-block: 0 clamp(28px, 3vw, 40px); }
.rail-item:nth-child(odd) .phone { transform: none; }
.rail-item:hover .phone { transform: translateY(-8px); }
.rail-item figcaption { background: var(--white); }

/* ── الحاسوب: كتلة مستقلة بنصها ── */
.desk-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 110px); }
.desk-block .desk { margin-top: 0; }
.desk-text { display: grid; gap: 16px; align-content: center; }
.desk-text > p:not(.kicker) { font-size: 17px; }

@media (max-width: 1100px) {
  .new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-head, .desk-block { grid-template-columns: minmax(0, 1fr); }
  .split-head { align-items: start; }
}
@media (max-width: 600px) {
  .new-grid { grid-template-columns: minmax(0, 1fr); }
  .new-tile { padding: 16px 18px; }
  .rail-stage { margin-inline: 16px; border-radius: 28px; }
  .split-side { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .new-tile, a.tag { transition: none; }
}
.desk-text .kicker { justify-self: start; }
.split-head .h-xl { font-size: clamp(40px, 5.6vw, 84px); }
.desk-text .h-lg { font-size: clamp(32px, 3.6vw, 52px); }
