/**
 * Homepage – Master SEO sections (Why Switch, Risk-Free, What's Included)
 */

/* ── SECTION A: Why UK Viewers Are Switching ── */
.home-why-switch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.home-why-switch__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.home-why-switch__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 43, 111, 0.08);
  box-shadow: 0 8px 24px rgba(11, 43, 111, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-why-switch__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 43, 111, 0.08);
}

.home-why-switch__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  color: var(--iptv-blue, #0b2b6f);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.14) 0%, rgba(255, 179, 2, 0.16) 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.home-why-switch__card h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--iptv-text, #1a1a2e);
}

.home-why-switch__card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--iptv-muted, #5c6370);
}

.home-why-switch__card a {
  color: var(--iptv-blue, #0b2b6f);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 43, 111, 0.22);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.home-why-switch__card a:hover,
.home-why-switch__card a:focus-visible {
  text-decoration-color: var(--iptv-primary, #ffb302);
}

/* ── SECTION B: Risk-Free trust band ── */
.home-risk-free {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 52px);
  background: linear-gradient(135deg, #071a42 0%, #0b2b6f 55%, #0d3478 100%);
  color: #fff;
}

.home-risk-free__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255, 179, 2, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 55%);
}

.home-risk-free__container {
  position: relative;
  z-index: 1;
}

.home-risk-free__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(24px, 3.5vw, 36px);
}

.home-risk-free__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.home-risk-free__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.home-risk-free__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.home-risk-free__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
  color: var(--iptv-primary, #ffb302);
  background: rgba(255, 179, 2, 0.15);
  border: 1px solid rgba(255, 179, 2, 0.25);
}

.home-risk-free__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.home-risk-free__item span {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.home-risk-free__item a {
  color: var(--iptv-primary, #ffb302);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 2, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.home-risk-free__item a:hover,
.home-risk-free__item a:focus-visible {
  text-decoration-color: #fff;
}

/* ── SECTION C: What's Included ── */
.home-included {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4fc 0%, #f6f9ff 100%);
}

.home-included__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.home-included__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--iptv-blue, #0b2b6f);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 43, 111, 0.1);
  box-shadow: 0 4px 12px rgba(11, 43, 111, 0.05);
}

.home-included__chip i {
  font-size: 14px;
  color: var(--iptv-primary, #ffb302);
}

.home-included__note {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--iptv-muted, #5c6370);
}

.home-included__note a {
  color: var(--iptv-blue, #0b2b6f);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 43, 111, 0.22);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.home-included__note a:hover,
.home-included__note a:focus-visible {
  text-decoration-color: var(--iptv-primary, #ffb302);
}

/* Responsive */
@media (max-width: 1024px) {
  .home-why-switch__grid,
  .home-risk-free__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .home-why-switch__grid,
  .home-risk-free__grid {
    grid-template-columns: 1fr;
  }
}
