.iptv-how[hidden] {
  display: none !important;
}

.iptv-how {
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  color: #0f1629;
  scroll-margin-top: 5.5rem;
  background:
    radial-gradient(ellipse at 50% 0, rgba(59, 130, 246, 0.12), transparent 52%),
    linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.iptv-how__inner {
  width: min(100%, 80rem);
  margin-inline: auto;
}

.iptv-how__heading {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.iptv-how__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 9999px;
  color: #2563eb;
  background: rgba(59, 130, 246, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.iptv-how__heading h2 {
  margin: 0;
  color: #0f1629;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.iptv-how__accent {
  color: #3b82f6;
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.iptv-how__intro {
  max-width: 39rem;
  margin: 1rem auto 0;
  color: #64748b;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.iptv-how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iptv-how__step {
  min-height: 15rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 22, 41, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.iptv-how__step:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
}

.iptv-how__number {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.iptv-how__step h3 {
  margin: 0 0 0.65rem;
  color: #0f1629;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.35;
}

.iptv-how__step p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

.iptv-how__cta {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.7rem;
  margin: 2.5rem auto 0;
  padding: 0.9rem 1.4rem;
  border-radius: 0.85rem;
  color: #fff;
  background: #2563eb;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.iptv-how__cta:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

#abonnements {
  scroll-margin-top: 5rem;
}

@media (max-width: 900px) {
  .iptv-how__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .iptv-how {
    padding-inline: 1rem;
  }

  .iptv-how__heading {
    margin-bottom: 2.25rem;
  }

  .iptv-how__steps {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .iptv-how__step {
    min-height: auto;
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iptv-how__step,
  .iptv-how__cta {
    transition: none;
  }
}
