/* =========================================================
   StreamNova - IPTV landing page
   Palette + structure inspired by the "Socialyie" theme:
   near-black green hero, green + blue accents, Poppins.
   ========================================================= */

:root {
  --bg: #1b1b1b;
  --bg-deep: #0d1310;
  --bg-footer: #010101;
  --green: #263b2b;
  --accent: #8fc93a;
  --accent-2: #0072bb;
  --on-accent: #0b1408; /* dark text that stays readable on the light green */
  --text: #ffffff;
  --text-soft: #dadada;
  --muted: #bebebe;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --radius: 20px;
  --ease: 0.3s ease-in-out;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

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

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent-2); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; position: relative; }

.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 34px; border-radius: 30px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.03rem;
  border: 2px solid var(--accent);
  transition: var(--ease);
  white-space: nowrap;
}
.btn .icon { font-size: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 28px -8px rgba(143, 201, 58, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(143, 201, 58, 0.85); }
.btn-outline { color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title .tag { display: block; font-size: 16px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.section-title h2 { font-size: 36px; line-height: 1.25; font-weight: 700; padding: 10px 0 14px; }
.section-title h2 span { font-weight: 300; }
.section-title p { color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--bg-deep); border-bottom: 1px solid var(--line);
  transition: var(--ease);
}
.header.scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6); }

/* Announcement strip. Collapses away once the header is scrolled, so only
   the compact nav row stays pinned. */
.trust-bar {
  background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line);
  max-height: 60px; overflow: hidden;
  transition: max-height var(--ease), opacity var(--ease), border-color var(--ease);
}
.header.scrolled .trust-bar { max-height: 0; opacity: 0; border-color: transparent; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 20px; padding: 8px 0; font-size: 13px;
}
.trust-bar-msg { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--text-soft); font-weight: 500; }
.trust-bar-msg .icon { color: var(--accent); font-size: 15px; flex: none; }
.trust-bar-msg .js-domain { color: #fff; }
.trust-bar-cta {
  border: 0; background: none; padding: 0; font: inherit; cursor: pointer;
  color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
  transition: var(--ease);
}
.trust-bar-cta:hover { color: #fff; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; transition: padding var(--ease); }
.header.scrolled .header-inner { padding: 10px 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px -6px rgba(143, 201, 58, 0.8);
}
.brand-mark .icon { font-size: 16px; color: #fff; margin-left: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 22px; }
.brand-sub {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 3px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
}
.brand-sub .dot { width: 6px; height: 6px; animation: none; box-shadow: none; }
.brand b { color: var(--accent); font-weight: 700; }

.official-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 30px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(143, 201, 58, 0.4); background: rgba(143, 201, 58, 0.08);
}
.official-pill .icon { font-size: 14px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--text-soft); position: relative; transition: var(--ease); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: var(--ease); }
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 22px; place-items: center; }

