/* ==========================================================================
   ipplaytv — core stylesheet
   Yellow + charcoal, retro-TV motif. Hand-built, no framework.
   ========================================================================== */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* surfaces */
  --bg:        #0c0d10;
  --bg-2:      #101216;
  --surface:   #15171c;
  --surface-2: #1c1f26;
  --elevated:  #22252e;

  /* brand */
  --yellow:    #ffd21e;
  --yellow-2:  #ffb800;
  --yellow-dim:rgba(255, 210, 30, .12);
  --red:       #e8402f;
  --teal:      #2ec4d6;

  /* ink */
  --ink:       #0c0d10;   /* text on yellow */
  --text:      #edeef0;
  --muted:     #9a9da6;
  --faint:     #6b6e78;

  /* lines */
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.14);

  /* shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* type */
  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body:    'DM Sans', 'Segoe UI', sans-serif;

  /* rhythm */
  --wrap: 1180px;
  --gut:  clamp(20px, 5vw, 40px);

  --shadow:    0 20px 50px -20px rgba(0,0,0,.7);
  --shadow-yl: 0 16px 40px -12px rgba(255,184,0,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Reset ------------------------------------------------------------ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--yellow); color: var(--ink); }

/* subtle film grain for depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers --------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; font-size: 12px; color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.h-sec { font-size: clamp(30px, 4.4vw, 52px); }
.lead  { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 60ch; }
.hl    { color: var(--yellow); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --pad: 15px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  position: relative; white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-yl); }
.btn-primary:hover { transform: translateY(-3px); background: var(--yellow-2); box-shadow: 0 22px 48px -12px rgba(255,184,0,.6); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }
.btn-wa { background: #25d366; color: #05220f; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(37,211,102,.6); }
.btn-lg { --pad: 18px 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ---- Header ----------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent; padding: 16px 0;
}
.site-head.stuck {
  background: rgba(12,13,16,.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border); padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand .dot { color: var(--yellow); }
.brand .glyph {
  width: 34px; height: 26px; border-radius: 6px; background: var(--yellow);
  position: relative; flex: none; box-shadow: 0 0 0 3px rgba(255,210,30,.18);
}
.brand .glyph::before { content:""; position:absolute; inset:5px 8px 5px 5px; background: var(--ink); border-radius: 2px; }
.brand .glyph::after  { content:""; position:absolute; right:3px; top:7px; width:2px; height:12px; background: var(--ink); border-radius:2px; box-shadow: 3px 0 0 var(--ink); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--yellow); border-radius:2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); color: var(--text); font-size: 20px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(12,13,16,.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transition: opacity .3s; padding: 24px;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: 24px; font-weight: 600; }
.mobile-menu .btn { margin-top: 10px; }

/* ==========================================================================
   HERO with animated retro-TV wall
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: clamp(140px,18vh,180px) 0 clamp(70px,9vw,100px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 72% 30%, rgba(255,184,0,.10), transparent 60%),
    radial-gradient(50% 50% at 15% 80%, rgba(46,196,214,.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
/* big background photo */
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/tvs-hero.jpg") center right / cover no-repeat;
  transform: scale(1.04); animation: heroPan 24s ease-in-out infinite alternate;
}
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 8%, rgba(12,13,16,.88) 38%, rgba(12,13,16,.45) 72%, rgba(12,13,16,.7) 100%),
    linear-gradient(180deg, rgba(12,13,16,.35) 0%, transparent 25%, var(--bg) 100%);
}
@keyframes heroPan { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
/* giant keyword watermark */
.hero-mark {
  position: absolute; left: 0; right: 0; bottom: -3vw; z-index: 1; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 21vw; line-height: .8;
  color: rgba(255,255,255,.028); letter-spacing: -.05em; pointer-events: none; white-space: nowrap; user-select: none;
}
/* moving scanlines across the whole hero */
.hero-bg::after {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px);
  animation: scan 8s linear infinite;
}
@keyframes scan { to { background-position: 0 400px; } }

