﻿/* ============================================================
   MON IPTV SUISSE — Premium Design System
   Vibe: Ethereal Glass · Layout: Asymmetrical Bento
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0c;
  --bg-elev: #121216;
  --ink: #ffffff;
  --white: #ffffff;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --surface-3: rgba(255, 255, 255, 0.14);
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.20);
  --text: #ffffff;
  --text-dim: #c2c4d0;
  --text-mute: #82848f;
  --accent: #E50914;
  --accent-2: #B20710;
  --accent-3: #FF1A2E;
  --accent-glow: rgba(229, 9, 20, 0.45);
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;

  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --r-pill: 100px;
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 40px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;

  --shadow-ambient: 0 40px 80px -30px rgba(0, 0, 0, 0.8),
                    0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip instead of hidden: prevents visual overflow without creating a scroll container, so touch-scroll in child carousels works on iOS */
  position: relative;
}
/* ---------- body ---------- */
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Form controls ---------- */
input, select, textarea {
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--text-mute); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent) !important;
  background: var(--surface-3) !important;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
select option { background: var(--bg-elev); color: var(--text); }

/* ---------- Ambient background (fixed mesh gradients + grain) ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before, .bg-fx::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.bg-fx::before {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, #E50914, transparent 70%);
  top: -15%; left: -10%;
  animation: drift1 26s var(--ease-soft) infinite alternate;
}
.bg-fx::after {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, #B20710, transparent 70%);
  bottom: -20%; right: -10%;
  animation: drift2 30s var(--ease-soft) infinite alternate;
}
.bg-fx .orb-3 {
  position: absolute;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, #E50914, transparent 70%);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  top: 30%; left: 40%;
  animation: drift3 34s var(--ease-soft) infinite alternate;
}
@keyframes drift1 { to { transform: translate(12%, 8%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-10%, -10%) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-15%, 12%) scale(0.9); } }
.bg-fx .orb-4 {
  position: absolute;
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, #ffffff, transparent 70%);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.06;
  top: 10%; right: 12%;
  animation: drift4 38s var(--ease-soft) infinite alternate;
}
@keyframes drift4 { to { transform: translate(-8%, 14%) scale(1.2); } }

/* film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
section { position: relative; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-tight { padding-block: clamp(48px, 7vw, 96px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.display {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); max-width: 60ch; }
.text-dim { color: var(--text-dim); }
.text-mute { color: var(--text-mute); }
.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 30%, var(--accent) 75%, #ff5364 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:3rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex { display: flex; }.flex-col { flex-direction: column; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}.gap-4{gap:2rem}
.wrap { flex-wrap: wrap; }
.hidden { display: none; }
.grid { display: grid; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease);
  will-change: transform;
  position: relative;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 40px -8px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -8px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.3); }
.btn-white {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 12px 40px -10px rgba(255,255,255,0.35), inset 0 1px 1px rgba(255,255,255,0.6);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -10px rgba(255,255,255,0.45); background: #fff; }
.btn-white .ic-circle { background: rgba(229,9,20,0.12); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-3px); }
.btn .ic-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: transform 0.5s var(--ease);
}
.btn:hover .ic-circle { transform: translate(3px, -1px) scale(1.05); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-wa { background: #1fa855; color: #fff; box-shadow: 0 12px 40px -8px rgba(31,168,85,0.5); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -10px rgba(31,168,85,0.6); }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.lang-btn {
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-mute); transition: color 0.3s, background 0.3s;
  text-transform: uppercase;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }

/* ---------- Currency note ---------- */
.currency-note {
  text-align: center; color: var(--text-mute); font-size: 0.82rem;
  margin-bottom: 18px; padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--hairline);
  width: fit-content; margin-inline: auto;
}

/* ---------- Navbar ---------- */
.nav-wrap {
  position: fixed;
  top: 48px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0;
  transition: transform 0.5s var(--ease), top 0.4s var(--ease);
}
.nav-wrap.promo-hidden { top: 0; }
.nav-wrap.hidden-up { transform: translateY(-130%); }
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 11px 11px 24px;
  background: rgba(12, 12, 20, 0.6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  max-width: 100%;
}
.nav .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  margin-right: 10px;
}
.nav .brand .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid; place-items: center;
  font-size: 17px; color: #fff;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s, background 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%) scaleX(0);
  width: 18px; height: 2px; border-radius: 2px; background: var(--accent-3);
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-cta { padding: 13px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.97rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); color:#fff; }
.nav-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); align-items: center; justify-content: center; }
.nav-burger .burger-lines { width: 18px; height: 14px; position: relative; }
.nav-burger .burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger .burger-lines span:nth-child(1) { top: 0; }
.nav-burger .burger-lines span:nth-child(2) { top: 6px; }
.nav-burger .burger-lines span:nth-child(3) { top: 12px; }
.nav-burger.is-open .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.is-open .burger-lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: radial-gradient(circle at 20% 20%, rgba(229,9,20,0.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(178,7,16,0.16), transparent 50%),
              rgba(5,5,10,0.92);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 90px 32px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
  overflow-y: auto;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay a.nav-link-m {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  padding: 10px 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s;
  width: 100%;
}
.menu-overlay a.nav-link-m .nm { font-size: 0.8rem; color: var(--text-mute); font-weight: 500; font-family: var(--font-body); letter-spacing: 0.1em; }
.menu-overlay a.nav-link-m::after {
  content: ""; position: absolute; left: 0; bottom: 6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.4s var(--ease);
}
.menu-overlay a.nav-link-m:hover { color: var(--text); }
.menu-overlay a.nav-link-m:hover::after { width: 60px; }
.menu-overlay.open a.nav-link-m { opacity: 1; transform: translateX(0); }
.menu-overlay a.nav-link-m.cta-m {
  margin-top: 8px;
  justify-content: center;
  width: fit-content;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 16px 36px;
  border-radius: var(--r-pill);
  font-size: 1.15rem;
  box-shadow: 0 16px 40px -10px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.25);
  font-family: var(--font-display); font-weight: 600;
}
.menu-overlay a.nav-link-m.cta-m::after { display: none; }
.menu-overlay a.nav-link-m.cta-m:hover { transform: translateY(-3px); }
.menu-overlay .m-brand {
  position: absolute; top: 28px; left: 32px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.5s var(--ease) 0.1s, transform 0.5s var(--ease) 0.1s;
}
.menu-overlay.open .m-brand { opacity: 1; transform: translateY(0); }
.menu-overlay .m-brand .logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,0.4); }
.menu-overlay .m-foot {
  position: absolute; bottom: 32px; left: 32px; right: 32px;
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  font-size: 0.85rem; color: var(--text-mute);
  border-top: 1px solid var(--hairline); padding-top: 18px;
  opacity: 0; transition: opacity 0.5s var(--ease) 0.5s;
}
.menu-overlay.open .m-foot { opacity: 1; }
.menu-overlay .m-foot a { color: var(--text-dim); display: inline-flex; align-items: center; gap: 6px; }
.menu-overlay .m-foot a:hover { color: var(--text); }
.menu-overlay.open a.nav-link-m:nth-of-type(1){transition-delay:.06s}
.menu-overlay.open a.nav-link-m:nth-of-type(2){transition-delay:.12s}
.menu-overlay.open a.nav-link-m:nth-of-type(3){transition-delay:.18s}
.menu-overlay.open a.nav-link-m:nth-of-type(4){transition-delay:.24s}
.menu-overlay.open a.nav-link-m:nth-of-type(5){transition-delay:.3s}
.menu-overlay.open a.nav-link-m:nth-of-type(6){transition-delay:.36s}
.menu-overlay.open a.nav-link-m:nth-of-type(7){transition-delay:.42s}
.menu-overlay.open a.nav-link-m.cta-m{transition-delay:.5s}
.menu-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 18px; color: var(--text); transition: transform 0.4s var(--ease), background 0.3s; z-index: 2; }
.menu-close:hover { transform: rotate(90deg); background: var(--surface-3); }

