/* =========================================================
   XTREME HD IPTV — design system
   ========================================================= */
:root {
  --brand: #7c3aed;
  --brand-strong: #6d28d9;
  --brand-dark: #5b21b6;
  --brand-ink: #172033;
  --ink: #172033;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-blue: #ddd6fe;
  --bg: #ffffff;
  --bg-soft: #faf9ff;
  --bg-soft-2: #f5f3ff;
  --wa: #22c35e;
  --wa-dark: #1aa951;
  --tg: #229ed9;
  --orange: #ff6a00;
  --orange-soft: #fff3e9;

  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 12px 30px -14px rgba(23, 16, 43, .2);
  --shadow-lg: 0 30px 60px -24px rgba(23, 16, 43, .3);
  --ring: 0 0 0 4px rgba(124, 58, 237, .2);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--brand-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: #fff; color: var(--brand-strong); padding: 12px 18px; border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid rgba(124, 58, 237, .5); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: 104px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { --btn-bg: var(--brand); box-shadow: 0 14px 26px -12px rgba(124, 58, 237, .6); }
.btn-primary:hover { --btn-bg: var(--brand-strong); box-shadow: 0 18px 34px -12px rgba(124, 58, 237, .7); }

.btn-secondary { --btn-bg: #fff; --btn-fg: var(--brand-strong); border-color: var(--line-blue); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { --btn-bg: var(--bg-soft); border-color: var(--brand); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--brand-strong); border-color: var(--line-blue); }
.btn-ghost:hover { --btn-bg: rgba(124,58,237,.06); }

.btn-wa { --btn-bg: var(--wa); --btn-fg: #fff; box-shadow: 0 14px 26px -12px rgba(34, 195, 94, .6); }
.btn-wa:hover { --btn-bg: var(--wa-dark); }
.btn-tg { --btn-bg: var(--tg); --btn-fg: #fff; box-shadow: 0 14px 26px -12px rgba(34, 158, 217, .55); }
.btn-tg:hover { --btn-bg: #1b87ba; }

.btn-white { --btn-bg: #fff; --btn-fg: var(--brand-strong); }
.btn-white:hover { --btn-bg: #f5f3ff; }
.btn-outline-white { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-white:hover { --btn-bg: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ---------- section furniture ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 14px;
}
.section-head p { font-size: 1.08rem; color: var(--muted); margin: .6rem 0 0; }

.grid-bg { position: relative; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 58, 237, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 55%, transparent 100%);
}
.grid-bg > .container { position: relative; z-index: 1; }

/* ---------- header (white) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-stuck { border-color: var(--line-blue); box-shadow: 0 6px 24px -18px rgba(23, 32, 51, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 86px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; }
.brand-logo { display: block; height: 54px; width: auto; flex: none; }
@media (max-width: 560px) { .brand-logo { height: 44px; } }
@media (max-width: 380px) { .brand-logo { height: 38px; } }
.brand-name { color: var(--brand-ink); font-size: 1.2rem; letter-spacing: -.02em; }
.brand-name span { color: var(--brand); }

.nav-desktop { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  color: var(--brand-ink); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--brand-strong); background: var(--bg-soft); text-decoration: none; }
.nav-link.is-active { color: var(--brand-strong); background: var(--bg-soft-2); }
.header-cta { flex: none; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--brand-ink); border-radius: 2px; }
.nav-toggle.is-close span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle.is-close span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 150; display: block; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-scrim {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(24, 10, 46, .5); backdrop-filter: blur(2px);
  animation: fade-in .2s ease;
}
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: #fff;
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: slide-in .22s ease;
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.nav-mobile { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; }
.nav-mobile a {
  color: var(--brand-ink); font-weight: 700; font-size: 1.05rem;
  padding: 14px 12px; border-radius: 12px;
}
.nav-mobile a:hover, .nav-mobile a[aria-current] { background: var(--bg-soft-2); text-decoration: none; color: var(--brand-strong); }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 78% -12%, rgba(139, 92, 246, .28), transparent 62%),
    linear-gradient(135deg, #160b2e 0%, #2b0f4f 45%, #4c1d75 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 14vw, 160px);
  overflow: hidden;
}
.hero .btn-primary { --btn-bg: #8b5cf6; box-shadow: 0 16px 30px -12px rgba(139, 92, 246, .55); }
.hero .btn-primary:hover { --btn-bg: #a78bfa; box-shadow: 0 20px 38px -12px rgba(167, 139, 250, .6); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }

/* full-bleed photo hero */
.hero-photo-bg {
  background: #160b2e;
  display: flex; align-items: center;
  min-height: clamp(500px, 66vh, 660px);
  padding-top: clamp(72px, 9vw, 110px);
  padding-bottom: clamp(120px, 14vw, 160px);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 80% center; z-index: 0;
  background: #160b2e; color: transparent; font-size: 0;
}
/* left: solid dark-purple behind the text; right: fully clear so the family
   keeps its natural warm lighting — no black, no vignette, no cutout edge */
.hero-photo-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 92% at 82% 46%, rgba(255, 216, 172, .08), transparent 70%),
    linear-gradient(100deg,
      #160b2e 0%,
      #160b2e 33%,
      rgba(22, 11, 46, .9) 43%,
      rgba(32, 14, 58, .5) 53%,
      rgba(43, 20, 74, .12) 63%,
      rgba(43, 20, 74, 0) 72%);
}
.hero-photo-bg .hero-copy { max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: 8px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 4px rgba(126, 226, 168, .3); }
.hero-lead { color: rgba(255, 255, 255, .9); font-size: 1.12rem; max-width: 33rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero-trust svg { width: 18px; height: 18px; color: #c4b5fd; flex: none; }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(150deg, #5b21b6, #3b0a6b);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .tv-live {
  position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 7px;
  background: rgba(239, 68, 68, .95); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; padding: 5px 10px; border-radius: 7px;
}
.hero-photo .tv-live .dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1.6s infinite; }
.tv-mock {
  position: relative; background: linear-gradient(180deg, #1a1030, #140a24);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-lg);
}
.tv-screen { border-radius: 12px; overflow: hidden; background: #0f1e42; aspect-ratio: 16 / 10; position: relative; }
.tv-screen-hero {
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 200px at 20% 0%, rgba(124, 58, 237, .55), transparent 70%),
    linear-gradient(150deg, #5b21b6, #3b0a6b);
}
.tv-live {
  position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 7px;
  background: rgba(239, 68, 68, .95); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  padding: 5px 10px; border-radius: 7px;
}
.tv-live .dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.tv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center;
}
.tv-play svg { width: 26px; height: 26px; color: var(--brand-strong); margin-left: 4px; }
.tv-title { position: absolute; left: 14px; bottom: 14px; right: 14px; }
.tv-title strong { color: #fff; font-size: .95rem; display: block; }
.tv-title span { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.tv-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.tv-rail div { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(160deg, #4a2a8f, #2a0f52); border: 1px solid rgba(255, 255, 255, .08); }
.hero-chip {
  position: absolute; background: #fff; color: var(--brand-ink);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .9rem;
}
.hero-chip svg { width: 22px; height: 22px; color: var(--brand); }
.hero-chip.one { top: 18px; right: -14px; animation: float 6s ease-in-out infinite; }
.hero-chip.two { bottom: 30px; left: -22px; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- stats bar ---------- */
.stats-wrap { margin-top: clamp(-96px, -10vw, -70px); position: relative; z-index: 5; }
.stats-bar {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 30px 20px;
}
.stat { text-align: center; padding: 8px 14px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat-icon { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 11px; background: var(--bg-soft-2); display: grid; place-items: center; }
.stat-icon svg { width: 21px; height: 21px; color: var(--brand); }
.stat-value { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 900; color: var(--brand-ink); letter-spacing: -.02em; }
.stat-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- feature cards ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #a78bfa; }
.feature-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft-2);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature-ico svg { width: 23px; height: 23px; color: var(--brand); }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: .96rem; }

/* how it works */
.how-card {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.how-num {
  font-size: .8rem; font-weight: 900; letter-spacing: .1em; color: var(--brand);
  background: var(--bg-soft-2); border-radius: 8px; padding: 6px 10px; display: inline-block;
  margin-bottom: 14px;
}
.how-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.how-card p { margin: 0; font-size: .93rem; }

/* benefit tiles (WHAT YOU GET) */
.benefit-tile {
  background: var(--bg-soft-2); border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 26px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.benefit-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-tile .feature-ico { margin: 0 auto 14px; background: #fff; }
.benefit-tile h3 { color: var(--brand-strong); font-size: 1.5rem; font-weight: 900; margin-bottom: 2px; }
.benefit-tile p { margin: 0; font-weight: 600; color: var(--brand-ink); font-size: .95rem; }
.benefit-tile small { display: block; margin-top: 8px; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* ---------- pricing ---------- */
.plans-note {
  text-align: center; color: var(--muted); font-size: .95rem; margin: 0 auto 34px;
  max-width: 640px;
}
.plans-note strong { color: var(--brand-strong); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  align-items: stretch; margin-top: 16px;
}
.price-card {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--line-blue); border-radius: 20px;
  box-shadow: 0 8px 30px rgba(91, 33, 182, .06); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(91, 33, 182, .13); }

/* card header */
.pc-head {
  position: relative; background: #f5f3ff;
  border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--line-blue);
  padding: 18px 22px 15px;
}
.pc-head h3 { margin: 0; display: flex; flex-direction: column; gap: 1px; }
.pc-head .pc-term {
  font-size: 1.1rem; font-weight: 900; color: #111827;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.1;
}
.pc-head .pc-sub {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.pc-save {
  position: absolute; top: 16px; right: 18px;
  background: #7c3aed; color: #fff;
  font-size: .64rem; font-weight: 800; letter-spacing: .05em;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}

/* card body */
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.device-badge {
  align-self: flex-start; display: inline-block; margin: 2px 0 12px;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 5px 12px; border-radius: 999px;
}
.price-row { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 4px; }
.price-now { font-size: 2.7rem; font-weight: 900; color: var(--brand-ink); letter-spacing: -.03em; line-height: 1; }
.price-now .cur { font-size: 1.25rem; font-weight: 800; vertical-align: top; margin-right: 2px; }
.price-was { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: .98rem; }
.price-sub { font-size: .84rem; color: var(--muted); margin: 0 0 4px; min-height: 2.5em; }
.price-sub .bv { color: #7c3aed; font-weight: 800; }
.price-divider { height: 1px; background: var(--line); margin: 14px 0 16px; }
.price-feats { display: grid; gap: 10px; margin: 0 0 22px; }
.price-feats li { display: flex; gap: 9px; font-size: .9rem; color: var(--body); line-height: 1.35; }
.price-feats svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card .btn svg { width: 18px; height: 18px; }
.price-tg-hint { margin: 12px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.price-tg-hint a { color: #7c3aed; font-weight: 700; }
.price-tg-hint a:hover { color: #6d28d9; }
.pricing-fineprint { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 26px; }

/* MOST POPULAR badge */
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: #8b5cf6; color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 14px 26px -10px rgba(139, 92, 246, .75);
}
.popular-badge svg { width: 12px; height: 12px; }

/* 12-month special — identical dimensions, purple header + border + glow */
.price-card.is-popular { border-color: #7c3aed; box-shadow: 0 15px 45px rgba(124, 58, 237, .2); }
.price-card.is-popular:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(124, 58, 237, .3); }
.price-card.is-popular .pc-head {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  border-bottom-color: transparent;
}
.price-card.is-popular .pc-head .pc-term { color: #fff; }
.price-card.is-popular .pc-head .pc-sub { color: rgba(255, 255, 255, .82); }
.price-card.is-popular .pc-save { top: 20px; background: #fff; color: #6d28d9; }
.price-card.is-popular .btn-primary {
  --btn-bg: linear-gradient(135deg, #7c3aed, #8b5cf6);
  box-shadow: 0 16px 30px -10px rgba(124, 58, 237, .6);
}
.price-card.is-popular .btn-primary:hover { --btn-bg: linear-gradient(135deg, #6d28d9, #7c3aed); }

/* ---------- device compatibility ---------- */
.device-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 16px;
}
.device-chip {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 20px 12px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.device-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #a78bfa; }
.device-chip svg { width: 30px; height: 30px; color: var(--brand); margin: 0 auto 10px; }
.device-chip span { font-size: .82rem; font-weight: 700; color: var(--brand-ink); }
.device-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: .95rem; }

.device-panel {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm);
}
.device-panel h3 { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }

/* ---------- trust cards ---------- */
.trust-card {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow-sm);
}
.trust-card .feature-ico { margin: 0 auto 16px; }
.trust-card p { margin: 0; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #5b21b6, #7c3aed 55%, #9333ea);
  color: #fff; border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 40rem; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-sub { margin-top: 18px !important; font-size: .9rem !important; color: rgba(255,255,255,.75) !important; }

/* ---------- CTA (clean full-width, subtle grid) ---------- */
.cta-section {
  text-align: center;
  padding: clamp(64px, 9vw, 88px) 0 clamp(60px, 8vw, 80px);
  background-color: #fafaff;
  background-image:
    linear-gradient(rgba(124, 58, 237, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.cta-eyebrow {
  color: #7c3aed; font-size: .8rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; margin: 0 0 26px;
}
.cta-title {
  color: #111827; font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 900;
  letter-spacing: -.02em; line-height: 1.08; margin: 0 0 20px;
}
.cta-desc {
  color: var(--muted); font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.5; max-width: 800px; margin: 0 auto 46px;
}
.cta-row {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 16px; margin: 0 auto 30px; max-width: 760px;
}
.cta-btn { min-height: 74px; border-radius: 15px; padding: 0 28px; font-size: 1.02rem; flex: 0 1 auto; }
.cta-btn-outline {
  --btn-bg: #fff; --btn-fg: #111827;
  border: 2px solid #c4b5fd;
}
.cta-btn-outline:hover { --btn-bg: #f5f3ff; border-color: #a78bfa; }
.cta-micro { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 1.02rem; font-weight: 700; color: var(--brand-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q:hover { color: var(--brand-strong); }
.faq-q .chev { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft-2); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.faq-q .chev svg { width: 13px; height: 13px; color: var(--brand-strong); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); background: var(--brand); }
.faq-item.is-open .faq-q .chev svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--body); font-size: .97rem; }
.faq-a-inner p { margin: 0; }

/* ---------- installation ---------- */
.install-hero {
  background: linear-gradient(180deg, var(--bg-soft-2), #fff);
  padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px);
  text-align: center; border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-strong); }

.install-hero .pill,
.page-hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-blue); color: var(--brand-strong);
  font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.install-hero .pill svg, .page-hero .pill svg { width: 15px; height: 15px; }

.device-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 12px; }
.device-picker a {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; color: var(--brand-ink);
}
.device-picker a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); text-decoration: none; }
.device-picker svg { width: 26px; height: 26px; color: var(--brand); margin: 0 auto 8px; }
.device-picker span { font-size: .8rem; font-weight: 700; }

.guide { scroll-margin-top: 96px; }
.guide + .guide { margin-top: clamp(40px, 6vw, 72px); }
.guide-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.guide-head .g-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft-2); display: grid; place-items: center; flex: none; }
.guide-head .g-ico svg { width: 24px; height: 24px; color: var(--brand); }
.guide-head h2 { margin: 0; }
.guide > p.guide-lead { color: var(--muted); margin-bottom: 26px; max-width: 46rem; }

.featured-guide {
  background: var(--bg-soft); border: 1px solid var(--line-blue); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}

.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 900; font-size: 1rem;
  display: grid; place-items: center; letter-spacing: -.02em;
}
.step h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .95rem; }
.step p + p { margin-top: 8px; }
.step .hint { font-size: .86rem; color: var(--muted); background: var(--bg-soft-2); border-radius: 8px; padding: 8px 12px; margin-top: 10px; }

/* downloader code card */
.dl-card {
  background: #fff; border: 2px solid var(--orange);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 0 0 6px var(--orange-soft), 0 24px 44px -22px rgba(255, 106, 0, .5);
  text-align: center; margin: 8px 0 4px;
}
.dl-logo {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 16px;
  background: linear-gradient(160deg, #ff8a33, #ff6a00);
  display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(255, 106, 0, .6);
}
.dl-logo svg { width: 40px; height: 40px; color: #fff; }
.dl-card .dl-label { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.dl-code {
  font-size: clamp(2.6rem, 9vw, 3.8rem); font-weight: 900; letter-spacing: .12em;
  color: var(--brand-ink); line-height: 1; margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.dl-copy {
  --btn-bg: var(--orange); --btn-fg: #fff;
  box-shadow: 0 14px 26px -12px rgba(255, 106, 0, .6);
}
.dl-copy:hover { --btn-bg: #e85f00; }
.dl-copy.is-copied { --btn-bg: var(--wa); }
.dl-hint { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

.ready-card {
  background: linear-gradient(160deg, #ecfdf3, #dcfce7); border: 1px solid #a7f3c9;
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.ready-card .r-ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.ready-card .r-ico svg { width: 26px; height: 26px; color: #fff; }
.ready-card h3 { color: #04682e; }
.ready-card p { margin: 0; color: #0a7a38; }

.credentials-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-soft-2); border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 16px 18px; margin-top: 22px; font-size: .92rem;
}
.credentials-note svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- page hero (pricing / support / legal) ---------- */
.page-hero {
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(124, 58, 237, .12), transparent 70%),
    linear-gradient(180deg, var(--bg-soft-2), #fff);
  padding: clamp(46px, 7vw, 88px) 0 clamp(38px, 5vw, 60px);
  text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--brand); }
.page-hero p { max-width: 42rem; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.page-hero .trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 22px; }
.page-hero .trust-row li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--body); }
.page-hero .trust-row svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.support-card {
  background: #fff; border: 1px solid var(--line-blue); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* Support page — bright premium purple accent (#7C3AED), not the darker brand-strong */
.page-support .pill { color: #7c3aed; }
.page-support .btn-secondary { --btn-fg: #7c3aed; }
.page-support .btn-secondary:hover { border-color: #7c3aed; }
.page-support .breadcrumb a:hover { color: #7c3aed; }

.support-card .feature-ico {
  width: 52px; height: 52px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.support-card .feature-ico svg { width: 28px; height: 28px; display: block; }
.support-card .feature-ico.wa { background: #e9f9ef; } .support-card .feature-ico.wa svg { color: var(--wa); }
.support-card .feature-ico.tg { background: #e6f4fb; } .support-card .feature-ico.tg svg { color: var(--tg); transform: translate(-1px, 1px); }
.support-card h3 { font-size: 1.2rem; }
.support-card p { font-size: .95rem; }
.support-card .btn { margin-top: 8px; }

/* ---------- floating contacts ---------- */
.floating-contacts {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
  position: relative;
  width: 58px; height: 58px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; transition: transform .16s ease;
}
.floating-btn:hover { transform: scale(1.06); text-decoration: none; }
.floating-wa { background: var(--wa); box-shadow: 0 16px 30px -10px rgba(34, 195, 94, .7); }
.floating-tg { background: var(--tg); box-shadow: 0 16px 30px -10px rgba(34, 158, 217, .65); width: 52px; height: 52px; margin: 0 3px; }
.floating-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--brand-ink); color: #fff; font-size: .82rem; font-weight: 600;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .16s ease, transform .16s ease;
}
.floating-btn:hover .floating-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- header telegram icon link ---------- */
.tg-link {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 10px; color: var(--tg); border: 1px solid var(--line-blue);
  transition: background .15s ease, transform .15s ease;
}
.tg-link:hover { background: #e6f4fb; transform: translateY(-1px); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--body); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose .updated { color: var(--muted); font-size: .9rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: var(--brand-ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- footer (dark purple) ---------- */
.site-footer {
  background: linear-gradient(135deg, #12081f 0%, #1e0b35 50%, #2e1065 100%);
  color: #afa3c6;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.15fr 1fr;
  gap: clamp(24px, 3.5vw, 52px);
  padding: clamp(52px, 6vw, 68px) 24px 34px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: #a78bfa; }
.footer-about {
  color: #afa3c6; font-size: .95rem; line-height: 1.7; max-width: 34ch; margin: 0 0 20px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(124, 58, 237, .12); border: 1px solid rgba(167, 139, 250, .22);
  transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.footer-social a:hover { background: rgba(124, 58, 237, .22); transform: translateY(-2px); border-color: rgba(167, 139, 250, .4); }
.footer-social a svg { width: 22px; height: 22px; }
.footer-social .s-wa { color: #25d366; }
.footer-social .s-tg { color: #37aee2; }

.footer-col h3 {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin: 4px 0 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #c4b5fd; font-size: .98rem; transition: color .15s ease; }
.footer-col a:hover { color: #a78bfa; text-decoration: none; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 24px; padding: 24px 24px 30px;
}
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { color: #c4b5fd; font-size: .88rem; transition: color .15s ease; }
.footer-legal-links a:hover { color: #a78bfa; }
.footer-legal .copyright { color: #afa3c6; font-size: .88rem; margin: 0; }

/* ---------- installation (redesign) ---------- */
.install-wrap { max-width: 748px; margin: 0 auto; padding: 0 20px; }
.install-hero2 { text-align: center; padding: clamp(44px, 7vw, 76px) 0 4px; }
.install-badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand-strong);
  background: var(--bg-soft-2); border: 1px solid var(--line-blue);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
}
.install-hero2 h1 { font-size: clamp(2.05rem, 6vw, 3.1rem); line-height: 1.12; margin-bottom: 14px; }
.install-hero2 h1 .dl-word { color: var(--orange); }
.install-hero2 p { color: var(--muted); font-size: 1rem; max-width: 34rem; margin: 0 auto; }

.install-section { padding: clamp(28px, 5vw, 44px) 0 clamp(48px, 8vw, 80px); }

.step-card {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent, #94a3b8);
  border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow-sm);
  margin-top: 18px;
}
.step-card .step-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, #64748b);
}
.step-card h3 { margin: .2rem 0 .8rem; font-size: 1.15rem; }
.step-card ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.step-card ol li { color: var(--body); font-size: .95rem; }
.step-card.t-purple { --accent: #7c3aed; }
.step-card.t-blue { --accent: #6d28d9; }
.step-card.t-green { --accent: #16a34a; }
.step-card.t-bluepurple { --accent: #7c3aed; }
.step-note {
  margin-top: 14px; font-size: .88rem; color: var(--brand-ink);
  background: var(--bg-soft-2); border: 1px solid var(--line-blue);
  border-radius: 8px; padding: 10px 13px;
}

.dl-card .dl-app-label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.dl-card .dl-heading { font-size: 1.15rem; color: var(--brand-ink); margin: 0 0 16px; }
.dl-code-box {
  display: inline-block; background: #fff; border: 2px solid var(--orange);
  border-radius: 14px; padding: 12px 26px; margin-bottom: 16px;
}
.dl-code-box .dl-code { margin: 0; }
.dl-flow { margin: 16px 0 0; font-weight: 700; color: var(--brand-ink); font-size: .9rem; }
.dl-flow strong { color: var(--orange); }

.tip-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(160deg, #ecfdf3, #dcfce7); border: 1px solid #a7f3c9;
  border-radius: 16px; padding: 20px 22px; margin-top: 24px;
}
.tip-card .t-ico { width: 38px; height: 38px; border-radius: 10px; background: #16a34a; display: grid; place-items: center; flex: none; }
.tip-card .t-ico svg { width: 20px; height: 20px; color: #fff; }
.tip-card h3 { color: #04682e; margin: 0 0 3px; font-size: 1rem; }
.tip-card p { margin: 0; color: #0a7a38; font-size: .92rem; }

.other-guides { margin-top: clamp(40px, 6vw, 60px); }
.other-guides > h2 { text-align: center; font-size: 1.5rem; margin-bottom: 20px; }
.other-guides .faq-a-inner ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.other-guides .faq-a-inner li { font-size: .93rem; }

.help-card {
  text-align: center; background: var(--bg-soft); border: 1px solid var(--line-blue);
  border-radius: 20px; padding: clamp(32px, 5vw, 48px) 28px; margin-top: clamp(36px, 5vw, 52px);
}
.help-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.help-card p { color: var(--muted); max-width: 34rem; margin: 0 auto 22px; }
.help-card .cta-actions { justify-content: center; }

/* ---------- misc layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.mt-sm { margin-top: 14px; } .mt-md { margin-top: 26px; } .mt-lg { margin-top: 44px; }
.center { text-align: center; }
.overlap-up { margin-top: clamp(-70px, -8vw, -48px); position: relative; z-index: 4; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .device-picker { grid-template-columns: repeat(4, 1fr); }
  .stats-bar { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .stat:nth-child(4)::before, .stat:nth-child(4) { }
  .stat + .stat::before { display: none; }
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 8px auto 0; }
  .hero-chip.two { left: 0; }
  .hero-chip.one { right: 0; }
  .split, .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-bg { min-height: 0; }
  .hero-bg { object-position: 74% 22%; }
  /* mobile: text sits over the photo, so a purple (never black) veil that is
     strongest behind the copy and eases off lower where the family sits */
  .hero-photo-bg::before {
    background: linear-gradient(180deg, rgba(22, 11, 46, .92) 0%, rgba(30, 13, 54, .8) 55%, rgba(43, 20, 74, .55) 100%);
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .device-picker { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 32px 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .device-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .device-picker { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 22px 12px; }
  .stat { padding: 14px 8px; }
  .stat:nth-child(5) { grid-column: 1 / -1; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 40px; height: 40px; }
  .floating-contacts { right: 14px; bottom: 14px; gap: 10px; }
  .floating-wa { width: 52px; height: 52px; }
  .floating-tg { width: 46px; height: 46px; }
  .dl-code { letter-spacing: .08em; }
  .btn { white-space: normal; }
  h1 { overflow-wrap: break-word; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 24px; padding-top: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .help-card .cta-actions .btn { flex: 1 1 100%; }
  .dl-code-box { padding: 10px 16px; }
}

@media (max-width: 860px) {
  .cta-row { flex-direction: column; align-items: stretch; max-width: 420px; }
  .cta-row .cta-btn { width: 100%; }
}
