/* ============================================
   SECTION 1 — HERO
   Mobile-first (90% traffic from mobile)
   SEO: Fast load, no render-blocking
   ============================================ */

/* ── BASE (Mobile first) ── */
.hero {
  position: relative;
  min-height: auto; /* no wasted space on mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px; /* header height offset */
}

/* ── BACKGROUND ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient mesh base — rich deep blue, not flat black */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      #050810 0%,
      #0A1628 25%,
      #07090F 55%,
      #0C0E1E 80%,
      #060A14 100%);
}

/* Diagonal lines — more visible, adds texture */
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 38px,
    rgba(0, 212, 255, 0.04) 38px,
    rgba(0, 212, 255, 0.04) 39px
  );
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Cyan — top left, electric and strong */
.hero-orb--left {
  width: 600px; height: 600px;
  top: -160px; left: -180px;
  background: radial-gradient(circle,
    rgba(0,212,255,0.22) 0%,
    rgba(0,180,255,0.08) 45%,
    transparent 68%
  );
  animation: orbFloat 9s ease-in-out infinite;
}

/* Gold — bottom right, warm contrast */
.hero-orb--right {
  width: 520px; height: 520px;
  bottom: -120px; right: -120px;
  background: radial-gradient(circle,
    rgba(245,197,24,0.18) 0%,
    rgba(245,140,0,0.07) 45%,
    transparent 68%
  );
  animation: orbFloat 11s ease-in-out infinite reverse;
}

/* Magenta accent — centre bottom, adds life */
.hero-orb--bottom {
  width: 420px; height: 420px;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle,
    rgba(180,0,255,0.09) 0%,
    rgba(0,212,255,0.05) 50%,
    transparent 70%
  );
  animation: orbFloatBottom 13s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

@keyframes orbFloatBottom {
  0%, 100% { transform: translateX(-50%) translate(0, 0); }
  50% { transform: translateX(-50%) translate(20px, -30px); }
}

/* ── INNER CONTENT ── */
.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 44px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* ── TRUST PILL ── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 4px;
  padding: 7px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #00EEFF;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 16px rgba(0,212,255,0.15);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .hero-pill:hover {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.55);
    box-shadow: 0 0 18px rgba(0,212,255,0.2);
  }
}

.hero-pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00D4FF;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── H1 ── */
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 42px;
  text-transform: uppercase;
  line-height: 1.05;
  color: #F0F4FF;
  margin-bottom: 16px;
  letter-spacing: 0px;
  text-align: center;
  width: 100%;
}

.hero-h1__cyan {
  background: linear-gradient(90deg, #00D4FF 0%, #00FFEA 60%, #00B4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-h1__white { color: #F0F4FF; }
.hero-br { display: none; } /* hide <br> on mobile */

/* ── SUBTITLE — framed info card ── */
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #C8DCF0;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 18px;
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.22);
  border-left: 3px solid rgba(0,212,255,0.7);
  border-radius: 8px;
  padding: 13px 18px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
@media (hover: hover) {
  .hero-sub:hover {
    background: rgba(0,212,255,0.09);
    border-color: rgba(0,212,255,0.4);
    box-shadow: 0 0 24px rgba(0,212,255,0.1);
  }
}

/* ── STAR RATING ── */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  background: rgba(245,197,24,0.07);
  border: 1px solid rgba(245,197,24,0.35);
  border-radius: 100px;
  padding: 10px 20px;
  box-shadow: 0 0 20px rgba(245,197,24,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .hero-rating:hover {
    border-color: rgba(245,197,24,0.55);
    box-shadow: 0 0 28px rgba(245,197,24,0.18);
  }
}

.hero-rating__stars {
  color: #F5C518;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(245,197,24,0.5);
}

.hero-rating__score {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #F5C518;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(245,197,24,0.35);
}

.hero-rating__score-denom {
  font-size: 13px;
  font-weight: 700;
  color: rgba(245,197,24,0.6);
}

.hero-rating__sep {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(245,197,24,0.25);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-rating__info {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #00D4FF;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.hero-rating__info strong {
  color: #F5C518;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 0 12px rgba(245,197,24,0.45);
  vertical-align: middle;
}

/* ── TRUST BADGES — individual framed pills ── */
.hero-badges {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
  width: 100%;
  max-width: 480px;
}

.hero-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #F0F4FF;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.30);
  border-left: 3px solid #00D4FF;
  border-radius: 7px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,212,255,0.06);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .hero-badge:hover {
    background: rgba(0,212,255,0.13);
    border-color: rgba(0,212,255,0.5);
    color: #F0F4FF;
    box-shadow: 0 0 14px rgba(0,212,255,0.18);
    transform: translateY(-1px);
  }
}

