:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #c6cad3;
  --line: rgba(255, 255, 255, .14);
  --paper: #050505;
  --white: #ffffff;
  --navy: #050505;
  --surface: #101010;
  --surface-2: #171717;
  --accent: #ffd166;
  --accent-dark: #f4c255;
  --magenta: #ffd166;
  --gold: #ffd166;
  --blue: #ffd166;
  --shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .64)),
    url("assets/smart-iptv-background.webp") center / cover fixed no-repeat,
    var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(0, 0, 0, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 86px;
  height: 62px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  color: var(--white);
  letter-spacing: 0;
}

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

.nav a {
  padding: 10px 13px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #000000;
  background: var(--accent);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 620px);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(36px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .56) 52%, rgba(0, 0, 0, .34) 100%),
    radial-gradient(circle at 84% 45%, rgba(255, 209, 102, .2), transparent 28%),
    url("assets/smart-iptv-background.webp") center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  min-width: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 54px;
  background: linear-gradient(135deg, transparent 48%, var(--surface) 49%);
  pointer-events: none;
}

.hero h1,
.page-heading h1,
.not-found h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-heading p,
.not-found p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: #000000;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.device-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, .58));
}

.device-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(16, 16, 16, .76);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px;
  background: rgba(10, 10, 10, .78);
  color: var(--accent);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  text-align: center;
}

.section,
.page {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: rgba(16, 16, 16, .78);
}

.section[id] {
  scroll-margin-top: 96px;
}

.section:nth-of-type(even) {
  background: rgba(11, 11, 11, .78);
}

.section-heading,
.page-heading {
  margin-bottom: 28px;
  max-width: 980px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.pricing-grid,
.category-list,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.pricing-block + .pricing-block {
  margin-top: 34px;
}

.pricing-block h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
}

.seo-copy {
  max-width: 920px;
}

.seo-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.seo-copy p {
  color: var(--muted);
  font-size: 18px;
}

.faq-block {
  margin-top: 36px;
  max-width: 920px;
}

.faq-block h2 {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.2;
}

.faq-block details {
  background: linear-gradient(180deg, #181818, #0d0d0d);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

.faq-block details + details {
  margin-top: 12px;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-block p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid article,
.price-card,
.category-list article,
.steps article,
.contact-panel {
  background: linear-gradient(180deg, #181818, #0d0d0d);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

.feature-grid article h3,
.price-card h3,
.category-list article h2,
.steps article h2,
.contact-panel h2 {
  color: var(--white);
}

.feature-grid article p,
.price-card p,
.category-list article p,
.steps article p,
.contact-panel p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.price {
  margin: 8px 0;
  color: var(--accent);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.category-list,
.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.steps article span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #000000;
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #0b0b0b;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 48px;
  padding: clamp(24px, 7vw, 80px);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 209, 102, .15), transparent 28%),
    #050505;
}

.site-footer {
  padding: clamp(36px, 6vw, 68px) clamp(18px, 5vw, 72px) 24px;
  color: var(--muted);
  background:
    linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .94)),
    url("assets/smart-iptv-background.webp") center / cover no-repeat,
    #000000;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(24px, 5vw, 58px);
  max-width: 1220px;
  margin: 0 auto;
}

.footer-logo {
  display: block;
  width: 82px;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-brand h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand h2 {
  font-size: 24px;
}

.site-footer h3 {
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 9px;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 0 0 9px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1220px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(23, 32, 42, .22);
}

.whatsapp-float:hover {
  background: #1eb85a;
}

@media (min-width: 1200px) {
  .section,
  .page,
  .hero,
  .trust-strip,
  .site-header,
  .site-footer {
    padding-left: max(72px, calc((100vw - 1280px) / 2));
    padding-right: max(72px, calc((100vw - 1280px) / 2));
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .device-visual {
    max-width: 760px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 15px;
  }

  .brand-name {
    white-space: normal;
    line-height: 1.15;
  }

  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hero h1,
  .hero-copy,
  .hero-copy p,
  .hero-copy .eyebrow {
    width: 100%;
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .hero p {
    font-size: 17px;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .pricing-grid,
  .category-list,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  main,
  .hero,
  .hero-copy {
    inline-size: 100%;
    max-inline-size: 100vw;
  }

  .site-header {
    padding: 12px 16px;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand-logo {
    width: 68px;
    height: 50px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 14px;
  }

  .nav {
    max-width: calc(100vw - 32px);
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .hero,
  .section,
  .page,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1,
  .page-heading h1,
  .not-found h1 {
    max-inline-size: 330px;
    font-size: clamp(30px, 8.4vw, 34px);
    word-break: break-word;
  }

  .hero-copy p,
  .hero-copy .eyebrow {
    max-inline-size: 330px;
  }

  .section-heading h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .actions,
  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip span {
    min-height: 64px;
    font-size: 18px;
  }

  .feature-grid article,
  .price-card,
  .category-list article,
  .steps article,
  .contact-panel {
    padding: 20px;
  }

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

@media (max-width: 360px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 58px;
    height: 44px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero h1,
  .page-heading h1,
  .not-found h1 {
    font-size: 30px;
  }

  .price {
    font-size: 32px;
  }
}
