/* ==========================================================================
   WizTV IPTV UK — "Midnight Broadcast" design system
   OLED black · electric cyan signal accents · broadcast chrome
   Type: Bricolage Grotesque (display) · Instrument Sans (body) · Spline Sans Mono (data)
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  --bg: #04080e;
  --bg-raised: #060c14;
  --panel: #0a121d;
  --panel-2: #0d1724;
  --line: rgba(151, 199, 224, 0.10);
  --line-strong: rgba(151, 199, 224, 0.20);

  --text-primary: #e9f3f9;
  --text-secondary: #97abbc;
  --text-faint: #5d7385;

  --cyan: #1fd3f7;
  --cyan-deep: #0e8df2;
  --cyan-ink: #03141d;
  --cyan-glow: rgba(31, 211, 247, 0.40);
  --amber: #ffb454;
  --green: #36d399;
  --red: #ff5d5d;
  --wa: #25d366;

  --grad-brand: linear-gradient(118deg, #36e5ff 0%, #1cc4f4 48%, #0e8df2 100%);
  --grad-text: linear-gradient(100deg, #4deaff 0%, #1fd3f7 45%, #4f9ef9 100%);

  --font-display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --nav-h: 70px;
  --section-pad: clamp(52px, 7vw, 84px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px rgba(31, 211, 247, 0.22), 0 18px 60px -18px rgba(31, 211, 247, 0.28);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(31, 211, 247, 0.28); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #16222f; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #1f3245; }

/* ---- Atmosphere: fixed glow field + film grain ---- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 640px at 82% -8%, rgba(14, 141, 242, 0.13), transparent 62%),
    radial-gradient(900px 560px at -12% 22%, rgba(31, 211, 247, 0.09), transparent 60%),
    radial-gradient(1000px 700px at 50% 118%, rgba(14, 141, 242, 0.08), transparent 65%),
    var(--bg);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(880px 540px at 50% 0%, rgba(0,0,0,0.55), transparent 75%);
  -webkit-mask-image: radial-gradient(880px 540px at 50% 0%, rgba(0,0,0,0.55), transparent 75%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout primitives ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; position: relative; }
.text-center { text-align: center; }

/* ---- Typography ---- */
h1, h2, h3, .pricing-price {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.08;
  font-weight: 700;
}

.text-cyan, .highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Channel ident — section eyebrow */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  max-width: 21ch;
}

.text-center .section-title { margin-inline: auto; }

.section-subtitle {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 640px;
}

.section-subtitle.centered { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    border-color 0.3s, background-color 0.3s, color 0.3s, filter 0.3s;
}

.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  text-shadow: 0 1px 2px rgba(3, 20, 29, 0.25);
  box-shadow: 0 10px 32px -10px var(--cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 44px -10px var(--cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(151, 199, 224, 0.04);
  color: var(--text-primary);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 211, 247, 0.55);
  background: rgba(31, 211, 247, 0.08);
  box-shadow: 0 12px 36px -16px var(--cyan-glow);
}

