/* ════════════════════════════════════════════════════
   FRANCE IPTV PRO · NETFLIX-STYLE LANDING
   ════════════════════════════════════════════════════ */

:root {
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-2: #b3b3b3;
  --text-3: #777777;
  --text-4: #555555;
  --red: #E50914;
  --red-deep: #B20710;
  --red-glow: rgba(229, 9, 20, 0.45);
  --gold: #FFB800;
  --gold-soft: #FFD45A;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-red: 0 20px 60px -20px rgba(229, 9, 20, 0.55);
  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Anton", "Bebas Neue", "Impact", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { cursor: pointer; font-family: inherit; border: 0; background: none; color: inherit; }

::selection { background: var(--red); color: #fff; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ─────── REVEAL ANIMATION (Intersection Observer) ─────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.nav__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line-strong), 0 4px 14px -4px rgba(229, 9, 20, 0.4);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav__brand:hover .brand-mark {
  box-shadow: 0 0 0 1px var(--red), 0 8px 24px -6px rgba(229, 9, 20, 0.7);
  transform: scale(1.04);
}
.brand-text { line-height: 1; }
.brand-text em { color: var(--red); font-style: normal; }

.nav__menu { display: flex; gap: 32px; }
.nav__menu a {
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  position: relative;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 22px;
  background: var(--red);
  color: var(--text);
  font-weight: 700; font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Hamburger button (mobile only) */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle:hover { background: rgba(255,255,255,0.08); }
.nav__toggle:active { transform: scale(0.96); }
.nav__toggle-bars {
  position: relative;
  width: 22px; height: 14px;
}
.nav__toggle-bars span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 6px; }
.nav__toggle-bars span:nth-child(3) { top: 12px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) {
  top: 6px; transform: rotate(45deg); background: var(--red);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) {
  top: 6px; transform: rotate(-45deg); background: var(--red);
}

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.25s linear;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav__menu a {
    padding: 16px 12px;
    font-size: 16px; font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__menu a:last-of-type { border-bottom: 0; }
  .nav__menu a::after { display: none; }
  .nav__menu .nav__menu-cta {
    margin-top: 12px;
    padding: 14px 22px;
    background: var(--red);
    color: var(--text);
    text-align: center;
    border-radius: 8px;
    border-bottom: 0;
    box-shadow: 0 8px 24px -8px rgba(229,9,20,0.5);
  }
  body.menu-open { overflow: hidden; }
}

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at top left, rgba(229, 9, 20, 0.18), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(229, 9, 20, 0.12), transparent 60%),
              #000;
}
.hero__gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.6) 90%, #000 100%);
}
.hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}
.hero__glow--1 {
  top: -100px; left: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(229,9,20,0.6), transparent 70%);
}
.hero__glow--2 {
  bottom: -150px; right: 5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(229,9,20,0.35), transparent 70%);
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
}

/* ─── HERO PRO PLUS — 2-column sidebar layout (landscape image right) ─── */
.hero__layout {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
  .hero__title { font-size: clamp(40px, 7vw, 88px) !important; }
}
.hero__content {
  position: relative;
  width: 100%;
}

/* Right column — landscape image visual */
.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
}
.hero__visual-frame {
  position: relative;
  width: 100%; max-width: 640px;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: visible;
  transform-style: preserve-3d;
  animation: heroFloat 9s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotateY(-1.5deg) rotateX(0.5deg); }
  50% { transform: translateY(-12px) rotateY(1.5deg) rotateX(-0.5deg); }
}
.hero__visual-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 70px -18px rgba(229, 9, 20, 0.45),
    0 50px 100px -40px rgba(0, 0, 0, 0.9);
}
.hero__visual-shadow {
  position: absolute;
  inset: -24px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.4) 0%, transparent 65%);
  z-index: -1;
  filter: blur(45px);
  animation: shadowPulse 4s ease-in-out infinite alternate;
}
@keyframes shadowPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

.hero__visual-tag {
  position: absolute;
  padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 9, 20, 0.55);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.8);
  animation: tagBob 4s ease-in-out infinite;
}
.hero__visual-tag--tl { top: 12px; left: 12px; }
.hero__visual-tag--br {
  bottom: 12px; right: 12px;
  color: var(--gold);
  border-color: rgba(255, 184, 0, 0.55);
  box-shadow: 0 10px 26px -10px rgba(255, 184, 0, 0.45);
  background: rgba(20, 12, 0, 0.88);
  animation-delay: -2s;
}
@keyframes tagBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero__visual-tag .live-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

