:root {
  --container: 1100px;
  --radius: 14px;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-text: #1f2937;
  --color-accent: #2563eb; /* أزرق */
  --color-accent-hover: #1e40af;
  --color-border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: auto;
  padding: 0 16px;
}

/* ===== Header ===== */
.topbar {
  position: sticky; top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { height: 32px; }

/* ===== Nav ===== */
.nav a { margin-inline: 10px; font-weight: 500; }
.nav .cta {
  padding: 8px 12px;
  border: 1px solid var(--color-accent);
  border-radius: 10px;
  color: var(--color-accent);
}
.nav .cta:hover { background: var(--color-accent); color: #fff; }
.menu { display: none; background: transparent; border: 0; font-size: 22px; }

/* ===== Hero (with gradient) ===== */
.hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 32px; align-items: center;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
}
.hero p {
  font-size: 1.2rem;
  color: #374151;
}
.actions { display: flex; gap: 14px; margin: 20px 0; }
.bullets { margin: 14px 0 0; padding-left: 18px; }
.bullets li { margin: 6px 0; }

/* ===== Buttons (rounded & big) ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;                 /* أكبر شوية */
  border-radius: 999px;               /* دائري */
  border: 1px solid var(--color-accent);
  font-weight: 600;
  font-size: 16px;
  transition: all .2s;
}
.btn.primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.btn.primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  color: var(--color-accent);
}
.btn.ghost:hover {
  background: var(--color-accent);
  color: #fff;
}
.btn.small { padding: 10px 14px; font-size: 14px; border-radius: 12px; }
.btn.big { padding: 16px 36px; font-size: 18px; }

/* ===== Sections ===== */
.section { padding: 10px 0; }
.section h2 {
  text-align: center;
  font-size: 1,5rem;
  margin-bottom: 36px;
  font-weight: 700;
  color: #111827;
}
.bg { background: var(--color-bg-alt); }

/* ===== Cards & Features ===== */
.cards {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.card {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}

/* Force logos to show original colors in the slider */
.logos-track img {
  height: 80px;
  margin: 0 30px;
  filter: none !important;
  opacity: 1 !important;
  transition: transform .3s;
}
.logos-track img:hover { transform: scale(1.08); }

/* ===== Steps ===== */
.steps {
  counter-reset: step;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; padding: 0; margin: 0;
}
.steps li {
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -12px; left: -12px;
  background: var(--color-accent);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}



/* ===== Devices ===== */
.devices ul {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 12px; padding-left: 0; margin: 16px 0;
}
.devices li {
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}

/* ===== Testimonials ===== */
.testimonials blockquote {
  margin: 0 0 12px;
  padding: 18px;
  border-left: 4px solid var(--color-accent);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
/* ===== Movies Slider ===== */
.movies-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 8px 0;
}
.movies-track {
  display: flex;
  gap: 22px;
  /* السرعة/الاتجاه: زِد/نقص 25s باش تغيّر السرعة */
  animation: movies-scroll 30s linear infinite;
}
.movies-track img {
  height: 160px;               /* حجم البوسترات */
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: transform .3s, box-shadow .3s;
}
.movies-track img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
@keyframes movies-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* حيث كرّرنا الصور */
}