/* ---------- Cards / Double-Bezel ---------- */
.bezel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-ambient);
}
.bezel-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-radius: calc(var(--r-lg) - 8px);
  padding: 30px;
  height: 100%;
  position: relative;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease), border-color 0.4s, background 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--hairline-strong); background: var(--surface-2); }
.card-glow:hover { box-shadow: 0 30px 70px -30px var(--accent-glow); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
}
/* Subtle vignette to hide the video edge */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 12, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Hero background video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}
#hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Hero background video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(80px, 12vw, 100px); }
.hero h1 { max-width: 16ch; }
.hero .stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 36px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 18px 32px;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero .stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 clamp(16px,3vw,36px);
  position: relative;
}
.hero .stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.hero .stat .num { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; white-space: nowrap; }
.hero .stat .lab { font-size: 0.78rem; color: var(--text-mute); white-space: nowrap; margin-top: 2px; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-mute); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid var(--hairline-strong); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:3px; background: var(--text-dim); animation: scrolldot 1.6s var(--ease-soft) infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* ---------- Bento grids ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento .b { border-radius: var(--r-md); }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

/* feature icon */
.feat-ic {
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(229,9,20,0.25), rgba(181,7,16,0.15));
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #ff8a8a;
}
.feat-ic svg { width: 24px; height: 24px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.price-card:hover { transform: translateY(-8px); }
.price-card.featured {
  border-color: rgba(255,255,255,0.24);
  background: linear-gradient(180deg, rgba(229,9,20,0.12), var(--surface));
  box-shadow: 0 40px 90px -40px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.16);
}
.price-card .tag-top {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}
.price-card .scr { font-size: 0.8rem; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.price-card .amt { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.price-card .amt small { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.price-card .old { color: var(--text-mute); text-decoration: line-through; font-size: 0.95rem; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.95rem; color: var(--text-dim); }
.price-card .payment-badge {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.price-card:hover .payment-badge { opacity: 0.85; }
.price-card .payment-badge img {
  height: 16px;
  width: auto;
  filter: brightness(0.6) saturate(0.4);
  transition: filter 0.3s;
}
.price-card:hover .payment-badge img { filter: brightness(0.85) saturate(0.6); }
.price-card .payment-badge span {
  font-size: 0.65rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.price-card li .chk {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.08));
  border: 1px solid rgba(16,185,129,0.3);
  display: grid; place-items: center;
  margin-top: 1px;
  box-shadow: 0 0 12px rgba(16,185,129,0.15);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.price-card li:hover .chk {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(16,185,129,0.3);
}
.price-card li .chk svg { width: 12px; height: 12px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.step .n {
  font-family: var(--font-display); font-weight: 600; font-size: 2.4rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ---------- Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s;
}
.faq-item.open { border-color: var(--hairline-strong); background: var(--surface-2); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.faq-q .pm { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform 0.5s var(--ease); color: var(--text-dim); }
.faq-item.open .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.faq-a .inner { padding: 0 26px 24px; color: var(--text-dim); }

/* ---------- Channel logos band ---------- */
.logos-band {
  padding-block: 18px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}


.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scrollx-right 35s linear infinite;
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

.logos-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  /* Desaturate + dim to blend with dark site; hover reveals full color */
  filter: grayscale(1) brightness(1.6) opacity(0.45);
  transition: filter 0.35s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.logos-track img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.08);
}

@media (max-width: 720px) {
  .logos-band { padding-block: 36px 40px; }
  .logos-track { gap: 28px; }
  .logos-track img { height: 28px; }
}

/* ---------- Channel marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx-right 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
@keyframes scrollx-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--hairline);
  font-weight: 500; font-size: 0.92rem; color: var(--text-dim); white-space: nowrap;
}
.chip .cd { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* Channel logo chips */
.ch-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-weight: 600; font-size: 0.88rem; color: var(--text);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.ch-chip:hover { background: var(--surface-2); border-color: var(--hairline-strong); }
.ch-logo {
  width: 44px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
  overflow: hidden;
}
.ch-logo svg { width: 100%; height: 100%; }
.ch-name { color: var(--text-dim); }

/* ---------- Covers gallery (auto-scroll + grab) ---------- */
.section-covers {
  padding-block: 0 0;
  margin-block: -8px 0;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.section-covers:active {
  cursor: grabbing;
}
.section-covers.is-dragging .cover-card {
  transition: none;
}
.covers-slider {
  position: relative;
  padding: 12px 0 4px;
  pointer-events: auto;
  cursor: pointer;
}
.covers-slider-track {
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.covers-slider-thumb {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 4px;
  transition: width 0.05s linear;
  position: relative;
}
.covers-slider-thumb::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(229,9,20,0.4);
  opacity: 0;
  transition: opacity 0.2s;
}
.covers-slider:hover .covers-slider-thumb::after,
.covers-slider-track:active .covers-slider-thumb::after {
  opacity: 1;
}
.covers-grid {
  display: flex;
  gap: 14px;
  overflow: visible;
  width: max-content;
  will-change: transform;
  pointer-events: none;
  padding: 12px 0;
}
.cover-card {
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  width: 170px;
  aspect-ratio: 2/3;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  cursor: grab;
  pointer-events: auto;
}
.cover-card:active {
  cursor: grabbing;
}
.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.5s;
}
.cover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cover-card:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}
.cover-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.08) contrast(1.02);
}
.cover-card:hover::after {
  opacity: 1;
}

@media (max-width: 600px) {
  .cover-card {
    width: 120px;
  }
  .covers-grid {
    gap: 10px;
  }
}

/* ---------- Devices showcase ---------- */
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.device {
  padding: 26px 22px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--hairline);
  text-align: center; transition: transform 0.5s var(--ease), border-color 0.4s;
}
.device:hover { transform: translateY(-5px); border-color: var(--hairline-strong); }
.device .di { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; background: var(--surface-2); display: grid; place-items: center; color: #ff8a8a; }
.device .di svg { width: 28px; height: 28px; }
.device h4 { font-size: 1.05rem; margin-bottom: 4px; }
.device p { font-size: 0.82rem; color: var(--text-mute); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(229,9,20,0.22), rgba(181,7,16,0.12) 45%, rgba(255,255,255,0.10));
  border: 1px solid rgba(255,255,255,0.22);
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 60%);
  opacity: 0.4;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding-block: 70px 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h5 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer a { display: block; color: var(--text-dim); padding: 6px 0; font-size: 0.94rem; transition: color 0.3s; }