/* Sparks scattered across hero bg */
.hero__sparks {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__sparks span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red), 0 0 14px var(--red-glow);
  animation: sparkRise linear infinite;
  opacity: 0;
}
@keyframes sparkRise {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: 1; transform: scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}
.hero__sparks span:nth-child(1)  { left: 10%; bottom: 20%; animation-duration: 4s; animation-delay: 0s; }
.hero__sparks span:nth-child(2)  { left: 22%; bottom: 30%; animation-duration: 5s; animation-delay: -1s; }
.hero__sparks span:nth-child(3)  { left: 35%; bottom: 15%; animation-duration: 3.5s; animation-delay: -2s; }
.hero__sparks span:nth-child(4)  { left: 50%; bottom: 25%; animation-duration: 4.5s; animation-delay: -3s; }
.hero__sparks span:nth-child(5)  { left: 60%; bottom: 35%; animation-duration: 5.5s; animation-delay: -0.5s; }
.hero__sparks span:nth-child(6)  { left: 72%; bottom: 18%; animation-duration: 4s;   animation-delay: -1.5s; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.hero__sparks span:nth-child(7)  { left: 85%; bottom: 28%; animation-duration: 6s;   animation-delay: -2.5s; }
.hero__sparks span:nth-child(8)  { left: 92%; bottom: 14%; animation-duration: 3.8s; animation-delay: -3.5s; }
.hero__sparks span:nth-child(9)  { left: 15%; bottom: 50%; animation-duration: 5.2s; animation-delay: -4s; }
.hero__sparks span:nth-child(10) { left: 78%; bottom: 60%; animation-duration: 4.8s; animation-delay: -1.8s; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* Trust row */
.hero__trust {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
}
.hero__trust-stars {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}
.hero__trust-txt {
  font-size: 13px;
  color: var(--text-3);
}
.hero__trust-txt strong { color: var(--text); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-glow);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.text-red { color: var(--red); }
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--red) 60%, var(--red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero__sub strong { color: var(--text); font-weight: 700; }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 60px;
}

.hero__platforms {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.hero__platforms-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero__platforms-list {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
}
.hero__platforms-list i {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--text-4);
  border-radius: 50%;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--text-3), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; top: -20px; left: 0;
  width: 100%; height: 20px;
  background: var(--text);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* ════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(229,9,20,0.6);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.btn--primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(229,9,20,0.75);
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}

.btn--block { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* ════════════════════════════════════════════════════
   POSTERS / MARQUEE
   ════════════════════════════════════════════════════ */
.posters-section {
  position: relative;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #000 0%, #060606 100%);
}
.posters-header {
  max-width: 1240px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.section-eyebrow.center { text-align: center; }
.posters-tag {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-3);
}

.posters-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.posters-marquee:hover .posters-track { animation-play-state: paused; }

.posters-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 16px 24px;
  animation: marquee 60s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.poster {
  position: relative;
  flex: 0 0 200px;
  height: 290px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.8);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.poster:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 24px 50px -10px rgba(229,9,20,0.4);
  z-index: 2;
}
.poster:hover img { transform: scale(1.08); }
.poster__badge {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
}

@media (max-width: 760px) {
  .poster { flex: 0 0 150px; height: 220px; }
}

/* ════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════ */
.stats {
  padding: 100px 0;
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.stat__desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats .container { grid-template-columns: 1fr; gap: 40px; }
  .stat:nth-child(odd) { border-right: 0; }
}

/* ════════════════════════════════════════════════════
   CHANNELS MARQUEE
   ════════════════════════════════════════════════════ */
.channels-section {
  padding: 60px 0 80px;
  background: #000;
}
.channels-marquee {
  overflow: hidden;
  margin-top: 32px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.channels-track {
  display: flex;
  width: max-content;
  animation: marqueeSlow 40s linear infinite;
}
.channels-track span {
  display: inline-flex; align-items: center;
  padding: 0 36px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
@keyframes marqueeSlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════
   SECTION HEAD / TYPE
   ════════════════════════════════════════════════════ */
.section-head { text-align: center; margin-bottom: 60px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
}

/* ════════════════════════════════════════════════════
   PLANS · SINGLE DYNAMIC CARD
   ════════════════════════════════════════════════════ */
.plans {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at top, rgba(229,9,20,0.08), transparent 50%),
    #000;
  position: relative;
}

.plan-card {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.plan-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(229,9,20,0.4), transparent 30%, transparent 70%, rgba(229,9,20,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Switcher */
.plan-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line);
}
.plan-btn {
  position: relative;
  padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.plan-btn:last-child { border-right: 0; }
.plan-btn:hover { background: rgba(255,255,255,0.04); }
.plan-btn__duration {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
  text-transform: uppercase;
}
.plan-btn__badge {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  text-transform: uppercase;
}
.plan-btn__badge--vip {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #000;
}
.plan-btn.active {
  background: rgba(229,9,20,0.1);
}
.plan-btn.active .plan-btn__duration { color: #fff; }
.plan-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 2px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

/* Body */
.plan-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 480px;
}

.plan-info {
  padding: 48px 56px;
  display: flex; flex-direction: column;
}
.plan-info__title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.plan-info__price-wrap {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 8px;
}
.plan-info__price {
  font-family: var(--font-display);
  font-size: 88px; line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  transition: transform 0.4s var(--ease);
}
.plan-info__currency {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
}
.plan-info__period {
  font-size: 14px;
  color: var(--text-3);
  margin-left: 8px;
}
.plan-info__per-month {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.plan-info__save {
  padding: 4px 12px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-pill);
  color: #4caf50;
  font-size: 12px; font-weight: 700;
}
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-2);
}
.plan-features li svg {
  flex: 0 0 18px;
  color: var(--red);
}
.plan-features li strong { color: var(--gold); }

.plan-guarantee {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}
.plan-guarantee svg { color: var(--red); flex-shrink: 0; }

