:root {
  --navy: #061526;
  --ink: #102235;
  --blue: #0072ce;
  --cyan: #2bd9ff;
  --green: #42d392;
  --orange: #ffb84d;
  --soft: #f4f8fb;
  --line: #d8e5ef;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(6, 21, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: currentColor;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(6, 21, 38, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.header-call,
.btn,
.contact-item {
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-weight: 700;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--navy);
  font-weight: 800;
  background: var(--white);
  border-radius: 8px;
}

.header-call svg,
.btn svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(18px, 6vw, 86px) 70px;
  color: var(--white);
  background: var(--navy);
}

#networkCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#networkCanvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 21, 38, 0.95) 0%, rgba(6, 21, 38, 0.84) 43%, rgba(6, 21, 38, 0.22) 100%),
    radial-gradient(circle at 72% 36%, rgba(43, 217, 255, 0.28), transparent 34%),
    radial-gradient(circle at 24% 78%, rgba(66, 211, 146, 0.18), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
}

.hero-actions,
.hero-stats,
.contact-grid,
.plans-grid,
.service-grid {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 900;
  border: 1px solid transparent;
  border-radius: 8px;
}

.btn.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover,
.brand:hover,
.header-call:hover,
.contact-item:hover {
  transform: translateY(-2px);
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin-top: 46px;
}

.hero-stats span {
  min-height: 86px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.hero-stats strong {
  display: block;
  color: var(--cyan);
  font-size: 1.4rem;
}

section:not(.hero) {
  padding: 82px clamp(18px, 5vw, 76px);
}

.intro-section,
.coverage-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--soft);
}

.section-heading h2 {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
  font-weight: 900;
}

.intro-text,
.coverage-content p {
  color: #43566b;
  font-size: 1.13rem;
  line-height: 2;
}

.services-section {
  background: var(--white);
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
}

.service-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 270px;
  padding: 26px;
}

.icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--navy);
  background: #e6f9ff;
  border-radius: 8px;
}

.icon svg {
  width: 29px;
  height: 29px;
}

.service-card h3,
.plan-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
}

.service-card p,
.plan-card p {
  color: #56697c;
  line-height: 1.85;
}

.plans-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0b2d4b);
}

.plans-section .section-heading h2 {
  color: var(--white);
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  position: relative;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-plan,
.family-plan,
.business-plan {
  color: var(--white);
  border-color: rgba(43, 217, 255, 0.18);
}

.home-plan {
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.97), rgba(0, 114, 206, 0.9)),
    linear-gradient(45deg, rgba(43, 217, 255, 0.12), rgba(66, 211, 146, 0.14));
}

.family-plan {
  background:
    linear-gradient(135deg, rgba(5, 44, 57, 0.98), rgba(34, 147, 171, 0.93)),
    linear-gradient(45deg, rgba(66, 211, 146, 0.15), rgba(255, 184, 77, 0.14));
  transform: translateY(-12px);
}

.business-plan {
  background:
    linear-gradient(135deg, rgba(7, 31, 52, 0.98), rgba(67, 74, 155, 0.92)),
    linear-gradient(45deg, rgba(43, 217, 255, 0.12), rgba(66, 211, 146, 0.14));
}

.home-plan::before,
.family-plan::before,
.business-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.home-plan > *,
.family-plan > *,
.business-plan > * {
  position: relative;
  z-index: 1;
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
}

.plan-icon svg {
  width: 30px;
  height: 30px;
}

.plan-label {
  padding: 6px 12px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.home-plan h3,
.home-plan p,
.home-plan strong,
.family-plan h3,
.family-plan p,
.family-plan strong,
.business-plan h3,
.business-plan p,
.business-plan strong {
  color: var(--white);
}

.home-plan p,
.home-plan .plan-features,
.family-plan p,
.family-plan .plan-features,
.business-plan p,
.business-plan .plan-features {
  color: rgba(255, 255, 255, 0.82);
}

.home-plan a,
.family-plan a,
.business-plan a {
  color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 12px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  background: var(--orange);
  border-radius: 8px;
}

.plan-card strong {
  display: block;
  margin: 24px 0;
  color: var(--blue);
  font-size: 1.4rem;
  direction: ltr;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  color: #52687d;
  list-style: none;
  line-height: 1.7;
}

.plan-features li {
  position: relative;
  padding-inline-start: 24px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  transform: translateY(-50%);
}

.plan-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  font-weight: 900;
  background: var(--blue);
  border-radius: 8px;
  margin-top: auto;
}

.live-section {
  background: #071f34;
  color: var(--white);
}

.live-section .section-heading h2 {
  color: var(--white);
}

.live-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.9;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.live-card {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.channel-logo {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 14px;
  font-weight: 900;
  border-radius: 8px;
}

.aljazeera-logo {
  color: #261900;
  background: linear-gradient(135deg, #ffd36a, #f3a600);
  box-shadow: 0 12px 28px rgba(243, 166, 0, 0.24);
}

.fajer-logo {
  color: #ffffff;
  background: linear-gradient(135deg, #0072ce, #42d392);
  box-shadow: 0 12px 28px rgba(0, 114, 206, 0.24);
}

.fajer-two-logo {
  background: linear-gradient(135deg, #42d392, #ffb84d);
  box-shadow: 0 12px 28px rgba(66, 211, 146, 0.22);
}

.aljazeera-logo span {
  font-size: 1.08rem;
}

.fajer-logo span,
.fajer-two-logo span {
  font-size: 1.08rem;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 21, 38, 0.95), rgba(0, 114, 206, 0.62)),
    linear-gradient(45deg, rgba(43, 217, 255, 0.2), rgba(66, 211, 146, 0.12));
  border-radius: 8px;
}

.player-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}

.player-shell video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: none;
  background: #000;
}

.player-shell.is-ready video {
  display: block;
}

.player-shell.is-ready .player-placeholder {
  display: none;
}

.player-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.play-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 50%;
}

.play-mark svg {
  width: 32px;
  height: 32px;
}

.player-placeholder strong {
  font-size: 1.25rem;
}

.player-placeholder small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.live-card h3 {
  margin: 18px 0 8px;
  color: var(--white);
}

.live-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.live-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 18px;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
}

.live-cta svg {
  width: 22px;
  height: 22px;
}

.coverage-section {
  background: var(--soft);
}

.coverage-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.coverage-panel span {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(6, 21, 38, 0.07);
}

.contact-section {
  text-align: center;
  background: var(--white);
}

.contact-section .section-heading {
  display: grid;
  justify-items: center;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin: 34px auto 0;
  text-align: center;
}

.contact-item {
  display: grid;
  min-height: 118px;
  align-content: center;
  gap: 8px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item span {
  color: #5c6f84;
  font-weight: 800;
}

.contact-item strong {
  color: var(--blue);
  font-size: clamp(1rem, 2vw, 1.25rem);
  direction: ltr;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 28px 18px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .service-grid,
  .live-grid,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-section,
  .coverage-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small,
  .header-call span {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-actions,
  .hero-stats,
  .service-grid,
  .plans-grid,
  .live-grid,
  .coverage-panel {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  section:not(.hero) {
    padding-block: 58px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }
}