.footer a:hover { color: var(--text); }
.footer .brand-blurb { color: var(--text-dim); font-size: 0.94rem; max-width: 34ch; margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--hairline); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--text-mute); font-size: 0.84rem; }

/* footer-links: transparent on desktop (children slot into parent grid), compact 3-col on mobile */
.footer-links { display: contents; }

/* ---------- Footer device + app strip ---------- */
.footer-devices {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-devices-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-devices-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  font-family: var(--font-body);
  white-space: nowrap;
}

.footer-devices-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-devices-row img {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

/* App store badges — SVG, infinite resolution */
.footer-devices-row a img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: none;
  display: block;
  border-radius: 8px;
  transition: opacity .18s, transform .18s;
}

.footer-devices-row a {
  line-height: 0;
  display: inline-block;
}

.footer-devices-row a:hover img {
  opacity: 0.85;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .footer-devices { gap: 20px; padding-top: 18px; margin-top: 20px; }
  .footer-devices-row img { height: 15px; }
  .footer-devices-row a img { height: 34px; }
}

/* ---------- Footer logos strip (unused, kept for reference) ---------- */
.footer-logos {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.footer-logos-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.footer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.footer-logos-grid img {
  height: 22px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) brightness(1.8) opacity(0.35);
  transition: filter 0.3s ease, transform 0.25s ease;
}

.footer-logos-grid img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.1);
}

@media (max-width: 720px) {
  .footer-logos { margin-top: 24px; padding-top: 20px; }
  .footer-logos-grid { gap: 10px 14px; }
  .footer-logos-grid img { height: 18px; }
}

/* ---------- Badge promo bar ---------- */
.promo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  z-index: 99;
  transition: transform 0.4s var(--ease);
}
.promo-bar.hidden {
  transform: translateY(-100%);
}
@keyframes shimmer { to { background-position: 200% 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-top: clamp(120px, 16vw, 140px); padding-bottom: 40px; text-align: center; position: relative; }
.page-head .lead { margin-inline: auto; }

/* ---------- Misc helpers ---------- */
.divider { height: 1px; background: var(--hairline); margin-block: 60px; }
.pill-num { display:inline-flex; align-items:center; justify-content:center; width:30px;height:30px;border-radius:50%; background: var(--surface-2); border:1px solid var(--hairline); font-weight:600; font-size:0.9rem; }
.kbd { font-family: var(--font-display); padding: 3px 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--hairline); font-size: 0.85rem; }
.badge-ok { display:inline-flex; align-items:center; gap:8px; padding:5px 12px; border-radius:var(--r-pill); background: rgba(16,185,129,0.15); color:#34d399; font-size:0.8rem; font-weight:600; }
.badge-ok .ic-check, .ic-check { width: 14px; height: 14px; flex-shrink: 0; }
/* Comparison table premium check */
.tcheck {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(16,185,129,0.08));
  border: 1px solid rgba(16,185,129,0.3);
  box-shadow: 0 0 12px rgba(16,185,129,0.15);
}
.tcheck svg { width: 12px; height: 12px; }

/* ---------- Back-to-top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 36px -8px var(--accent-glow), inset 0 1px 1px rgba(255,255,255,0.3);
  cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.to-top:hover { transform: translateY(-3px) scale(1.05); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Floating WhatsApp Button (round, premium) ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: bottom 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
.wa-float.show { opacity: 1; transform: translateY(0) scale(1); }
.to-top.show ~ .wa-float { bottom: 88px; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}
/* Hide the text label that JS injects — round icon only */
.wa-float > span:not(.wa-icon-wrap):not(.pulse-dot) { display: none; }
.wa-float .wa-icon-wrap {
  width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-items: center;
}
.wa-float svg { width: 100%; height: 100%; }