/* Visual right side */
.plan-visual {
  position: relative;
  background:
    radial-gradient(circle at center, rgba(229,9,20,0.25), transparent 60%),
    linear-gradient(135deg, #1a0203, #0a0001);
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.plan-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
}
.plan-visual__ring {
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 50%;
  animation: rotateRing 30s linear infinite;
}
.plan-visual__ring::before, .plan-visual__ring::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(229,9,20,0.15);
  border-radius: 50%;
}
.plan-visual__ring::before { transform: scale(0.7); border-color: rgba(229,9,20,0.4); }
.plan-visual__ring::after { transform: scale(1.4); }
@keyframes rotateRing {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.plan-visual__price {
  position: relative; z-index: 2;
  text-align: center;
}
.plan-visual__num {
  display: block;
  font-family: var(--font-display);
  font-size: 96px;
  color: #fff;
  text-shadow: 0 0 40px var(--red-glow);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-visual__txt {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
}

.plan-visual__corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--red);
}
.plan-visual__corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.plan-visual__corner--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.plan-visual__corner--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.plan-visual__corner--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

@media (max-width: 880px) {
  .plan-body { grid-template-columns: 1fr; }
  .plan-info { padding: 32px 24px; }
  .plan-visual { min-height: 220px; border-left: 0; border-top: 1px solid var(--line); }
  .plan-visual__ring { width: 200px; height: 200px; }
  .plan-visual__num { font-size: 64px; }
  .plan-info__price { font-size: 64px; }
  .plan-info__currency { font-size: 36px; }
  .plan-btn__duration { font-size: 16px; }
  .plan-btn { padding: 16px 8px; }
  .plan-btn__badge { font-size: 8px; padding: 2px 5px; top: 4px; right: 4px; }
}

.plans-foot {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-3);
}

/* Price pop animation */
.price-pop {
  animation: pricePop 0.5s var(--ease);
}
@keyframes pricePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ════════════════════════════════════════════════════
   WHY US
   ════════════════════════════════════════════════════ */
.why {
  padding: 100px 0;
  background: #000;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  padding: 32px 28px;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(229,9,20,0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229,9,20,0.4);
  background: linear-gradient(180deg, #131313, #080808);
}
.why-card:hover::before { opacity: 1; }
.why-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: rgba(229,9,20,0.1);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 12px;
  color: var(--red);
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.why-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════ */
.faq {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at bottom, rgba(229,9,20,0.06), transparent 60%),
    #000;
}
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: 17px; font-weight: 600;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--red); }
.faq-answer {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 760px;
}
.faq-more {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-2);
}
.faq-more a {
  color: var(--red);
  font-weight: 700;
}
.faq-more a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════════════ */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(229,9,20,0.2), transparent 60%),
    #000;
}
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cta-final p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-2);
  margin-bottom: 40px;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  color: var(--text-2);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
  max-width: 360px;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer__col ul { list-style: none; }
.footer__col li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer__col a {
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--red); }
.footer__bot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-3);
}
.footer__pay strong { color: var(--text-2); margin: 0 4px; }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalIn 0.4s var(--ease);
}
.modal[hidden] { display: none; }
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__panel {
  position: relative;
  width: 100%; max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  box-shadow: 0 40px 100px -20px rgba(229,9,20,0.4), 0 30px 80px -30px rgba(0,0,0,0.8);
  animation: panelIn 0.5s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: scale(0.94) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal__close:hover {
  background: var(--red);
  transform: rotate(90deg);
}
.modal__head { margin-bottom: 28px; }
.modal__eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal__head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.modal__form { display: flex; flex-direction: column; gap: 28px; }

.form-group { display: flex; flex-direction: column; gap: 14px; }
.form-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700;
  color: var(--text);
}
.form-label__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
}

/* Device grid */
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 560px) {
  .device-grid { grid-template-columns: repeat(2, 1fr); }
}
.device-card {
  position: relative;
  cursor: pointer;
}
.device-card input { position: absolute; opacity: 0; pointer-events: none; }
.device-card__inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-2);
  font-size: 11px; font-weight: 600;
  text-align: center;
  transition: all 0.25s var(--ease);
  min-height: 80px;
}
.device-card__inner svg { color: var(--text-3); transition: color 0.25s var(--ease); }
.device-card:hover .device-card__inner {
  background: rgba(255,255,255,0.07);
  border-color: var(--line-strong);
  color: var(--text);
}
.device-card input:checked + .device-card__inner {
  background: rgba(229,9,20,0.12);
  border-color: var(--red);
  color: var(--text);
}
.device-card input:checked + .device-card__inner svg {
  color: var(--red);
}

/* Contact toggle */
.contact-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.contact-toggle__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--text-3);
  transition: all 0.25s var(--ease);
}
.contact-toggle__btn.active {
  background: var(--red);
  color: #fff;
}

.form-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field input::placeholder { color: var(--text-4); }
.form-field input:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(229,9,20,0.04);
}
.form-error {
  font-size: 12px;
  color: #ff5454;
  font-weight: 600;
  margin-top: 4px;
}

.modal__legal {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}
.modal__legal a { color: var(--red); }

/* ════════════════════════════════════════════════════
   LEGAL / FAQ STATIC PAGES
   ════════════════════════════════════════════════════ */
.legal {
  padding: 140px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--red);
  margin: 36px 0 16px;
  text-transform: uppercase;
}
.legal h3 {
  font-size: 16px;
  margin: 24px 0 10px;
  color: var(--text);
}
.legal p, .legal li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal strong { color: var(--text); }
.legal a { color: var(--red); }