/* mobile drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(320px, 86vw);
  background: #030712; padding: 22px 24px 32px;
  transform: translateX(100%); transition: transform 0.35s ease-in-out;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer a.link { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 17px; color: var(--text-soft); }
.drawer a.link:hover { color: var(--accent); }
.drawer .btn { margin-top: 20px; }
body.menu-open .drawer { transform: none; }
body.menu-open .drawer-overlay { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  padding: 196px 0 90px;
  background-color: var(--bg-deep);
  isolation: isolate; overflow: hidden; position: relative;
}
/* Poster-wall background. Scaled up from the bottom edge so the image's own
   headline (top ~20%) is cropped out and only the poster grid shows. */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  transform: scale(1.28); transform-origin: 50% 100%;
  pointer-events: none; user-select: none;
}
/* Overlay: darkens the image for text contrast (heaviest behind the centered
   copy, lighter toward the edges), keeps the brand glows, and fades into the
   next section with no seam. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 78%, var(--bg) 100%),
    radial-gradient(60% 55% at 15% 0%, rgba(143, 201, 58, 0.2), transparent 60%),
    radial-gradient(60% 55% at 85% 60%, rgba(0, 114, 187, 0.16), transparent 62%),
    radial-gradient(65% 85% at 50% 42%, rgba(13, 19, 16, 0.78), rgba(13, 19, 16, 0.35) 65%, rgba(13, 19, 16, 0.12) 100%);
}
/* the overlay is light now, so give the copy its own soft shadow for contrast */
.hero h1, .hero p.lead, .hero-points, .pill { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.6); }
.hero .btn { text-shadow: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, #000 35%, transparent 100%);
          mask-image: radial-gradient(72% 62% at 50% 38%, #000 35%, transparent 100%);
}
.hero-grid { display: flex; justify-content: center; }
.hero-copy { max-width: 720px; text-align: center; }
.hero-copy .lead { margin-inline: auto; }
.hero-cta, .hero-points { justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 12px; margin-bottom: 22px;
  border: 1px solid rgba(143, 201, 58, 0.4); background: rgba(143, 201, 58, 0.1);
  border-radius: 30px; font-size: 14px; font-weight: 500; color: #e4f4c6;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(143, 201, 58, 0.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(143, 201, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 201, 58, 0); } }

.hero h1 { font-size: 54px; line-height: 1.14; font-weight: 700; padding-bottom: 20px; }
.hero h1 em {
  font-style: normal; color: var(--accent);
  text-decoration: underline #fff; text-decoration-thickness: 4px; text-underline-offset: 10px;
  text-decoration-skip-ink: none;
}
.hero p.lead { font-size: 17px; color: var(--text-soft); max-width: 540px; padding-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); font-size: 16px; }

/* ---------- Features ---------- */
.features { background: var(--bg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: var(--ease);
}
.card:hover { background: var(--card-hover); transform: translateY(-6px); border-color: rgba(143, 201, 58, 0.45); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  font-size: 26px; color: var(--accent); background: rgba(143, 201, 58, 0.12); border: 1px solid rgba(143, 201, 58, 0.25);
}
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; padding-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- How it works ---------- */
.steps-wrap { background: linear-gradient(180deg, var(--bg), #151b17 50%, var(--bg)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font-size: 26px; font-weight: 700; color: var(--accent);
  background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 8px rgba(143, 201, 58, 0.08);
  position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 36px; left: calc(50% + 46px); width: calc(100% - 92px + 24px); height: 0;
  border-top: 2px dashed rgba(143, 201, 58, 0.4);
}
.step h3 { font-size: 18px; padding-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Content categories ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.show-card {
  min-width: 0; display: flex; flex-direction: column;
  padding: 40px 36px 36px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.show-title { font-size: 44px; line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; padding: 18px 0 30px; }
.show-title b { color: var(--accent); font-weight: 700; }

/* scrolling image strip, edges fade out */
.marquee {
  overflow: hidden; margin-bottom: 26px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* the script duplicates the items, so shifting by half the track (+ half a gap) loops seamlessly */
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

.tile, .poster {
  position: relative; flex: none; height: 140px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: var(--g); border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; place-items: center;
}
.tile { width: 140px; }
.poster { width: 100px; }
.tile::after, .poster::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 60% at 30% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 55%);
}
.tile .icon, .poster .icon { font-size: 42px; opacity: 0.92; margin-bottom: 14px; stroke-width: 1.6; }
.tile span, .poster span {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  font-size: 13px; font-weight: 600; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.poster span { left: 8px; right: 8px; text-align: center; font-size: 12px; }
/* real artwork: any <img> inside a tile fills it */
.tile img, .poster img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }

.tag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px;
  font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  transition: var(--ease);
}
.tag-chips li .icon { color: var(--accent); font-size: 15px; }
.tag-chips li:hover { border-color: var(--accent); background: rgba(143, 201, 58, 0.1); }
.show-desc { margin-top: auto; padding-top: 30px; color: #8f8f8f; font-size: 16px; }

.note-line { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }
.devices-guide-link { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; color: var(--accent); font-weight: 600; transition: var(--ease); }
.devices-guide-link .icon { font-size: 12px; }
.devices-guide-link:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats { padding: 52px 0; background: var(--bg-deep); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; align-items: center; gap: 16px; padding: 0 20px; position: relative;
}
.stat:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 44px; background: var(--line);
}
.stat-icon {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 24px;
}
.stat-icon-a { color: var(--accent); background: rgba(143, 201, 58, 0.12); border: 1px solid rgba(143, 201, 58, 0.3); }
.stat-icon-b { color: var(--accent-2); background: rgba(0, 114, 187, 0.14); border: 1px solid rgba(0, 114, 187, 0.35); }
.stat-body { min-width: 0; }
.stat strong { display: block; font-size: 32px; line-height: 1.15; font-weight: 700; color: #fff; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg); }
.toggle {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 48px; padding: 6px; gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 40px; flex-wrap: wrap; justify-content: center;
}
.toggle button {
  position: relative; border: 0; background: transparent; padding: 10px 22px; border-radius: 30px;
  font-size: 15px; font-weight: 600; color: var(--muted); transition: var(--ease);
}
.toggle button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 20px -8px rgba(143, 201, 58, 0.9); }
.toggle button:not([aria-pressed="true"]):hover { color: #fff; }
.toggle small { font-size: 11px; font-weight: 600; margin-left: 6px; padding: 2px 7px; border-radius: 10px; background: rgba(255, 255, 255, 0.16); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  position: relative; overflow: hidden; padding: 40px 30px 30px; border-radius: var(--radius);
  background: rgba(253, 247, 251, 0.06); border: 1px solid var(--line);
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.14); transition: var(--ease);
  display: flex; flex-direction: column; text-align: center;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(143, 201, 58, 0.5); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(143, 201, 58, 0.14), rgba(253, 247, 251, 0.05)); }
.ribbon { position: absolute; top: -10px; right: -10px; width: 150px; height: 150px; overflow: hidden; pointer-events: none; }
.ribbon span {
  position: absolute; top: 34px; right: -38px; width: 170px; padding: 4px 0; text-align: center;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; transform: rotate(45deg);
}
.plan .plan-icon { font-size: 34px; color: var(--accent); margin-bottom: 8px; display: inline-block; }
.plan h3 { font-size: 24px; font-weight: 600; }
.plan .conn { color: var(--muted); font-size: 14px; padding-bottom: 18px; }
.price { line-height: 1; padding: 6px 0; }
.price sup { font-size: 24px; font-weight: 600; vertical-align: top; position: relative; top: 6px; margin-right: 2px; }
.price strong { font-size: 54px; font-weight: 600; }
.per { color: var(--muted); font-size: 14px; padding-top: 6px; min-height: 26px; }
.plan ul { margin: 24px 0 22px; text-align: left; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14.5px; color: #f1ecfb; line-height: 1.4; }
.plan li .icon { color: var(--accent); font-size: 17px; margin-top: 2px; stroke-width: 2.6; flex: none; }
.plan .btn { width: 100%; }
.plan-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pricing-note .icon { color: var(--accent); }

/* ---------- Devices ---------- */
.devices { background: var(--bg-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 40px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line); transition: var(--ease);
}
.chip .icon { color: var(--accent); font-size: 20px; }
.chip .icon.icon-fill { font-size: 19px; } /* filled brand glyphs read slightly large next to strokes */
.chip .logo-icon { width: 17px; height: 17px; flex: none; } /* Windows tiles: real fills, no currentColor */
.chip:has(svg + svg) { gap: 6px; } /* tighter gap when a chip carries two brand icons */
.chip:hover { border-color: var(--accent); background: rgba(143, 201, 58, 0.1); transform: translateY(-3px); }

/* ---------- Free trial modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px);
  overflow-y: auto; text-align: center; padding: 46px 32px 32px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 28, 24, 0.98), rgba(10, 14, 12, 0.98));
  border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75);
  transform: translateY(16px) scale(0.98); transition: transform var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px; color: #fff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); }
.modal h2 { font-size: 27px; font-weight: 700; padding-bottom: 12px; }
.modal-sub { color: var(--text-soft); font-size: 15px; line-height: 1.55; padding-bottom: 28px; }
.modal-actions { display: flex; flex-direction: column; gap: 12px; }
.modal-divider { height: 1px; background: var(--line); margin: 28px 0 20px; }
.modal-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.modal-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.modal-points .icon { color: var(--accent); font-size: 15px; }

/* ---------- Checkout modal (opened by "Buy now") ---------- */
.checkout-modal { max-width: 640px; padding: 30px 24px 24px; }
.checkout-head { padding-bottom: 18px; }
.checkout-head h2 { font-size: 24px; padding-bottom: 2px; }
.checkout-sub { color: var(--text-soft); font-size: 14px; font-weight: 600; }
.checkout-price { font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; text-align: left; }

.co-card { background: #fff; color: #2d313b; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7); }
.co-card-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
}
.co-back {
  display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: rgba(0, 0, 0, 0.1); color: inherit; cursor: pointer; font-size: 16px;
}
.co-back .icon { transform: rotate(180deg); }
.co-back[hidden] { display: none; }
.co-step-title { flex: 1; font-size: 16px; }
.co-dots { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.co-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--on-accent); }
.co-dots i.on { background: var(--on-accent); }
.co-step { padding: 16px; }
.co-step[hidden] { display: none; }
.co-step .btn { height: 44px; margin-top: 4px; font-size: 15px; }
.co-step .btn[hidden] { display: none; }

.co-options { display: grid; gap: 8px; margin-bottom: 12px; }
.co-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px;
  border: 1.5px solid #dde1e8; border-radius: 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.co-option input { position: absolute; opacity: 0; pointer-events: none; }
.co-option b { display: block; font-size: 14px; }
.co-option small { color: #7c8190; font-size: 12px; }
.co-option .co-opt-price { font-size: 16px; font-weight: 700; }
.co-option:has(input:checked) { border-color: var(--accent); background: rgba(143, 201, 58, 0.1); box-shadow: 0 0 0 3px rgba(143, 201, 58, 0.18); }
.co-option:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.co-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-field { display: block; font-size: 12.5px; font-weight: 500; color: #4a4f5c; margin-bottom: 10px; }
.co-input {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 0 12px; height: 40px;
  border: 1.5px solid #dde1e8; border-radius: 10px; color: #8a90a0; transition: border-color 0.2s;
}
.co-input:focus-within { border-color: var(--accent); }
.co-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: #2d313b; }
.co-input.invalid { border-color: #e5484d; }
.co-error { color: #d13438; font-size: 13px; margin: -4px 0 10px; }
.co-error[hidden] { display: none; }

.co-submit[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.co-fineprint { font-size: 12px; color: #8a90a0; text-align: center; margin-top: 12px; }
.co-fineprint strong { color: #3f7f10; }

.co-trust { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.co-badge {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px; width: max-content;
  border: 2px solid var(--accent); border-radius: 999px; background: rgba(143, 201, 58, 0.1);
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: #fff;
}
.co-badge .icon { font-size: 24px; color: var(--accent); }
.co-badge b { color: var(--accent); }
.co-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.co-methods span {
  display: grid; place-items: center; height: 32px; border-radius: 7px; background: #fff;
  color: #1a1f71; font-size: 10.5px; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap;
}
.co-points { display: grid; gap: 8px; }
.co-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--text-soft); }
.co-points .icon { flex: none; margin-top: 3px; color: var(--accent); }

/* Final "Request Received!" screen */
.co-done[hidden], .checkout-modal.is-done .checkout-head, .checkout-modal.is-done .checkout-grid { display: none; }
.co-done { padding-top: 4px; }
.co-done-check {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: #fff;
  background: linear-gradient(145deg, #9fd84a, #5fa52a);
  box-shadow: 0 0 0 10px rgba(143, 201, 58, 0.12), 0 14px 40px -8px rgba(143, 201, 58, 0.7);
  animation: coPop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.co-done-check .icon { stroke-width: 3.2; }
@keyframes coPop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.co-done h2 { font-size: 26px; padding-bottom: 6px; }
.co-done-sub { color: var(--text-soft); font-size: 14px; max-width: 480px; margin: 0 auto 16px; }
.co-done-pill {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 18px; margin-bottom: 20px;
  border: 1px solid rgba(143, 201, 58, 0.45); border-radius: 999px; background: rgba(143, 201, 58, 0.1);
  font-size: 13.5px; font-weight: 600;
}
.co-done-pill b { font-size: 17px; color: var(--accent); }
.co-done-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.co-done-steps li {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.co-done-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 12.5px;
  box-shadow: 0 0 0 4px rgba(143, 201, 58, 0.15);
}
.co-done-steps strong { font-size: 13px; }
.co-done-steps small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.co-done-note {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; margin-bottom: 18px; text-align: left;
  border: 1px solid rgba(240, 180, 41, 0.4); border-radius: 12px; background: rgba(240, 180, 41, 0.08);
  font-size: 12.5px; line-height: 1.5; color: #f1dfb2;
}
.co-done-note .icon { flex: none; margin-top: 2px; font-size: 15px; color: #f0b429; }
.co-done-note strong { color: #ffd166; }
.co-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.co-done-actions .btn { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 10px 28px -10px rgba(37, 211, 102, 0.8); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.co-done-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 16px; }
.co-done-perks li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.co-done-perks .icon { font-size: 19px; color: var(--accent); margin-bottom: 4px; }
.co-done-perks strong { font-size: 12.5px; }
.co-done-perks small { font-size: 11.5px; color: var(--muted); }

@media (max-width: 767px) {
  .co-done h2 { font-size: 22px; }
  .co-done-steps { grid-template-columns: 1fr; gap: 10px; }
  .co-done-steps li { padding: 14px; }
  .co-done-actions .btn { width: 100%; }
  .co-done-perks { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 767px) {
  .checkout-modal { padding: 34px 16px 20px; }
  .checkout-head h2 { font-size: 22px; padding-right: 36px; padding-left: 36px; }
  .checkout-price { font-size: 30px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .co-badge { margin: 0 auto; }
  .co-step { padding: 18px 14px; }
  .co-step .btn { padding: 0 12px; font-size: 14px; letter-spacing: 0; }
}
@media (max-width: 400px) { .co-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Verify-website modal ---------- */
.verify-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; color: var(--accent);
  background: rgba(143, 201, 58, 0.12); border: 1px solid rgba(143, 201, 58, 0.35);
}
.verify-modal .modal-sub, .verify-note, .verify-warning { text-align: left; }
.verify-url-box {
  display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; padding: 14px 16px;
  border-radius: 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);
  font-size: 14px; word-break: break-all;
}
.verify-url-box .icon { color: var(--accent); font-size: 16px; flex: none; }
.verify-url-box .js-domain-url { font-weight: 600; color: #fff; }
.verify-badge { width: fit-content; margin: 0 auto 10px; }
.verify-hint { text-align: center; font-size: 12.5px; color: var(--muted); padding-bottom: 24px; }
.verify-note {
  font-size: 13.5px; line-height: 1.6; color: var(--text-soft); padding: 16px 18px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); margin-bottom: 16px;
}
.verify-note strong { color: #fff; }
.verify-warning { padding: 16px 18px; border-radius: 14px; background: rgba(255, 176, 32, 0.08); border: 1px solid rgba(255, 176, 32, 0.35); }
.verify-warning > strong { display: flex; align-items: center; gap: 8px; color: #ffcf5c; font-size: 14px; margin-bottom: 8px; }
.verify-warning .icon { font-size: 16px; }
.verify-warning p { font-size: 13px; color: var(--text-soft); line-height: 1.55; margin-bottom: 10px; }
.verify-copycat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.verify-copycat-list li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 20px;
  font-size: 12.5px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--muted);
}
.verify-copycat-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffb020; flex: none; }

/* ---------- Chat proof ---------- */
.chat-proof { background: var(--bg-deep); text-align: center; }
.chat-proof .section-title p { margin-top: 6px; }

.chat-strip {
  display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -4px 10px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(143, 201, 58, 0.4) transparent;
}
.chat-strip::-webkit-scrollbar { height: 6px; }
.chat-strip::-webkit-scrollbar-thumb { background: rgba(143, 201, 58, 0.35); border-radius: 10px; }
.chat-frame {
  position: relative; flex: 0 0 210px; aspect-ratio: 9 / 18.5; scroll-snap-align: start;
  border-radius: 26px; overflow: hidden; isolation: isolate;
  background: #0b0f0d; border: 6px solid #14171a; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.chat-frame img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chat-placeholder {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 20px; text-align: center;
  color: var(--muted); font-size: 13px; font-weight: 600;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 10px, transparent 10px 20px);
}
.chat-placeholder .icon { font-size: 26px; color: rgba(143, 201, 58, 0.5); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: var(--ease); }
.faq details[open] { border-color: rgba(143, 201, 58, 0.5); background: var(--card-hover); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { font-size: 20px; color: var(--accent); transition: var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-deep); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-card { text-align: center; padding: 30px 20px; }
.contact-card .card-icon { margin-inline: auto; }
.contact-card h3 { font-size: 18px; }
.contact-card p { font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-footer); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer p.about { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer h4 { font-size: 16px; font-weight: 600; padding-bottom: 16px; }
.footer li a { display: inline-block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: var(--ease); }
.footer li a:hover { color: var(--accent); }
.copyright { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; color: #8f8f8f; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright p { max-width: 720px; }

/* ---------- Setup guide page ---------- */
.guide-hero { padding: 150px 0 20px; text-align: center; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.guide-hero .tag { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }
.guide-hero h1 { font-size: 42px; line-height: 1.2; padding: 10px 0 14px; }
.guide-hero p { color: var(--text-soft); max-width: 560px; margin: 0 auto 26px; }
.guide-hero .hero-cta { justify-content: center; margin-bottom: 10px; }
.guide-hero .hero-points { justify-content: center; margin-top: 22px; }
.guide-hero .steps { grid-template-columns: repeat(3, 1fr); max-width: 680px; margin: 36px auto 0; }

/* .device-icon / .device-icons are shared by the device-select cards below
   AND the accordion summaries further down the page. */
.device-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  color: var(--accent); background: rgba(143, 201, 58, 0.12); border: 1px solid rgba(143, 201, 58, 0.3);
}
.device-icons { display: flex; gap: 4px; flex: none; }
.device-icons .device-icon { width: 34px; height: 34px; font-size: 16px; }

.guide-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-device-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: var(--ease);
}
.guide-device-card:hover { background: var(--card-hover); border-color: rgba(143, 201, 58, 0.45); transform: translateY(-4px); }
.guide-device-card h3 { font-size: 16px; font-weight: 700; }
.guide-device-card p { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.guide-device-card .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--muted); }
.guide-badge .icon { font-size: 11px; color: var(--accent); }

.guide-accordion { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; scroll-margin-top: 120px; }
.guide-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: var(--ease); scroll-margin-top: 120px; }
.guide-item[open] { border-color: rgba(143, 201, 58, 0.5); background: var(--card-hover); }
.guide-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.guide-item-head strong { display: block; font-size: 17px; font-weight: 700; }
.guide-item-head small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.guide-chevron { flex: none; font-size: 18px; color: var(--accent); transition: var(--ease); }
.guide-item[open] .guide-chevron { transform: rotate(180deg); }

.guide-item-body { padding: 0 22px 26px; }
.guide-item-desc { color: var(--text-soft); font-size: 14.5px; padding-bottom: 18px; }
.guide-item-body h4 { font-size: 14px; font-weight: 700; padding-bottom: 10px; }
.guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.guide-checklist li { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--text-soft); }
.guide-checklist .icon { color: var(--accent); font-size: 15px; margin-top: 2px; flex: none; }

.guide-steps { display: grid; gap: 18px; margin-bottom: 22px; }
.guide-step { display: flex; gap: 14px; }
.guide-step-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(143, 201, 58, 0.12); border: 1px solid rgba(143, 201, 58, 0.35);
}
.guide-step strong { display: block; font-size: 14.5px; padding-bottom: 4px; }
.guide-step p { color: var(--text-soft); font-size: 14px; line-height: 1.55; }

.guide-creds { display: grid; gap: 8px; margin-top: 12px; }
.guide-cred { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.guide-cred-label { font-size: 12.5px; color: var(--muted); }
.guide-cred-value { font-size: 13px; font-weight: 600; color: #fff; text-align: right; }

.guide-tips { display: grid; gap: 8px; margin-bottom: 20px; }
.guide-tips li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-soft); line-height: 1.55; }
.guide-tips .icon { color: var(--accent-2); font-size: 14px; margin-top: 2px; flex: none; }

/* WhatsApp floating button */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.8); transition: var(--ease);
}
.fab:hover { transform: scale(1.08); }

/* Sale notification popup (bottom-left, opposite the WhatsApp button) */
.sale-pop {
  position: fixed; left: 20px; bottom: 20px; z-index: 89;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 100px); padding: 8px 40px 8px 8px;
  background: #fff; color: #3a3f4b; border-radius: 999px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(30px); transition: opacity 0.45s ease, transform 0.45s ease;
}
.sale-pop.show { opacity: 1; transform: none; }
.sale-pop[hidden] { display: none; }
.sale-pop-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #eef2fb; color: #3a3f4b;
  font-size: 21px; font-weight: 600;
}
.sale-pop-body { min-width: 0; line-height: 1.3; }
.sale-pop-body strong { display: block; font-size: 14px; font-weight: 600; color: #2d313b; }
.sale-pop-body p { margin: 1px 0; font-size: 12px; color: #7c8190; }
.sale-pop-body small { font-size: 11px; color: #a3aac4; }
/* Small green rounded-square X, tucked inside the pill's top-right */
.sale-pop-close {
  position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
  width: 22px; height: 22px; border: 1.5px solid var(--accent); border-radius: 7px;
  display: grid; place-items: center; cursor: pointer; font-size: 11px;
  color: var(--accent); background: rgba(143, 201, 58, 0.12); transition: var(--ease);
}
.sale-pop-close:hover { color: #fff; background: var(--accent); }
.sale-pop-close .icon { stroke-width: 3.5; }
@media (max-width: 575px) {
  .sale-pop { left: 12px; bottom: 16px; gap: 10px; }
  .sale-pop-avatar { width: 40px; height: 40px; font-size: 18px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
/* Nav has 8 links now (Setup Guide added) - it needs to collapse to the
   mobile menu earlier than the rest of the page's own breakpoint, or it
   wraps awkwardly in the header. Kept separate from @media (max-width:
   991px) below on purpose - that one still governs page-content layout. */
@media (max-width: 1180px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-devices { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .trust-bar-inner { font-size: 12px; gap: 6px 14px; }
  .hero { padding: 148px 0 64px; }
  .guide-hero { padding: 148px 0 20px; }
  .guide-hero h1 { font-size: 34px; }
  .guide-cols { grid-template-columns: 1fr; gap: 18px; }
  .hero::before {
    background:
      linear-gradient(to bottom, transparent 78%, var(--bg) 100%),
      radial-gradient(58% 40% at 12% 2%, rgba(143, 201, 58, 0.18), transparent 60%),
      linear-gradient(rgba(13, 19, 16, 0.8), rgba(13, 19, 16, 0.72));
  }
  .grid-3, .price-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step::after { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:not(:first-child)::before { display: none; }
  .price-grid > :last-child { grid-column: 1 / -1; max-width: 480px; margin-inline: auto; width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section-title h2 { font-size: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-cta .btn { width: 100%; }
  .grid-3, .price-grid, .contact-grid, .steps, .guide-devices { grid-template-columns: 1fr; }
  .guide-hero .hero-cta .btn { width: 100%; }
  .guide-cred { flex-direction: column; align-items: flex-start; gap: 2px; }
  .guide-cred-value { text-align: left; }
  .chat-frame { flex-basis: 160px; }
  .chat-placeholder { font-size: 12px; padding: 14px; }
  .show-card { padding: 30px 22px 26px; border-radius: 22px; }
  .show-title { font-size: 34px; padding-bottom: 24px; }
  .tile { width: 120px; height: 120px; }
  .poster { width: 88px; height: 120px; }
  .price-grid > :last-child { max-width: none; }
  .stat { gap: 12px; }
  .stat-icon { width: 44px; height: 44px; font-size: 20px; }
  .stat strong { font-size: 26px; }
  .toggle { border-radius: 22px; }
  .toggle button { padding: 9px 14px; font-size: 14px; }
  .modal { padding: 40px 22px 26px; border-radius: 20px; }
  .modal h2 { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Phone-friendly layout ----------
   Shorter page, compact rows instead of tall stacked cards, swipeable
   plans, bigger tap targets, and no iOS zoom when a form field is tapped. */
.swipe-hint { display: none; }

@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }
  a, button, summary { -webkit-tap-highlight-color: rgba(143, 201, 58, 0.18); }

  .section { padding: 56px 0; }
  .section-title { margin-bottom: 30px; }
  .section-title .tag { font-size: 13px; }
  .section-title h2 { font-size: 26px; padding: 6px 0 10px; }
  .section-title p { font-size: 15px; }

  /* Announcement strip: one short line */
  .trust-bar-extra { display: none; }
  .trust-bar-inner { flex-wrap: nowrap; gap: 10px; padding: 7px 0; font-size: 12px; }
  .trust-bar-msg { flex-wrap: nowrap; white-space: nowrap; }
  .trust-bar-cta { white-space: nowrap; padding: 6px 0; }

  /* Hero */
  .hero { padding: 126px 0 48px; }
  .hero h1 { font-size: 34px; line-height: 1.18; padding-bottom: 16px; }
  .hero h1 em { text-decoration-thickness: 3px; text-underline-offset: 7px; }
  .hero p.lead { font-size: 15.5px; padding-bottom: 24px; }
  .hero-cta { gap: 10px; }
  .hero-points { gap: 8px 18px; margin-top: 24px; font-size: 13px; }

  /* How it works: number on the left, text on the right */
  .steps { grid-template-columns: 1fr; row-gap: 12px; }
  .step {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start;
    text-align: left; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  }
  .step-num { grid-row: span 2; width: 48px; height: 48px; margin: 0; font-size: 20px; box-shadow: 0 0 0 5px rgba(143, 201, 58, 0.08); }
  .step h3 { font-size: 16px; padding: 2px 0 2px; }
  .step p { font-size: 14px; line-height: 1.5; }

  /* Content showcase */
  .show-card { padding: 24px 18px 22px; }
  .show-title { font-size: 28px; padding: 12px 0 20px; }
  .marquee { margin-bottom: 18px; }
  .tag-chips { gap: 8px; }
  .tag-chips li { padding: 6px 12px; font-size: 13px; }
  .show-desc { padding-top: 20px; font-size: 14.5px; }

  /* Pricing: billing buttons on one row, plans swipe sideways */
  .toggle { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin-bottom: 22px; border-radius: 18px; padding: 5px; }
  .toggle button { padding: 10px 2px; font-size: 13px; line-height: 1.2; border-radius: 13px; }
  .toggle small { display: block; width: fit-content; margin: 3px auto 0; padding: 1px 6px; font-size: 9.5px; }
  .price-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 12px 16px 16px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-grid > .plan, .price-grid > :last-child { flex: 0 0 84%; max-width: none; margin: 0; scroll-snap-align: center; }
  .plan { padding: 28px 20px 22px; }
  .plan .plan-icon { font-size: 28px; }
  .plan h3 { font-size: 21px; }
  .plan .conn { padding-bottom: 10px; }
  .price strong { font-size: 46px; }
  .plan ul { margin: 16px 0 16px; }
  .plan li { padding: 4px 0; font-size: 13.5px; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; font-size: 13px; color: var(--muted); }
  .swipe-hint .icon { color: var(--accent); animation: swipeNudge 1.6s ease-in-out infinite; }
  @keyframes swipeNudge { 50% { transform: translateX(5px); } }
  .pricing-note { margin-top: 16px; font-size: 13px; }

  /* Features + contact: icon on the left, text on the right */
  .grid-3, .contact-grid { gap: 12px; }
  .features .card, .contact-card {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start;
    padding: 16px; text-align: left; border-radius: 16px;
  }
  .features .card .card-icon, .contact-card .card-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 20px; }
  .features .card h3, .contact-card h3 { font-size: 16px; padding: 1px 0 3px; }
  .features .card p, .contact-card p { font-size: 14px; line-height: 1.5; }
  .contact-card { align-items: center; }

  /* Devices: two chips per row */
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .chip { padding: 11px 12px; gap: 8px; font-size: 13.5px; border-radius: 14px; line-height: 1.3; }
  .chip .icon { font-size: 18px; flex: none; }
  .note-line { line-height: 2; }
  .devices-guide-link { padding: 6px 0; }

  /* Stats */
  .stats { padding: 34px 0; }

  /* FAQ */
  .faq-list { gap: 10px; }
  .faq summary { padding: 16px 18px; font-size: 15.5px; }
  .faq .answer { padding: 0 18px 18px; font-size: 14.5px; }

  /* Footer: link lists side by side, bigger tap targets */
  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding-bottom: 28px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer h4 { padding-bottom: 6px; }
  .footer li a { padding: 9px 0; }

  /* 16px form text so iPhones don't zoom in when a field is tapped */
  .co-input input { font-size: 16px; }

  /* Keep the sale popup clear of the WhatsApp button */
  .sale-pop { max-width: calc(100vw - 96px); }
}

/* Touch screens: no hover "lift" that sticks after a tap */
@media (hover: none) {
  .card:hover, .plan:hover, .chip:hover, .tag-chips li:hover, .btn-primary:hover, .btn-outline:hover { transform: none; }
}