.wa-float .pulse-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border: 1.5px solid rgba(18, 18, 22, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 6px #25D366;
}
.wa-float .pulse-dot::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid #25D366;
  animation: wa-pulse 2s infinite ease-out;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .nav-cta-desktop { display: none; }
  .nav-burger { display: flex; flex-shrink: 0; }
  .nav { padding: 9px 9px 9px 16px; gap: 8px; }
  .nav .brand { font-size: 1.02rem; margin-right: auto; gap: 8px; min-width: 0; }
  .nav .brand .logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .nav-wrap { padding-top: 20px; }
  .nav { padding: 8px 8px 8px 14px; }
  .nav .brand { font-size: 0.95rem; gap: 7px; }
  .nav .brand .logo-mark { width: 30px; height: 30px; font-size: 15px; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; gap: 10px; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 1; }
  .row-2 { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer { padding-block: 40px 24px; margin-top: 24px; }
  .footer-bottom { margin-top: 28px; }
  .hero { padding-top: 20px; align-items: flex-start; min-height: auto; padding-bottom: 32px; }
  .hero .hero-inner { padding-top: clamp(120px, 20vw, 150px); }
  .hero .hero-inner .flex.wrap { flex-wrap: nowrap; gap: 8px; }
  .hero .btn { padding: 10px 16px; font-size: 0.82rem; flex: 1; justify-content: center; min-width: 0; }
  .hero .btn .ic-circle { width: 22px; height: 22px; }
  .hero .btn .ic-circle svg { width: 11px; height: 11px; }
  /* Stats: 2×2 glass grid on mobile */
  .hero .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 20px;
    padding: 0;
    border-radius: var(--r-md);
    width: 100%;
    max-width: 100%;
  }
  .hero .stat {
    padding: 14px 16px;
    align-items: flex-start;
  }
  .hero .stat + .stat::before { display: none; }
  .hero .stat:nth-child(1) { border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md) 0 0 0; }
  .hero .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0 var(--r-md) 0 0; }
  .hero .stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.1); border-radius: 0 0 0 var(--r-md); }
  .hero .stat:nth-child(4) { border-radius: 0 0 var(--r-md) 0; }
  .hero .stat .num { font-size: 1.4rem; }
  /* Lead text: prevent overflow */
  .hero .lead { overflow-wrap: break-word; word-break: break-word; }
  /* Proof: tighter on mobile */
  .hero-proof { margin-top: 12px; gap: 10px; }
  /* CTA buttons: stay in one row, shrink to fit */
  .hero .flex.wrap { flex-direction: row; flex-wrap: nowrap; gap: 10px !important; }
  .hero .btn { flex: 1; min-width: 0; justify-content: center; padding: 12px 14px; font-size: 0.82rem; }
  /* Trust strip: 2 items per row */
  .trust-item { padding: 8px 16px; font-size: 0.8rem; }
  .trust-item:nth-child(3) { border-right: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .section { padding-block: 36px; }
  .section-tight { padding-block: 24px; }
  .price-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps { gap: 10px; }
  .step { padding: 18px; }
  .faq-list { gap: 8px; }
  .faq-q { padding: 16px 18px; font-size: 0.95rem; }
  .device-grid { gap: 10px; }
  .device { padding: 16px 14px; }
  .card { padding: 18px; }
  .page-head { padding-top: clamp(130px, 22vw, 160px); padding-bottom: 20px; }
  .h2 { margin-top: 12px; }
  .display { margin-top: 8px; }
  .lead { margin-top: 8px; }
  .mt-3 { margin-top: 0.75rem; }
  .mt-4 { margin-top: 1rem; }
  .mt-5 { margin-top: 1.5rem; }
  .mb-3 { margin-bottom: 0.75rem; }
  .mb-4 { margin-bottom: 1rem; }
  .divider { margin-block: 32px; }
  .flex { gap: 0.5rem; }
  .gap-2 { gap: 0.5rem; }
  .gap-3 { gap: 0.75rem; }
  .gap-4 { gap: 1rem; }
  .cta-band { padding: 28px 18px; }
  .nav-wrap { padding-top: 20px; }
  .container { padding-inline: 16px; }

  /* === Mobile carousel sliders — snap horizontal, no scrollbar === */
  .steps.carousel-mobile,
  .price-grid.carousel-mobile,
  .bento.carousel-mobile {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 12px;
    /* Break out of .container so carousel spans full viewport width */
    position: relative;
    left: -16px;
    width: 100vw;
    /* top padding: room for tag badge; side padding: visible peek area */
    padding: 22px 20px 16px;
    scroll-padding-inline: 20px;
    align-items: stretch;
    grid-template-columns: none;
    position: relative;
  }
  /* Tag-top: visible now that overflow-y is not clipped */
  .price-grid.carousel-mobile > .price-card {
    padding-top: 36px;
  }
  .price-grid.carousel-mobile > .price-card .tag-top {
    top: -14px;
    transform: translateX(-50%);
  }
  .steps.carousel-mobile::-webkit-scrollbar,
  .price-grid.carousel-mobile::-webkit-scrollbar,
  .bento.carousel-mobile::-webkit-scrollbar,
  .steps.carousel-mobile::-webkit-scrollbar-track,
  .price-grid.carousel-mobile::-webkit-scrollbar-track,
  .bento.carousel-mobile::-webkit-scrollbar-track,
  .steps.carousel-mobile::-webkit-scrollbar-thumb,
  .price-grid.carousel-mobile::-webkit-scrollbar-thumb,
  .bento.carousel-mobile::-webkit-scrollbar-thumb { display: none; }

  /* Cards: narrow so ~50px of each neighbor peeks on both sides */
  .steps.carousel-mobile > *,
  .price-grid.carousel-mobile > *,
  .bento.carousel-mobile > * {
    flex: 0 0 calc(100vw - 100px);
    min-width: 240px;
    max-width: 320px;
    scroll-snap-align: center;
    /* Dim non-active cards so the centered one stands out clearly */
    opacity: 0.45;
    transition: opacity 0.35s ease;
  }
  /* Active/featured card stays fully visible */
  .price-grid.carousel-mobile > .price-card.featured,
  .price-grid.carousel-mobile > .price-card.snap-active {
    opacity: 1;
  }

  /* Dot navigation (only show with carousel) */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 0;
  }
  .carousel-dots .c-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    -webkit-tap-highlight-color: transparent;
  }
  .carousel-dots .c-dot.active {
    background: var(--accent, #E50914);
    transform: scale(1.35);
  }
}