/* Payment page */
.pay-page { padding: 140px 24px 80px; max-width: 720px; margin: 0 auto; }
.pay-summary {
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}
.pay-summary h1 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pay-summary__row {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.pay-summary__row:last-child { border: 0; }
.pay-summary__row .label { color: var(--text-3); }
.pay-summary__row .value { color: var(--text); font-weight: 700; }
.pay-summary__total {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  display: flex; justify-content: space-between; align-items: baseline;
}
.pay-summary__total .label { font-size: 14px; color: var(--text-3); }
.pay-summary__total .value {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
}

/* Print / reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ════════════════════════════════════════════════════
   SEO INTRO SECTION (rich keyword content)
   ════════════════════════════════════════════════════ */
.seo-intro {
  padding: 100px 0;
  background: #000;
  position: relative;
}
.seo-intro::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; max-width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.5;
}
.seo-intro__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}
.seo-intro__head .section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 16px 0 24px;
  text-transform: uppercase;
}
.seo-intro__head .section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}
.seo-intro__head .section-sub strong { color: var(--text); font-weight: 700; }

.seo-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.seo-card {
  padding: 28px 24px;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.seo-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
.seo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 14px 30px -10px rgba(229, 9, 20, 0.25);
}
.seo-card:hover::before { transform: translateX(0); }

.seo-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.18), rgba(229, 9, 20, 0.05));
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 12px;
  color: var(--red);
  margin-bottom: 18px;
}
.seo-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.seo-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}
.seo-card p strong { color: var(--text); font-weight: 700; }

.seo-intro__keywords {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 28px;
  background: rgba(229, 9, 20, 0.05);
  border: 1px solid rgba(229, 9, 20, 0.18);
  border-radius: 14px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  text-align: center;
}
.seo-intro__keywords strong { color: var(--text); }
.seo-intro__keywords em { color: var(--gold); font-style: normal; }

@media (max-width: 1024px) {
  .seo-intro__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .seo-intro { padding: 60px 0; }
  .seo-intro__head { margin-bottom: 36px; }
  .seo-intro__grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .seo-card { padding: 22px 20px; }
  .seo-card h3 { font-size: 18px; }
  .seo-intro__keywords { font-size: 13px; padding: 18px 20px; }
}
.pay-modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.pay-modal[hidden] { display: none; }
.pay-modal.is-open { opacity: 1; }
.pay-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pay-modal__panel {
  position: relative;
  width: 100%; max-width: 480px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow:
    0 40px 100px -20px rgba(229,9,20,0.4),
    0 30px 80px -30px rgba(0,0,0,0.8);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s var(--ease);
}
.pay-modal.is-open .pay-modal__panel { transform: scale(1) translateY(0); }

.pay-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 18px;
  background: linear-gradient(135deg, #1a0203, #0d0001);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.pay-modal__head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pay-modal__head h3 span { color: var(--red); }
.pay-modal__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.pay-modal__btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pay-modal__btn:hover { background: rgba(229,9,20,0.18); color: var(--text); }
.pay-modal__btn--close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }

.pay-modal__iframe-wrap,
.pay-modal__loader,
.pay-loader-spinner { display: none; } /* legacy classes - now using pay-screen */

/* ════════════════════════════════════════════════════
   REVIEWS / TESTIMONIALS SECTION
   ════════════════════════════════════════════════════ */
.reviews {
  padding: 100px 0;
  background: #000;
  position: relative;
}
.reviews::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; max-width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.5;
}
.reviews__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}
.reviews__head .section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 16px 0 28px;
  text-transform: uppercase;
}
.reviews__rating-summary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255, 184, 0, 0.06);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 14px;
}
.reviews__stars-big {
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 184, 0, 0.5);
  line-height: 1;
}
.reviews__rating-summary p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.reviews__rating-summary strong { color: var(--text); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 9, 20, 0.35);
  box-shadow: 0 14px 30px -10px rgba(229, 9, 20, 0.2);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(229, 9, 20, 0.5);
}
.review-card__author {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-card__author strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.review-card__author time {
  font-size: 11.5px;
  color: var(--text-3);
}
.review-card__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.review-card__body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews { padding: 60px 0; }
  .reviews__head { margin-bottom: 36px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 14px; }
  .review-card { padding: 22px 20px; }
  .reviews__stars-big { font-size: 22px; letter-spacing: 3px; }
}