/* the drifting TV field */
.tv-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mini-tv {
  position: absolute; width: var(--w,120px); aspect-ratio: 5/4; border-radius: 12px 12px 10px 10px;
  background: var(--c,#333); padding: 9%; opacity: .5;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.35), 0 12px 30px -12px rgba(0,0,0,.6);
  animation: float var(--t,14s) var(--ease) infinite; animation-delay: var(--d,0s);
  will-change: transform;
}
.mini-tv .screen {
  width: 74%; height: 100%; border-radius: 6px; background: #05070c; overflow: hidden; position: relative;
  box-shadow: inset 0 0 14px rgba(0,0,0,.9);
}
.mini-tv .screen::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 45%, transparent 60%),
              linear-gradient(200deg, var(--sig,#2ec4d6), transparent 70%);
  animation: sig 3.5s linear infinite; animation-delay: inherit;
}
.mini-tv .screen::after { /* scanline flicker */
  content:""; position:absolute; inset:0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.4) 0 2px, transparent 2px 4px); opacity:.4;
}
.mini-tv .side { position:absolute; top:12%; right:8%; width:12%; height:76%; display:flex; flex-direction:column; gap:14%; align-items:center; }
.mini-tv .knob { width:60%; aspect-ratio:1; border-radius:50%; background: rgba(0,0,0,.35); box-shadow: inset 0 1px 2px rgba(255,255,255,.15); }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); }
  50%     { transform: translateY(-26px) rotate(calc(var(--rot,0deg) * -1)); }
}
@keyframes sig { 0%{transform:translateX(-30%) translateY(-10%)} 100%{transform:translateX(30%) translateY(10%)} }

.hero-grid { position: relative; z-index: 3; }
.hero-copy { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: var(--yellow-dim); border: 1px solid rgba(255,210,30,.3); color: var(--yellow);
  font-size: 13px; font-weight: 600; font-family: var(--display); letter-spacing: .02em; margin-bottom: 22px;
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232,64,47,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,64,47,.6)} 70%{box-shadow:0 0 0 9px rgba(232,64,47,0)} 100%{box-shadow:0 0 0 0 rgba(232,64,47,0)} }
.hero h1 { font-size: clamp(38px, 6vw, 74px); margin-bottom: 20px; }
.hero h1 .accent { color: var(--yellow); display: inline-block; }
.hero p.lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; }
.hero-trust b { color: var(--text); }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* hero photo (the real stacked TVs) */
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); animation: floatBig 9s var(--ease) infinite; }
.hero-photo::before {
  content:""; position:absolute; inset:-14% -10%; z-index:-1; border-radius:50%;
  background: radial-gradient(closest-side, rgba(255,184,0,.28), transparent 70%); filter: blur(10px);
}
@keyframes floatBig { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
.hero-photo .chip {
  position: absolute; background: rgba(20,23,28,.86); backdrop-filter: blur(8px);
  border: 1px solid var(--border-2); border-radius: 14px; padding: 12px 16px;
  font-family: var(--display); box-shadow: var(--shadow); animation: floatBig 6s var(--ease) infinite;
}
.hero-photo .chip .n { color: var(--yellow); font-size: 22px; font-weight: 700; line-height: 1; }
.hero-photo .chip .l { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.hero-photo .chip.a { top: 8%; left: -6%; }
.hero-photo .chip.b { bottom: 10%; right: -5%; animation-delay: 1.2s; }

/* ---- Stats band ------------------------------------------------------- */
.stats { background: linear-gradient(90deg, var(--yellow), var(--yellow-2)); color: var(--ink); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding-block: 34px; }
.stat b { font-family: var(--display); font-size: clamp(26px,3.4vw,40px); font-weight: 700; display: block; line-height: 1; }
.stat span { font-size: 13.5px; font-weight: 600; opacity: .78; }
.stats .stat + .stat { border-left: 1px solid rgba(12,13,16,.14); padding-left: 20px; }

/* ---- Feature cards ---------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 46px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 24px; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,210,30,.35); background: var(--surface-2); }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: var(--yellow-dim); color: var(--yellow); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---- Library / big counter section ------------------------------------ */
.library { position: relative; overflow: hidden; }
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.count-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.count-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px;
  position: relative; overflow: hidden;
}
.count-box::before { content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background: var(--yellow-dim); }
.count-box .num { font-family: var(--display); font-weight: 700; font-size: clamp(34px,5vw,56px); color: var(--yellow); line-height: 1; }
.count-box .num .plus { color: var(--text); }
.count-box .cap { margin-top: 8px; color: var(--muted); font-size: 14px; }
.count-box.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }

/* ---- Pricing ---------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 46px; align-items: start; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px;
  position: relative; transition: transform .3s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-2); }
.plan.feat { border-color: var(--yellow); background: linear-gradient(180deg, rgba(255,210,30,.06), var(--surface) 40%); box-shadow: var(--shadow-yl); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 700;
  font-size: 12px; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.plan-name { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; margin: 12px 0 2px; }
.plan-price .cur { font-size: 26px; vertical-align: super; }
.plan-price .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-was { color: var(--faint); text-decoration: line-through; font-size: 22px; font-family: var(--display); font-weight: 600; margin-right: 6px; }
.plan-once { color: var(--muted); font-size: 13px; margin: 4px 0 2px; letter-spacing: .02em; }
.plan-bonus { display: inline-block; margin: 10px 0 2px; background: rgba(46,196,214,.12); color: var(--teal); border: 1px solid rgba(46,196,214,.3); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan-feats { margin: 22px 0 26px; display: grid; gap: 11px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.plan-feats li i { color: var(--yellow); font-size: 13px; margin-top: 5px; flex: none; }
.plan-feats li.off { color: var(--faint); }
.plan-feats li.off i { color: var(--faint); }

/* ---- Pricing page extras --------------------------------------------- */
.price-grid.two { grid-template-columns: repeat(2,1fr); max-width: 640px; margin: 20px auto 0; }
.included { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.inc { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; transition: border-color .3s; }
.inc:hover { border-color: rgba(255,210,30,.3); }
.inc > i { color: var(--yellow); margin-top: 3px; font-size: 15px; flex: none; }
.inc b { font-family: var(--display); font-size: 15.5px; display: block; margin-bottom: 2px; }
.inc span { color: var(--muted); font-size: 13.5px; }
.ptable-wrap { overflow-x: auto; margin-top: 44px; border: 1px solid var(--border); border-radius: var(--r-lg); }
.ptable { width: 100%; border-collapse: collapse; min-width: 620px; }
.ptable th, .ptable td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 15px; }
.ptable tr:last-child td { border-bottom: none; }
.ptable thead th { font-family: var(--display); font-weight: 600; color: var(--text); background: var(--surface); }
.ptable td:first-child, .ptable th:first-child { text-align: left; }
.ptable tbody td:first-child { color: var(--muted); font-weight: 500; }
.ptable .plan-col { color: var(--text); font-family: var(--display); font-weight: 600; }
.ptable .hot { color: var(--yellow); font-weight: 700; }
.ptable tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ---- Comparison table (us vs others) ---------------------------------- */
.cmp-wrap { overflow-x: auto; margin-top: 46px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 740px; }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.cmp thead th { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 13.5px; background: var(--surface-2); white-space: nowrap; }
.cmp thead th.brand { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: var(--ink); font-weight: 700; font-size: 15.5px; }
.cmp tbody td.brand { background: rgba(255,210,30,.06); color: var(--text); font-weight: 600; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody td:first-child { color: var(--muted); font-weight: 500; }
.cmp tbody tr:hover td { background: rgba(255,255,255,.02); }
.cmp tbody tr:hover td.brand { background: rgba(255,210,30,.1); }
.cmp .yes { color: #4ade80; font-weight: 600; }
.cmp .no { color: var(--red); }
.cmp .meh { color: var(--muted); }
/* keep the green "Yes" readable inside the highlighted brand column */
.cmp tbody td.brand.yes { color: #4ade80; font-weight: 700; }

/* ---- Device compatibility grid ---------------------------------------- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: rgba(255,210,30,.08); border: 1px solid rgba(255,210,30,.35); color: var(--yellow);
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.devices-sec { position: relative; overflow: hidden; }
.devices-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%);
}
.devices-sec .wrap { position: relative; z-index: 1; }
.dv-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 44px; }
.dv-card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 60%), var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 16px; text-align: center;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.dv-card:hover { transform: translateY(-6px); border-color: rgba(255,210,30,.45); background: linear-gradient(180deg, rgba(255,210,30,.07), transparent 60%), var(--surface-2); }
.dv-card i { font-size: 30px; color: var(--yellow); display: block; margin-bottom: 14px; }
.dv-card b { font-family: var(--display); font-weight: 600; font-size: 15px; display: block; margin-bottom: 5px; }
.dv-card span { color: var(--muted); font-size: 12.5px; }

/* ---- Free trial banner ------------------------------------------------ */
.trial-banner {
  margin-top: 34px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background:
    radial-gradient(60% 140% at 12% 50%, rgba(255,210,30,.13), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid rgba(255,210,30,.35);
  border-radius: var(--r-xl);
  padding: clamp(22px,3vw,30px) clamp(24px,3.5vw,36px);
  box-shadow: 0 0 70px -34px rgba(255,184,0,.75);
}
.trial-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 4px);
}
.trial-txt { position: relative; z-index: 1; }
.trial-txt b {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 700; font-size: clamp(17px,2vw,21px); color: var(--text);
}
.trial-txt b i { color: var(--yellow); font-size: .95em; }
.trial-txt span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 7px; }
.trial-banner .btn { position: relative; z-index: 1; flex: none; }
@media (max-width: 680px) { .trial-banner { flex-direction: column; align-items: stretch; text-align: left; } .trial-banner .btn { width: 100%; } }

/* ---- FAQ -------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(255,210,30,.4); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 20px 22px; font-family: var(--display); font-weight: 600; font-size: 16.5px; color: var(--text); }
.faq-q .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow-dim); color: var(--yellow); display: grid; place-items: center; transition: transform .3s; font-size: 14px; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }

/* ---- Channels page ---------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.filter-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 14px; transition: all .2s var(--ease); }
.filter-btn:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); }
.filter-btn.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.filter-btn .ct { opacity: .6; font-size: 12px; margin-left: 4px; }

.ch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 32px; }
.ch-card { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 13px 15px; transition: transform .25s var(--ease), border-color .25s; }
.ch-card:hover { transform: translateY(-4px); border-color: rgba(255,210,30,.35); }
.ch-logo { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.ch-info { min-width: 0; }
.ch-info b { font-family: var(--display); font-weight: 600; font-size: 14.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-info span { font-size: 12px; color: var(--muted); }
.ch-hide { display: none !important; }
.ch-empty { text-align: center; color: var(--muted); margin-top: 30px; display: none; }

.country-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 32px; }
.country { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; transition: transform .25s var(--ease), border-color .25s; }
.country:hover { transform: translateY(-3px); border-color: rgba(255,210,30,.3); }
.country .flag { font-size: 26px; line-height: 1; }
.country b { font-family: var(--display); font-weight: 600; font-size: 15px; display: block; }
.country span { font-size: 12.5px; color: var(--muted); }

/* ---- Installation page ----------------------------------------------- */
.inst-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; text-align: left; }
.inst-hero .crumbs, .inst-hero h1, .inst-hero .lead { text-align: left; margin-left: 0; }
.ring { position: relative; width: min(340px, 78vw); aspect-ratio: 1; margin-inline: auto; }
.ring-orbit { position: absolute; inset: 0; border: 1px dashed var(--border-2); border-radius: 50%; animation: spin 40s linear infinite; }
.ring-orbit.two { inset: 15%; border-style: solid; border-color: var(--border); animation-direction: reverse; animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-play { position: absolute; inset: 33%; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); display: grid; place-items: center; color: var(--ink); font-size: 32px; box-shadow: var(--shadow-yl); animation: floatBig 4s var(--ease) infinite; }
.ring-dev { position: absolute; width: 48px; height: 48px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--yellow); font-size: 20px; box-shadow: var(--shadow); }
.ring-dev.t { top: -8px; left: 50%; transform: translateX(-50%); }
.ring-dev.r { top: 50%; right: -8px; transform: translateY(-50%); }
.ring-dev.b { bottom: -8px; left: 50%; transform: translateX(-50%); }
.ring-dev.l { top: 50%; left: -8px; transform: translateY(-50%); }

.flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 44px; }
.flow-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 18px; text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.flow-card:hover { transform: translateY(-6px); border-color: rgba(255,210,30,.35); }
.flow-num { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--yellow); letter-spacing: .12em; }
.flow-card .ic { width: 52px; height: 52px; border-radius: 14px; margin: 12px auto 14px; display: grid; place-items: center; font-size: 22px; background: var(--yellow-dim); color: var(--yellow); }
.flow-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.flow-card p { color: var(--muted); font-size: 12.5px; }

.dev-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 38px; }
.dev-tab { padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 14.5px; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.dev-tab:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); }
.dev-tab.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.dev-panel { display: none; margin-top: 30px; }
.dev-panel.active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.guide { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px,4vw,38px); }
.guide-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.guide-head .gi { width: 48px; height: 48px; border-radius: 13px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 22px; flex: none; }
.guide-head h3 { font-size: 21px; }
.guide-intro { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.gstep { margin-bottom: 24px; }
.gstep-title { font-family: var(--display); font-weight: 600; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.gstep-title .n { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow-dim); color: var(--yellow); display: grid; place-items: center; font-size: 13px; flex: none; }
.gsteps-list { counter-reset: g; display: grid; gap: 9px; }
.gsteps-list li { position: relative; padding-left: 32px; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.gsteps-list li::before { counter-increment: g; content: counter(g); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted); font-size: 11px; font-family: var(--display); font-weight: 600; display: grid; place-items: center; }
.gsteps-list li b, .guide .kw { color: var(--yellow); font-weight: 600; }
.opt { border-left: 3px solid var(--yellow); background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; padding: 16px 18px; margin-top: 16px; }
.opt-name { font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.opt-name .pill { background: var(--yellow); color: var(--ink); font-size: 11px; padding: 2px 9px; border-radius: 999px; letter-spacing: .04em; }
.gcallout { display: flex; gap: 11px; align-items: flex-start; background: rgba(46,196,214,.08); border: 1px solid rgba(46,196,214,.25); border-radius: var(--r); padding: 14px 16px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.gcallout i { color: var(--teal); margin-top: 2px; flex: none; }

.tool { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); margin-top: 44px; }
.tool-field { margin-bottom: 16px; }
.tool label { display: block; font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.tool input { width: 100%; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r); padding: 13px 15px; color: var(--text); font-family: var(--body); font-size: 14px; transition: border-color .2s; }
.tool input:focus { outline: none; border-color: var(--yellow); }
.tool input[readonly] { color: var(--yellow); font-family: var(--display); font-weight: 600; cursor: default; }
.tool-out { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 4px; }
.tool-note { color: var(--faint); font-size: 12.5px; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.tool-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }

/* ---- FAQ page --------------------------------------------------------- */
.faq-search { max-width: 540px; margin: 34px auto 0; position: relative; }
.faq-search input { width: 100%; background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px; padding: 15px 20px 15px 50px; color: var(--text); font-family: var(--body); font-size: 15px; transition: border-color .2s; }
.faq-search input:focus { outline: none; border-color: var(--yellow); }
.faq-search .si { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.faq-group { margin-top: 46px; }
.faq-group:first-of-type { margin-top: 40px; }
.faq-cat { font-family: var(--display); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.faq-cat i { font-size: 14px; width: 30px; height: 30px; border-radius: 9px; background: var(--yellow-dim); display: grid; place-items: center; }
.faq-noresult { text-align: center; color: var(--muted); margin-top: 44px; display: none; }

/* ---- Blog page -------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255,210,30,.3); }
.blog-thumb { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); overflow: hidden; }
.blog-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, var(--yellow-dim), transparent 60%); }
.blog-thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 2px, transparent 2px 5px); }
.blog-thumb .ph { position: relative; font-size: 40px; color: var(--yellow); opacity: .55; }
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.blog-soon { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(12,13,16,.72); border: 1px solid var(--border-2); color: var(--muted); font-size: 11px; font-family: var(--display); font-weight: 600; padding: 5px 12px; border-radius: 999px; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 6px; }
.blog-soon .d { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-tag { align-self: flex-start; background: var(--yellow-dim); color: var(--yellow); font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.blog-body h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.28; color: var(--muted); }
.blog-body p { color: var(--faint); font-size: 14px; margin-bottom: 18px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 14px; }
.blog-meta .rm { margin-left: auto; color: var(--faint); font-family: var(--display); font-weight: 600; }
.blog-empty-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: 15px; }

/* ---- Article (blog post) --------------------------------------------- */
.article { max-width: 820px; margin-inline: auto; }
.article-tag { display: inline-block; background: var(--yellow-dim); color: var(--yellow); font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.article h1.art-title { font-size: clamp(30px,4.4vw,46px); line-height: 1.08; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.article-meta .av { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.article-meta .mdot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.article-meta b { color: var(--text); font-weight: 600; }

.artfig { margin: 30px 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.artfig-frame { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); }
.artfig-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 28% 22%, var(--yellow-dim), transparent 55%); }
.artfig-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.artfig-ph { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--faint); font-family: var(--display); font-size: 13px; text-align: center; padding: 20px; }
.artfig-ph i { font-size: 30px; color: var(--yellow); opacity: .5; }
.artfig figcaption { padding: 11px 16px; color: var(--faint); font-size: 13px; text-align: center; background: var(--surface); position: relative; z-index: 3; }

.takeaways { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--yellow); border-radius: var(--r); padding: 22px 24px; margin: 28px 0; }
.takeaways h4 { font-family: var(--display); font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.takeaways h4 i { color: var(--yellow); }
.takeaways ul { list-style: none; display: grid; gap: 9px; padding: 0; }
.takeaways li { padding-left: 27px; position: relative; color: var(--muted); font-size: 14.5px; }
.takeaways li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 3px; color: var(--yellow); font-size: 12px; }

.artcta { background: linear-gradient(120deg, var(--yellow), var(--yellow-2)); color: var(--ink); border-radius: var(--r-lg); padding: 28px 30px; margin: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.artcta div b { font-family: var(--display); font-size: 20px; display: block; }
.artcta div span { font-size: 14.5px; color: rgba(12,13,16,.72); }
.artcta .btn-primary { background: var(--ink); color: var(--yellow); }
.artcta .btn-primary:hover { background: #000; }

.rel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 22px; }
.rel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; transition: border-color .25s, transform .25s var(--ease); }
.rel-card:hover { border-color: rgba(255,210,30,.35); transform: translateY(-3px); }
.rel-card .rt { font-family: var(--display); font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.rel-card p { color: var(--muted); font-size: 13.5px; }
@media (max-width: 680px) { .rel-grid { grid-template-columns: 1fr; } .artcta { flex-direction: column; align-items: flex-start; } }

/* ---- CTA banner ------------------------------------------------------- */
.cta-band { position: relative; }
.cta-inner {
  background: linear-gradient(120deg, var(--yellow), var(--yellow-2)); color: var(--ink);
  border-radius: var(--r-xl); padding: clamp(40px,6vw,68px); text-align: center; position: relative; overflow: hidden;
}
.cta-inner h2 { font-size: clamp(28px,4vw,46px); margin-bottom: 14px; }
.cta-inner p { max-width: 52ch; margin: 0 auto 28px; font-size: 17px; font-weight: 500; color: rgba(12,13,16,.75); }
.cta-inner .btn-primary { background: var(--ink); color: var(--yellow); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.cta-inner .btn-primary:hover { background: #000; }
.cta-inner::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 2px, transparent 2px 6px); opacity:.5; }

/* ---- Footer ----------------------------------------------------------- */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: clamp(50px,7vw,80px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 46px; }
.foot-about p { color: var(--muted); font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); transition: all .25s; }
.foot-social a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); }
.foot-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--yellow); }
.foot-bar { border-top: 1px solid var(--border); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; }
.foot-bar .disc { max-width: 70ch; }