.btn-lg { padding: 16px 32px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 9px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(4, 8, 14, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 6px 18px -6px var(--cyan-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s, background-color 0.25s;
}

.nav-links a:hover { color: var(--text-primary); background: rgba(151, 199, 224, 0.06); }

.nav-links a.active { color: var(--cyan); }

.nav-links .nav-cta {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 11px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px -10px var(--cyan-glow);
}

.nav-links .nav-cta:hover { filter: brightness(1.08); background: var(--grad-brand); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-bg .hero-beam {
  position: absolute;
  top: -30%;
  width: 1px;
  height: 160%;
  background: linear-gradient(180deg, transparent, rgba(31, 211, 247, 0.20) 35%, rgba(31, 211, 247, 0.05) 70%, transparent);
  animation: beamDrift 9s ease-in-out infinite alternate;
}

.hero-bg .hero-beam:nth-child(1) { left: 16%; animation-delay: 0s; }
.hero-bg .hero-beam:nth-child(2) { left: 47%; animation-delay: -3s; opacity: 0.7; }
.hero-bg .hero-beam:nth-child(3) { left: 81%; animation-delay: -6s; opacity: 0.5; }

@keyframes beamDrift {
  from { transform: translateX(-30px) skewX(-4deg); }
  to { transform: translateX(30px) skewX(4deg); }
}

/* Hero: copy on the left, the player screenshot bleeding off the right edge.
   The row has a left gutter that lines up with .container, but NO right bound —
   so .hero-visual runs past the viewport and gets clipped by .hero's overflow. */
.hero .container {
  position: relative;
}

.hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-left: max(24px, calc((100% - var(--container)) / 2 + 24px));
}

.hero-content {
  flex: 0 1 560px;
  max-width: 560px;
  min-width: 0;
  margin-inline: 0;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content .hero-desc {
  margin-inline: 0;
}

.hero-actions,
.hero-trust {
  justify-content: flex-start;
}

.hero-visual {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  background: var(--panel);
}

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

/* Below 1024px: stack it — copy on top, player full-width underneath (rounded both sides) */
@media (max-width: 1024px) {
  .hero-row {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(28px, 5vw, 44px);
    padding-left: 0;
    padding-inline: 24px;
  }

  /* stacked: copy stays left-aligned (matches the site's mobile rules), player sits underneath */
  .hero-content {
    flex: none;
    max-width: 720px;
    margin-inline: 0;
    text-align: left;
  }

  .hero-content h1,
  .hero-content .hero-desc {
    margin-inline: 0;
  }

  .hero-actions,
  .hero-trust {
    justify-content: flex-start;
  }

  .hero-visual {
    flex: none;
    border-right: 1px solid var(--line-strong);
    border-radius: 14px;
  }
}

/* Pulsing on-air chip */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--line-strong);
  background: rgba(10, 18, 29, 0.6);
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}

/* .hero-kicker .dot + livePulse removed — the box-shadow pulse was a
   non-composited animation flagged by Lighthouse (jank + CLS risk). */

.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  max-width: 16ch;
}

.hero-desc {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 54ch;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-trust-item svg { width: 16px; height: 16px; color: var(--green); }

/* The screen — app shot in a broadcast frame */
.hero-image { position: relative; }

.hero-image-glow {
  position: absolute;
  inset: 8% -6% -4% -6%;
  background: radial-gradient(60% 62% at 50% 55%, rgba(31, 211, 247, 0.20), transparent 70%);
  filter: blur(14px);
  z-index: 0;
}

.hero-screen {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #0d1724, #080f19);
  padding: 10px;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-screen img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ==========================================================================
   Stats ticker
   ========================================================================== */
.stats-bar { padding: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 18, 29, 0.5), rgba(10, 18, 29, 0.15));
}

.stat-item {
  padding: 26px 18px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   Channel logo marquee — "now showing" rail
   ========================================================================== */
.logo-strip {
  margin: 40px auto 4px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-strip-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding: 10px 28px;
  animation: marquee 34s linear infinite;
}

.logo-strip:hover .logo-strip-track { animation-play-state: paused; }

.logo-strip-track img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 16px;
  opacity: 0.85;
  filter: saturate(0.92);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), filter 0.3s;
}

.logo-strip-track img:hover { opacity: 1; transform: scale(1.08); filter: saturate(1.1); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.feature-card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel) 0%, rgba(10, 18, 29, 0.4) 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

/* corner signal notch */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background:
    linear-gradient(225deg, rgba(31, 211, 247, 0.18), transparent 62%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 211, 247, 0.38);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(31, 211, 247, 0.08);
  border: 1px solid rgba(31, 211, 247, 0.22);
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover .feature-icon { transform: scale(1.06) rotate(-3deg); }

.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.feature-card p { color: var(--text-secondary); font-size: 0.93rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 32px;
}

.pricing-toggle span {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s;
}

.pricing-toggle span.active { color: var(--cyan); }

.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 4px 12px -3px var(--cyan-glow);
  transition: transform 0.35s var(--ease-out);
}

.toggle-switch.active::after { transform: translateX(26px); }
.toggle-switch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(175deg, var(--panel) 0%, rgba(8, 14, 22, 0.55) 100%);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 211, 247, 0.3);
  box-shadow: var(--shadow-card);
}

