:root {
  --navy: #010c3a;
  --pink: #e52a5b;
  --violet: #6b1a7a;
  --ink: #1b1f33;
  --muted: #5a6278;
  --line: #eceff5;
  --max: 1170px;
  --font: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: #fff; color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }

/* NAV */
.nav { position: relative; z-index: 30; background: #fff; }
body[data-page="index.html"] .nav { position: absolute; inset: 0 0 auto; background: transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 108px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 76px; height: 76px; border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 20px; letter-spacing: .1em; color: var(--navy); }
.brand-copy span { font-size: 13px; letter-spacing: .28em; color: var(--pink); font-weight: 700; }
.nav-links { display: flex; gap: 34px; font-size: 18px; color: #222; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--pink); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; font-size: 13px; font-weight: 600; border: 0; border-radius: 4px; transition: .2s ease;
}
.btn-fill { color: #fff; background: linear-gradient(90deg, #4a1468, #e52a5b); }
.btn-ghost { color: #fff; background: var(--navy); }
.btn-order {
  color: var(--navy);
  background-image: linear-gradient(#fff,#fff), linear-gradient(to left, #010C3A, #E52A5B);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  min-width: 148px; padding: 12px 26px; font-size: 13px; font-weight: 600; text-transform: uppercase;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-fill:hover, .btn-ghost:hover, .btn-order:hover { opacity: .92; transform: translateY(-1px); }

/* HERO — room photo is the scene; no extra character */
.hero {
  position: relative; min-height: 740px; overflow: hidden;
  background: #fff url("../assets/hero-iptv.png") 68% center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.94) 46%, rgba(255,255,255,.55) 58%, rgba(255,255,255,.12) 74%, transparent 88%),
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, transparent 28%);
}
.geo { position: absolute; z-index: 2; pointer-events: none; }
.geo-tl {
  top: 0; left: 0; width: 300px; height: 380px;
  background: linear-gradient(135deg, #6b1a7a, #e52a5b);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.geo-tr {
  top: 0; right: 0; width: 260px; height: 150px;
  background: linear-gradient(135deg, #e52a5b, #6b1a7a);
  clip-path: polygon(18% 0, 100% 0, 100% 100%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  min-height: 740px; padding: 128px 0 56px;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; color: var(--navy);
  font-weight: 800; text-transform: uppercase; margin-bottom: 10px;
}
.hero h1 .iptv {
  display: block; font-size: 1.7em; line-height: .88; margin: 4px 0 6px;
  background: linear-gradient(90deg, #010c3a, #6b1a7a 42%, #e52a5b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 520px; color: #4b5370; margin-bottom: 26px; font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 148px; }
.hero-visual { display: none; }

.reveal { opacity: 0; transform: translateY(36px); transition: .7s cubic-bezier(.22,1,.36,1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: .7s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: .7s cubic-bezier(.22,1,.36,1); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

section { padding: 80px 0; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.eyebrow { color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); margin: 8px 0 12px; }
.muted { color: var(--muted); }
.muted a, .about a, .faq-acc a { color: var(--pink); }

/* PRICING */
.pricing { position: relative; background: #fff; overflow: hidden; scroll-margin-top: 12px; }
.pricing::before {
  content: ""; position: absolute; left: -80px; top: 80px; width: 280px; height: 280px;
  background: var(--navy); transform: rotate(-28deg); opacity: .92; pointer-events: none;
  clip-path: polygon(12% 0, 100% 18%, 82% 100%, 0 78%);
}
.conn-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
  background: #f3f4f8; padding: 6px; border-radius: 999px; width: fit-content; margin: 0 auto 40px;
  position: relative; z-index: 1;
}
.conn-row button {
  border: 0; border-radius: 999px; padding: 11px 18px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #6b1a7a, #e52a5b);
}
.conn-row button[aria-pressed="false"] { background: transparent; color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; position: relative; z-index: 1; }
.cards .extra-row { grid-column: 1 / -1; }
.extra-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.price-card {
  background: #fff; border-radius: 8px; padding: 32px 18px 26px; text-align: center;
  box-shadow: 0 16px 44px rgba(1,12,58,.1); border: 1px solid #eef0f7; position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 22px 56px rgba(1,12,58,.14); }
.price-card.featured {
  border: 2px solid var(--pink);
  transform: translateY(-10px);
  box-shadow: 0 26px 64px rgba(229,42,91,.2);
  z-index: 2;
}
.logo-dot { width: 72px; height: 72px; margin: 6px auto 10px; }
.price-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.amount { color: var(--pink); font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.amount small { font-size: 14px; font-weight: 500; }
.blurb { color: #6b7390; font-size: 13px; min-height: 42px; margin-bottom: 8px; }
.price-card ul { list-style: none; text-align: left; margin: 12px 0 20px; }
.price-card li { padding: 6px 0 6px 22px; position: relative; font-size: 13px; color: #445; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.badge {
  display: inline-block; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #010c3a, #e52a5b); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.price-card.featured .btn-order {
  color: #fff; border: 0;
  background-image: linear-gradient(90deg, #4a1468, #e52a5b);
}

/* TRUST — 4 cards in a row */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 8px 0 24px; }
.trust article {
  background: #fff; border-radius: 10px; padding: 28px 18px 24px; text-align: center;
  box-shadow: 0 10px 32px rgba(1,12,58,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.trust article:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(1,12,58,.12); }
.trust .ico {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid #f3a0b5; color: var(--pink);
}
.trust .ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.trust h3 { color: var(--navy); margin-bottom: 8px; font-size: 17px; }
.trust p { color: var(--muted); font-size: 13px; }

/* ABOUT — copy left, art right */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.about-art { display: grid; place-items: center; }
.about-art svg, .about-art img { width: min(460px, 100%); height: auto; }
.badge-row { color: var(--pink); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.stat-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.stat-pills div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 8px; text-align: center; }
.stat-pills b { display: block; font-size: 20px; color: var(--navy); }
.stat-pills span { font-size: 12px; color: var(--muted); }

/* FEATURES — cluster left, copy + counters right */
.feat-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.feat-visual { display: grid; place-items: center; }
.feat-visual img {
  width: min(420px, 100%); height: auto; border-radius: 50%;
  object-fit: cover; aspect-ratio: 1; box-shadow: 0 24px 50px rgba(1,12,58,.16);
}
.feat-list { display: grid; gap: 14px; margin-top: 16px; }
.feat-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.feat-item .n {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #6b1a7a, #e52a5b); color: #fff; font-weight: 800; font-size: 13px;
}
.feat-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 2px; }
.feat-item p { color: var(--muted); font-size: 14px; }

.counters {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin-top: 28px; text-align: center;
}
.counters div { padding: 8px; }
.counters b { display: block; font-size: 18px; color: var(--navy); }
.counters span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 12px; height: 360px; width: 100%; object-fit: cover; box-shadow: 0 18px 44px rgba(1,12,58,.12); }
.checks { margin: 16px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.checks li { list-style: none; padding: 6px 0 6px 22px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.chip { display: inline-block; margin: 4px 6px 0 0; padding: 6px 12px; background: #f3f4f8; border-radius: 999px; font-size: 13px; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 12px; box-shadow: 0 10px 30px rgba(1,12,58,.06); }
.stars { color: #e6b800; margin-bottom: 8px; }
.who { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* FAQ — accordion left, art right */
.faq-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.faq-split h2 { text-align: left; }
.faq-acc details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
  box-shadow: 0 8px 22px rgba(1,12,58,.05);
}
.faq-acc summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: "+"; color: var(--pink); font-weight: 700; }
.faq-acc details[open] summary::after { content: "–"; }
.faq-acc details p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.faq-art img { width: 100%; height: auto; }

.contact-row, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-row article, .feature {
  background: #fff; border: 1px solid var(--line); padding: 26px 22px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(1,12,58,.06);
}
.contact-row h3, .feature h3 { color: var(--navy); margin-bottom: 8px; }
.contact-row .ico {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #6b1a7a, #e52a5b);
}

.foot-cta {
  background: linear-gradient(90deg, #4a1468, #e52a5b);
  color: #fff; padding: 32px 0;
}
.foot-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-cta h3 { font-size: 28px; margin: 0; }
.foot-cta p { opacity: .92; margin: 4px 0 0; }
.foot-cta .btn { background: #fff; color: var(--navy); min-width: 160px; font-size: 15px; padding: 14px 28px; }
footer { background: #070b1c; color: #d5d9ec; padding: 0 0 24px; }
footer .foot { padding-top: 64px; }
footer .muted, .foot a, .copybar { color: #d5d9ec; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot h4 { color: #fff; margin-bottom: 18px; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.foot a { display: block; padding: 8px 0; font-size: 16px; }
.foot a:hover { color: var(--pink); }
footer .muted { font-size: 16px; line-height: 1.7; max-width: 360px; }
footer .brand img { width: 84px; height: 84px; }
footer .brand-copy strong { color: #fff; font-size: 22px; }
.copybar { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37,211,102,.35);
}
.float-wa svg { width: 28px; height: 28px; fill: #fff; }

.page-hero {
  padding: 70px 0 48px; color: #fff; text-align: left;
  background: linear-gradient(90deg, rgba(1,12,58,.82), rgba(107,26,122,.55)), url("../assets/hero-iptv.png") center/cover;
}
.page-hero h1, .page-hero .eyebrow, .page-hero .muted { color: #fff; }
.crumb { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.crumb a { color: var(--pink); }

.install-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 40px;
}
.install-tabs button {
  border: 0; border-radius: 999px; padding: 12px 22px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #6b1a7a, #e52a5b); cursor: pointer;
}
.install-tabs button[aria-selected="false"] { background: #f3f4f8; color: var(--navy); }
.guide-panel { display: none; }
.guide-panel.active { display: block; }
.guide-step {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
  margin: 0 0 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.guide-step:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-step img {
  width: 100%; border-radius: 12px; box-shadow: 0 16px 40px rgba(1,12,58,.12); background: #111;
}
.guide-step h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.guide-step p, .guide-step li { color: var(--muted); }
.guide-step ol { margin: 12px 0 0 18px; }
.guide-step li { margin: 8px 0; }
.guide-note { background: #f8f9fd; border-radius: 10px; padding: 14px 16px; margin-top: 14px; font-size: 14px; }
.login-block { background: #f8f9fd; border-radius: 16px; padding: 40px 32px; margin-top: 24px; }
.page-hero h1, .page-hero .eyebrow, .page-hero .muted { color: #fff; }
.legal { max-width: 800px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px; background: #f8f9fd; border-radius: 8px; }
.num { width: 48px; height: 48px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--pink)); color: #fff; font-weight: 700; border-radius: 8px; }
.channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.channel-grid article { background: #f8f9fd; padding: 16px; border-radius: 8px; }

@media (max-width: 980px) {
  .hero-inner, .about, .split, .feat-split, .faq-split, .reviews, .foot, .trust, .channel-grid, .extra-row, .contact-row, .feature-grid, .stat-pills, .counters, .guide-step { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-inner { min-height: auto; padding: 120px 0 48px; }
  .hero { min-height: 560px; background-position: 70% center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 108px; left: 0; right: 0; background: #fff; padding: 16px 24px; box-shadow: 0 12px 30px rgba(0,0,0,.08); font-size: 18px; }
  .menu-btn { display: grid; place-items: center; }
  .price-card.featured { transform: none; }
  .checks { grid-template-columns: 1fr; }
  .pricing::before { display: none; }
}
@media (max-width: 640px) {
  .trust, .cards, .reviews, .channel-grid, .foot, .split, .feat-split, .faq-split, .extra-row, .about, .contact-row, .feature-grid, .stat-pills, .counters, .guide-step { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .geo-tl, .geo-tr { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}