/* Hide carousel dots on desktop (only relevant inside mobile sliders) */
@media (min-width: 721px) {
  .carousel-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .bg-fx::before, .bg-fx::after, .bg-fx .orb-3 { animation: none; }
}

/* ---------- Mobile menu language switch ---------- */
.m-lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--hairline);
  width: fit-content; margin-top: 24px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease) 0.44s, transform 0.5s var(--ease) 0.44s;
}
.menu-overlay.open .m-lang-switch { opacity: 1; transform: translateY(0); }
.m-lang-switch .lang-btn {
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-mute); transition: color 0.3s, background 0.3s;
  text-transform: uppercase;
}
.m-lang-switch .lang-btn:hover { color: var(--text); }
.m-lang-switch .lang-btn.is-active { color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }

/* ---------- Bottom Navigation (Instagram-style) ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 110;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 40px -10px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  width: 20%;
  height: 100%;
  transition: color 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  text-decoration: none;
}

.bottom-nav-item:active {
  transform: scale(0.92);
}

.bottom-nav-item.is-active {
  color: var(--text);
}

.bottom-nav-item .nav-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.2px;
  transition: transform 0.3s;
}

.bottom-nav-item.is-active .nav-icon {
  color: var(--text);
  filter: drop-shadow(0 0 6px rgba(229,9,20,0.4));
}

.bottom-nav-item .nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

/* Center Highlighted Item (Free Trial) */
.bottom-nav-item.center-item {
  position: relative;
}

.bottom-nav-item.center-item .center-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-2px);
  transition: transform 0.3s var(--ease);
}

.bottom-nav-item.center-item:hover .center-btn {
  transform: translateY(-4px) scale(1.05);
}

.bottom-nav-item.center-item .nav-label {
  margin-top: 2px;
  font-size: 0.58rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72px;
}

/* Hide on desktop, show only on mobile */
@media (min-width: 861px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 84px;
  }
  .nav-burger {
    display: none !important;
  }
  /* Lift floating buttons above the bottom nav bar (64px + safe area) */
  .wa-float {
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 64px; height: 64px;
  }
  .wa-float svg { width: 100%; height: 100%; }
  .to-top {
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 44px; height: 44px;
  }
  /* When both show, stack to-top above WhatsApp */
  .to-top.show ~ .wa-float {
    bottom: calc(132px + env(safe-area-inset-bottom));
  }
}

/* ---------- Premium Trial Modal Popup ---------- */
.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.trial-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.trial-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.5s var(--ease);
}
.trial-modal.show .trial-modal-container {
  transform: scale(1) translateY(0);
}
.trial-modal-close {
  position: absolute;
  top: 14px;
  right: 10px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  color: var(--text-dim);
}
.trial-modal-close:hover {
  background: var(--surface-3);
  border-color: var(--hairline-strong);
  color: var(--white);
  transform: rotate(90deg);
}
.trial-modal-content {
  padding: 48px;
  max-height: 85vh;
  overflow-y: auto;
}
.trial-modal-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}
.trial-modal-form-side {
  display: flex;
  flex-direction: column;
}
.trial-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.trial-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trial-field label {
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 500;
}
.trial-field input, .trial-field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.trial-field input:focus, .trial-field select:focus {
  border-color: var(--accent) !important;
  background: var(--surface-3) !important;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.trial-modal-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trial-info-card {
  padding: 20px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.trial-info-card:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-strong);
}
.trial-info-card.green-glow {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), var(--surface));
  border-color: rgba(16, 185, 129, 0.2);
}
.trial-info-card.green-glow:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

@media (max-width: 860px) {
  .trial-modal {
    padding: 16px;
  }
  .trial-modal-content {
    padding: 32px 20px;
  }
  .trial-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .trial-modal-info-side {
    display: none;
  }
  .trial-modal-close {
    top: 10px;
    right: 8px;
  }
}



/* ============================================================
   IMPROVEMENTS v2 — Hero 2-col, TV Mockup, Trust Strip
   ============================================================ */

/* Hero 2-column layout */
.hero-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .stats { margin-top: 20px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0; }