/* ───── PAY SCREEN (in-site payment, no iframe) ───── */
.pay-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pay-screen__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12), rgba(229, 9, 20, 0.03));
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 14px;
}
.pay-screen__amount-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.pay-screen__amount-value {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1;
  background: linear-gradient(135deg, #fff, #ff5050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pay-screen__amount-plan {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 6px;
}

.pay-screen__methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pay-method:hover { transform: translateX(2px); }

.pay-method__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.pay-method__body { flex: 1; display: flex; flex-direction: column; }
.pay-method__body strong { font-size: 14px; font-weight: 700; color: var(--text); }
.pay-method__body small { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.pay-method svg:last-child { color: var(--text-3); flex-shrink: 0; }

.pay-method--primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(229, 9, 20, 0.5);
}
.pay-method--primary .pay-method__icon {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.pay-method--primary .pay-method__body strong { color: #fff; }
.pay-method--primary .pay-method__body small { color: rgba(255, 255, 255, 0.85); }
.pay-method--primary svg:last-child { color: rgba(255, 255, 255, 0.95); }
.pay-method--primary:hover {
  box-shadow: 0 14px 32px -6px rgba(229, 9, 20, 0.65);
  transform: translateY(-1px);
}

.pay-method--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}
.pay-method--wa:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
}
.pay-method--wa .pay-method__icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}
.pay-method--wa svg:last-child { color: #25D366; }

.pay-screen__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.pay-screen__divider::before,
.pay-screen__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.pay-screen__divider span {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.pay-screen__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--line-strong);
}
.pay-screen__qr img {
  display: block;
  width: 220px; height: 220px;
  border-radius: 6px;
}
.pay-screen__qr-tip {
  margin: 0;
  font-size: 12px;
  color: #1a1a1a;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  max-width: 280px;
}

@media (max-width: 560px) {
  .pay-screen { padding: 20px 16px; gap: 14px; }
  .pay-screen__amount { padding: 18px 14px; }
  .pay-screen__amount-value { font-size: 38px; }
  .pay-method { padding: 14px 12px; gap: 12px; }
  .pay-method__icon { width: 40px; height: 40px; }
  .pay-screen__qr img { width: 190px; height: 190px; }
}

.pay-modal__foot {
  flex-shrink: 0;
  padding: 12px 18px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--line);
}
.pay-modal__foot p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 560px) {
  .pay-modal { padding: 0; align-items: stretch; }
  .pay-modal__panel {
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }
  .pay-modal__head h3 { font-size: 14px; }
  .pay-modal__head { padding: 12px 12px 12px 16px; }
  .pay-modal__btn { width: 38px; height: 38px; }
}

/* ════════════════════════════════════════════════════
   PROOF NOTIFICATION (10-second auto popup)
   ════════════════════════════════════════════════════ */
.proof-notice {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 30px);
  width: calc(100% - 32px); max-width: 560px;
  z-index: 270;
  background: linear-gradient(135deg, #1a0203 0%, #0d0001 100%);
  border: 2px solid var(--red);
  border-radius: 16px;
  padding: 18px 18px 18px 18px;
  display: flex; gap: 16px;
  box-shadow:
    0 24px 60px -12px rgba(229,9,20,0.6),
    0 12px 30px -8px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  animation: noticeShake 0.6s var(--ease) 0.4s;
}
.proof-notice[hidden] { display: none; }
.proof-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes noticeShake {
  0%, 100% { transform: translate(-50%, 0); }
  20% { transform: translate(-50%, 0) rotate(-1deg); }
  40% { transform: translate(-50%, 0) rotate(1deg); }
  60% { transform: translate(-50%, 0) rotate(-0.5deg); }
  80% { transform: translate(-50%, 0) rotate(0.5deg); }
}

.proof-notice__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(229,9,20,0.6);
  animation: iconPulse 1.6s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.proof-notice__body { flex: 1; position: relative; min-width: 0; }
.proof-notice__body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0 0 6px;
  padding-right: 28px;
  text-transform: uppercase;
}
.proof-notice__body p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 12px;
  line-height: 1.5;
}
.proof-notice__body p strong { color: var(--gold); }

