:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --dark: #081b2d;
  --dark-2: #17123f;
  --accent: #5633e8;
  --accent-2: #7c5cff;
  --green: #5633e8;
  --violet-soft: #f0edff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0, rgba(255, 255, 255, 0.66) 760px, rgba(246, 248, 251, 0.7) 100%),
    url("assets/iptv-smarters-pro-subscription.webp") center top / min(100%, 1400px) auto repeat-y,
    var(--soft);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar,
.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: url("assets/logo-iptv-smarters.svg") center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(86, 51, 232, 0.28);
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.nav a,
.cart {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"],
.cart {
  color: var(--green);
  background: var(--violet-soft);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #062a24;
  background: #25d366;
  box-shadow: 0 18px 36px rgba(10, 87, 61, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 34px;
  min-height: 82vh;
  padding: clamp(42px, 7vw, 92px) clamp(16px, 5vw, 70px);
  color: white;
  background:
    radial-gradient(circle at 76% 18%, rgba(124, 92, 255, 0.28), transparent 26%),
    linear-gradient(90deg, rgba(8, 27, 45, 0.94), rgba(8, 27, 45, 0.66)),
    url("assets/iptv-smarters-pro-subscription.webp") center/cover;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.03;
}

.hero p {
  max-width: 730px;
  color: #e7eef6;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 28px 0;
}

.stats span,
.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.stats span {
  display: grid;
  gap: 2px;
  padding: 14px;
  color: #d9e8ee;
  font-size: 13px;
}

.stats strong {
  color: white;
  font-size: 26px;
  line-height: 1;
}

.actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.center-actions {
  justify-content: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(86, 51, 232, 0.28);
}

.button.ghost,
.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  border-color: var(--line);
  color: var(--dark);
  background: white;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: #cde5ee;
  font-weight: 700;
}

.hero-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  min-height: 260px;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.hero-card p,
.hero-card span {
  margin: 0;
  color: #dceaf2;
}

.hero-card strong {
  color: white;
  font-size: 44px;
  line-height: 1;
}

.section,
.page {
  padding: clamp(38px, 6vw, 78px) clamp(16px, 5vw, 70px);
}

.section {
  max-width: 1260px;
  margin: 0 auto;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(246, 248, 251, 0.76);
}

.narrow {
  max-width: 820px;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin: 0 0 10px;
}

.lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.pricing,
.grid,
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
}

.price-card,
.card,
details,
.contact-form,
.comparison,
.steps article,
.device-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section > h2,
.section > .lead,
.section > .eyebrow,
.split > div,
.plans-subhead,
.narrow {
  color: var(--ink);
}

.price-card,
.card {
  padding: 24px;
}

.price-card {
  display: grid;
  align-content: start;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 24px 54px rgba(86, 51, 232, 0.22);
  transform: translateY(-8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0, rgba(244, 241, 255, 0.92) 100%);
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--violet-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.badge.hot {
  color: #7c2d12;
  background: #ffedd5;
}

.plan-note {
  display: block;
  margin: -8px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.price {
  display: grid;
  gap: 2px;
  margin: 16px 0;
  color: var(--dark);
}

.price strong {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

ul {
  padding-left: 20px;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 7px;
}

.secure-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.secure-row span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--dark);
  font-weight: 900;
  text-align: center;
}

.plans-subhead {
  margin-top: clamp(34px, 5vw, 56px);
}

.multi-pricing {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: start;
}

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

.steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-weight: 900;
}

.media-band {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: clamp(46px, 7vw, 84px) clamp(16px, 5vw, 70px);
  color: white;
  background:
    linear-gradient(180deg, rgba(8, 27, 45, 0.22), rgba(8, 27, 45, 0.9)),
    url("assets/iptv-smarters-pro-subscription.webp") center/cover;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.video-box {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(rgba(8, 27, 45, 0.18), rgba(8, 27, 45, 0.72)),
    url("assets/iptv-smarters-pro-subscription.webp") center/cover;
  box-shadow: 0 20px 46px rgba(16, 24, 40, 0.16);
}

.video-box span {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(8, 27, 45, 0.74);
  font-weight: 900;
}

.media-band div {
  max-width: 720px;
}

.media-band p {
  color: #e3edf5;
}

.device-grid article {
  display: grid;
  gap: 6px;
  padding: 22px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.9);
}