/* Featured plan: rotating conic border */
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.pricing-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(175deg, #0c1622, #091220) padding-box,
    conic-gradient(from var(--spin), rgba(31, 211, 247, 0.05), var(--cyan) 18%, rgba(14, 141, 242, 0.7) 32%, rgba(31, 211, 247, 0.05) 52%, rgba(31, 211, 247, 0.05) 100%) border-box;
  animation: spinBorder 5.5s linear infinite;
  box-shadow: 0 26px 70px -28px rgba(31, 211, 247, 0.3);
}

@keyframes spinBorder { to { --spin: 360deg; } }

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--cyan-glow);
  white-space: nowrap;
}

.pricing-duration {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-price .currency { font-size: 1.35rem; color: var(--cyan); font-weight: 700; }

.pricing-per {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.pricing-features {
  margin: 20px 0 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 11px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.pricing-features svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--green);
}

.pricing-card .btn { width: 100%; }

/* ==========================================================================
   Devices
   ========================================================================== */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.device-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel) 0%, rgba(10, 18, 29, 0.35) 100%);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.device-card .setup-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.7;
  transition: opacity 0.3s, gap 0.3s;
}

.device-card .setup-cta svg { width: 13px; height: 13px; }
.device-card:hover .setup-cta { opacity: 1; gap: 9px; }

.device-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 211, 247, 0.35);
  box-shadow: var(--shadow-glow);
}

.device-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(31, 211, 247, 0.07);
  border: 1px solid rgba(31, 211, 247, 0.2);
}

.device-icon svg { width: 26px; height: 26px; }

.device-card h3 { font-size: 1.02rem; margin-bottom: 5px; }

.device-card p { font-size: 0.84rem; color: var(--text-faint); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  position: relative;
  counter-reset: step;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}

.step-card {
  position: relative;
  text-align: center;
  padding: 0 18px;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cyan);
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid rgba(31, 211, 247, 0.35);
  box-shadow: 0 0 0 7px var(--bg), 0 12px 32px -10px var(--cyan-glow);
}

.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.step-card p { color: var(--text-secondary); font-size: 0.95rem; max-width: 34ch; margin-inline: auto; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-summary { margin-top: 26px; }

.reviews-stars-large {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--amber);
}

.reviews-stars-large svg { filter: drop-shadow(0 3px 10px rgba(255, 180, 84, 0.35)); }

.reviews-rating-text {
  margin-left: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(172deg, var(--panel) 0%, rgba(10, 18, 29, 0.4) 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(31, 211, 247, 0.07);
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 180, 84, 0.3);
  box-shadow: var(--shadow-card);
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--amber);
  margin-bottom: 13px;
}

.review-text { color: var(--text-secondary); font-size: 0.94rem; }

.review-author {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.review-author::before { content: "— "; color: var(--cyan); }

.review-date {
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ==========================================================================
   About IPTV prose + legal pages
   ========================================================================== */
.prose, .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.prose p, .content-wrapper p { color: var(--text-secondary); margin-bottom: 20px; }

.prose h3 {
  font-size: 1.18rem;
  margin: 36px 0 12px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
}

.content-wrapper h2 {
  font-size: 1.35rem;
  margin: 40px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
}

.content-wrapper h3 { font-size: 1.08rem; margin: 26px 0 10px; color: var(--text-primary); }

.content-wrapper ul, .content-wrapper ol {
  margin: 0 0 20px;
  padding-left: 6px;
  display: grid;
  gap: 9px;
}

.content-wrapper ul li, .content-wrapper ol li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.content-wrapper ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(31, 211, 247, 0.55);
}

.content-wrapper ol { counter-reset: oli; }

.content-wrapper ol li::before {
  counter-increment: oli;
  content: counter(oli);
  position: absolute;
  left: 0;
  top: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
}

.content-wrapper a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31, 211, 247, 0.4); transition: text-decoration-color 0.25s; }
.content-wrapper a:hover { text-decoration-color: var(--cyan); }

.content-wrapper strong { color: var(--text-primary); }

.content-wrapper > p:first-child {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(172deg, var(--panel) 0%, rgba(10, 18, 29, 0.35) 100%);
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}

.faq-item.open { border-color: rgba(31, 211, 247, 0.35); box-shadow: 0 14px 44px -22px var(--cyan-glow); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 17px 22px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color 0.25s;
}