/* floating whatsapp widget */
.wa-float { display: none; } /* legacy anchor — replaced by JS widget */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 31px; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .45; animation: waPulse 2.2s ease-out infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.8); opacity: 0; } }
.wa-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-family: var(--display); font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.wa-pop { width: 300px; max-width: calc(100vw - 40px); background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transform: translateY(12px) scale(.96); transform-origin: bottom right; opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.wa-widget.open .wa-pop { opacity: 1; visibility: visible; transform: none; }
.wa-pop-head { display: flex; align-items: center; gap: 11px; padding: 14px 40px 14px 16px; background: #075e54; color: #fff; position: relative; }
.wa-ava { width: 38px; height: 38px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-size: 20px; flex: none; }
.wa-pop-head b { font-family: var(--display); font-size: 14.5px; display: block; }
.wa-pop-head small { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 1.8s infinite; }
.wa-x { position: absolute; top: 10px; right: 12px; color: #fff; opacity: .8; font-size: 22px; line-height: 1; }
.wa-x:hover { opacity: 1; }
.wa-pop-body { padding: 18px 16px 4px; background: var(--bg-2); }
.wa-msg { background: var(--surface-2); border: 1px solid var(--border); padding: 12px 14px; border-radius: 4px 14px 14px 14px; font-size: 14px; color: var(--text); line-height: 1.55; }
.wa-msg + .wa-msg { margin-top: 8px; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px 16px 16px; padding: 13px; border-radius: 12px; background: #25d366; color: #05220f; font-family: var(--display); font-weight: 600; font-size: 15px; transition: background .2s; }
.wa-start:hover { background: #1fb855; }
@media (max-width: 680px) { .wa-fab { width: 54px; height: 54px; font-size: 27px; } }

/* ---- Page hero (inner pages) ----------------------------------------- */
.page-hero { padding: clamp(130px,16vh,170px) 0 clamp(40px,6vw,64px); text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-bg { z-index:0; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px,5.5vw,60px); margin-bottom: 14px; }
.crumbs { color: var(--faint); font-size: 14px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--yellow); }

/* ---- Reveal on scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Prose (legal + article) ----------------------------------------- */
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--yellow); }
.prose strong { color: var(--text); }
.prose .updated { color: var(--faint); font-size: 14px; margin-bottom: 30px; }

/* ---- Intro / what is ipplaytv ---------------------------------------- */
.intro { max-width: 860px; margin-inline: auto; text-align: center; }
.intro .lead { margin: 16px auto 0; }
.intro .lead + .lead { margin-top: 16px; }

/* ---- Compare (old cable vs ipplaytv) --------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 46px; }
.comp-card { border-radius: var(--r-lg); padding: 30px 28px; border: 1px solid var(--border); }
.comp-card.old { background: var(--surface); }
.comp-card.new { background: linear-gradient(180deg, rgba(255,210,30,.07), var(--surface) 45%); border-color: rgba(255,210,30,.4); box-shadow: var(--shadow-yl); }
.comp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.comp-head .badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none; }
.comp-card.old .comp-head .badge { background: rgba(255,255,255,.06); color: var(--faint); }
.comp-card.new .comp-head .badge { background: var(--yellow); color: var(--ink); }
.comp-head h3 { font-size: 20px; }
.comp-head span { font-size: 13px; color: var(--muted); }
.comp-list { display: grid; gap: 13px; }
.comp-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; }
.comp-list li i { margin-top: 4px; flex: none; font-size: 13px; }
.comp-card.old .comp-list li { color: var(--muted); }
.comp-card.old .comp-list li i { color: var(--red); }
.comp-card.new .comp-list li { color: var(--text); }
.comp-card.new .comp-list li i { color: var(--yellow); }

/* ---- How it works (steps) -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 46px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 26px 28px; transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255,210,30,.35); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-weight: 700; font-size: 42px; color: var(--yellow-dim);
  position: absolute; top: 18px; right: 22px; line-height: 1;
}
.step .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--yellow); color: var(--ink); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step-line { display: none; }

/* ---- Watch categories ------------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 46px; }
.cat {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 30px 24px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--border);
  background: var(--surface); transition: transform .3s var(--ease); isolation: isolate;
}
.cat:hover { transform: translateY(-5px); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: radial-gradient(120% 100% at 100% 0%, var(--g1,rgba(255,210,30,.16)), transparent 60%); }
.cat .ic { font-size: 26px; color: var(--yellow); margin-bottom: 12px; }
.cat h3 { font-size: 20px; margin-bottom: 4px; }
.cat p { color: var(--muted); font-size: 14px; }
.cat .tag { position: absolute; top: 18px; right: 18px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--border-2); padding: 4px 10px; border-radius: 999px; }

/* ---- Testimonials ----------------------------------------------------- */
.tst-wrap { position: relative; margin-top: 46px; }
.tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.tst-track::-webkit-scrollbar { display: none; }
@media (min-width: 981px) { .tst-track { grid-auto-flow: row; grid-template-columns: repeat(3,1fr); grid-auto-columns: auto; overflow: visible; } }
.tst {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px;
  scroll-snap-align: start; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s;
}
.tst:hover { transform: translateY(-5px); border-color: rgba(255,210,30,.3); }
.tst .stars { color: var(--yellow); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.tst p { color: var(--text); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.tst p .dim { color: var(--muted); }
.tst-user { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst-ava { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.tst-user .nm { font-family: var(--display); font-weight: 600; font-size: 15px; }
.tst-user .mt { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12.5px; }
.tst-user .mt .vf { color: #2ec4d6; }
.tst-note { text-align: center; margin-top: 22px; color: var(--faint); font-size: 13.5px; }
.tst-note b { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 480px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.feat { transform: none; }
  .lib-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .cats { grid-template-columns: 1fr 1fr; }
  .hero-mark { font-size: 30vw; }
  .compare { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .included { grid-template-columns: 1fr 1fr; }
  .price-grid.two { grid-template-columns: 1fr; max-width: 440px; }
  .dv-grid { grid-template-columns: repeat(3,1fr); }
  .ch-grid { grid-template-columns: repeat(2,1fr); }
  .country-grid { grid-template-columns: repeat(2,1fr); }
  .inst-hero { grid-template-columns: 1fr; }
  .inst-hero .ring { order: -1; }
  .flow { grid-template-columns: repeat(3,1fr); }
  .tool-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: grid; place-items: center; }
  .stats .wrap { grid-template-columns: repeat(2,1fr); gap: 24px 16px; }
  .stats .stat + .stat { border-left: none; padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-trust { gap: 10px; }
  .cats { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .dv-grid { grid-template-columns: repeat(2,1fr); }
  .ch-grid { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .tool-out { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}