/* موبايل: صغّر الطول شوية */
@media (max-width: 900px){
  .movies-track img { height: 120px; }
}
/* Features checklist inside pricing cards */
.features{
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.features li{
  position: relative;
  padding-left: 28px;
  line-height: 1.4;
}
.features li::before{
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--color-accent);
  /* علامة صحّ بيضاء وسط المربع */
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="white" d="M16.707 5.293a1 1 0 0 1 0 1.414l-7.364 7.364a1 1 0 0 1-1.414 0L3.293 9.435a1 1 0 1 1 1.414-1.414l3.222 3.222 6.657-6.657a1 1 0 0 1 1.121-.293z"/></svg>') center / 14px 14px no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="white" d="M16.707 5.293a1 1 0 0 1 0 1.414l-7.364 7.364a1 1 0 0 1-1.414 0L3.293 9.435a1 1 0 1 1 1.414-1.414l3.222 3.222 6.657-6.657a1 1 0 0 1 1.121-.293z"/></svg>') center / 14px 14px no-repeat;
}
/* نفس السطر والارتفاع لكل الكروت */
.plan{ display:flex; flex-direction:column; justify-content:space-between; }
/* ===== Navbar Links ===== */
.nav a {
  margin-inline: 12px;
  font-weight: 500;
  color: var(--color-text);
  transition: color .2s;
}
.nav a:hover {
  color: var(--color-accent);
}
.nav .cta {
  padding: 8px 14px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  font-weight: 600;
}
.nav .cta:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.footer-grid {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 10px; min-height: 64px;
}
.footer-nav a { margin-inline: 8px; color: var(--color-accent); }