.hero-badge__check {
  color: #F5C518;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(245,197,24,0.55);
  line-height: 1;
}

/* ── CTA BUTTONS ── */
.hero-btns {
  display: flex;
  flex-direction: column; /* stack on mobile */
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-bottom: 0;
}

.hero-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 18px 24px;
  min-height: 58px;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-btn--primary {
  background: #F5C518;
  color: #000000;
  border: none;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 28px rgba(245,197,24,0.45), 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer sweep on the gold button */
.hero-btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: goldShimmer 3s ease-in-out infinite;
  pointer-events: none;
  transform: translateX(-200%);
}

@keyframes goldShimmer {
  0%   { transform: translateX(-200%); }
  50%, 100% { transform: translateX(430%); }
}

@media (hover: hover) {
  .hero-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(245,197,24,0.65), 0 8px 32px rgba(0,0,0,0.4);
    opacity: 1;
  }
  .hero-btn--outline:hover { border-color: #00D4FF; color: #00D4FF; }
}
.hero-btn--primary:active { transform: translateY(0); }

.hero-btn--outline {
  background: transparent;
  color: #F0F4FF;
  border: 1px solid rgba(240,244,255,0.2);
}

/* ── SOCIAL PROOF LINE (below CTAs) ── */
.hero-social-proof {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8D8E8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  background: rgba(37,211,102,0.09);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 100px;
  padding: 10px 20px;
  box-shadow: 0 0 24px rgba(37,211,102,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .hero-social-proof:hover {
    background: rgba(37,211,102,0.15);
    border-color: rgba(37,211,102,0.5);
    box-shadow: 0 0 32px rgba(37,211,102,0.2);
  }
}
.hero-social-proof__dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}
.hero-social-proof__dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.25), 0 0 8px #25D366;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-social-proof__dot strong {
  color: #25D366;
  font-weight: 800;
  font-size: 15px;
}
.hero-social-proof__text {
  color: #C8D8E8;
  font-weight: 500;
}
.hero-social-proof__sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  flex-shrink: 0;
}
.hero-social-proof__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero-social-proof__rating strong {
  color: #F5C518;
  font-weight: 800;
  font-size: 15px;
}

/* ── GOLD SCROLL SEPARATOR ── */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--iptv-gold), transparent);
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   SMALL MOBILE < 380px
══════════════════════════════════════════ */
@media (max-width: 379px) {
  .hero-inner { padding: 28px 16px 36px; }
  .hero-h1 { font-size: 38px; }
  .hero-sub { font-size: 14px; line-height: 1.65; padding: 11px 14px; }
  .hero-pill { font-size: 11px; padding: 6px 13px; }
  .hero-badges { grid-template-columns: 1fr 1fr; max-width: 100%; gap: 7px; }
  .hero-badge { font-size: 12px; padding: 10px 11px; gap: 7px; }
  .hero-badge__check { font-size: 14px; }
  .hero-btn { font-size: 15px; min-height: 56px; }
  .hero-btn--primary { font-size: 15px; }
  .hero-rating__stars { font-size: 16px; }
}

/* Hide secondary CTA on mobile — one action, no decision paralysis */
@media (max-width: 639px) {
  .hero-btn--outline { display: none; }
}

/* ══════════════════════════════════════════
   TABLET — 640px+
══════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero-h1 { font-size: 50px; }
}

@media (min-width: 640px) {

  .hero { min-height: 100svh; }
  .hero-inner { padding: 60px 24px 60px; }

  .hero-h1 { font-size: 54px; }

  .hero-btns {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    width: auto;
  }

  .hero-btn {
    min-width: 220px;
    width: auto;
    font-size: 19px;
    min-height: 56px;
  }

  .hero-btn--outline { display: block; }

}

/* ══════════════════════════════════════════
   DESKTOP — 1024px+
══════════════════════════════════════════ */
@media (min-width: 1024px) {

  .hero-inner { padding: 80px 40px; }

  .hero-h1 {
    font-size: 68px;
    letter-spacing: 1px;
  }

  .hero-br { display: inline; }

  .hero-sub { font-size: 14.5px; max-width: 640px; }

  /* 4 badges in one row on desktop */
  .hero-badges {
    grid-template-columns: repeat(4, 1fr);
    max-width: 680px;
  }

  .hero-orb--left { width: 700px; height: 700px; }
  .hero-orb--right { width: 600px; height: 600px; }

  .hero-btn--primary { font-size: 21px; min-height: 60px; }

}
