/* ==========================================================================
   Reflexsat IPTV - premium black / red / white theme
   ========================================================================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #151518;
  --surface-2: #1c1c21;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f6f7;
  --muted: #a6a6b0;
  --red: #e3122c;
  --red-600: #c40e24;
  --red-700: #9e0b1d;
  --red-glow: rgba(227, 18, 44, 0.35);
  --white: #ffffff;
  --ink: #0b0b0c;
  --ink-muted: #4a4a52;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, td a, .prose a { color: #ff4d61; text-decoration: underline; text-underline-offset: 3px; }
p a:hover, li a:hover, .prose a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 650; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 12px; }
.text-red { color: var(--red); }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap; line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-600)); color: #fff; box-shadow: 0 10px 30px var(--red-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--red-glow); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo img { width: 40px; height: 40px; }
.logo span b { color: var(--red); font-weight: 800; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; text-decoration: none; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 550; font-size: .97rem; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 11px 20px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border-strong); color: var(--text); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: rgba(10,10,11,.98); border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform .3s ease; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav ul { flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 2px; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .nav-cta { display: block; margin-top: 10px; }
  .nav .nav-cta a { background: var(--red); color: #fff; text-align: center; border-radius: 999px; }
}
@media (min-width: 981px) { .nav .nav-cta { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-light { background: #fff; color: var(--ink); }
.section-light .muted, .section-light p { color: var(--ink-muted); }
.section-light .eyebrow { color: var(--red-600); }
.section-light .card { background: #fff; border-color: #ececf0; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.section-light .card p { color: var(--ink-muted); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(227,18,44,.28), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 .accent { background: linear-gradient(120deg, #ff3b52, var(--red) 60%, #ff7a88); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: #cfcfd6; max-width: 600px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--border); font-size: .88rem; color: #dcdce2; }
.hero-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--red); }

.page-hero { padding: 72px 0 60px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; left: 50%; top: -340px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(227,18,44,.26), transparent 65%); pointer-events: none; }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.page-hero p { color: #cfcfd6; font-size: 1.12rem; max-width: 720px; margin: 0 auto 1em; }

.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Stats strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.strip-item span { color: var(--muted); font-size: .92rem; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), #111114); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(227,18,44,.45); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(227,18,44,.2), rgba(227,18,44,.05)); border: 1px solid rgba(227,18,44,.35); color: #ff4d61;
}
.icon svg { width: 26px; height: 26px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--border); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Categories ---------- */
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-4px); border-color: rgba(227,18,44,.5); }
.cat-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cat-card .cat-body { padding: 22px 24px 26px; }
.cat-card h3 { margin-bottom: .35em; }
.cat-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 26px; left: 30px; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}

/* ---------- Devices ---------- */
.device-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.device { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.device svg { width: 28px; height: 28px; color: var(--red); flex: none; }
.section-light .device { background: #f6f6f8; border-color: #ececf0; color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--surface), #0f0f12); border: 1px solid var(--border); border-radius: 22px; padding: 32px 26px 28px; transition: transform .25s, border-color .25s; }
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured { border-color: var(--red); background: linear-gradient(180deg, #2a0a10, #120709 55%, #0f0f12); box-shadow: 0 25px 60px rgba(227,18,44,.22); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price-card .plan-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin: 0 0 4px; }
.price-card .plan-tag { color: var(--muted); font-size: .92rem; min-height: 3em; margin-bottom: 18px; }
.price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); line-height: 1; margin-bottom: 6px; }
.price .cur { font-size: 1.4rem; font-weight: 700; margin-top: 6px; }
.price .amt { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; }
.per-month { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.per-month b { color: #fff; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-card li { position: relative; padding: 8px 0 8px 28px; font-size: .93rem; color: #d9d9df; border-bottom: 1px dashed rgba(255,255,255,.06); line-height: 1.45; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: rgba(227,18,44,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4d61' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.price-card .btn { white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px; }
.price-card li.extra { color: #fff; font-weight: 600; }
.pricing-note { text-align: center; color: var(--muted); font-size: .93rem; margin-top: 30px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: .97rem; }
thead th { background: #1a1a1f; font-family: var(--font-display); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: #4ade80; font-weight: 600; }
td.no { color: #f87171; font-weight: 600; }
th.hl, td.hl { background: rgba(227,18,44,.08); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(227,18,44,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 650; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { color: var(--muted); padding-bottom: 20px; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-group-title { margin: 48px 0 18px; font-size: 1.5rem; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center; background: radial-gradient(ellipse at top, #3a0a12, #160709 55%, #0d0d0f); border: 1px solid rgba(227,18,44,.4); }
.cta-band::before { content: ""; position: absolute; inset: auto -100px -200px auto; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(227,18,44,.35), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band p { color: #d6d6dc; max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Prose (blog/legal) ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #d3d3da; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--surface); border-radius: 0 12px 12px 0; color: #e6e6ea; }
.prose .callout { margin: 1.8em 0; padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, rgba(227,18,44,.14), rgba(227,18,44,.04)); border: 1px solid rgba(227,18,44,.35); }
.prose .callout p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius); border: 1px solid var(--border); margin: 1.6em 0; }
.prose code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: .92em; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px 26px; margin: 0 0 2em; }
.toc strong { display: block; margin-bottom: 8px; font-family: var(--font-display); }
.toc ol { margin: 0; }
.toc a { color: #d3d3da; text-decoration: none; }
.toc a:hover { color: #fff; text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: var(--muted); font-size: .92rem; }
.article-cover { margin: -10px auto 0; max-width: 1000px; }
.article-cover img { border-radius: 22px; border: 1px solid var(--border); width: 100%; }
.legal-meta { color: var(--muted); font-size: .95rem; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(227,18,44,.5); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-tag { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 10px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card .read-more { color: #fff; font-weight: 600; font-size: .95rem; }
.post-card .read-more::after { content: " →"; color: var(--red); }

/* ---------- Contact ---------- */
.contact-card { text-align: center; }
.contact-card .icon { margin: 0 auto 20px; }
.contact-card .btn { margin-top: 18px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: #0d0d10; color: var(--text); font: inherit; font-size: 1rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #070708; border-top: 1px solid var(--border); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.site-footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-footer li a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding: 24px 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: .86rem; }
.footer-disclaimer { color: #77777f; font-size: .82rem; line-height: 1.6; margin-top: 18px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #fff, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .grid-4, .device-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .form-row { grid-template-columns: 1fr; }
  .device-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .device { padding: 14px; font-size: .92rem; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 60px; }
  .btn-group .btn { width: 100%; }
  .cta-band { padding: 48px 22px; border-radius: 22px; }
  .card { padding: 24px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .price-card .plan-tag { min-height: 0; }
}
