/* =========================================
   PRIME IPTV — HERO SYSTEM
   ملف CSS موحد للـ Hero — يُستخدم في جميع صفحات الدليل
========================================= */

/* ملاحظة: الارتفاع والحشو والمحاذاة يتحكم بها styles.css (.hero-section, .hero)
   هنا فقط تصميم الـ Hero الخاص بصفحات الدليل */
/* الارتفاع والخلفية والحشو يتحكم بها styles.css (Unified Hero System) */
.hero {
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

/* المحتوى */
.hero-content {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

/* الشارة / الشريط العلوي */
.hero-chip {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* العنوان — يحجز سطرين دائماً لتوحيد الارتفاع عبر اللغات */
.hero-title {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* الوصف */
.hero-description {
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  line-height: 1.8;
  opacity: 0.95;
  max-width: 760px;
  margin: 0 auto 35px;
  color: #e5e7eb;
}

/* الميزات (chips) */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 38px;
}

.hero-badge {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.88rem;
}

/* الأزرار */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-btn {
  min-width: 200px;
  padding: 16px 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.hero-btn-primary {
  background: #facc15;
  color: #111827;
  box-shadow: 0 8px 20px rgba(250,204,21,0.35);
}

.hero-btn-white {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-btn-secondary {
  background: #10b981;
  color: white;
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-btn {
    min-width: unset;
    padding: 14px 20px;
    font-size: 0.9rem;
    flex: 1;
    max-width: 200px;
  }
}

/* Override Font Awesome font-display to avoid render-blocking */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
}