.local-seo {
  color: var(--ink);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px;
}

.location-grid article {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.location-grid span {
  color: var(--muted);
  font-weight: 500;
}

.device-grid span {
  color: var(--muted);
  font-weight: 500;
}

.compat-hero {
  display: grid;
  gap: 4px;
  max-width: 360px;
  margin: 0 0 22px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--dark), #5633e8);
}

.compat-hero strong {
  font-size: 46px;
  line-height: 1;
}

.compat-hero span {
  font-size: 18px;
  font-weight: 900;
}

.compat-hero small {
  color: #bdd0dc;
}

.feature-grid,
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
}

.feature-grid article,
.config-grid article {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.feature-grid h3,
.feature-grid p,
.config-grid h3,
.config-grid p {
  margin-left: 20px;
  margin-right: 20px;
}

.feature-grid p,
.config-grid p {
  color: var(--muted);
}

.config-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.config-grid article,
.feature-grid article {
  padding: 22px;
}

.config-grid h3,
.config-grid p,
.feature-grid h3,
.feature-grid p {
  margin-left: 0;
  margin-right: 0;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.editorial p {
  color: var(--muted);
}

.editorial img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

.comparison {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.comparison th,
.comparison td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  color: white;
  background: var(--dark-2);
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  max-width: 1180px;
  margin: 12px auto clamp(38px, 6vw, 78px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  color: white;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(8, 27, 45, 0.96), rgba(16, 42, 67, 0.94)),
    url("assets/iptv-smarters-pro-subscription.webp") center/cover;
}

.cta-band p {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
}

.cta-band span {
  display: block;
  margin: 12px 0 22px;
  color: #d7e7ee;
  font-weight: 800;
}

details {
  padding: 20px 22px;
  margin-bottom: 12px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.04);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.faq-stats span {
  display: grid;
  gap: 2px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.faq-stats strong {
  color: var(--dark);
  font-size: 24px;
}

.search-box {
  margin: 0 0 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-box span {
  color: var(--muted);
  font-size: 14px;
}

details p,
.card p,
.price-card p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-number {
  margin: 0;
  color: var(--dark);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.not-found {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 72vh;
  padding: 32px 16px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(16px, 5vw, 70px);
  color: #d5e1ea;
  background: var(--dark);
}

.site-footer p {
  margin: 6px 0 0;
  color: #a7b7c7;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: #d5e1ea;
  text-decoration: none;
}

@media (max-width: 850px) {
  body {
    background-attachment: scroll;
  }

  .topbar,
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
    scrollbar-width: thin;
  }

  .nav a,
  .cart {
    white-space: nowrap;
  }

  .cart {
    justify-self: start;
  }

  .hero,
  .split,
  .config-panel,
  .editorial,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .stats,
  .steps,
  .faq-stats,
  .secure-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer {
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    background-position: center top;
  }

  .hero-card {
    min-height: 180px;
  }

  .editorial img {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .topbar,
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand::before {
    width: 40px;
    height: 40px;
  }

  .nav a,
  .cart {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .hero,
  .section,
  .page,
  .media-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .stats,
  .steps,
  .faq-stats,
  .secure-row {
    grid-template-columns: 1fr;
  }

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

  .hero p,
  .lead {
    font-size: 16px;
  }

  .actions,
  .center-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .price strong {
    font-size: 36px;
  }

  .cta-band {
    margin-left: 14px;
    margin-right: 14px;
  }

  .comparison th,
  .comparison td {
    padding: 12px;
    font-size: 14px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    padding: 9px 13px;
  }
}
