/* ═══════════════════════════════════════════════════════════
   BESTE IPTV — Velino-inspired Dark Stream Theme
   Deep navy · Electric blue · Glass panels
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-deep: #050816;
  --bg-mid: #0A1020;
  --bg-elevated: #0E1528;
  --bg-panel: rgba(14, 21, 40, 0.72);
  --bg-header: rgba(5, 8, 22, 0.82);
  --bg-hover: rgba(43, 127, 255, 0.1);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(43, 127, 255, 0.45);
  --border-purple: rgba(96, 165, 250, 0.35);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-soft: #A8B4C4;
  --accent: #2B7FFF;
  --accent-2: #60A5FA;
  --accent-bright: #38BDF8;
  --accent-dim: rgba(43, 127, 255, 0.14);
  --accent-glow: rgba(43, 127, 255, 0.35);
  --amber-glow: rgba(251, 191, 36, 0.22);
  --purple-glow: rgba(43, 127, 255, 0.18);
  --success: #22C55E;
  --danger: #F43F5E;
  --grad: linear-gradient(115deg, #38BDF8 0%, #2B7FFF 48%, #1D4ED8 100%);
  --grad-cta: linear-gradient(115deg, #2B7FFF 0%, #2563EB 55%, #1D4ED8 100%);
  --grad-soft: linear-gradient(135deg, rgba(43, 127, 255, 0.9), rgba(29, 78, 216, 0.85));
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
  --sticky-h: 70px;
  --max: 1160px;
  --drawer-w: min(320px, 88vw);
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --container-pad: clamp(16px, 4vw, 22px);
  --section-y: clamp(36px, 5.5vw, 72px);
  --toast-bottom: max(18px, env(safe-area-inset-bottom));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-muted);
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: 24px;
  background-image:
    radial-gradient(ellipse 70% 55% at 12% -10%, rgba(43, 127, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 0%, rgba(56, 189, 248, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 110%, rgba(29, 78, 216, 0.18), transparent),
    linear-gradient(180deg, #050816 0%, #070B18 50%, #050816 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.drawer-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

a:hover { color: var(--accent-bright); }

ul, ol { list-style: none; }

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

h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

p { color: var(--text-muted); }

/* —— Gradient text —— */
.gradient-text,
.brand-mark .accent,
.section-head h2 .grad,
.grad,
.price-amount .currency {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* —— Icons —— */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(43, 127, 255, 0.1);
  border: 1px solid rgba(43, 127, 255, 0.2);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-wrap svg.icon-filled,
.icon-wrap svg.icon-filled path {
  fill: currentColor;
  stroke: none;
}

.icon-wrap-sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.icon-wrap-sm svg { width: 18px; height: 18px; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg-header) 92%, transparent);
  border-bottom: 1px solid var(--border);
  /* Blur lives on ::before so backdrop-filter does NOT create a
     fixed containing block (breaks mobile lang sheet + drawer). */
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.site-header-light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.site-header-light::before {
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.logo:hover { opacity: 0.88; }

.logo img {
  width: auto;
  height: 36px;
  max-width: 150px;
  object-fit: contain;
}

.header-nav .nav-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.site-header-light .nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #4B5563;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-list a:hover,
.site-header-light .nav-list a:hover {
  color: #111827;
  background: rgba(15, 23, 42, 0.05);
  box-shadow: none;
}

.nav-list a.active,
.site-header-light .nav-list a.active {
  color: #1D4ED8;
  background: rgba(43, 127, 255, 0.1);
  font-weight: 600;
  box-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.mobile-toggle {
  display: none;
  background: #fff;
  border: 1px solid #E5E7EB;
  color: #111827;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1102;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-toggle:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.mobile-toggle .menu-icon {
  width: 20px;
  height: 20px;
}

/* —— Language Switcher —— */
.lang-switcher { position: relative; z-index: 1100; }

.lang-btn,
.lang-btn-pro,
.site-header-light .lang-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 10px 0 8px;
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  color: #0F172A;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.lang-btn:hover,
.lang-btn-pro:hover,
.lang-switcher.open .lang-btn,
.lang-switcher.open .lang-btn-pro {
  border-color: #BFDBFE;
  background: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.lang-switcher.open .lang-btn-pro {
  border-color: #93C5FD;
}

.lang-btn-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  flex-shrink: 0;
}

.lang-globe-svg {
  width: 15px;
  height: 15px;
}

.lang-btn-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.05;
  min-width: 0;
}

.lang-btn-name {
  font-size: 0.78rem;
  font-weight: 650;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.lang-btn-code {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748B;
  text-transform: uppercase;
}

.lang-chevron-svg {
  width: 14px;
  height: 14px;
  color: #94A3B8;
  margin-left: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lang-switcher.open .lang-chevron-svg {
  transform: rotate(180deg);
  color: #2563EB;
}

.lang-dropdown,
.site-header-light .lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  animation: langDropIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 8px;
}

.lang-switcher.open .lang-dropdown { display: block; }

@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-dropdown-title {
  margin: 0;
  padding: 8px 12px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
}

.lang-dropdown a,
.site-header-light .lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
  border-bottom: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.lang-dropdown a:hover,
.site-header-light .lang-dropdown a:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.lang-dropdown a.active,
.site-header-light .lang-dropdown a.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.08));
  color: #1D4ED8;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.lang-flag-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.lang-dropdown a.active .lang-flag-wrap {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.2);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.lang-label {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: inherit;
}