/* ===== Microcopy ===== */
.microcopy { font-size: 12px; color: #6b7280; margin-top: 8px; }
/* ===== Footer (primetvplus) ===== */
.footer {
  background: #0f172a; /* navy-dark */
  color: #cbd5e1;
  font-size: 16px;
  margin-top: 24px;
  border-top: 3px solid var(--color-accent); /* accent line */
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}
.footer-brand {
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.footer-logo { height: 36px; }
.brand-name { font-size: 18px; font-weight: 800; color:#fff; letter-spacing:.3px; }
.footer-desc { margin: 0 0 14px; color:#94a3b8; }
.footer-social a { margin-right: 10px; font-size: 18px; }

.footer-col h4 {
  font-size: 16px; font-weight: 700; color: #fff;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: #cbd5e1; transition: color .2s; }
.footer-col a:hover { color: var(--color-accent); }

.contact-list a { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  background: #0b1220;
  padding: 14px 0;
}
.footer-bottom .container {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.footer-bottom p { margin:0; font-size:13px; color:#94a3b8; }

.payments img {
  height: 20px; width: auto; margin-left: 10px; opacity: .9; filter: grayscale(20%);
}
/* ===== Logos Slider ===== */
.logos-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.logos-track {
  display: flex;
  width: calc(250px * 12); /* الحجم × عدد الصور */
  animation: scroll 25s linear infinite;
}
.logos-track img {
  height: 80px;  /* حجم الصور */
  margin: 0 30px;
  filter: grayscale(100%);
  opacity: .9;
  transition: transform .3s, filter .3s, opacity .3s;
}
.logos-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Responsive */
@media (max-width: 900px){
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .plans { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: 1fr; }
  .devices ul { grid-template-columns: repeat(2,1fr); }
}
/* ===== Reviews (slider) ===== */
.reviews{
  display:flex;
  gap:16px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:6px;
  -webkit-overflow-scrolling: touch;
}
.review-card{
  flex:0 0 360px;          /* عرض الكارت في الديسكتوب */
  scroll-snap-align:start;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}
.review-head{
  display:flex; align-items:center; gap:12px; margin-bottom:8px;
}
.avatar{
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center;
  font-weight:700; color:#fff; background:var(--color-accent);
}
.meta{ font-size:12px; color:#6b7280; margin-top:2px; }
.stars{ color:#f59e0b; letter-spacing:2px; margin:6px 0 8px; }
.review-text{ margin:0; color:#111827; }

/* Mobile tweaks */
@media (max-width: 640px){
  .review-card{ flex-basis: 86vw; }  /* تقريبًا عرض الشاشة */
}
/* ===== Reviews slider (cards) ===== */
.reviews-slider{
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 0;
}
.reviews-track{
  display: flex;
  gap: 16px;
  /* غيّر 38s باش تزيد/تنقص السرعة */
  animation: reviews-scroll 38s linear infinite;
}
.reviews-slider:hover .reviews-track{ animation-play-state: paused; } /* توقف عند hover */

@keyframes reviews-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); } /* حيث كرّرنا الكروت */
}

.review-card{
  flex: 0 0 360px;              /* العرض ديال الكارت */
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.review-head{ display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.avatar{
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center;
  font-weight:700; color:#fff; background: var(--color-accent);
}
.meta{ font-size:12px; color:#6b7280; margin-top:2px; }
.stars{ color:#f59e0b; letter-spacing:2px; margin:6px 0 8px; }
.review-text{ margin:0; color:#111827; }

/* Accessible: يقلّل الحركة إذا المستخدم كيبغي ذلك */
@media (prefers-reduced-motion: reduce){
  .reviews-track{ animation: none; }
}

/* Mobile */
@media (max-width: 640px){
  .review-card{ flex-basis: 80vw; }
}
/* ===== WhatsApp screenshots slider ===== */
.reviews-ss-slider{ overflow:hidden; width:100%; padding:8px 0; }
.reviews-ss-track{
  display:flex; gap:18px;
  animation: ws-scroll 5s linear infinite;
}
.reviews-ss-slider:hover .reviews-ss-track{ animation-play-state: paused; }

@keyframes ws-scroll{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card + phone frame */
.chat-card{
  flex:0 0 220px;
  text-align:center;
}
.phone-frame{
  background:#0f172a;               /* إطار داكن ليوضّح الصورة */
  border-radius:26px;
  padding:10px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  border:2px solid #e5e7eb;
}
.phone-frame::before{
  content:"";
  display:block;
  width:40%; height:6px; margin:0 auto 10px;
  background:#e5e7eb; border-radius:999px; opacity:.8; /* سماعة الهاتف */
}
.chat-card img{
  width:100%; height: 320px; object-fit:cover;
  border-radius:18px;
  cursor:zoom-in;
}
.chat-card figcaption{ margin-top:8px; font-size:13px; color:#6b7280; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.8);
  display:none; align-items:center; justify-content:center;
  z-index:9999; padding:24px;
}
.lightbox img{
  max-width:90vw; max-height:80vh; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.4);
}
.lightbox p{ color:#fff; margin-top:10px; text-align:center; }
.lightbox button{
  position:absolute; top:12px; right:12px;
  background:#ffffff; border:0; border-radius:999px; width:36px; height:36px;
  font-size:22px; cursor:pointer;
}

/* Responsive */
@media (max-width: 640px){
  .chat-card{ flex-basis: 62vw; }
  .chat-card img{ height:260px; }
}
/* Hero section full gradient background */
.hero{
  display:flex;
  align-items:center;
  justify-content:space-evenly;
  background:linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
  color:#fff;
  border-radius:0;      /* بلا زوايا مستديرة باش يبان full width */
}
.hero-content{ flex:1; max-width:560px; }
.hero-content .tagline{
  display:inline-block;
  background:rgba(255,255,255,0.15); 
  color:#fff;
  font-size:13px;
  font-weight:600;
  padding:4px 12px;
  border-radius:999px;
  margin-bottom:12px;
  letter-spacing:1px;
}
.hero-content h1{
  font-size:2.6rem;
  font-weight:800;
  margin-bottom:16px;
  color:#fff;
}
.hero-content p{
  font-size:22px;
  line-height:1.6;
  margin-bottom:28px;
  color:#e0f2fe; /* نص فاتح سماوي */
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.btn{
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  transition:all .2s ease-in-out;
}
/* زر رئيسي */
.btn-primary{
  background:#0f172a; /* كحلي/أزرق غامق */
  color:#fff;
}
.btn-primary:hover{ background:#1e293b; }
/* زر ثانوي */
.btn-secondary{
  border:2px solid #fff; 
  color:#fff; 
  background:transparent;
}
.btn-secondary:hover{ background:#fff; color:#1e3a8a; }

.hero-img img{
  max-width:560px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* Responsive */
@media(max-width:900px){
  .hero{ 
    flex-direction:column;
    text-align:center;
    padding:60px 10px;
  }
  .hero-img img{ max-width:80%; }
  .hero-content{ margin-top: 94px; }
}
/* ===== Mobile-first tweaks for the Hero ===== */
@media (max-width: 640px){

  /* نضمن المسافة تحت النافبار الستيكّي */
  :root { --header-h: 64px; }
  body { scroll-padding-top: var(--header-h); }
  #home, #plans, #channels, #faq, #about { scroll-margin-top: var(--header-h); }

  .hero{
    flex-direction: column;            /* ستاك عمودي */
    align-items: center;
    text-align: center;
    padding: 56px 16px;                /* فراغات مريحة */
    border-radius: 12px;
  }

  .hero-content{ max-width: 36rem; }   /* عرض نص مناسب */
  .hero-content .tagline{
    font-size: 16px;
    padding: 3px 10px;
  }

  /* عناوين مرِنة (تصغّر مع الشاشة) */
  .hero-content h1{
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-content p{
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: #e6f0ff;                    /* يبقى مقروء فوق الأزرق */
  }

  /* الأزرار: عرض كامل وسهل الضغط */
  .hero-actions{
    width: 100%;
    gap: 10px;
    justify-content: center;
  }
  .hero-actions .btn{
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
  }

  /* الصورة: وسط، كبيرة باعتدال */
  .hero-img img{
    width: min(90vw, 420px);
    max-width: 100%;
    height: 200px;
    margin-top: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
    margin-bottom: 24px;
  }
}

/* تحسين إضافي للأجهزة بزوّاق الشاشة/النوتش */
@supports (padding: max(0px)) {
  @media (max-width: 640px){
    .hero{ padding-top: max(56px, env(safe-area-inset-top)); }
  }
}
/* Navbar base */
/* .header{
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  position:sticky; top:0; z-index:1000;
} */
.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
}
.logo{
  font-weight:700;
  font-size:1.2rem;
  color:#1e3a8a;
  text-decoration:none;
}

/* الروابط */
.nav ul{
  display:flex;
  gap:20px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav a{
  text-decoration:none;
  font-weight:500;
  color:#1f2937;
}
.nav a:hover{ color:#2563eb; }

/* زر الموبايل */
.menu-toggle{
  display:none;
  font-size:1.6rem;
  background:none;
  border:none;
  cursor:pointer;
}

/* ===== موبايل ===== */
@media (max-width: 768px){
  .menu-toggle{ display:block; }
  .nav{
    display:none;
    position:absolute;
    top:60px; right:20px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,.1);
  }
  .nav.open{ display:block; }
  .nav ul{
    flex-direction:column;
    gap:12px;
    padding:12px 20px;
  }
}
/* Ensure header sits above hero */
/* .header { position: sticky; top: 0; z-index: 1000; } */

/* Mobile dropdown styling */
@media (max-width: 768px){
  .menu-toggle{ display:block; }

  .nav{
    display:none;
    position: fixed;           /* باش مايبقاش تابع للـ header فقط */
    right: 16px;
    top: 64px;                 /* تحت الهيدر */
    z-index: 1100;             /* فوق ال hero */
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    min-width: 210px;
  }
  .nav.open{ display:block; }

  .nav ul{
    display:flex;
    flex-direction:column;
    gap: 10px;
    padding: 12px 14px;
    margin: 0;
    list-style: none;
  }
  .nav a{
    padding:10px 8px;
    border-radius:8px;
  }
  .nav a:hover{
    background:#f3f4f6;
    color:#2563eb;
  }
}
/* === تحسين المسافات بين الأقسام === */
section {
  margin-top: 40px;      /* كان غالباً 80px أو أكثر */
  margin-bottom: 40px;
  padding-top: 20px;     /* خفّضنا padding */
  padding-bottom: 20px;
}

/* === تحسين العناوين داخل الأقسام === */
section h2, 
section h3 {
  margin-bottom: 12px;   /* بدل 24-32px */
  font-weight: 700;
}

/* === تحسين المسافات داخل الـ hero / القنوات / الأفلام === */


.channels-section, 
.movies-section {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* === تحسين المسافات على الموبايل === */
@media (max-width: 640px) {
  section {
    margin-top: 28px;
    margin-bottom: 36px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
    margin-bottom: 16px;
  }
}
/* تقليل المسافة بين السكشنات */
.channels-section {
  margin-bottom: 20px; /* كان غالباً 60px+ نقصناه بزاف */
  padding-bottom: 10px;
}

.movies-section {
  margin-top: 20px; /* نقصناه باش يجي قريب للقنوات */
  padding-top: 10px;
}

/* تقليل المسافة تحت العناوين */
.channels-section h2,
.movies-section h2 {
  margin-bottom: 12px;
}
/* === إزالة أي ارتفاع أو فراغ زائد بين القنوات والأفلام === */
.channels-section {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

.channels-section .slider,
.channels-section .logos-track {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: auto !important;
}

.movies-section {
  margin-top: 10px !important;
  padding-top: 0 !important;
}
/* تقليل المسافة داخل سكشن القنوات */
section#channels.section.bg {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
}
section#movies.section.bg {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 10px !important;
}
/* === توحيد المسافات بين جميع السكشنات (صغيرة مثل Movies & Channels) === */
section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* تقليل المسافة تحت العناوين */
section h2, section h3 {
  margin-bottom: 12px;
  text-align: center;
  font-weight: 700;
}

/* للموبايل: نحافظ على نفس القيم باش تبقى Compact */
@media (max-width: 640px) {
  section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}
/* FAQ Page Style */
.faq-page {
  max-width: 700px;
  margin: 80px auto;
  padding: 20px;
}

.faq-page h1 {
  text-align: center;
  margin-bottom: 20px;
}

#faqSearch {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.faq-page details {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-page details summary {
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-page details p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #444;
}
/* فعّل لينك الصفحة الحالية */
.nav a[href$="faq.html"] { color: #2563eb; font-weight: 600; }
/* ===== About Us ===== */
.about-section{
  padding-top: 20px;   /* موحّد مع باقي السكشنات */
  padding-bottom: 20px;
}

.about-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-text{
  flex: 1 1 52%;
}

.about-text h2{
  margin-bottom: 12px;           /* موحّد */
  font-weight: 800;
}

.about-text p{
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
}

.about-bullets{
  margin: 0 0 16px 0;
  padding-left: 18px;
  color: #1f2937;
}
.about-bullets li{ margin-bottom: 6px; }

.about-ctas{ display: flex; gap: 12px; flex-wrap: wrap; }

.about-media{
  flex: 1 1 48%;
  display: flex;
  justify-content: center;
}
.about-media img{
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

/* Responsive */
@media (max-width: 900px){
  .about-wrap{ flex-direction: column; text-align: left; } /* صورة فوق في الشاشات الصغيرة */
  .about-media img{ max-width: 92vw; }
}
/* ===== Footer (layout بحال الصورة) ===== */

/* الخلفية: استعمل واحد من الاختيارات */

.site-footer { background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%); color:#f8fafc; }

/* اختيار B: Gradient على ثيمك (فعّل هذا بدل السطر لفوق) */
/* .site-footer { background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%); color:#f8fafc; } */

.site-footer .container { max-width: 2000px; margin: 0 auto; padding: 0 16px; }

/* الصف العلوي */
.footer-top{
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr; /* Brand + عمودين */
  gap: 28px;
  padding: 28px 0;
}

.f-col h4{
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.06rem;
  color: #0b1220;
}

.f-col ul{ list-style: none; margin: 0; padding: 0; }
.f-col li{ margin: 8px 0; }
.f-col a{
  color: #cbd5e1;
  text-decoration: none;
  font-size: .95rem;
}
.f-col a:hover{ color: #fff; }

/* عمود البراند */
.f-brand .f-logo{
  font-weight: 800;
  font-size: 1.25rem;
  color:#0b1220;
  margin-bottom: 8px;
}
.f-brand .f-desc{
  margin: 0;
  color:#cbd5e1;
  line-height: 1.6;
  max-width: 420px;
  font-size: 1rem;
}

/* الصف السفلي (حقوق فقط) */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0;
  font-size: .9rem;
  color:#aeb7c3;
}
.footer-bottom p{ margin: 0; }

/* Responsive */
@media (max-width: 900px){
  .footer-top{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .f-col, .f-brand{ text-align: left; } /* خليه يسار كيما الصورة */
}
/* === Footer size & readability boost === */
.site-footer{
  padding: 48px 24px 28px;              /* كان ~40px -> زدناه */
}
.site-footer .container{
  max-width: 1240px;                    /* وسّعنا شوية */
}

.footer-inner{
  gap: 48px;                            /* تباعد الأعمدة أكبر */
}

.footer-logo{
  font-size: 1,5rem;                      /* العنوان أكبر */
  letter-spacing: .2px;
  margin-bottom: 14px;
}

.footer-desc{
  font-size: 1.05rem;                   /* النص أوضح */
  line-height: 1.75;
  max-width: 480px;                     /* سطر أطول شوية */
  color: #e7eefc;                       /* contrast خفيف */
}

.f-col h4{
  font-size: 1.2rem;                    /* عناوين الأعمدة */
  margin-bottom: 14px;
}

.f-col a{
  font-size: 1rem;                      /* روابط أكبر سنة */
}

.footer-bottom{
  margin-top: 30px;
  padding-top: 18px;                    /* سطر الحقوق مهوّى */
  font-size: .95rem;
}

/* Mobile tweaks */
@media (max-width: 900px){
  .site-footer{ padding: 40px 18px 24px; }
  .footer-inner{ gap: 28px; }
  .footer-logo{ font-size: 1.7rem; }
  .footer-desc{ font-size: 1rem; max-width: none; }
}
.features {
  padding: 50px 0;
  text-align: center;
}

.features-title {
  font-size: 1,5rem;
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.fc-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 8px 0;
  color: #0f172a;
}

.feature-card p {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
/* العناوين العامة */
section h2,
.features-title,
.section-title {
  font-size: 1.4rem !important; /* الحجم في PC */
  font-weight: 800;
  margin-bottom: 1.2rem;
  text-align: center;
  background:  #1e3a8a;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* حجم أصغر للموبايل */
@media (max-width: 640px) {
  section h2,
  .features-title,
  .section-title {
    font-size: 1.3rem !important; /* الحجم في الموبايل */
  }
}
.devices-section {
  text-align: center;
  padding: 3rem 2rem;
}

/* ===== Devices: نفس ديزاين ديال Feature cards ===== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.device-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;              /* مهم للـ ::before */
  min-height: 150px;               /* اختيارية باش تكون الكروت متقاربة فالعُلوّ */
  display: flex;                   /* باش المحتوى يتوسّط عمودياً */
  flex-direction: column;
  justify-content: center;
}

/* الخط العلوي بنفس التدرّج ديال الموقع */
.device-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.device-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* الأيقونة والعناوين: العنوان يبقى بالأسود */
.device-icon { font-size: 1.8rem; margin-bottom: 10px; }
.device-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #000;          /* أسود كما طلبت */
  margin: 6px 0 4px;
}
.device-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* موبايل */
@media (max-width: 640px) {
  .devices-grid { gap: 1rem; }
  .device-card { padding: 18px 16px; }
  .device-icon { font-size: 1.6rem; }
}
.devices-section h2 {
  font-size: 1.5rem; /* نفس الحجم ديال العناوين الرئيسية */
  font-weight: 600; /* نفس الوزن باش ما تجيش غليظة بزاف */
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1f2937; /* نفس اللون ديال العناوين الأخرى */
}
/* توحيد لون جميع العناوين */
 h2 {
  color: #1e3a8a;/* بدّلها باللون اللي بغيتي (مثلاً لون الـHero) */
}
/* =========================
   PRICING — Fresh, clean CSS
   ========================= */

/* Grid الحاوي ديال الكاردات */
.plans{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
  justify-content: center;    /* باش يبانو متمركزين فالسطر */
  padding: 8px 0;
}

/* كارد الخطة */
.plan{
  position: relative;
  width: 100%;
  max-width: 320px;            /* مهمّ: فالموبايل مايشدش العرض كامل */
  margin-inline: auto;         /* يخلي فراغات يمين/يسار فالشاشات الصغيرة */
  background: #fff;
  border: 1px solid #1e3a8a;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 px 18px rgba(2, 6, 23, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: riseIn .55s ease-out both;
}

.plan:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, .10);
  border-color: #d3daf1;
}

/* عنوان الخطة والثمن */
.plan h3{
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111827;
  text-align: center;
}

.plan .price{
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  margin: 0 0 12px;
  color: #111827;
}

/* اللائحة ديال المزايا */
.plan .features{
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.plan .features li{
  display: grid;
  grid-template-columns: 20px 1fr; /* ✔︎ ثم النص */
  align-items: start;
  column-gap: 10px;
  margin: 8px 0;
  color: #374151;
  line-height: 1.5;
  font-size: .95rem;
}

.plan .features li::before{
  content: "✔";
  font-weight: 800;
  font-size: 0.95rem;
  color: #2563eb;              /* أزرق الثيم */
  line-height: 1;
  transform: translateY(2px);
}

/* زرّ الشراء */
.plan .btn{
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  border: 2px solid #1d4ed8;  /* أزرق غامق متناسق */
  border-radius: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #fff;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.plan .btn:hover{
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, .28);
}

/* Badge وصندوق الخطة الموصى بها */
.plan .badge{
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 999px;
  color: #0b4a1f;
  background: #c7f9cc;
  border: 1px solid #9ae6b4;
}

.plan.popular{
  border-color: #22c55e;
  box-shadow: 0 10px 24px rgba(34, 197, 94, .18);
}

/* ===== Animations ===== */
@keyframes riseIn{
  from{ opacity: 0; transform: translateY(18px); }
  to  { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive tweaks ===== */

/* شاشات أصغر من 480px: الكارد أصغر وبوحدة فالسطر ولكن مايشدش الشاشة كاملة */
@media (max-width: 480px){
  .plans{
    gap: 14px;
  }
  .plan{
    max-width: 300px;         /* كيخلي جناب ظاهرين */
    padding: 16px 14px;
    border-radius: 12px;
  }
  .plan h3{ font-size: 1rem; }
  .plan .price{ font-size: 1.7rem; }
  .plan .features li{ margin: 7px 0; column-gap: 10px; }
  .plan .btn{ padding: 11px 14px; border-radius: 10px; }
}

/* توازن أحسن فالتابلت */
@media (min-width: 481px) and (max-width: 780px){
  .plans{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .plan{ max-width: 320px; }
}
/* ===== تحسين شكل عناصر الـ list ===== */
.plans .features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plans .features li {
  display: flex;
  align-items: center; /* يخلي الأيقونة والنص فوسط نفس الخط */
  gap: 8px; /* مسافة صغيرة بين الأيقونة والنص */
  margin-bottom: 8px; /* مسافة بين العناصر */
  line-height: 1.4;
  font-size: 0.95rem;
}

/* شكل الأيقونة ✔️ */
.plans .features li::before {
  content: "✔️";
  color: #3b82f6; /* نفس لون الثيم */
  font-size: 1rem;
  flex-shrink: 0;
}
/* 🎯 ===== About Section Styling ===== */



.about-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 🎯 ===== تعديل الخلفية على النص فقط ===== */

.about-text {
  flex: 1;
  background: rgba(59, 130, 246, 0.08); /* أزرق خفيف مع شفافية */
  padding: 5px;
  border-radius: 12px;
  backdrop-filter: blur(2px); /* اختيارية: تعطي إحساس بلور زوين */
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1f2937;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
  margin-bottom: 16px;
}

.about-bullets li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #1e293b;
}

.about-ctas {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.about-ctas .btn {
  padding: 10px 5px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-ctas .btn-primary {
  background: #2563eb;
  color: white;
}

.about-ctas .btn-primary:hover {
  background: #1e40af;
}

.about-ctas .btn-secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.about-ctas .btn-secondary:hover {
  background: #2563eb;
  color: white;
}

/* صورة على اليمين */
.about-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-media img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-media img:hover {
  transform: scale(1.03);
}

/* 📱 Responsive Design */
@media (max-width: 900px) {
  .about-wrap {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-bullets {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
  }

  .about-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* الرابط ديال اللّوغو */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:700;
  font-size:1.2rem;
  color:#1e3a8a; /* نفس لون الهيرو */
}

/* الصورة ديال اللّوغو */
.logo-icon{
  width: 35px;
  height:28px;
  object-fit:contain;
  display:block;
  flex:0 0 auto; /* باش ما تتضغطش */
}

/* النص حدا اللّوغو (اختياري) */
.logo-text{ line-height:1; }
/* ===== Header / Navbar Reset ===== */
.header{
  position: fixed;
  width: 90%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: #ffffffb8;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.nav-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo يسار / روابط يمين */
  gap: 16px;
}

/* logo (الأيقونة + الإسم) */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:700;
  color:#1e3a8a;
  white-space:nowrap;
}
.logo-icon{ height:35px; width:auto; }

/* روابط الناڤ */
.nav ul{
  display:flex;
  align-items:center;
  gap:32px;            /* المسافة بين الروابط */
  list-style:none;
  margin:0;
  padding:0;
}
.nav a{
  text-decoration:none;
  color:#1f2937;
  font-weight:600;
  padding:8px 0;
}
.nav a:hover{ color:#1e3a8a; }
.nav a[aria-current="page"]{ color:#1e3a8a; }

/* زر الموبايل */
.menu-toggle{
  display:none;
  background:none;
  border:0;
  font-size:26px;
  line-height:1;
}

/* ===== موبايل ===== */
@media (max-width: 900px){
  .menu-toggle{ display:block; }
  .nav{
    position: fixed;
    left: 0; right: 0; top: 64px;
    background:#fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-top:1px solid #eef2ff;
    transform: translateY(-10px);
    opacity:0; pointer-events:none;
    transition: .25s ease;
  }
  .nav.open{ transform: none; opacity:1; pointer-events:auto; }
  .nav ul{
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
  }
}
/* ارتفاع الهيدر إذا عندك ثابت (عدّل الرقم إلى ارتفاع الهيدر الحقيقي) */
:root{ --header-h: 64px; }

/* خلي الروابط من النافبار ماتتغطّاش بالهيدر */
html{ scroll-padding-top: var(--header-h); }

/* ====== HERO ====== */
.hero {
  height: 100vh; /* تملأ الشاشة ناقص الهيدر */
  display: flex;
  align-items: center;   /* وسّط المحتوى عمودياً */
  gap: 32px;             /* مسافة بين النص والصورة */
  margin: 0;             /* مايبقاش فراغ تحت */
  padding: 32px 24px;    /* حواف داخلية مريحة */
}

/* لو كتستعمل حاوية داخل الهيرو */
.hero .container{ width:100%; }

/* شطب أي مسافة زائدة قبل/بعد الهيرو */
.section.bg, .logos, #channels, .movies { /* أمثلة لباقي الأقسام */
  margin-top: 0;
}

/* موبايل */
@media (max-width: 768px){
  .hero{
    min-height: calc(100vh - var(--header-h));
    flex-direction: column;   /* النص فوق والصورة تحت */
    justify-content: center;  /* وسط عمودياً أيضاً */
    gap: 20px;
    padding: 24px 16px;
  }
}
/* ===== Fix: keep hero image inside blue area on mobile ===== */
@media (max-width: 640px){
  .hero{ 
    overflow: hidden !important;    /* clip image/shadow to rounded edges */
    border-radius: 18px !important; 
  }
  .hero-img img{
    width: 100%;                    /* never overflow horizontally */
    max-width: 420px;
    height: auto !important;        /* avoid fixed height overflow */
    margin: 12px auto 24px;         /* center inside hero */
  }
}