.faq-question:hover { color: var(--cyan); }

.faq-icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 0.4s var(--ease-out), color 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--cyan); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: padding 0.45s var(--ease-out);
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 20px; }

/* Rich answers (multiple paragraphs, lists, buttons) — must be ONE child so the
   0fr/1fr collapse still works. */
.faq-answer > .faq-body {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: padding 0.45s var(--ease-out);
}

.faq-item.open .faq-answer > .faq-body { padding-bottom: 20px; }
.faq-body > p { margin-bottom: 10px; }
.faq-body > p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--text-primary); font-weight: 600; }
.faq-body ul { margin: 12px 0; padding-left: 20px; display: grid; gap: 7px; }
.faq-body li { color: var(--text-secondary); }
.faq-body a { color: var(--cyan); }
.faq-body .btn { color: #03141d; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section { padding-top: 0; }

.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(40px, 5vw, 60px) 32px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0b1521, #081019);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background: radial-gradient(46% 60% at 50% 0%, rgba(31, 211, 247, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.cta-box h2 {
  position: relative;
  font-size: clamp(1.55rem, 3.1vw, 2.25rem);
  font-weight: 800;
  max-width: 22ch;
  margin: 0 auto 12px;
}

.cta-box p { position: relative; color: var(--text-secondary); font-size: 1.02rem; max-width: 52ch; margin: 0 auto; }

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* ==========================================================================
   Page header (subpages)
   ========================================================================== */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + clamp(36px, 5vw, 60px)) 0 clamp(28px, 4vw, 44px);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 280px at 50% -10%, rgba(31, 211, 247, 0.10), transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.breadcrumb a { color: var(--text-secondary); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--text-faint); }

/* ==========================================================================
   Installation guide cards
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel) 0%, rgba(10, 18, 29, 0.35) 100%);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 211, 247, 0.35);
  box-shadow: var(--shadow-glow);
}

.guide-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(31, 211, 247, 0.07);
  border: 1px solid rgba(31, 211, 247, 0.22);
}

.guide-card h3 { font-size: 1.08rem; margin-bottom: 7px; }

.guide-card p { color: var(--text-secondary); font-size: 0.92rem; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.checkout-step { margin-bottom: 38px; }

.checkout-step h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.checkout-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkout-plan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.checkout-plan:hover { border-color: var(--line-strong); }

.checkout-plan.selected {
  border-color: rgba(31, 211, 247, 0.55);
  background: rgba(31, 211, 247, 0.05);
  box-shadow: 0 0 0 1px rgba(31, 211, 247, 0.3), 0 14px 36px -18px var(--cyan-glow);
}

.checkout-plan input { position: absolute; opacity: 0; pointer-events: none; }

.checkout-plan .plan-info { display: grid; gap: 2px; }
.checkout-plan .plan-info strong { font-size: 1rem; }
.checkout-plan .plan-info span { font-size: 0.82rem; color: var(--text-faint); }

.checkout-plan .plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.checkout-fields { display: grid; gap: 18px; max-width: 520px; }

.field-group { display: grid; gap: 8px; }

.field-group label { font-weight: 600; font-size: 0.93rem; }

.field-hint { font-weight: 400; color: var(--text-faint); font-size: 0.82rem; }

.field-group input {
  font: inherit;
  color: var(--text-primary);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field-group input::placeholder { color: var(--text-faint); }

.field-group input:focus {
  border-color: rgba(31, 211, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(31, 211, 247, 0.12);
}

.checkout-error {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 93, 93, 0.4);
  border-radius: 12px;
  background: rgba(255, 93, 93, 0.07);
  color: #ffb3b3;
  font-size: 0.93rem;
}

.checkout-submit { width: 100%; max-width: 520px; }
.checkout-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.checkout-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  padding: 28px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(175deg, var(--panel-2), var(--panel));
}

.checkout-sidebar h3 { font-size: 1.1rem; margin-bottom: 18px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0;
  font-size: 0.94rem;
}

.summary-row span { color: var(--text-faint); }

.summary-divider { height: 1px; background: var(--line); margin: 12px 0; }

.summary-total strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
}

.summary-includes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 9px;
}

.summary-includes li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summary-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Thank you */
.checkout-thankyou { max-width: 660px; margin: 0 auto; }

