/* ═══════════════════════════════════════════════════
   HERO REDESIGN — Premium OTT / Streaming Brand
   ═══════════════════════════════════════════════════ */

/* ── Kill old v9 hero rules that still match our markup ── */
.hero h1 {
  all: unset;
  display: block;
}
.hero p {
  all: unset;
  display: block;
}
.hero-actions,
.hero-stats,
.hero-stat,
.hero-stat-value,
.hero-stat-label,
.hero-stat-btn-primary,
.hero-stat-btn-secondary {
  all: unset;
  display: block;
}

/* ── Background ── */
.hero {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(/assets/img/hero-bg-new.jpg);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.55);
  transform: scale(1.04);
  z-index: 0;
  transition: filter 0.6s ease;
}

/* Cinematic gradient overlay — dark center for text, ambient edges */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 45%, rgba(8,12,24,0.85) 0%, rgba(8,12,24,0.4) 55%, transparent 100%),
    linear-gradient(180deg, rgba(8,12,24,0.7) 0%, rgba(8,12,24,0.15) 25%, rgba(8,12,24,0.15) 65%, rgba(8,12,24,0.8) 100%),
    linear-gradient(90deg, rgba(8,12,24,0.4) 0%, transparent 30%, transparent 70%, rgba(8,12,24,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  z-index: 2;
  position: relative;
  max-width: 860px;
}

/* ── Credibility Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px;
  padding: 7px 20px 7px 14px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  opacity: 0;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
  animation: heroDotPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(147,197,253,0.9);
  letter-spacing: 0.5px;
}

/* ── Headline ── */
.hero-headline {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #f0f4ff;
  margin-bottom: 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

.hero-headline .accent {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description ── */
.hero-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(148,163,200,0.85);
  max-width: 660px;
  margin: 0 auto 36px;
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

/* ── CTA Buttons ── */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 30px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #fff;
  border: none;
  box-shadow:
    0 2px 8px rgba(37,99,235,0.25),
    0 8px 24px rgba(37,99,235,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(37,99,235,0.35),
    0 12px 32px rgba(37,99,235,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.hero-btn-primary:active {
  transform: translateY(0);
}

.hero-btn-primary .arrow {
  transition: transform 0.25s ease;
}

.hero-btn-primary:hover .arrow {
  transform: translateX(3px);
}

.hero-btn-secondary {
  background: rgba(255,255,255,0.04);
  color: rgba(240,244,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #f0f4ff;
  transform: translateY(-2px);
}

/* ── Metrics Row ── */
.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  position: relative;
}

.hero-metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.hero-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #f0f4ff;
  line-height: 1.2;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(148,163,200,0.6);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* ── Ambient glow orbs (behind content) ── */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
  animation: heroGlowFloat 16s ease-in-out infinite;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(99,102,241,0.08), transparent 70%);
  animation: heroGlowFloat 20s ease-in-out infinite reverse;
}

/* ── Animations ── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDotPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(59,130,246,0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 14px rgba(59,130,246,0.8);
    opacity: 0.7;
  }
}

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤968px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 968px) {
  .hero {
    padding: 90px 0 60px;
  }

  .hero-headline {
    letter-spacing: -1.5px;
  }

  .hero-metrics {
    padding: 18px 24px;
  }

  .hero-metric {
    padding: 0 20px;
  }

  .hero-metric-value {
    font-size: 1.4rem;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding: 80px 16px 40px;
  }

  .hero::before {
    background-position: center 35%;
    filter: blur(3px) brightness(0.45);
  }

  .hero-badge {
    margin-bottom: 24px;
    padding: 6px 16px 6px 12px;
  }

  .hero-badge-text {
    font-size: 0.72rem;
  }

  .hero-headline {
    font-size: 2rem;
    letter-spacing: -1px;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 0;
    padding: 20px 28px;
    border-radius: 14px;
    width: 100%;
    max-width: 300px;
  }

  .hero-metric {
    padding: 14px 0;
    width: 100%;
  }

  .hero-metric:not(:last-child)::after {
    right: 20%;
    left: 20%;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .hero-metric-value {
    font-size: 1.5rem;
  }

  .hero-glow-1 {
    width: 350px;
    height: 350px;
  }

  .hero-glow-2 {
    width: 300px;
    height: 300px;
  }
}

/* ═══════════════════════════════════════════════════
   SCROLL HEADER — glass transition on scroll
   ═══════════════════════════════════════════════════ */
nav {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* ═══════════════════════════════════════════════════
   PRICING BADGE FIX — "MOST POPULAR" fully visible
   ═══════════════════════════════════════════════════ */
.pricing-section {
  overflow: visible !important;
}

.pricing-section .pricing-grid {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.pricing-section .pricing-card {
  overflow: visible;
  position: relative;
}

.pricing-section .pricing-card.popular {
  position: relative;
  z-index: 2;
  margin-top: 22px;
}

.pricing-section .pricing-card.popular::after {
  z-index: -1;
}

.pricing-section .pricing-badge-wrap {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 120px;
  height: auto;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

.pricing-section .pricing-badge {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: 10;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 6px 22px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  line-height: 1;
  min-width: 110px;
  text-align: center;
  pointer-events: auto;
}
