/* ============================================================
   Nova TV — التصميم الرئيسي (RTL, داكن)
   ============================================================ */

:root {
  --bg: #0b0e17;
  --bg-2: #111527;
  --card: #161b2e;
  --card-hover: #1c2340;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f1f3fa;
  --muted: #9aa3bd;
  --accent: #8b5cf6;
  --accent-2: #06b6d4;
  --accent-grad: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Tajawal", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-whatsapp {
  background: #25d366;
  color: #06281a;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-block { width: 100%; }

/* ---------- شريط التنقل ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 23, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 900;
}
.logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.logo span em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- قسم البطل (Hero) ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(139, 92, 246, 0.22), transparent 65%),
    radial-gradient(600px 380px at 10% 10%, rgba(6, 182, 212, 0.14), transparent 65%),
    var(--bg);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* تلفاز + جوال عائم يعرضان واجهة التطبيق */
.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.tv-mock {
  flex: 1;
  min-width: 0;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(160deg, #232a45, #131829);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: tv-float 7s ease-in-out infinite;
}
@keyframes tv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.tv-screen {
  border-radius: 12px;
  aspect-ratio: 16 / 9.6;
  background:
    radial-gradient(420px 240px at 75% 20%, rgba(6, 182, 212, 0.35), transparent 60%),
    radial-gradient(380px 260px at 15% 80%, rgba(139, 92, 246, 0.45), transparent 60%),
    #0a0d18;
  position: relative;
  overflow: hidden;
}
.tv-screen .play-circle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(139, 92, 246, 0.15), 0 0 55px rgba(139, 92, 246, 0.5);
  animation: pulse 2.6s ease-in-out infinite;
}
.tv-stand {
  width: 34%;
  height: 10px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #1a2036;
}
/* طبقات البوستر المشتركة بين الشاشتين */
.screen-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s ease, transform 4.5s linear;
  z-index: 0;
}
.screen-media.on { opacity: 1; transform: scale(1); }
.screen-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 13, 24, 0.92) 0%, rgba(10, 13, 24, 0.3) 45%, rgba(10, 13, 24, 0.1) 100%);
}
.phone-mock {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: min(185px, 46vw);
  margin-inline-start: -55px;
  aspect-ratio: 9 / 18.6;
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(160deg, #2b3352, #12172a 60%, #1c2340);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow:
    var(--shadow),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(139, 92, 246, 0.22);
  animation: phone-float 6.5s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
.phone-notch {
  position: absolute;
  top: 14px;
  right: 50%;
  transform: translateX(50%);
  width: 32%;
  height: 11px;
  border-radius: 999px;
  background: #05070f;
  z-index: 5;
}
.phone-screen {
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background:
    radial-gradient(300px 220px at 80% 8%, rgba(6, 182, 212, 0.3), transparent 60%),
    radial-gradient(280px 240px at 10% 90%, rgba(139, 92, 246, 0.35), transparent 60%),
    #0a0d18;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 9px 7px;
}
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
}
.app-bar em { font-style: normal; color: var(--accent); }
.app-logo { display: inline-flex; align-items: center; gap: 5px; }
.app-logo-mark { width: 17px; height: 17px; border-radius: 6px; }
.app-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
}
.app-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(200px 150px at 70% 20%, rgba(6, 182, 212, 0.35), transparent 60%),
    radial-gradient(180px 160px at 15% 85%, rgba(139, 92, 246, 0.45), transparent 60%),
    #0d1120;
  display: flex;
  align-items: flex-end;
}
.app-hero .play-circle {
  position: absolute;
  z-index: 2;
  top: 42%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15), 0 0 35px rgba(139, 92, 246, 0.5);
  animation: pulse 2.6s ease-in-out infinite;
}
.app-hero .play-circle svg { width: 15px; height: 15px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15), 0 0 40px rgba(139, 92, 246, 0.45); }
  50% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0.08), 0 0 55px rgba(139, 92, 246, 0.6); }
}
.app-hero-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-now { font-size: 0.58rem; font-weight: 700; color: #e2e6f5; }
.app-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.app-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-grad);
  animation: app-progress 4s linear infinite;
}
@keyframes app-progress {
  from { width: 6%; }
  to { width: 100%; }
}
.app-pills {
  overflow: hidden;
  mask-image: linear-gradient(to left, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to left, transparent, #000 12%, #000 88%, transparent);
}
.app-pills-track {
  display: flex;
  gap: 7px;
  width: max-content;
  animation: pills-marquee 16s linear infinite;
}
@keyframes pills-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.app-pills-track span {
  flex-shrink: 0;
  font-size: 0.56rem;
  font-weight: 700;
  color: #c9cff0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.phone-screen .row-thumbs {
  display: flex;
  gap: 6px;
}
.phone-screen .thumb {
  flex: 1;
  aspect-ratio: 2 / 2.7;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  background-size: cover;
  background-position: center 25%;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.phone-screen .thumb:hover { transform: translateY(-3px); opacity: 1; }
.phone-screen .thumb.active { outline: 2px solid var(--accent-2); opacity: 1; }
.app-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7394;
}
.app-nav .on { color: var(--accent); }
.tv-chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.tv-chip.chip-live { top: 12%; left: 2%; color: #fca5a5; animation: chip-float 5.5s ease-in-out infinite; }
.tv-chip.chip-4k { bottom: 16%; right: 0; color: #67e8f9; animation: chip-float 5.5s ease-in-out 1.2s infinite; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.dot-live {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--danger);
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- شريط الإحصائيات ---------- */
.stats {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 34px 0;
  gap: 18px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.98rem; }

/* ---------- أقسام عامة ---------- */
section.block { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .kicker {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- المزايا ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: var(--card-hover);
  border-color: rgba(139, 92, 246, 0.4);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- المحتوى ---------- */
.content-section { background: var(--bg-2); border-block: 1px solid var(--border); }
.genres-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.genre-card {
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
  background-size: cover;
  background-position: center;
  background-color: var(--card);
}
.genre-card:hover { transform: scale(1.04); }
.genre-card .genre-emoji {
  font-size: 2.3rem;
  margin-bottom: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.genre-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.genre-card span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
/* خلفيات صور حقيقية لكل تصنيف + تدرج داكن يحفظ وضوح النص وتلوين يميز كل بطاقة */
.g-sports {
  background-image:
    linear-gradient(to top, rgba(8, 20, 14, 0.92) 8%, rgba(8, 20, 14, 0.25) 55%, rgba(8, 20, 14, 0.1)),
    linear-gradient(200deg, rgba(34, 197, 94, 0.28), transparent 60%),
    url("https://images.unsplash.com/photo-1489944440615-453fc2b6a9a9?auto=format&fit=crop&w=700&q=60");
}
.g-movies {
  background-image:
    linear-gradient(to top, rgba(18, 10, 32, 0.92) 8%, rgba(18, 10, 32, 0.3) 55%, rgba(18, 10, 32, 0.1)),
    linear-gradient(200deg, rgba(139, 92, 246, 0.3), transparent 60%),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=700&q=60");
}
.g-series {
  background-image:
    linear-gradient(to top, rgba(6, 20, 28, 0.92) 8%, rgba(6, 20, 28, 0.3) 55%, rgba(6, 20, 28, 0.1)),
    linear-gradient(200deg, rgba(6, 182, 212, 0.28), transparent 60%),
    url("https://images.unsplash.com/photo-1593359677879-a4bb92f829d1?auto=format&fit=crop&w=700&q=60");
}
.g-kids {
  background-image:
    linear-gradient(to top, rgba(30, 20, 6, 0.9) 8%, rgba(30, 20, 6, 0.22) 55%, rgba(30, 20, 6, 0.08)),
    linear-gradient(200deg, rgba(245, 158, 11, 0.25), transparent 60%),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=700&q=60");
}
.g-docs {
  background-image:
    linear-gradient(to top, rgba(28, 12, 12, 0.9) 8%, rgba(28, 12, 12, 0.25) 55%, rgba(28, 12, 12, 0.08)),
    linear-gradient(200deg, rgba(239, 68, 68, 0.25), transparent 60%),
    url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=700&q=60");
}
.g-shorts {
  background-image:
    linear-gradient(to top, rgba(30, 8, 22, 0.92) 8%, rgba(30, 8, 22, 0.3) 55%, rgba(30, 8, 22, 0.1)),
    linear-gradient(200deg, rgba(236, 72, 153, 0.3), transparent 60%),
    url("https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?auto=format&fit=crop&w=700&q=60");
}

/* ---------- صفوف البوسترات (الجديد والرائج) ---------- */
.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 34px 0 16px;
}
.row-head h3 { font-size: 1.25rem; font-weight: 800; }
.poster-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.poster-row::-webkit-scrollbar { height: 8px; }
.poster-row::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.5); border-radius: 999px; }
.poster-row::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.poster-card {
  flex: 0 0 152px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.poster-card:hover { transform: translateY(-5px) scale(1.02); border-color: rgba(139, 92, 246, 0.5); }
.poster-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: var(--bg-2);
}
.poster-info { padding: 10px 12px 12px; }
.poster-title {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-meta { font-size: 0.78rem; color: var(--muted); }
.tmdb-credit {
  margin-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.tmdb-credit a { color: var(--accent-2); }

/* ---------- الأجهزة ---------- */
.devices-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.device-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  color: var(--text);
}
.device-pill svg { color: var(--accent-2); }

/* ---------- خطوات الاشتراك ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.step-card h3 { font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- الباقات ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.popular {
  border-color: var(--accent);
  background:
    radial-gradient(300px 200px at 50% 0%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--card);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.18);
}
.popular-badge {
  position: absolute;
  top: -15px;
  right: 50%;
  transform: translateX(50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.plan-duration { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.plan-price .amount { font-size: 2.6rem; font-weight: 900; }
.plan-price .cur { color: var(--muted); font-weight: 700; }
.plan-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
  min-height: 1.5em;
  margin-bottom: 16px;
}
.plan-features {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.97rem;
}
.plan-features li svg { color: var(--success); flex-shrink: 0; margin-top: 4px; }

/* ---------- الأسئلة الشائعة ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 24px;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .chev { transition: transform 0.25s ease; color: var(--accent-2); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}
.faq-a-inner { padding: 0 24px 20px; }

/* ---------- دعوة أخيرة ---------- */
.cta-final {
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(139, 92, 246, 0.25), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--border);
  text-align: center;
}
.cta-final h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 14px; }
.cta-final p { color: var(--muted); margin-bottom: 30px; }

/* ---------- تذييل ---------- */
footer {
  padding: 44px 0;
  color: var(--muted);
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer .foot-links { display: flex; gap: 22px; font-size: 0.95rem; }
footer a:hover { color: var(--text); }

/* زر واتساب عائم */
.wa-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- صفحة الدفع ---------- */
.checkout-wrap {
  padding: 130px 0 80px;
  min-height: 100vh;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.summary-card, .pay-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}
.summary-card h2, .pay-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}
.summary-row strong { color: var(--text); }
.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 1.25rem;
  font-weight: 900;
}
.plan-switcher { display: grid; gap: 10px; margin-top: 20px; }
.plan-switcher label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.plan-switcher label:has(input:checked) { border-color: var(--accent); }
.plan-switcher input { accent-color: var(--accent); }
.pay-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pay-note svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }
.divider-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  margin: 24px 0 16px;
  font-size: 0.9rem;
}
.divider-or::before, .divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.key-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* نموذج Moyasar فوق الخلفية الداكنة */
.mysr-form { --mysr-form-bg: transparent; }
.pay-card .mysr-form input { color-scheme: dark; }

/* ---------- صفحة النتيجة ---------- */
.result-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 60px;
}
.result-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px 40px;
  max-width: 520px;
  width: 92%;
  text-align: center;
}
.result-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
}
.result-icon.ok { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.result-icon.fail { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.result-card h1 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.result-card p { color: var(--muted); margin-bottom: 10px; }
.result-card .pay-id {
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  direction: ltr;
  word-break: break-all;
  margin: 16px 0 24px;
  color: var(--muted);
}
.result-actions { display: grid; gap: 12px; }

/* ---------- ظهور تدريجي ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- استجابة ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .tv-chip.chip-live { left: 2%; }
  .tv-chip.chip-4k { right: 2%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .genres-grid { grid-template-columns: repeat(3, 1fr); }
  .poster-card { flex-basis: 132px; }
  .steps-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    background: rgba(11, 14, 23, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 22px 6%;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .genres-grid { grid-template-columns: repeat(2, 1fr); }
}
