/* =========================================================
   4KIPTVUS – main stylesheet (no framework, mobile-first)
   Brand: black background, neon green #0EF019 / #25E800, white text
   ========================================================= */

:root {
  --bg: #000;
  --bg-2: #060707;
  --surface: #101113;
  --surface-2: #15171a;
  --surface-grad: linear-gradient(180deg, #17191c 0%, #0e0f11 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --text-2: #d9dbdf;
  --muted: #a3a7ae;
  --accent: #0ef019;
  --accent-2: #25e800;
  --accent-soft: rgba(14, 240, 25, 0.1);
  --accent-ring: rgba(14, 240, 25, 0.35);
  --accent-ink: #000;
  --danger: #ea5356;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.75);
  --glow: 0 0 0 1px rgba(14, 240, 25, .25), 0 18px 50px -12px rgba(14, 240, 25, .35);
  --container: 1160px;
  --gutter: 16px;
  --section: clamp(40px, 5.5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: #7dff83; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.15rem); }
h3 { font-size: clamp(1.08rem, 1.8vw, 1.22rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

/* ---------- Icons (inline SVG sprite) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.grad {
  background: linear-gradient(100deg, var(--accent) 10%, #b6ffb9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; text-align: center; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, #3dff47 0%, var(--accent) 55%, var(--accent-2) 100%);
  color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(14, 240, 25, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(14, 240, 25, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: 14px 28px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.12rem; letter-spacing: .02em; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--border); }
.brand span b { color: var(--accent); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #050505; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.main-nav.open, .no-js .main-nav { display: block; }
.no-js .nav-toggle { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 6px var(--gutter) 14px; }
.main-nav a { display: block; padding: 12px 4px; color: var(--text-2); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav .nav-cta { margin-top: 12px; }
.main-nav .nav-cta a { border: 0; color: var(--accent-ink); }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .main-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  .main-nav a { position: relative; border: 0; padding: 8px 12px; font-size: .95rem; }
  .main-nav li:not(.nav-cta) a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .main-nav li:not(.nav-cta) a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav .nav-cta { margin: 0 0 0 10px; }
  .main-nav .nav-cta a { padding: 9px 18px; min-height: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #000); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.04rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(14, 240, 25, .25);
  color: var(--accent); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(44px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .1) 100%),
              linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 35%);
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .86) 60%, #000 100%); }
}
.hero-content { max-width: 640px; }
.hero h1 { margin-bottom: .4em; }
.hero p.lead { font-size: clamp(1.02rem, 1.8vw, 1.15rem); color: var(--text-2); margin-bottom: .8em; }
.hero .price-line { font-size: 1.08rem; font-weight: 700; margin-bottom: 0; }
.hero .price-line strong { color: var(--accent); font-size: 1.3em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: clamp(28px, 4vw, 44px); list-style: none; padding: 0; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(16, 17, 19, .72); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stats .ic { width: 26px; height: 26px; color: var(--accent); }
.stats strong { display: block; font-size: 1.12rem; line-height: 1.15; }
.stats span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; }

.page-hero {
  padding: clamp(36px, 5vw, 60px) 0 clamp(24px, 3.5vw, 36px); text-align: center;
  background: radial-gradient(900px 320px at 50% -20%, rgba(14, 240, 25, .16), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .btn { margin-top: 18px; }

/* ---------- Trust bar ---------- */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 14px; background: var(--bg-2); }
.trust-grid .ic-wrap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.trust-grid strong { display: block; font-size: .95rem; line-height: 1.2; }
.trust-grid span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }

.trust-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.trust-inline li { display: inline-flex; align-items: center; gap: 6px; }
.trust-inline .ic { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.steps li {
  position: relative; padding: 20px; border-radius: var(--radius);
  background: var(--surface-grad); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.steps li:hover { transform: translateY(-3px); border-color: rgba(14, 240, 25, .3); }
.steps .step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.steps .step-top::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 900;
}
.steps h3 { margin: 0; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.device-tabs {
  display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 26px;
  padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto;
}
.device-tabs button {
  min-height: 40px; padding: 8px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .93rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.device-tabs button:hover { color: var(--text); }
.device-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(14, 240, 25, .7); }

.plans { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .plans { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 20px 18px; border-radius: var(--radius-lg);
  background: var(--surface-grad); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: rgba(14, 240, 25, .35); box-shadow: var(--shadow-lg); }
.plan.popular {
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #102313 0%, #0d0f0e 55%) padding-box,
              linear-gradient(160deg, var(--accent) 0%, rgba(14, 240, 25, .25) 45%, rgba(14, 240, 25, .6) 100%) border-box;
  box-shadow: var(--glow);
}
.plan.popular:hover { box-shadow: 0 0 0 1px rgba(14, 240, 25, .35), 0 26px 60px -12px rgba(14, 240, 25, .45); }
@media (min-width: 1060px) { .plan.popular { transform: translateY(-6px); } .plan.popular:hover { transform: translateY(-10px); } }
@media (max-width: 639px) { .plan.popular { order: -1; } }
.plan .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, #3dff47, var(--accent-2)); color: var(--accent-ink);
  font-weight: 900; font-size: .7rem; letter-spacing: .12em; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(14, 240, 25, .8);
}
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.plan h3 { font-size: 1.05rem; margin: 0; }
.plan .plan-devices { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
.plan .save {
  flex: none; padding: 4px 8px; border-radius: 8px; font-size: .74rem; font-weight: 800;
  background: rgba(234, 83, 86, .14); color: #ff9a9c; border: 1px solid rgba(234, 83, 86, .3);
}
.plan .price { display: flex; align-items: flex-start; gap: 2px; font-weight: 900; line-height: 1; margin: 4px 0 6px; }
.plan .price .cur { font-size: 1.3rem; margin-top: 6px; color: var(--accent); }
.plan .price .amt { font-size: 3rem; letter-spacing: -0.03em; }
.plan .price .per { align-self: flex-end; color: var(--muted); font-size: .88rem; font-weight: 500; margin: 0 0 6px 6px; }
.plan .per-month { display: inline-block; align-self: flex-start; margin: 0 0 14px; padding: 4px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .84rem; }
.plan .per-month.plain { background: rgba(255, 255, 255, .05); color: var(--muted); }
.plan ul { list-style: none; padding: 14px 0 0; margin: 0 0 16px; flex: 1; font-size: .9rem; border-top: 1px solid var(--border); }
.plan li { padding: 4px 0 4px 24px; position: relative; color: var(--text-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ef019' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }
.plan .one-time { text-align: center; color: var(--muted); font-size: .8rem; margin: 8px 0 0; }
.pricing-fallback { text-align: center; color: var(--muted); grid-column: 1 / -1; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: .9rem; }
.pricing-foot li { display: inline-flex; align-items: center; gap: 7px; }
.pricing-foot .ic { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; gap: 20px; align-items: center; margin-bottom: 36px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); }
.feature-media:hover img { transform: scale(1.015); }
.feature-row h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.feature-row p { color: var(--muted); font-size: 1.02rem; }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }
  .feature-row.reverse .feature-media { order: 2; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.card {
  position: relative; padding: 20px; border-radius: var(--radius);
  background: var(--surface-grad); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(14, 240, 25, .3); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .35em; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: .95rem; }
.card p:last-child { margin-bottom: 0; }
.card a.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; font-size: .93rem; }
.card .ic-wrap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .9rem; color: var(--text-2); transition: border-color .2s var(--ease), color .2s var(--ease); }
.chips li:hover { border-color: var(--accent-ring); color: var(--accent); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding: 5px 0 5px 28px; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ef019' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Devices ---------- */
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .devices { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.devices li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--radius);
  background: var(--surface-grad); border: 1px solid var(--border); text-align: center; font-weight: 600; font-size: .86rem; color: var(--text-2);
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.devices li:hover { transform: translateY(-3px); border-color: var(--accent-ring); color: var(--text); }
.devices .ic { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.6; }
.devices-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 22px; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; list-style: none; margin: 0;
  scrollbar-color: var(--accent) #111; scrollbar-width: thin;
}
.reviews li { scroll-snap-align: start; padding: 6px; border-radius: 18px; background: var(--surface-grad); border: 1px solid var(--border); box-shadow: var(--shadow); }
.reviews img { border-radius: 13px; width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface-grad); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: rgba(14, 240, 25, .3); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .25s var(--ease), margin .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary h3 { display: inline; font-size: 1.01rem; margin: 0; font-weight: 700; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center; padding: clamp(28px, 5vw, 48px) clamp(18px, 4vw, 48px);
  border-radius: 24px; border: 1px solid rgba(14, 240, 25, .25);
  background: radial-gradient(600px 240px at 50% 120%, rgba(14, 240, 25, .22), transparent 70%), var(--surface-grad);
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 { margin-bottom: .3em; }
.cta-panel p { color: var(--muted); max-width: 600px; margin: 0 auto 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta-panel .trust-inline { justify-content: center; margin-top: 18px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border-strong); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.article-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.callout { background: var(--surface-grad); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 16px; margin: 1.2em 0; }
.callout.warn { border-left-color: var(--danger); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Tutorial ---------- */
.device-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.device-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); text-decoration: none; font-weight: 700; font-size: .93rem;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.device-nav a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.device-nav .ic { width: 18px; height: 18px; color: var(--accent); }
.tutorial-block { background: var(--surface-grad); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; scroll-margin-top: 84px; box-shadow: var(--shadow); }
.tutorial-block h2 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.tutorial-block h3 { font-size: 1.02rem; color: var(--accent); margin-top: 1em; }
.tutorial-block ol { margin-bottom: .5em; }
.tutorial-block ol li { margin-bottom: .4em; color: var(--text-2); }
.tutorial-block p:last-child { margin-bottom: 0; }
code { background: #1c1e22; border: 1px solid var(--border-strong); padding: 2px 7px; border-radius: 6px; font-size: .92em; word-break: break-all; }

/* ---------- Checkout ---------- */
.checkout-wrap { padding: clamp(20px, 3vw, 36px) 0 var(--section); }
.checkout-title { text-align: center; margin-bottom: 22px; }
.checkout-title h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .25em; }
.checkout-title p { color: var(--muted); margin: 0; }
.checkout-grid { display: grid; gap: 16px; align-items: start; }
.checkout-grid > .order-summary { order: -1; }
@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }
  .checkout-grid > .order-summary { order: 0; position: sticky; top: 84px; }
}
.panel { background: var(--surface-grad); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .panel { padding: 26px; } }
.panel h2 { font-size: 1.2rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { position: relative; }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text-2); }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: #08090a; color: var(--text); font: inherit; font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select, .combo input {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ef019' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:hover, .field select:hover { border-color: rgba(255, 255, 255, .25); }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(14, 240, 25, .16); }
.field .error-msg { color: #ff8a8c; font-size: .84rem; margin: 6px 0 0; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }

/* searchable country dropdown */
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; border-radius: 12px;
  background: #0d0e10; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.combo-list[hidden] { display: none; }
.combo-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text-2); }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--accent-soft); color: var(--text); }
.combo-list li.sep { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 0; height: 0; cursor: default; pointer-events: none; }
.combo-list li.empty { color: var(--muted); cursor: default; background: none; }

.pay-note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(14, 240, 25, .25); color: var(--text-2); font-size: .95rem; }
.pay-note .ic { color: var(--accent); }
.field .agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); margin: 0; }
.field .agree input { accent-color: var(--accent); width: 20px; height: 20px; margin-top: 1px; flex: none; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.secure-line .ic { width: 15px; height: 15px; color: var(--accent); }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; display: none; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.error { background: rgba(234, 83, 86, .12); border: 1px solid var(--danger); color: #ffd0d1; }

.summary-plan { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.summary-plan img { width: 48px; height: 48px; border-radius: 12px; }
.summary-plan strong { display: block; }
.summary-plan span { color: var(--muted); font-size: .88rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .95rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 1.3rem; font-weight: 900; }
.summary-total span:first-child { color: var(--text); }
.summary-total span:last-child { color: var(--accent); }
.summary-trust { display: grid; gap: 8px; list-style: none; padding: 14px 0 0; margin: 12px 0 0; border-top: 1px solid var(--border); }
.summary-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); }
.summary-trust .ic { width: 18px; height: 18px; color: var(--accent); }
.summary-warn { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .84rem; color: #ffc9ca; background: rgba(234, 83, 86, .08); border: 1px solid rgba(234, 83, 86, .25); }
@media (max-width: 899px) { .order-summary .summary-trust, .order-summary .summary-warn { display: none; } }
.checkout-trust { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #040404; padding: 40px 0 84px; font-size: .94rem; }
.footer-tagline { font-size: 1.05rem; font-weight: 700; max-width: 760px; margin: 0 auto 28px; text-align: center; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { color: var(--muted); }
.site-footer .footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; list-style: none; padding: 20px 0 0; margin: 26px 0 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-badges li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.footer-badges .ic { width: 16px; height: 16px; color: var(--accent); }
.copyright { margin: 14px 0 0; text-align: center; color: #7d8187; font-size: .84rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; min-height: 50px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6), 0 0 0 4px rgba(14, 240, 25, .15);
  transition: transform .2s var(--ease);
}
.wa-float:hover { color: var(--accent-ink); transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 480px) { .wa-float .wa-label { display: none; } .wa-float { padding: 13px; } }

/* ---------- Thank you ---------- */
.thanks-box { max-width: 680px; margin: 0 auto; text-align: center; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: var(--glow); }
.thanks-icon .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.order-id { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.1rem; background: var(--surface); border: 1px dashed var(--accent); padding: 6px 12px; border-radius: 8px; }
.thanks-box .callout { text-align: left; }

/* ---------- Mobile refinements ---------- */
.same-features { display: none; }
@media (max-width: 639px) {
  .device-tabs { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 3px; padding: 4px; }
  .device-tabs button { padding: 8px 2px; font-size: .82rem; }
  .plan:not(.popular) ul { display: none; }
  .plan:not(.popular) .same-features {
    display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding-top: 12px;
    border-top: 1px solid var(--border); color: var(--text-2); font-size: .9rem;
  }
  .same-features .ic { width: 16px; height: 16px; color: var(--accent); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-grid > div:nth-child(-n+2) { grid-column: 1 / -1; }
  .secure-line { display: block; text-align: center; line-height: 1.5; }
  .secure-line .ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
}
@media (max-width: 480px) {
  .trust-grid li { padding: 12px 10px; gap: 10px; }
  .trust-grid .ic-wrap { width: 34px; height: 34px; border-radius: 10px; }
  .trust-grid li > span > span { display: none; }
  .trust-grid strong { font-size: .88rem; }
  .stats li { padding: 12px; gap: 10px; }
  .stats strong { font-size: .98rem; }
  .stats .ic { width: 22px; height: 22px; }
}

/* "Questions? Ask on WhatsApp" under each plan */
.plan .plan-ask {
  display: block; margin: 6px 0 0; text-align: center; font-size: .82rem; font-weight: 600;
  color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25);
}
.plan .plan-ask:hover { color: var(--accent); text-decoration-color: var(--accent); }