.lang-native {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94A3B8;
}

.lang-dropdown a.active .lang-native {
  color: #60A5FA;
}

.lang-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-short {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94A3B8;
  background: #F1F5F9;
  border-radius: 999px;
  padding: 3px 7px;
}

.lang-dropdown a.active .lang-short {
  color: #1D4ED8;
  background: rgba(37, 99, 235, 0.12);
}

.lang-check-svg {
  width: 16px;
  height: 16px;
  color: #2563EB;
  flex-shrink: 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  /* Must stay BELOW .site-header (z-index 1000). The drawer lives inside
     the header stacking context — a higher overlay intercepts all nav clicks. */
  z-index: 990;
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-overlay.show {
  display: block;
  opacity: 1;
}

body.drawer-open,
body.lang-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.drawer-open .purchase-toast,
body.lang-open .purchase-toast {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* legacy CTA removed from header */
.btn-header-cta { display: none; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 80px) 0 clamp(56px, 8vw, 88px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  width: 560px;
  height: 560px;
  left: -160px;
  top: -200px;
  background: radial-gradient(circle, rgba(43, 127, 255, 0.45), transparent 68%);
}

.hero::after {
  width: 480px;
  height: 480px;
  right: -120px;
  top: 40px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-layout-solo {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.hero-layout-solo .hero-inner {
  max-width: 760px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--text);
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero-velino {
  padding-bottom: 0;
  isolation: isolate;
}

.hero-velino::before,
.hero-velino::after {
  opacity: 0.35;
  z-index: 0;
}

.hero-velino > .container,
.hero-velino > .hero-trust-bar {
  position: relative;
  z-index: 2;
}

.hero-reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 12px;
  animation: fadeUp 0.7s ease both;
}

.hero-stars {
  color: #FBBF24;
  letter-spacing: 1px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 127, 255, 0.16);
  border: 1px solid rgba(43, 127, 255, 0.35);
  color: #E0F2FE;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease 0.05s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #050816;
  margin-left: -8px;
  background: linear-gradient(135deg, #60A5FA, #2563EB);
}

.hero-avatar:first-child { margin-left: 0; }
.hero-avatar:nth-child(2) { background: linear-gradient(135deg, #818CF8, #4F46E5); }
.hero-avatar:nth-child(3) { background: linear-gradient(135deg, #34D399, #059669); }
.hero-avatar:nth-child(4) { background: linear-gradient(135deg, #F472B6, #DB2777); }
.hero-avatar:nth-child(5) { background: linear-gradient(135deg, #FBBF24, #D97706); }

.hero-social-proof p {
  margin: 0;
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 8px;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 500;
}

.check-ok {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #22C55E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0 0;
  position: relative;
  z-index: 1;
}

.hero-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.95), rgba(10, 16, 34, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-feat-card:hover {
  border-color: rgba(43, 127, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-feat-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #38BDF8;
  flex-shrink: 0;
}

.hero-feat-card .icon-wrap svg {
  width: 22px;
  height: 22px;
}

.hero-feat-card strong {
  display: block;
  color: #F8FAFC;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  line-height: 1.25;
}

.hero-feat-card span {
  display: block;
  color: #94A3B8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.hero-trust-bar {
  margin-top: 40px;
  padding: 26px 0;
  background: linear-gradient(180deg, rgba(6, 10, 24, 0.96), rgba(5, 8, 22, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
}

.hero-trust-item .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(0, 182, 122, 0.1);
  border: 1px solid rgba(0, 182, 122, 0.22);
  color: #00B67A;
  flex-shrink: 0;
}

.hero-trust-item .icon-wrap svg {
  width: 20px;
  height: 20px;
}

.hero-trust-item strong {
  display: block;
  color: #F8FAFC;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.25;
}

.hero-trust-item span {
  display: block;
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-lead {
  color: var(--text-soft);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  margin-bottom: 26px;
  max-width: 540px;
  animation: fadeUp 0.7s ease 0.16s both;
}

.hero-price-tease {
  margin: 0 0 22px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-from {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 4px;
}

.hero-from-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 12px 0 8px;
}

.devices-seo-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  text-align: center;
  margin: 28px auto 16px;
  color: var(--text);
  max-width: 720px;
}

.no-hidden-fees {
  text-align: center;
  color: var(--text-soft);
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.7s ease 0.24s both;
}

.hero-velino > .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}

.hero-media-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #172554 45%, #0f172a 100%);
}

/* 16:9 cover relative to hero box (not viewport) — works on all breakpoints */
.hero-video.hero-vimeo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.77777778vh);
  height: max(100%, 56.25vw);
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

@supports (width: 1cqw) {
  .hero-video.hero-vimeo {
    width: max(100cqw, calc(100cqh * 16 / 9));
    height: max(100cqh, calc(100cqw * 9 / 16));
  }
}

.hero-video.hero-vimeo.is-ready {
  opacity: 1;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(7, 12, 24, 0.55) 0%,
      rgba(7, 12, 24, 0.7) 42%,
      rgba(7, 12, 24, 0.88) 72%,
      var(--bg, #070c18) 100%
    ),
    radial-gradient(ellipse 80% 55% at 50% 20%, rgba(43, 127, 255, 0.16), transparent 70%);
}

@media (max-width: 980px) {
  .hero-layout-solo {
    max-width: 100%;
  }

  .hero-layout-solo .hero-inner {
    max-width: 100%;
  }

  .hero-media-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 24, 0.66) 0%,
        rgba(7, 12, 24, 0.78) 38%,
        rgba(7, 12, 24, 0.92) 70%,
        var(--bg, #070c18) 100%
      ),
      radial-gradient(ellipse 90% 50% at 50% 15%, rgba(43, 127, 255, 0.14), transparent 70%);
  }
}

@media (max-width: 640px) {
  .hero-velino {
    padding: 20px 0 0;
  }

  .hero-velino::before,
  .hero-velino::after {
    display: none;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-reviews,
  .hero-badge,
  .cta-row,
  .hero-social-proof {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-video.hero-vimeo {
    /* Extra overscan on tall phones so Vimeo never letterboxes */
    width: max(140%, 177.77777778vh);
    height: max(120%, 56.25vw);
  }

  @supports (width: 1cqw) {
    .hero-video.hero-vimeo {
      width: max(140cqw, calc(100cqh * 16 / 9));
      height: max(120cqh, calc(100cqw * 9 / 16));
    }
  }

  .hero-media-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 12, 24, 0.72) 0%,
        rgba(7, 12, 24, 0.82) 36%,
        rgba(7, 12, 24, 0.94) 68%,
        var(--bg, #070c18) 100%
      );
  }

  .hero-reviews {
    font-size: 0.8rem;
    gap: 6px;
    line-height: 1.35;
  }

  .hero-badge {
    font-size: 0.74rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }

  .hero-velino .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }

  .hero-social-proof p {
    font-size: 0.84rem;
    line-height: 1.35;
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-avatars {
    margin: 0 auto;
  }

  .hero-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .hero-feat-grid {
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .hero-velino h1 {
    font-size: clamp(1.55rem, 8.2vw, 1.9rem);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero-video.hero-vimeo {
    width: max(100%, 200vh);
    height: max(100%, 56.25vw);
  }

  @supports (width: 1cqw) {
    .hero-video.hero-vimeo {
      width: max(100cqw, calc(100cqh * 16 / 9));
      height: max(100cqh, calc(100cqw * 9 / 16));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video.hero-vimeo {
    display: none !important;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(43, 127, 255, 0.5), 0 10px 28px rgba(43, 127, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(43, 127, 255, 0), 0 12px 34px rgba(56, 189, 248, 0.28);
  }
}

/* —— Trust badges —— */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 10px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid rgba(43, 127, 255, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px rgba(43, 127, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  page-break-inside: avoid;
  break-inside: avoid;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(43, 127, 255, 0.18);
}

.trust-badge strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.trust-badge span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* —— Buttons —— */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  min-height: 52px;
}

.btn:hover { transform: scale(1.02); }

.btn-primary,
.btn-whatsapp,
button.btn-primary[type="submit"] {
  background: var(--grad-cta);
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(43, 127, 255, 0.4), 0 0 0 1px rgba(43, 127, 255, 0.2);
  animation: pulseGlow 2.8s ease-in-out infinite;
  border-radius: 999px;
}

.btn-primary:hover,
.btn-whatsapp:hover,
button.btn-primary[type="submit"]:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF;
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(43, 127, 255, 0.55), 0 0 28px rgba(56, 189, 248, 0.25);
}

.btn-ghost {
  background: rgba(14, 21, 40, 0.7);
  border-color: rgba(148, 163, 184, 0.22);
  color: var(--text);
  animation: none;
  border-radius: 999px;
}

.btn-ghost:hover {
  border-color: rgba(43, 127, 255, 0.5);
  color: #FFFFFF;
  background: rgba(43, 127, 255, 0.12);
  box-shadow: 0 8px 24px rgba(43, 127, 255, 0.2);
}

.btn-block { display: flex; width: 100%; }
.btn-sm {
  padding: 12px 16px;
  font-size: 0.85rem;
  min-height: 46px;
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* —— Sections —— */
.section { padding: var(--section-y) 0; }

.section-alt {
  background:
    linear-gradient(180deg, rgba(43, 127, 255, 0.06) 0%, rgba(56, 189, 248, 0.03) 100%),
    rgba(10, 16, 32, 0.92);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}

.section-head-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 36px;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.device-card {
  text-align: center;
  padding: 28px 16px 24px;
  background: rgba(14, 21, 40, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.device-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 127, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.device-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-wrap-device {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: #60A5FA;
  background: rgba(43, 127, 255, 0.12);
  border: 1px solid rgba(43, 127, 255, 0.25);
  box-shadow: none;
}

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

.icon-wrap-device svg.icon-filled,
.icon-wrap-device svg.icon-filled path {
  fill: currentColor;
  stroke: none;
}

.device-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.device-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.section-trustpilot {
  background: linear-gradient(to bottom, #0a1628, #050d1a);
}

.tp-eyebrow {
  color: #00B67A;
}

.tp-score-box {
  margin-top: 12px;
}

.tp-score-label {
  color: var(--text) !important;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.tp-based {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
}

.tp-stars {
  color: #00B67A;
  letter-spacing: 1px;
}

.tp-container {
  max-width: 72rem;
}

.tp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

@media (min-width: 640px) {
  .tp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.tp-grid.tp-fading {
  opacity: 0;
  transform: translateY(8px);
}

.tp-grid.tp-entering {
  animation: tpGridIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tpGridIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-card {
  display: none;
  background: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  min-width: 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .tp-card {
    padding: 20px;
  }
}

.tp-card.is-visible {
  display: block;
}

.tp-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

.section-trustpilot.tp-expanded .tp-card.is-visible {
  animation: tpFadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tpFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.tp-nav {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.tp-nav:hover:not(:disabled) {
  background: rgba(31, 41, 55, 0.9);
  color: #fff;
}

.tp-nav:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.tp-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.tp-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #4b5563;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tp-dot:hover {
  background: #6b7280;
}

.tp-dot.is-active {
  background: #00B67A;
  transform: none;
  width: 10px;
}

.tp-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tp-card-who {
  min-width: 0;
}

.tp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: #00B67A;
  flex-shrink: 0;
}

.tp-name {
  display: block;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-meta {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 2px;
}

.tp-verified {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00B67A !important;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tp-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.tp-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

.tp-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.tp-toggle {
  min-width: 180px;
}

.section-payments {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.payments-inner {
  text-align: center;
}

.payments-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.payments-head p {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.pay-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.pay-method-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111827;
  line-height: 1;
  white-space: nowrap;
}

.pay-method-visa .pay-method-label { color: #1A1F71; letter-spacing: 0.08em; }
.pay-method-paypal .pay-method-label { color: #003087; }
.pay-method-applepay .pay-method-label { color: #111; font-weight: 700; }
.pay-method-googlepay .pay-method-label { color: #3C4043; }
.pay-method-ideal .pay-method-label { color: #CC0066; }
.pay-method-klarna .pay-method-label { color: #0A0B09; letter-spacing: 0.04em; }
.pay-method-sepa .pay-method-label { color: #1E3A8A; }

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.pay-badge .icon-svg {
  width: 14px;
  height: 14px;
  color: #00B67A;
}

.section-objections {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(43, 127, 255, 0.12), transparent 60%),
    var(--bg-deep);
}

.objections-wrap {
  max-width: 52rem;
}

.section-objections .section-head h2 {
  margin-bottom: 8px;
}

.section-objections .section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.objections-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.objection-card {
  background: rgba(14, 21, 40, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.objection-card:hover {
  border-color: rgba(43, 127, 255, 0.35);
  background: rgba(14, 21, 40, 0.92);
  transform: translateY(-2px);
}

.objection-q {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.35;
}

.objection-a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 1040px) {
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .devices-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .device-card { padding: 22px 12px 18px; }
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 12px;
}

.section-head p { color: var(--text-soft); font-size: 1.02rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* —— Grids —— */
.feature-grid,
.pricing-grid,
.channel-cats,
.footer-grid,
.blog-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, 1fr); }
.channel-cats { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.product-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }

.feature-row,
.pricing-row { display: contents; }

.feature-cell,
.price-card,
.channel-cat,
.blog-card,
.setup-block,
.product-panel {
  background: rgba(14, 21, 40, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  page-break-inside: avoid;
  break-inside: avoid;
}

.feature-cell::before,
.price-card::before,
.blog-card::before,
.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-cell:hover,
.price-card:hover,
.blog-card:hover,
.product-panel:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(43, 127, 255, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.feature-cell:hover::before,
.price-card:hover::before,
.blog-card:hover::before,
.product-panel:hover::before {
  opacity: 1;
  background: var(--grad);
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-cell h3,
.blog-card h3,
.channel-cat h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.feature-cell p,
.blog-card p { color: var(--text-muted); font-size: 0.93rem; }

/* —— Pricing —— */
.price-card { padding: 28px 22px; overflow: hidden; }

.price-card.popular,
.price-card-featured {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(165deg, rgba(37, 99, 235, 0.28) 0%, rgba(14, 21, 40, 0.96) 42%, rgba(8, 12, 28, 0.98) 100%);
  border: 1px solid rgba(96, 165, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 0 40px rgba(37, 99, 235, 0.28),
    0 22px 44px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px) scale(1.03);
}

.price-card.popular::before,
.price-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(56, 189, 248, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(251, 191, 36, 0.12), transparent 40%);
}

.price-card.popular:hover,
.price-card-featured:hover {
  transform: translateY(-8px) scale(1.035);
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.28),
    0 0 48px rgba(37, 99, 235, 0.38),
    0 28px 50px rgba(0, 0, 0, 0.4);
}

.popular-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: calc(100% - 24px);
  display: flex;
  justify-content: center;
}

.badge-popular,
.price-card-compact .badge-popular {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 0 0 12px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0B1220;
  background: linear-gradient(115deg, #FDE68A 0%, #FBBF24 45%, #F59E0B 100%);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}

.badge-popular .icon-svg {
  width: 12px;
  height: 12px;
  color: #92400E;
}

.price-card.popular h3,
.price-card-featured h3 {
  margin-top: 18px;
  color: #F8FAFC;
}

.price-card.popular .price-bonus,
.price-card-featured .price-bonus {
  color: #FBBF24 !important;
}

.price-card.popular .price-amount,
.price-card-featured .price-amount {
  color: #fff;
}

.price-card.popular .price-amount .currency,
.price-card-featured .price-amount .currency {
  color: #38BDF8;
}

.price-card.popular .screen-opt-inner,
.price-card-featured .screen-opt-inner {
  background: rgba(8, 15, 35, 0.55);
  border-color: rgba(96, 165, 250, 0.22);
}

.price-card.popular .screen-opt input:checked + .screen-opt-inner,
.price-card-featured .screen-opt input:checked + .screen-opt-inner {
  border-color: #38BDF8;
  background: rgba(37, 99, 235, 0.22);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.btn-popular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(115deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%) !important;
  color: #111827 !important;
  border: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.btn-popular:hover {
  filter: brightness(1.06);
  color: #111827 !important;
}

.price-card.popular .price-guarantee,
.price-card-featured .price-guarantee {
  color: #CBD5E1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #FFFFFF;
  margin-bottom: 14px;
}

.price-card h2,
.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  margin: 10px 0 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
  -webkit-text-fill-color: initial;
}

.price-amount .currency {
  font-size: 1.1rem;
  vertical-align: super;
  margin-right: 2px;
  color: var(--accent);
}

.price-was-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.price-was {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: line-through;
  opacity: 0.85;
}

.price-save {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-local { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 8px; }
.price-bonus {
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  min-height: 1.4em;
}

.screen-selector {
  margin: 8px 0 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-mid);
}

.screen-selector > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.screen-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.screen-opt {
  position: relative;
  display: block;
}

.screen-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.screen-opt-inner,
.screen-opt span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  padding: 10px 4px;
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: all 0.18s ease;
  min-height: 52px;
}

.screen-opt-inner strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.screen-opt-inner small {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.screen-opt input:checked + .screen-opt-inner,
.screen-opt input:checked + span {
  background: linear-gradient(180deg, rgba(43, 127, 255, 0.14), rgba(43, 127, 255, 0.06));
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(43, 127, 255, 0.14);
  transform: translateY(-1px);
}

.screen-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-features { margin: 12px 0 20px; }

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.price-features li:last-child { border-bottom: none; }

/* Compact pricing cards */
.pricing-grid-compact {
  gap: 14px;
}

.price-card-compact {
  padding: 16px 14px 14px !important;
}

.price-card-compact.popular,
.price-card-compact.price-card-featured {
  padding-top: 28px !important;
}

.price-card-compact.popular:hover,
.price-card-compact.price-card-featured:hover {
  transform: translateY(-8px) scale(1.035);
}

.price-card-compact h3 {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.price-card-compact .price-bonus {
  text-align: center;
  font-size: 0.75rem;
  min-height: 1.15em;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 600;
}

.price-card-compact .badge,
.badge-sm {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  font-size: 0.62rem;
  padding: 3px 8px;
}

.screen-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.screen-options-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.screen-opt-row .screen-opt-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border-width: 1px;
  border-radius: 10px;
  gap: 8px;
  text-align: left;
}

.screen-opt-row .screen-opt-inner em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
}

.screen-opt-row .screen-opt-inner strong {
  font-size: 0.82rem;
  color: var(--text);
}

.screen-opt-row input:checked + .screen-opt-inner strong {
  color: var(--accent);
}

.price-row-center {
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 2px;
}

.price-card-compact .price-amount {
  font-size: 1.85rem;
}

.price-card-compact .price-was {
  font-size: 0.85rem;
}

.price-card-compact .price-local {
  text-align: center;
  font-size: 0.72rem;
  margin-bottom: 4px;
  min-height: 0;
}

.price-card-compact .price-features {
  margin: 8px 0 12px;
}

.price-card-compact .price-features li {
  padding: 4px 0;
  font-size: 0.74rem;
  border-bottom: none;
  gap: 8px;
}

.price-guarantee {
  margin-top: 8px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-sm {
  min-height: 42px !important;
  padding: 9px 12px !important;
  font-size: 0.84rem !important;
}

.price-features .check {
  color: var(--accent);
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(43, 127, 255, 0.45));
}

.guarantee-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 18px 24px;
  margin-top: 28px;
  background: linear-gradient(105deg, rgba(43, 127, 255, 0.1), rgba(43, 127, 255, 0.08));
  border: 1px solid rgba(43, 127, 255, 0.28);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--accent);
}

/* —— Order form —— */
.order-panel {
  margin: 48px auto 0;
  padding: clamp(22px, 4vw, 36px);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px;
  box-shadow: 0 0 40px rgba(43, 127, 255, 0.1), 0 0 20px rgba(43, 127, 255, 0.05);
}

.order-panel h2 { font-size: 1.55rem; margin-bottom: 8px; }
.order-panel > p { color: var(--text-soft); margin-bottom: 22px; font-size: 0.95rem; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  min-height: 52px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 16px rgba(43, 127, 255, 0.12);
}

.form-summary {
  padding: 14px 16px;
  background: var(--bg-panel);
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.form-summary strong { color: var(--accent); }
.form-error { color: var(--danger); font-size: 0.85rem; margin-top: 8px; display: none; }

/* —— Channels —— */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 20px 0;
}

.channel-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--bg-panel);
}

.channel-table th,
.channel-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  white-space: nowrap;
}

.channel-table th {
  color: var(--accent);
  font-weight: 600;
  background: var(--bg-panel);
}

.channel-table td { color: var(--text-muted); }

.channel-cat li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.channel-cat li:last-child { border-bottom: none; }
.channel-cat h3 { color: var(--accent); margin-bottom: 14px; }

/* —— Setup —— */
.setup-steps { display: grid; gap: 16px; }
.setup-block ol { list-style: decimal; padding-left: 22px; }
.setup-block li { margin-bottom: 10px; color: var(--text-muted); padding-left: 6px; }
.setup-block li strong { color: var(--text); }
.setup-block h2,
.setup-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 1.25rem;
}

/* —— FAQ —— */
.price-offer-link {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.86rem;
}
.price-offer-link a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer-pricing-box {
  margin: 1.4rem 0 0.5rem;
  max-width: 28rem;
}
.offer-pricing-box .price {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0.4rem 0 1rem;
}
.offer-pricing-box .price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Pricing SEO badges + compatibility (digital-product template adapted) */
.product-seo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.product-seo-badges li {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: 0.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.section-compat .compat-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}
.section-compat .compat-list li {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding: 1rem 0;
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}
.section-compat .compat-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}
.section-compat .compat-list strong {
  color: var(--text);
  display: inline;
}

.faq-list { max-width: 800px; }

.faq-more {
  margin-top: 28px;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  page-break-inside: avoid;
  break-inside: avoid;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(43, 127, 255, 0.22);
  box-shadow: 0 0 16px rgba(43, 127, 255, 0.07);
}

.faq-item h2,
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  position: relative;
  padding-right: 48px;
  color: var(--text);
}

.faq-item h2:hover,
.faq-item h3:hover { color: var(--accent); }

.faq-item h2::after,
.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(43, 127, 255, 0.35);
}

.faq-item.open h2::after,
.faq-item.open h3::after { content: "−"; }
.faq-answer { display: block; padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }
.faq-item:not(.open) .faq-answer { display: none; }
.faq-item h2 + .faq-answer > p:first-child,
.faq-item h3 + .faq-answer > p:first-child { margin: 0; }

.section-kicker {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}

/* —— Page hero / breadcrumb —— */
.page-hero {
  padding: clamp(36px, 5vw, 52px) 0 28px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p { color: var(--text-soft); max-width: 640px; }

.breadcrumb { padding: 18px 0 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list { display: inline-block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.breadcrumb-list li { display: inline-block; }
.breadcrumb-list li + li::before { content: "/"; margin: 0 8px; color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--accent); }

.silo-back, .silo-context, .silo-cta-text, .hero-silo-links {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.silo-back a, .silo-context a, .silo-cta-text a, .hero-silo-links a { font-weight: 600; }

.content-figure {
  margin: 0 0 32px;
  page-break-inside: avoid;
  break-inside: avoid;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse 50% 45% at 90% 40%, rgba(43, 127, 255, 0.14), transparent 55%),
    var(--bg-elevated);
  border: 1px solid var(--accent-glow);
  box-shadow: 0 0 40px var(--purple-glow), 0 24px 48px rgba(0, 0, 0, 0.35);
}
.content-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-elevated);
}
.content-figure-sm {
  max-width: 720px;
}
.content-figure-sm img { max-width: 100%; }

/* Channel strip under section intros — avoids empty visual gap */
.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.channel-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}
.channel-strip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  box-shadow: 0 0 10px rgba(43, 127, 255, 0.45);
}

/* Clean pricing intro — replaces decorative placeholder images */
.pricing-intro {
  margin: 0 0 28px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(43, 127, 255, 0.14), rgba(56, 189, 248, 0.06)), var(--bg-elevated);
  border: 1px solid var(--border);
}
.pricing-intro-title {
  color: var(--text) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.pricing-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.pricing-intro-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
}
.pricing-intro-item strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.pricing-intro-item span {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.pricing-intro-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .pricing-intro-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pricing-intro-grid { grid-template-columns: 1fr; }
}

/* —— Product —— */
.product-price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 8px;
}

.product-price .currency {
  background: linear-gradient(105deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 1.4rem;
  vertical-align: super;
}

.product-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(43, 127, 255, 0.35);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(43, 127, 255, 0.12);
}

.product-features { margin: 20px 0 28px; }
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

/* —— Blog —— */
.blog-card a { color: inherit; }
.blog-card .meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.45rem; margin: 32px 0 12px; }
.article-body p { margin-bottom: 16px; color: var(--text-soft); }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article-body li { margin-bottom: 8px; color: var(--text-muted); }

.article-cta {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(43, 127, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(43, 127, 255, 0.14), rgba(43, 127, 255, 0.07));
  text-align: center;
  box-shadow: 0 0 30px rgba(43, 127, 255, 0.07);
}

/* —— Sticky bar (removed) —— */
.sticky-bar,
.sticky-inner,
.sticky-text,
.sticky-cta {
  display: none !important;
}

/* —— Footer —— */
.site-footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(43, 127, 255, 0.08), transparent 45%), var(--bg-mid);
}

.footer-col h4,
.footer-col .footer-heading {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 700;
}
.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.keyword-strip span {
  padding: 6px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* —— Long-form SEO prose —— */
.longform-seo {
  border-top: 1px solid var(--border);
}

.prose-seo {
  max-width: 820px;
}

.prose-seo h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 36px 0 14px;
  color: var(--text);
}

.prose-seo h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--accent);
}

.prose-seo h4 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--text);
}

.prose-seo p {
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose-seo ul,
.prose-seo ol {
  margin: 0 0 18px 1.2rem;
  color: var(--text-muted);
}

.prose-seo li {
  margin-bottom: 8px;
  list-style: disc;
}

.prose-seo ol li { list-style: decimal; }

.prose-seo table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.92rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.prose-seo th,
.prose-seo td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-muted);
}

.prose-seo th {
  color: var(--accent);
  background: var(--bg-panel);
  font-weight: 600;
}

.prose-seo a { font-weight: 600; }

.prose-seo strong { color: var(--text); }

.legal-crumb {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 6px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

.legal-prose {
  max-width: 760px;
}

.legal-nav-more {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

/* —— Mobile-first refinements —— */
@media (max-width: 1040px) {
  .mobile-toggle { display: inline-flex; }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .header-brand {
    min-width: 0;
  }

  .logo img {
    height: 32px;
    max-width: min(140px, 42vw);
  }

  .header-actions {
    gap: 6px;
    position: relative;
    z-index: 2;
  }

  .site-header-light .mobile-toggle {
    background: #fff;
    border-color: #E5E7EB;
    color: #111827;
  }

  .site-header-light .header-nav {
    background: #fff;
    border-left: 1px solid #E5E7EB;
  }

  .site-header-light .header-nav .nav-list a {
    border: 1px solid #E5E7EB;
    color: #374151;
    border-radius: 12px;
  }

  .site-header-light .header-nav .nav-list a.active {
    border-color: rgba(43, 127, 255, 0.35);
    color: #1D4ED8;
    background: rgba(43, 127, 255, 0.08);
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-w);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    padding: calc(var(--header-h) + 16px) 16px calc(24px + env(safe-area-inset-bottom));
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.14);
    visibility: hidden;
    pointer-events: none;
  }

  .header-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-nav .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
  }

  .lang-switcher {
    z-index: 1205;
  }

  .lang-dropdown,
  .site-header-light .lang-dropdown {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
    min-width: 0;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    padding: 10px;
    border-radius: 18px;
    z-index: 1210;
    box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.2), 0 22px 50px rgba(15, 23, 42, 0.14);
    animation: langSheetIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .lang-switcher.open .lang-dropdown,
  .site-header-light .lang-switcher.open .lang-dropdown {
    display: block;
  }

  @keyframes langSheetIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  body.lang-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    /* Below sticky header (1000) so lang + hamburger stay tappable */
    z-index: 999;
    pointer-events: auto;
  }

  .lang-dropdown-title {
    padding: 6px 10px 12px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .lang-dropdown a,
  .site-header-light .lang-dropdown a {
    padding: 12px 10px;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }

  .lang-btn,
  .lang-btn-pro {
    height: 44px;
    min-width: 44px;
    padding: 0 8px 0 6px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .lang-btn-name {
    font-size: 0.72rem;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .feature-grid,
  .pricing-grid,
  .channel-cats,
  .footer-grid,
  .blog-grid,
  .product-grid,
  .hero-feat-grid,
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .trust-badges { grid-template-columns: 1fr; }
  .sticky-text .hide-mobile { display: none; }

  .brand-mark { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  .price-card.popular,
  .price-card-featured,
  .price-card-compact.popular,
  .price-card-compact.price-card-featured {
    transform: none;
  }

  .price-card.popular:hover,
  .price-card-featured:hover,
  .price-card-compact.popular:hover,
  .price-card-compact.price-card-featured:hover {
    transform: translateY(-2px);
  }

  .section-head {
    margin-bottom: var(--space-lg);
  }

  .page-hero {
    padding: clamp(28px, 4vw, 40px) 0 var(--space-md);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --section-y: clamp(32px, 8vw, 48px);
    --toast-bottom: max(72px, calc(env(safe-area-inset-bottom) + 16px));
  }

  body {
    padding-bottom: var(--space-lg);
    line-height: 1.65;
  }

  .container { padding: 0 var(--container-pad); }

  .hero {
    padding: clamp(28px, 6vw, 40px) 0 clamp(36px, 7vw, 52px);
  }

  .hero-velino {
    padding: 20px 0 0;
  }

  .hero-feat-grid,
  .hero-trust-grid,
  .hero-layout,
  .pricing-grid,
  .pricing-grid-compact,
  .footer-grid,
  .feature-grid,
  .blog-grid,
  .product-grid,
  .channel-cats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .devices-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .device-card {
    padding: 18px 14px 16px;
  }

  .btn-header-cta { display: none; }

  .lang-btn-name { display: none; }
  .lang-btn-meta { gap: 6px; }
  .lang-btn,
  .lang-btn-pro {
    padding: 0 8px 0 6px;
    min-width: 0;
  }

  .cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .cta-row .btn,
  .btn-block,
  .order-panel .btn,
  .sticky-cta .btn {
    width: 100%;
  }

  .hero-feat-grid {
    margin-top: var(--space-lg);
  }

  .hero-trust-bar {
    padding: var(--space-lg) 0;
    margin-top: var(--space-md);
  }

  .hero-trust-grid {
    gap: var(--space-md);
  }

  .section-head {
    margin-bottom: var(--space-md);
    gap: var(--space-sm);
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .page-hero {
    padding: 24px 0 18px;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .breadcrumb {
    padding: 12px 0 0;
  }

  .pricing-intro {
    padding: 18px 16px;
    margin-bottom: var(--space-md);
  }

  .pricing-intro-grid {
    gap: var(--space-sm);
  }

  .price-card,
  .price-card-compact,
  .feature-cell,
  .blog-card {
    padding: 18px 16px !important;
  }

  .price-card-compact.popular,
  .price-card-compact.price-card-featured {
    padding-top: 26px !important;
    transform: none;
    margin: 0;
  }

  .price-card.popular,
  .price-card-featured {
    transform: none;
  }

  .screen-options-list {
    gap: 6px;
  }

  .screen-opt-inner {
    padding: 8px 10px;
  }

  .guarantee-banner {
    padding: 14px 16px;
    margin: var(--space-md) 0;
  }

  .faq-item h2,
  .faq-item h3 {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 40px 0 28px;
    margin-top: var(--space-xl);
  }

  .footer-grid {
    gap: var(--space-xl) var(--space-md);
  }

  .footer-col {
    min-width: 0;
  }

  .footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
  }

  .sticky-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }

  .sticky-cta { width: 100%; }

  .order-panel {
    padding: 18px 16px;
    margin-top: var(--space-xl);
  }

  .setup-block {
    padding: 16px;
  }

  .setup-steps {
    gap: var(--space-md);
  }

  .channel-strip {
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .silo-context,
  .silo-back {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .purchase-toast {
    bottom: var(--toast-bottom);
    left: 12px;
    right: auto;
    max-width: min(300px, calc(100vw - 24px));
  }

  .offer-pricing-box {
    max-width: none;
  }

  .product-seo-badges {
    gap: 8px 12px;
  }

  .compat-list li {
    padding: 0.85rem 0;
    font-size: 0.95rem;
  }

  .form-group input {
    font-size: 16px; /* prevent iOS zoom */
  }
}

@media (max-width: 420px) {
  .devices-grid {
    grid-template-columns: 1fr;
  }

  .hero-velino h1 {
    font-size: clamp(1.45rem, 8vw, 1.85rem);
  }

  .pricing-intro-item {
    padding: 12px;
  }

  .price-card-compact .price-amount {
    font-size: 1.75rem;
  }
}

/* ═══ Purchase toast — soft system notification (not “salesy”) ═══ */
.purchase-toast {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 11px 28px 11px 11px;
  border-radius: 12px;
  background: rgba(12, 16, 28, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  will-change: transform, opacity;
}

.purchase-toast.is-idle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
}

.purchase-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s;
}

.purchase-toast.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 0.4s ease,
    transform 0.45s ease,
    visibility 0.4s;
}

.purchase-toast.is-dismissed {
  display: none !important;
}

.purchase-toast-avatar {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.purchase-toast-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 650;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.purchase-toast-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3dd68c;
  border: 2px solid #0c101c;
  opacity: 0.9;
}

.purchase-toast-body {
  min-width: 0;
  flex: 1;
  line-height: 1.3;
  padding-right: 2px;
}

.purchase-toast-name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.purchase-toast-action {
  margin: 2px 0 0;
  font-size: 0.75rem;
  font-weight: 450;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.purchase-toast-time {
  margin: 3px 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.85);
}

.purchase-toast-close {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.purchase-toast-close:hover {
  opacity: 0.9;
}

.purchase-toast:hover {
  border-color: rgba(148, 163, 184, 0.22);
}

@media (max-width: 640px) {
  .purchase-toast {
    left: 12px;
    right: auto;
    max-width: min(300px, calc(100vw - 24px));
    bottom: var(--toast-bottom);
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchase-toast.is-visible,
  .purchase-toast.is-hiding,
  .purchase-toast.is-idle {
    transition: opacity 0.2s ease;
    transform: none;
  }
}