/* Social proof */
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.proof-avatars { display: flex; }
.proof-av {
  width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--bg);
  margin-left: -7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 11px; color: white; position: relative;
}
.proof-av:first-child { margin-left: 0; }
.proof-av-1 { background: linear-gradient(135deg,#E50914,#700007); }
.proof-av-1::before { content: "JM"; letter-spacing: -0.5px; }
.proof-av-2 { background: linear-gradient(135deg,#1a66cc,#0a3a8a); }
.proof-av-2::before { content: "SL"; letter-spacing: -0.5px; }
.proof-av-3 { background: linear-gradient(135deg,#16a34a,#064e1e); }
.proof-av-3::before { content: "PR"; letter-spacing: -0.5px; }
.proof-av-4 { background: linear-gradient(135deg,#7c3aed,#3b0764); }
.proof-av-4::before { content: "MC"; letter-spacing: -0.5px; }
.proof-av-5 { background: linear-gradient(135deg,#d97706,#7c2d12); }
.proof-av-5::before { content: "TD"; letter-spacing: -0.5px; }
.proof-stars { color: var(--warn); font-size: 0.88rem; line-height: 1.2; }
.proof-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 1px; }

/* TV Mockup */
.tv-mockup { position: relative; width: 100%; max-width: 620px; }
.tv-glow { position: absolute; inset: 5% -5%; background: radial-gradient(ellipse at 50% 60%,rgba(229,9,20,0.18),transparent 65%); z-index: 0; filter: blur(40px); pointer-events: none; }
.tv-bezel { position: relative; z-index: 1; background: linear-gradient(175deg,#1e1e2a 0%,#0d0d16 100%); border-radius: 18px; padding: 10px 10px 32px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 60px 120px -20px rgba(0,0,0,0.9),inset 0 1px 0 rgba(255,255,255,0.1); }
.tv-screen { background: #04040b; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.tv-ui { height: 100%; display: flex; flex-direction: column; padding: 10px; gap: 7px; background: linear-gradient(160deg,#0a0a1a,#050510); }
.tv-topbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.tv-logo { display: flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 0.48rem; font-weight: 700; color: #fff; }
.tv-logo-mark { width: 13px; height: 13px; border-radius: 3px; flex-shrink: 0; background: var(--accent); display: grid; place-items: center; font-size: 6px; color: #fff; line-height: 1; }
.tv-live-pill { display: flex; align-items: center; gap: 3px; background: rgba(229,9,20,0.85); color: #fff; padding: 2px 6px; border-radius: 3px; font-size: 0.36rem; font-weight: 800; letter-spacing: 0.1em; }
.tv-live-dot { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: blink-dot 1.2s ease-in-out infinite; }
@keyframes blink-dot { 0%,100%{opacity:1} 50%{opacity:0.2} }
.tv-content { display: grid; grid-template-columns: 1.7fr 1fr; gap: 6px; flex: 1; min-height: 0; }
.tv-featured { border-radius: 7px; overflow: hidden; position: relative; background: radial-gradient(ellipse at 25% 50%,rgba(229,9,20,0.22),transparent 55%), radial-gradient(ellipse at 70% 30%,rgba(20,60,180,0.16),transparent 50%), #060616; }
.tv-feat-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 7px; background: linear-gradient(to top,rgba(0,0,0,0.75) 0%,transparent 55%); }
.tv-feat-tag { font-size: 0.3rem; font-weight: 800; letter-spacing: 0.1em; background: var(--accent); color: #fff; padding: 1.5px 5px; border-radius: 2px; width: fit-content; margin-bottom: 4px; }
.tv-feat-ch { font-size: 0.4rem; font-weight: 700; color: #fff; margin-bottom: 5px; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.tv-feat-prog { height: 2px; background: rgba(255,255,255,0.18); border-radius: 2px; overflow: hidden; }
.tv-feat-prog-fill { height: 100%; width: 42%; background: var(--accent); border-radius: 2px; }
.tv-sidebar { display: grid; grid-template-rows: repeat(4,1fr); gap: 5px; }
.tv-thumb { border-radius: 5px; overflow: hidden; position: relative; display: flex; align-items: flex-end; padding: 3px 4px; }
.tv-thumb-1 { background: linear-gradient(135deg,#0a1628,#1a3a7a); }
.tv-thumb-2 { background: linear-gradient(135deg,#100019,#2e0a4a); }
.tv-thumb-3 { background: linear-gradient(135deg,#001408,#003819); }
.tv-thumb-4 { background: linear-gradient(135deg,#1a0e00,#3d2600); }
.tv-thumb-label { font-size: 0.28rem; font-weight: 700; color: rgba(255,255,255,0.75); text-shadow: 0 1px 3px rgba(0,0,0,0.8); white-space: nowrap; }
.tv-stand { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 22%; height: 8px; background: linear-gradient(180deg,#1e1e2a,#0d0d16); border-radius: 0 0 6px 6px; border: 1px solid rgba(255,255,255,0.05); border-top: none; }
.tv-stand::after { content: ""; position: absolute; bottom: -5px; left: -50%; right: -50%; height: 5px; background: linear-gradient(90deg,transparent,rgba(255,255,255,0.04),transparent); border-radius: 50%; }
.tv-badge { position: absolute; z-index: 2; background: rgba(8,8,16,0.92); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 9px 15px; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; color: var(--text); box-shadow: 0 8px 28px rgba(0,0,0,0.65); white-space: nowrap; }
.tv-badge-top { top: 8%; right: -8%; animation: float-a 4s ease-in-out infinite; }
.tv-badge-bot { bottom: 14%; left: -8%; animation: float-b 5s ease-in-out infinite 0.6s; }
@keyframes float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.tv-badge-ic { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; background: linear-gradient(135deg,var(--accent),var(--accent-2)); display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: #fff; }
.tv-badge-sub { display: block; font-size: 0.64rem; color: var(--text-mute); font-weight: 400; margin-top: 1px; }

/* Trust strip */
.trust-strip { padding-block: 24px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,0.015); }
.trust-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; padding: 8px 28px; font-size: 0.86rem; color: var(--text-dim); font-weight: 500; border-right: 1px solid var(--hairline); flex-shrink: 0; white-space: nowrap; }
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.trust-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); flex-shrink: 0; }
.trust-stars { color: var(--warn); font-size: 0.85rem; }

/* Payment logos */
.pay-item { padding-block: 4px; }
.pay-logos { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay-card { width: 38px; height: 24px; border-radius: 4px; overflow: hidden; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); }
.pay-card svg { width: 100%; height: 100%; display: block; }

/* Guarantee badge */
.guarantee-badge { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border-radius: var(--r-pill); background: linear-gradient(135deg,rgba(16,185,129,0.08),rgba(16,185,129,0.03)); border: 1px solid rgba(16,185,129,0.2); color: var(--text-dim); font-size: 0.88rem; font-weight: 500; width: fit-content; margin-inline: auto; }
.guarantee-badge svg { width: 18px; height: 18px; color: #34d399; flex-shrink: 0; }

/* Step connectors on desktop */
@media (min-width: 721px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .step { position: relative; }
  .step:not(:last-child)::after { content: "\2192"; position: absolute; right: -16px; top: 28px; font-size: 1.5rem; color: rgba(229,9,20,0.3); z-index: 1; font-weight: 300; line-height: 1; }
}

/* Hero responsive overrides */
@media (max-width: 1040px) { .tv-badge-top { right: -2%; } .tv-badge-bot { left: -2%; } }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } .hero .stats-wrap { grid-column: span 1; } }
@media (max-width: 640px) { .trust-item:nth-child(3),.trust-item:nth-child(4) { display: none; } }

/* ============================================================
   MOBILE POLISH v3 — Comprehensive improvements
   ============================================================ */

/* ---------- 1. Scroll cue: hide on mobile (conflicts with bottom nav) ---------- */
@media (max-width: 860px) {
  .scroll-cue { display: none !important; }
}

/* ---------- 2. Promo bar: tighter on mobile ---------- */
@media (max-width: 720px) {
  .promo-bar {
    font-size: 0.75rem;
    padding: 6px 12px;
    line-height: 1.4;
  }
  /* Adjust nav-wrap top to match slimmer promo bar */
  .nav-wrap { top: 42px; }
  .nav-wrap.promo-hidden { top: 0; }
}

/* ---------- 3. Hero mobile: tighter spacing + display font ---------- */
@media (max-width: 720px) {
  .display {
    font-size: clamp(2.15rem, 8vw, 2.75rem);
    line-height: 1.01;
  }

  /* Hero bg video: reduce opacity slightly on mobile for perf clarity */
  .hero-bg-video { opacity: 0.07; }

  /* Hero inner: reduce top padding so content fits viewport better */
  .hero .hero-inner { padding-top: clamp(108px, 18vw, 136px); }

  /* Hero proof: compact */
  .hero-proof {
    gap: 8px;
    margin-top: 10px;
  }
  .proof-av {
    width: 26px;
    height: 26px;
    font-size: 9px;
    margin-left: -5px;
  }
  .proof-stars { font-size: 0.78rem; }
  .proof-label { font-size: 0.72rem; }

  /* Hero CTA buttons: proper sizing on mobile */
  .hero .btn-lg {
    padding: 13px 16px;
    font-size: 0.88rem;
    gap: 8px;
  }
  .hero .btn-lg .ic-circle {
    width: 24px;
    height: 24px;
  }

  /* Hero stats grid: more readable numbers */
  .hero .stat .num { font-size: 1.3rem; }
  .hero .stat .lab { font-size: 0.7rem; letter-spacing: -0.01em; }
  .hero .stats { padding: 0; border-radius: var(--r-md); }
  .hero .stat { padding: 12px 14px; }

  /* Lead: prevent overflow on tiny screens */
  .hero .lead { font-size: 0.98rem; }

  /* Eyebrow: compact on mobile */
  .eyebrow {
    font-size: 9.5px;
    padding: 5px 11px;
    letter-spacing: 0.13em;
  }
  .eyebrow .dot { width: 6px; height: 6px; }
}

/* ---------- 4. Typography: safe floor at 375px ---------- */
@media (max-width: 380px) {
  .display { font-size: clamp(1.95rem, 9vw, 2.4rem); }
  .h2 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .lead { font-size: 0.94rem; }

  /* Nav pill: extra tight */
  .nav .brand { font-size: 0.86rem; gap: 6px; }
  .nav .brand .logo-mark { width: 28px; height: 28px; font-size: 14px; }
  .nav { padding: 7px 7px 7px 11px; }

  /* Hide lang switch on very small screens — it's in the menu overlay */
  .nav .lang-switch { display: none; }
}

/* ---------- 5. Bottom nav: stronger active state + safe area ---------- */
.bottom-nav {
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: calc(env(safe-area-inset-bottom) + 0px);
}

/* Active item: accent colour + glow */
.bottom-nav-item.is-active {
  color: var(--accent) !important;
}
.bottom-nav-item.is-active .nav-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 7px rgba(229, 9, 20, 0.6));
  transform: translateY(-1px);
}
.bottom-nav-item.is-active .nav-label {
  color: var(--accent);
  font-weight: 700;
}

/* Center btn: elevated glow */
.bottom-nav-item.center-item .center-btn {
  box-shadow: 0 6px 22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bottom-nav-item.center-item:active .center-btn {
  transform: translateY(0) scale(0.94);
  box-shadow: 0 3px 12px var(--accent-glow);
}

/* All items: generous tap target */
.bottom-nav-item {
  min-height: 44px;
  padding-block: 6px;
}

/* Body: account for safe area in padding */
@media (max-width: 860px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- 6. Carousel: snap-active state + pill dots ---------- */
@media (max-width: 720px) {
  /* Non-active: slightly more transparent */
  .steps.carousel-mobile > *,
  .price-grid.carousel-mobile > *,
  .bento.carousel-mobile > * {
    opacity: 0.38;
    transition: opacity 0.4s ease, transform 0.35s var(--ease);
    will-change: opacity, transform;
  }

  /* snap-active: full opacity + subtle lift */
  .steps.carousel-mobile > .snap-active,
  .price-grid.carousel-mobile > .snap-active,
  .bento.carousel-mobile > .snap-active {
    opacity: 1 !important;
    transform: translateY(-2px);
  }

  /* Featured price card: never fully dimmed */
  .price-grid.carousel-mobile > .price-card.featured {
    opacity: 0.7;
  }
  .price-grid.carousel-mobile > .price-card.featured.snap-active {
    opacity: 1;
  }

  /* Carousel dots: pill shape */
  .carousel-dots {
    padding: 12px 0 4px;
    gap: 6px;
  }
  .carousel-dots .c-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    transition: background 0.3s ease, width 0.3s ease, transform 0.2s ease;
    transform: none;
  }
  .carousel-dots .c-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 3px;
    transform: none;
  }
}

/* ---------- 7. Device grid: 2-col on mobile ---------- */
@media (max-width: 720px) {
  .device-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .device { padding: 14px 12px; }
  .device .di {
    width: 44px; height: 44px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  .device .di svg { width: 22px; height: 22px; }
  .device h4 { font-size: 0.9rem; margin-bottom: 2px; }
  .device p { font-size: 0.74rem; }
}

/* ---------- 8. Testimonial cards: better width in carousel ---------- */
@media (max-width: 720px) {
  .bento.carousel-mobile > .card {
    flex: 0 0 calc(100vw - 72px) !important;
    max-width: 340px !important;
  }
  .bento.carousel-mobile > .card p {
    font-size: 0.91rem;
    line-height: 1.65;
  }
}

/* ---------- 9. Steps carousel: right width ---------- */
@media (max-width: 720px) {
  .steps.carousel-mobile > * {
    flex: 0 0 calc(100vw - 80px);
    max-width: 300px;
  }
}

/* ---------- 10. Guarantee badge: center on mobile ---------- */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 500;
}
.guarantee-badge svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: #34d399;
}
@media (max-width: 720px) {
  .guarantee-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    padding: 10px 16px;
    gap: 6px;
  }
}

/* ---------- 11. Footer: cleaner mobile layout ---------- */
@media (max-width: 720px) {
  /* footer-links becomes a visible 3-col grid on mobile */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 12px;
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    margin-top: 4px;
  }

  /* Tighter type inside the compact block */
  .footer-links h5 {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    margin-top: 0;
  }

  .footer-links a {
    font-size: 0.82rem;
    padding: 3px 0;
    color: var(--text-dim);
  }

  .footer-links a:hover { color: var(--text); }

  /* Brand blurb stays full width above the link block */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer h5 { margin-top: 20px; margin-bottom: 8px; }
  .footer a { padding: 4px 0; font-size: 0.88rem; }
  .footer .brand-blurb { font-size: 0.88rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
    margin-top: 24px;
  }
  .footer-bottom .flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ---------- 12. CTA band: rounder, better padding on mobile ---------- */
@media (max-width: 720px) {
  .cta-band {
    border-radius: var(--r-lg);
    padding: 32px 20px;
  }
  .cta-band .h2 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .cta-band .lead { font-size: 0.95rem; }
  .cta-band .flex.wrap { gap: 10px; flex-wrap: wrap; }
  .cta-band .btn-lg { flex: 1 1 140px; justify-content: center; }
}

/* ---------- 13. Promo bar: emoji spacing fix ---------- */
@media (max-width: 480px) {
  .promo-bar { font-size: 0.72rem; padding: 5px 10px; }
  .nav-wrap { top: 40px; }
}

/* ---------- 14. Hero section: ensure background orbs don't thrash on mobile ---------- */
@media (max-width: 720px) {
  .bg-fx::before, .bg-fx::after { opacity: 0.38; }
  .bg-fx .orb-3 { opacity: 0.25; }
  .bg-fx .orb-4 { opacity: 0.04; }
}

/* ---------- 15. Pricing card snap carousel: correct sizing ---------- */
@media (max-width: 720px) {
  .price-grid.carousel-mobile > * {
    flex: 0 0 calc(100vw - 80px);
    max-width: 300px;
  }
}

/* ---------- 16. nav-wrap: floating pill looks better when scrolled ---------- */
@media (max-width: 860px) {
  .nav-wrap {
    padding-inline: 12px;
  }
  .nav {
    width: 100%;
  }
}

/* ---------- 17. Comparison table: mobile tab switcher ---------- */

/* Tab strip: hidden on desktop, shown on mobile */
.compare-tabs {
  display: none;
}

@media (max-width: 720px) {
  /* Show tab strip */
  .compare-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    background: var(--surface);
    border-radius: var(--r-pill);
    padding: 5px;
    border: 1px solid var(--hairline);
  }

  .compare-tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.83rem;
    font-weight: 600;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .compare-tab.is-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
  }

  /* Remove horizontal scroll from the bezel wrapper on mobile */
  .bezel { overflow-x: visible !important; }

  /* Kill the min-width that forced horizontal scroll */
  .compare-table { min-width: 0 !important; width: 100% !important; }

  /* Hide non-active plan columns */
  .compare-table.show-1 .col-2,
  .compare-table.show-1 .col-4 { display: none; }

  .compare-table.show-2 .col-1,
  .compare-table.show-2 .col-4 { display: none; }

  .compare-table.show-4 .col-1,
  .compare-table.show-4 .col-2 { display: none; }

  /* Compact cell padding on mobile */
  .compare-table th,
  .compare-table td { padding: 13px 14px !important; }

  /* Feature column: full-weight label */
  .compare-table .col-feat {
    font-weight: 500;
    color: var(--text);
    font-size: 0.88rem;
    width: 55%;
  }

  /* Value column: right-aligned, accent header */
  .compare-table .col-1,
  .compare-table .col-2,
  .compare-table .col-4 {
    text-align: right;
    font-size: 0.95rem;
  }

  /* Active column header: brighter */
  .compare-table.show-1 th.col-1,
  .compare-table.show-2 th.col-2,
  .compare-table.show-4 th.col-4 {
    color: var(--text) !important;
  }
}

/* ---------- 18. Carousel scroll fix — unblock sections that contain carousels ---------- */
/* On mobile, any ancestor with overflow:hidden clips the carousel's 100vw breakout
   and prevents iOS touch-scroll. Use overflow:clip on ancestors (no scroll container)
   and set the sections that host carousels to overflow-x:visible. */
@media (max-width: 720px) {
  /* Sections containing a carousel must not clip horizontally */
  section:has(.carousel-mobile) {
    overflow-x: visible !important;
    overflow-y: visible;
  }

  /* Ensure the carousel itself can still show the tag badge above */
  section:has(.carousel-mobile) .container {
    overflow: visible;
  }

  /* Older iOS fallback: html overflow-x:hidden is safe (doesn't block child scroll) */
  html {
    overflow-x: hidden;
  }
}