.proof-notice__btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.proof-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.proof-btn:hover { transform: translateY(-1px); }
.proof-btn--wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(37,211,102,0.5);
}
.proof-btn--wa:hover { box-shadow: 0 10px 24px -4px rgba(37,211,102,0.7); }
.proof-btn--mail {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.proof-btn--mail:hover { background: rgba(255,255,255,0.1); border-color: var(--red); }

.proof-notice__close {
  position: absolute;
  top: -4px; right: -4px;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: var(--text-2);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.proof-notice__close:hover { background: var(--red); color: #fff; }

@media (max-width: 560px) {
  .proof-notice {
    bottom: 16px;
    width: calc(100% - 24px);
    padding: 14px;
    gap: 12px;
  }
  .proof-notice__icon { width: 40px; height: 40px; }
  .proof-notice__body h4 { font-size: 13px; padding-right: 22px; }
  .proof-notice__body p { font-size: 12px; }
  .proof-notice__btns { grid-template-columns: 1fr; }
  .proof-btn { font-size: 13px; padding: 12px; }
}

/* ════════════════════════════════════════════════════
   CHATBOT WIDGET — Mahdi AI Assistant
   ════════════════════════════════════════════════════ */
.chatbot {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 250;
  font-family: var(--font-body);
}

/* FAB button */
.chatbot__fab {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 16px;
  background: linear-gradient(135deg, #1a0203, #2a0608);
  color: var(--text);
  border: 1px solid rgba(229, 9, 20, 0.55);
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 14px 40px -10px rgba(229, 9, 20, 0.6),
    0 6px 20px -6px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  animation: chatbotPulse 3.6s ease-in-out infinite;
}
@keyframes chatbotPulse {
  0%, 100% { box-shadow: 0 14px 40px -10px rgba(229, 9, 20, 0.6), 0 6px 20px -6px rgba(0,0,0,0.6); }
  50%      { box-shadow: 0 14px 50px -8px rgba(229, 9, 20, 0.9), 0 6px 20px -6px rgba(0,0,0,0.6); }
}
.chatbot__fab:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--red);
}
.chatbot__fab:active { transform: translateY(-1px) scale(1); }

.chatbot__fab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 50%;
  color: #fff;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.chatbot__fab-icon--close { position: absolute; left: 16px; opacity: 0; transform: rotate(-90deg); }
.chatbot.is-open .chatbot__fab-icon--chat { opacity: 0; transform: rotate(90deg); }
.chatbot.is-open .chatbot__fab-icon--close { opacity: 1; transform: rotate(0); }

.chatbot__fab-label {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chatbot__fab-dot {
  position: absolute;
  top: 10px; right: 14px;
  width: 10px; height: 10px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid #1a0203;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.8);
}
.chatbot.is-open .chatbot__fab-dot { display: none; }

/* Panel */
.chatbot__panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0c0c0c, #050505);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 20px 50px -20px rgba(229, 9, 20, 0.35);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.chatbot.is-open .chatbot__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chatbot__panel[hidden] { display: none; }

/* Head */
.chatbot__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 14px;
  background: linear-gradient(135deg, #1a0203 0%, #0d0001 100%);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.chatbot__head-avatar {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.4), 0 6px 16px -6px rgba(229, 9, 20, 0.6);
}
.chatbot__head-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chatbot__head-status {
  position: absolute;
  bottom: 0; right: 0;
  width: 12px; height: 12px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid #1a0203;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
}
.chatbot__head-info { flex: 1; min-width: 0; }
.chatbot__head-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin: 0;
}
.chatbot__head-badge {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border-radius: 4px;
  text-transform: uppercase;
}
.chatbot__head-info p {
  font-size: 11px;
  color: var(--text-3);
  margin: 2px 0 0;
}
.chatbot__head-online { color: #4caf50; font-weight: 700; }
.chatbot__head-reset {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  border: 0;
  margin-right: 4px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chatbot__head-reset[hidden] { display: none; }
.chatbot__head-reset:hover {
  background: rgba(229, 9, 20, 0.6);
  color: #fff;
}
.chatbot__head-close {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chatbot__head-close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

/* Body / messages */
.chatbot__body {
  flex: 1;
  padding: 18px 14px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.chatbot__body::-webkit-scrollbar { width: 6px; }
.chatbot__body::-webkit-scrollbar-track { background: transparent; }
.chatbot__body::-webkit-scrollbar-thumb { background: rgba(229,9,20,0.3); border-radius: 6px; }

.chat-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: msgIn 0.35s var(--ease);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--text);
  white-space: pre-wrap;
}
.chat-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg strong { color: var(--gold); }
.chat-msg--user strong { color: #fff; }

/* Offer pills row */
.chat-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  align-self: flex-start;
  max-width: 92%;
}
.chat-offer {
  padding: 10px 12px;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.chat-offer:hover {
  background: rgba(229, 9, 20, 0.18);
  border-color: var(--red);
  transform: translateY(-1px);
}
.chat-offer__nom {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: uppercase;
}
.chat-offer__prix {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--red);
  margin-top: 2px;
}

/* Action buttons (test success) */
.chat-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-self: flex-start; width: 92%; }
.chat-action {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chat-action:hover { background: rgba(229, 9, 20, 0.1); border-color: var(--red); color: var(--text); }
.chat-action svg { color: var(--red); flex-shrink: 0; }

/* Copy fields (test credentials) */
.chat-copy { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; align-self: flex-start; width: 92%; }
.chat-copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.chat-copy-label { color: var(--text-3); font-weight: 600; flex-shrink: 0; }
.chat-copy-value {
  flex: 1;
  font-family: 'Courier New', monospace;
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
  font-size: 11.5px;
}
.chat-copy-btn {
  padding: 4px 8px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
}
.chat-copy-btn:hover { background: var(--red-deep); }
.chat-copy-btn.is-copied { background: #4caf50; }

/* Typing indicator */
.chat-typing {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--text-3);
  border-radius: 50%;
  animation: typeBounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typeBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Steps wrapper (form / choice / chat) — fill remaining panel height */
.chatbot__step {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.chatbot__step[hidden] { display: none !important; }
.chatbot__step::-webkit-scrollbar { width: 6px; }
.chatbot__step::-webkit-scrollbar-track { background: transparent; }
.chatbot__step::-webkit-scrollbar-thumb { background: rgba(229,9,20,0.3); border-radius: 6px; }

.chatbot__step--chat { padding: 0; overflow: hidden; }

/* Welcome heading shared by form + choice */
.chatbot__welcome {
  padding: 18px 16px 8px;
}
.chatbot__welcome h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.15;
}
.chatbot__welcome h4 strong {
  background: linear-gradient(135deg, var(--red), #ff5050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}
.chatbot__welcome p {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.55;
}

/* ─── STEP 1: FORM ─── */
.chatbot-form {
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.chatbot-form *,
.chatbot-form *::before,
.chatbot-form *::after {
  box-sizing: border-box;
}
.chatbot-form__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chatbot-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.chatbot-form__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 8px -2px rgba(229, 9, 20, 0.5);
}

/* Device grid — defensive resets for native radio buttons */
.chatbot-form__devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.chatbot-form__device {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}
/* Hide native radio defensively (multi-browser) */
.chatbot-form__device input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0; padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.chatbot-form__device > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  line-height: 1.2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  min-height: 44px;
  user-select: none;
}
.chatbot-form__device input[type="radio"]:checked + span {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.22), rgba(229, 9, 20, 0.08));
  border-color: var(--red);
  color: var(--text);
  box-shadow: 0 4px 12px -4px rgba(229, 9, 20, 0.4), inset 0 0 0 1px rgba(229, 9, 20, 0.4);
}
.chatbot-form__device:hover > span {
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-1px);
}

/* Toggle email/whatsapp */
.chatbot-form__toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 100%;
}
.chatbot-form__toggle-btn {
  flex: 1;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--text-3);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 34px;
}
.chatbot-form__toggle-btn.is-active {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(229, 9, 20, 0.5);
}

.chatbot-form input[type="email"],
.chatbot-form input[type="tel"] {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
/* CRITICAL: respect [hidden] attribute (overrides display: block above) */
.chatbot-form input[hidden] { display: none !important; }
.chatbot-form input::placeholder { color: var(--text-4); }
.chatbot-form input:focus {
  border-color: var(--red);
  background: rgba(229, 9, 20, 0.05);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

.chatbot-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 10px 24px -6px rgba(229, 9, 20, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.chatbot-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -6px rgba(229, 9, 20, 0.7);
}
.chatbot-form__submit:active { transform: translateY(0); }

/* ─── STEP 2: CHOICE ─── */
.chatbot-choices {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px;
}
.chatbot-choice {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chatbot-choice:hover {
  background: rgba(229, 9, 20, 0.08);
  border-color: var(--red);
  transform: translateX(2px);
}
.chatbot-choice__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.08));
  border-radius: 50%;
  border: 1px solid rgba(229, 9, 20, 0.3);
}
.chatbot-choice__body {
  flex: 1; display: flex; flex-direction: column;
}
.chatbot-choice__body strong {
  font-size: 14px; font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.chatbot-choice__body small {
  font-size: 11.5px;
  color: var(--text-3);
}
.chatbot-choice svg { color: var(--red); flex-shrink: 0; }

.chatbot-choice--wa {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.3);
}
.chatbot-choice--wa:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
}
.chatbot-choice--wa .chatbot-choice__icon {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.08));
  border-color: rgba(37, 211, 102, 0.4);
}
.chatbot-choice--wa svg { color: #25D366; }

.chatbot__back-link {
  margin: 4px 16px 14px;
  padding: 8px;
  font-size: 12px;
  color: var(--text-3);
  background: transparent;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chatbot__back-link:hover { color: var(--text); }

/* Input */
.chatbot__input {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chatbot__input input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chatbot__input input::placeholder { color: var(--text-3); }
.chatbot__input input:focus { border-color: var(--red); background: rgba(229, 9, 20, 0.05); }
.chatbot__input button {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 6px 16px -4px rgba(229, 9, 20, 0.5);
}
.chatbot__input button:hover { transform: scale(1.06); box-shadow: 0 8px 22px -4px rgba(229, 9, 20, 0.7); }
.chatbot__input button:disabled { opacity: 0.5; cursor: not-allowed; }

.chatbot__legal {
  font-size: 10px;
  color: var(--text-4);
  text-align: center;
  padding: 0 14px 10px;
  letter-spacing: 0.02em;
}

/* Mobile chatbot */
@media (max-width: 560px) {
  .chatbot { bottom: 16px; right: 16px; left: 16px; }
  .chatbot__fab {
    margin-left: auto;
    padding: 12px 16px 12px 14px;
  }
  .chatbot__fab-label { display: none; }
  .chatbot__fab-icon { width: 32px; height: 32px; }
  .chatbot__panel {
    position: fixed;
    bottom: 0; right: 0; left: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }
  .chatbot.is-open .chatbot__fab {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 251;
  }
}

/* ════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS — comprehensive overrides
   ════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* Tighter container padding */
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; gap: 12px; }

  /* Brand: smaller mark + shorter text */
  .nav__brand { gap: 8px; font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-text { letter-spacing: 0.02em; }

  /* HERO — stack on mobile (image below text since landscape) */
  .hero {
    min-height: auto;
    padding: 100px 16px 60px;
  }
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero__visual-frame {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 14px;
  }
  .hero__visual-frame img { border-radius: 14px; }
  .hero__visual-tag { font-size: 10px; padding: 7px 11px; letter-spacing: 0.1em; }
  .hero__visual-tag--tl { top: 10px; left: 10px; }
  .hero__visual-tag--br { bottom: 10px; right: 10px; }
  .hero__cta { justify-content: center; }
  .hero__platforms { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__title {
    font-size: clamp(36px, 10vw, 60px);
    margin-bottom: 20px;
  }
  .hero__eyebrow {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 20px;
  }
  .hero__sub {
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.5;
  }
  .hero__cta { margin-bottom: 40px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; min-width: 0; }
  .hero__platforms { gap: 10px; }
  .hero__platforms-label { font-size: 10px; flex-basis: 100%; }
  .hero__platforms-list { font-size: 12px; gap: 10px; }
  .hero__glow--1 { width: 280px; height: 280px; }
  .hero__glow--2 { width: 320px; height: 320px; }
  .hero__scroll { display: none; }

  /* SECTIONS — reduce vertical padding */
  .stats { padding: 60px 0; }
  .channels { padding: 60px 0; }
  .plans { padding: 70px 0 80px; }
  .why { padding: 70px 0; }
  .faq { padding: 70px 0; }
  .cta-final { padding: 80px 0; }
  .posters-section { padding: 50px 0; }

  /* SECTION HEADERS */
  .section-eyebrow { font-size: 10px; }
  .section-title { font-size: clamp(32px, 8vw, 48px) !important; }
  .section-sub { font-size: 15px; }

  /* BUTTONS — bigger touch targets */
  .btn { padding: 14px 22px; min-height: 48px; font-size: 14px; }
  .btn--lg { padding: 16px 28px; min-height: 54px; font-size: 15px; }
  .btn--block { width: 100%; }

  /* STATS — already collapsing well, just tighten */
  .stat__num { font-size: clamp(36px, 10vw, 56px); }
  .stat__label { font-size: 14px; }
  .stat__desc { font-size: 12px; }

  /* PLAN CARD — major mobile rework */
  .plan-card { margin: 0 -4px; border-radius: var(--radius); }
  .plan-switcher { grid-template-columns: repeat(4, 1fr); }
  .plan-btn { padding: 14px 4px; }
  .plan-btn__duration { font-size: 14px; letter-spacing: 0.02em; }
  .plan-btn__badge {
    position: static;
    margin-bottom: 4px;
    font-size: 8px; padding: 2px 5px;
    display: inline-block;
  }
  .plan-info { padding: 28px 20px; }
  .plan-info__title { font-size: 22px; margin-bottom: 12px; }
  .plan-info__price { font-size: 56px; }
  .plan-info__currency { font-size: 28px; }
  .plan-info__period { font-size: 12px; }
  .plan-info__per-month { font-size: 13px; margin-bottom: 20px; gap: 10px; flex-wrap: wrap; }
  .plan-features { margin-bottom: 24px; }
  .plan-features li { font-size: 14px; padding: 6px 0; gap: 10px; }
  .plan-visual { min-height: 180px; }
  .plan-visual__ring { width: 160px; height: 160px; }
  .plan-visual__num { font-size: 54px; }
  .plan-visual__txt { font-size: 11px; letter-spacing: 0.15em; }

  /* WHY cards */
  .why-card { padding: 24px 20px; }

  /* FAQ */
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-item__body { padding: 0 20px 18px; font-size: 14px; }

  /* FOOTER */
  .footer { padding: 50px 0 24px; }
  .footer__top { gap: 32px; margin-bottom: 32px; }
  .footer__col h4 { font-size: 12px; }
  .footer__brand-text { font-size: 13px; }
  .footer__bot { font-size: 11px; flex-direction: column; gap: 12px; text-align: center; }
  .footer__pay { flex-wrap: wrap; justify-content: center; }

  /* MODAL — major mobile rework */
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel {
    max-width: 100%;
    max-height: 92vh;
    padding: 32px 20px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 0;
    animation: panelInMobile 0.4s var(--ease);
  }
  @keyframes panelInMobile {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .modal__close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .modal__head h3 { font-size: 22px; }
  .modal__eyebrow { font-size: 10px; }
  .modal__form { gap: 22px; }
  .device-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .device-card__inner { padding: 14px 6px; min-height: 76px; }
  .form-input, .form-input-group input {
    font-size: 16px; /* prevent iOS zoom on focus */
    padding: 14px 16px;
  }
  .form-label { font-size: 14px; }
  .toggle-group { gap: 6px; }
  .toggle-btn { padding: 10px 12px; font-size: 13px; }

  /* PAY PAGE */
  .pay-page { padding: 100px 16px 60px; }
  .pay-summary { padding: 24px 20px; }
  .pay-summary__row { padding: 12px 0; font-size: 14px; }
  .pay-summary__total .value { font-size: 36px; }

  /* POSTERS — smaller on mobile */
  .poster { flex: 0 0 130px; height: 195px; }
  .posters-track { gap: 14px; }

  /* CHANNELS marquee */
  .channels-chip { padding: 8px 14px; font-size: 13px; }
}

/* Extra small phones */
@media (max-width: 380px) {
  .brand-text { display: none; }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .plan-btn__duration { font-size: 12px; }
  .plan-info__price { font-size: 48px; }
  .plan-info__currency { font-size: 24px; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 40px; }
}

/* Landscape phones — squat viewports */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 90px 16px 40px; }
  .hero__title { font-size: clamp(36px, 6vw, 56px); margin-bottom: 14px; }
  .hero__sub { margin-bottom: 20px; }
  .hero__cta { margin-bottom: 24px; }
  .hero__scroll { display: none; }
  .modal__panel { max-height: 96vh; padding: 24px 20px; }
}

/* Safe area insets (iPhone notch) */
@supports (padding: env(safe-area-inset-top)) {
  .nav { padding-top: max(10px, env(safe-area-inset-top)); }
  .nav__inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .footer__bot { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
  .modal__panel { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* Larger tap targets globally on touch devices */
@media (hover: none) and (pointer: coarse) {
  a, button, .btn, .plan-btn, .device-card, .toggle-btn, .faq-item summary {
    -webkit-tap-highlight-color: transparent;
  }
  .nav__menu a, .footer__col a { padding: 8px 0; }
}