.thankyou-box {
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(54, 211, 153, 0.09);
  border: 1px solid rgba(54, 211, 153, 0.35);
  box-shadow: 0 14px 44px -14px rgba(54, 211, 153, 0.4);
}

.thankyou-icon svg { width: 34px; height: 34px; }

.thankyou-box h2 { font-size: 1.7rem; margin-bottom: 22px; }

.thankyou-order-id p { color: var(--text-faint); font-size: 0.9rem; }

.order-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 26px;
}

.order-id-row strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  padding: 8px 18px;
  border: 1px dashed rgba(31, 211, 247, 0.45);
  border-radius: 10px;
  background: rgba(31, 211, 247, 0.05);
}

.thankyou-instructions p { color: var(--text-secondary); margin-bottom: 16px; }

.thankyou-wa { margin: 6px auto 14px; }

.thankyou-hint { font-size: 0.88rem; color: var(--text-faint); }
.thankyou-hint strong { color: var(--cyan); }

.thankyou-summary {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  text-align: left;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(31, 211, 247, 0.05), transparent 70%),
    var(--bg-raised);
  padding: 48px 0 28px;
}

.footer-inner { display: grid; gap: 0; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 34px;
}

.footer-brand-desc {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  max-width: 42ch;
}

.footer-col-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.footer-main-nav { display: grid; gap: 11px; justify-items: start; }

.footer-main-nav a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}

.footer-main-nav a:hover { color: var(--cyan); transform: translateX(3px); }

.footer-contact-row { display: grid; gap: 13px; justify-items: start; }

.footer-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.25s;
}

.footer-contact-row a:hover { color: var(--cyan); }

.footer-contact-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  color: var(--cyan);
  flex-shrink: 0;
}

.footer-divider { height: 1px; background: var(--line); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.85rem;
}

.footer-nav a { color: var(--text-faint); transition: color 0.25s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-nav .sep { color: var(--line-strong); }

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: 860px;
  padding: 18px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(8, 14, 22, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.cookie-inner p { flex: 1 1 380px; font-size: 0.88rem; color: var(--text-secondary); }

.cookie-inner a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions { display: flex; gap: 10px; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #2ce479, #1bb558);
  box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.6);
  animation: waPing 2.4s ease-out infinite;
}

@keyframes waPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.65); opacity: 0; }
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 44px -10px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }

/* Hero load-in (no-JS safe: only animates, never hides) */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: riseIn 0.85s var(--ease-out) backwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.14s; }
.hero-content > *:nth-child(3) { animation-delay: 0.23s; }
.hero-content > *:nth-child(4) { animation-delay: 0.32s; }
.hero-content > *:nth-child(5) { animation-delay: 0.41s; }
.hero-content > *:nth-child(6) { animation-delay: 0.5s; }

/* The player slides in from the right — same 0.85s / same easing as the copy,
   picking up the stagger where the headline leaves off.
   transform + opacity only, so it stays on the compositor (no jank, no CLS). */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(70px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-visual {
  animation: slideInRight 0.85s var(--ease-out) 0.28s backwards;
  will-change: transform;
}

/* Stacked below 1024px: it sits under the copy, so rise it up instead of sliding sideways */
@media (max-width: 1024px) {
  .hero-visual {
    animation: riseIn 0.85s var(--ease-out) 0.5s backwards;
  }
}

.hero-image { animation: riseIn 1s var(--ease-out) 0.3s backwards; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-card.featured { order: -1; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
  .steps-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(7, 12, 20, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  }

  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; justify-content: center; display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-item:nth-child(3)::before { display: none; }

  .features-grid, .reviews-grid, .guides-grid { grid-template-columns: 1fr; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-plans { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }

  /* Left-aligned text on mobile */
  .text-center { text-align: left; }
  .text-center .section-title,
  .section-subtitle.centered { margin-inline: 0; }

  .hero-content { text-align: left; max-width: none; margin-inline: 0; }
  .hero-content h1,
  .hero-content .hero-desc { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-trust { justify-content: center; }

  .page-header { text-align: left; }
  .breadcrumb { justify-content: flex-start; }
  .page-header .section-subtitle.centered { margin-inline: 0; }

  .pricing-toggle { justify-content: flex-start; }

  .step-card { text-align: left; padding: 0; }
  .step-number { margin: 0 0 14px; box-shadow: none; }
  .step-card p { margin-inline: 0; max-width: none; }

  .cta-box { text-align: left; }
  .cta-box h2, .cta-box p { margin-inline: 0; }
  .cta-actions { justify-content: flex-start; }

  .stat-item { text-align: left; padding-left: 24px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .devices-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .device-card { padding: 18px 12px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .logo-strip-track { animation: none; }
}

/* ==========================================================================
   Pricing — 4-plan layout, trust rows, connections note
   ========================================================================== */
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pricing-refund {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.pricing-refund svg { width: 15px; height: 15px; color: var(--cyan); flex-shrink: 0; }

.pricing-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}
.pricing-secure svg { width: 14px; height: 14px; flex-shrink: 0; }

.plan-note {
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 18, 29, 0.5), rgba(10, 18, 29, 0.15));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.plan-note-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; max-width: 760px; }
.plan-note-text strong { color: var(--text-primary); font-weight: 600; }
.plan-note .btn { flex-shrink: 0; }

/* ==========================================================================
   Split media section (text + image)
   ========================================================================== */
.split-media {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split-media-img {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.split-media-img img { display: block; width: 100%; height: auto; }
.split-media-copy .section-title { margin-bottom: 18px; }

/* ==========================================================================
   Support chat mock ("Built to Keep You" section)
   Pure CSS/SVG — no image asset, nothing copyrightable.
   ========================================================================== */
.chat-mock {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b1420 0%, #070e17 100%);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 29, 0.75);
}

/* Right-hand column: chat mock + trust badges stacked */
.split-media-side { display: grid; gap: 14px; align-content: center; }

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.chat-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Trust badges under the conversation */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(170deg, var(--panel) 0%, rgba(10, 18, 29, 0.35) 100%);
  transition: border-color 0.3s;
}

.trust-badge:hover { border-color: rgba(31, 211, 247, 0.32); }

.trust-badge .tb-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 211, 247, 0.1);
  border: 1px solid rgba(31, 211, 247, 0.28);
}

.trust-badge .tb-ic svg { width: 17px; height: 17px; color: var(--cyan); }
.trust-badge strong { display: block; color: #fff; font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.trust-badge span { display: block; color: var(--text-faint); font-size: 0.72rem; line-height: 1.3; margin-top: 2px; }

@media (max-width: 520px) {
  .trust-badges { grid-template-columns: 1fr; }
}

.chat-who { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.chat-who strong { color: #fff; font-size: 0.95rem; font-weight: 700; }

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--green);
}

.chat-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(54, 211, 153, 0.16);
}

.chat-wa { width: 22px; height: 22px; color: var(--wa); flex-shrink: 0; }

.chat-body { display: grid; gap: 12px; padding: 20px 16px; }

.msg {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 14px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.msg p { margin: 0; color: #e9f3f9; }
.msg strong { color: #fff; font-weight: 700; }

.msg .t {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 5px;
  font-size: 0.7rem;
  color: var(--text-faint);
}

.msg .t svg { width: 14px; height: 14px; }

.msg.in {
  justify-self: start;
  background: #16222f;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.msg.out {
  justify-self: end;
  background: rgba(37, 211, 102, 0.13);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-bottom-right-radius: 5px;
}

.msg.out .t { color: rgba(54, 211, 153, 0.9); }

.chat-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid var(--line);
  background: rgba(10, 18, 29, 0.55);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.chat-foot svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.split-list { display: grid; gap: 18px; margin-top: 26px; }
.split-list-item { display: flex; gap: 13px; align-items: flex-start; }
.split-list-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--cyan); margin-top: 2px; }
.split-list-item h4 { font-size: 1rem; margin-bottom: 4px; }
.split-list-item p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; }

@media (max-width: 1024px) {
  .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pricing-grid.cols-4 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .split-media { grid-template-columns: 1fr; gap: 32px; }
  .split-media-side { order: -1; }
  .plan-note { flex-direction: column; align-items: flex-start; }
}
