/* ==============================================================
   StreamNova — Premium IPTV France · Coupe du Monde 2026
   Cinématique noir / bleu français / rouge / or
   ============================================================== */

:root {
  --black: #050505;
  --graphite: #0d0d0d;
  --graphite-2: #141414;
  --graphite-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.42);

  /* Couleurs du drapeau français + or */
  --blue: #0055A4;
  --blue-soft: #2a78c7;
  --blue-glow: rgba(0, 85, 164, 0.55);
  --red: #EF4135;
  --red-soft: #ff5a4d;
  --red-glow: rgba(239, 65, 53, 0.55);
  --gold: #D4AF37;
  --gold-soft: #f0cf6c;
  --neon: #4ea1ff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  --shadow-red: 0 20px 60px -10px rgba(239, 65, 53, 0.5);
  --shadow-blue: 0 20px 60px -10px rgba(0, 85, 164, 0.55);

  --grad-red: linear-gradient(135deg, #ff5a4d 0%, #EF4135 50%, #a8281e 100%);
  --grad-blue: linear-gradient(135deg, #2a78c7 0%, #0055A4 50%, #003a73 100%);
  --grad-flag: linear-gradient(135deg, #0055A4 0%, #ffffff 50%, #EF4135 100%);
  --grad-gold: linear-gradient(135deg, #f5d779 0%, #d4af37 60%, #8b7019 100%);
  --grad-stage: radial-gradient(ellipse at 20% 0%, rgba(0, 85, 164, 0.22) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 30%, rgba(239, 65, 53, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
                #050505;

  --font-display: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--black); color: var(--white); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* WordPress alignment helpers */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px;
  overflow: hidden; padding: 0; border: 0; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--red); color: #fff; padding: 8px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

/* ============================== LAYOUT ============================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(34px, 5.4vw, 76px); }
h2 { font-size: clamp(28px, 3.6vw, 52px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
.lead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  max-width: 720px;
}
.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.red-text { color: var(--red); }
.blue-text { color: var(--blue-soft); }
.gold-text {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================== BUTTONS ============================== */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  border-radius: 999px; transition: transform .25s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red {
  background: var(--grad-red); color: #fff;
  box-shadow: 0 12px 30px -8px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-red:hover { box-shadow: 0 20px 50px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-blue {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 12px 30px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-blue:hover { box-shadow: 0 20px 50px -10px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: #fff;
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.btn-whatsapp {
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-gold {
  background: var(--grad-gold); color: #1a1100;
  box-shadow: 0 12px 30px -8px rgba(212, 175, 55, 0.4);
}
.btn-sm { --h: 42px; padding: 0 18px; font-size: 13px; }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 16px; }

/* ============================== NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(5, 5, 5, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.logo-mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-flag);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 85, 164, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.5), transparent 55%);
  pointer-events: none;
}
.logo-mark svg { position: relative; z-index: 1; }
.logo .nova { color: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  padding: 10px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 14px;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 55;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.7,.1,.2,1);
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block; padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.07); }
.mobile-menu .menu-cta-row { display: flex; gap: 10px; margin-top: 12px; }
.mobile-menu .menu-cta-row .btn { flex: 1; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: var(--grad-stage);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% -10%, rgba(0, 85, 164, 0.4) 0%, transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(239, 65, 53, 0.25) 0%, transparent 40%);
  filter: blur(40px);
}
.hero-stadium {
  position: absolute; left: 50%; bottom: -10%; transform: translateX(-50%);
  width: 1400px; height: 700px; z-index: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 90%, rgba(0, 85, 164, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero-stadium::after {
  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: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 100%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 30%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
.hero-copy { max-width: 700px; }
.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: var(--grad-flag);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, #fff 50%, var(--red) 100%);
  opacity: 0.55;
}
.hero .lead { font-size: clamp(17px, 1.4vw, 20px); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 32px 0 30px;
}
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-trust .stars {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 700; font-size: 14px;
}
.hero-trust .stars span { color: #fff; font-family: var(--font-display); }
.hero-trust .divider { width: 1px; height: 16px; background: var(--line-strong); }
.hero-trust .meta { font-size: 13px; color: var(--muted); }
.hero-trust .meta strong { color: #fff; font-weight: 600; }

/* Hero visual */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; min-height: 460px;
}
.tile {
  position: absolute;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.7), rgba(10, 10, 10, 0.85));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}
.tile-main {
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 85, 164, 0.45) 0%, transparent 60%),
              linear-gradient(180deg, rgba(20, 30, 50, 0.4), rgba(10, 10, 10, 0.95));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
}
.stadium-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; pointer-events: none; }
.live-badge {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(239, 65, 53, 0.18); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(239, 65, 53, 0.4);
  backdrop-filter: blur(10px);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-soft);
  animation: livepulse 1.6s infinite ease-in-out;
  box-shadow: 0 0 12px var(--red-soft);
}
@keyframes livepulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hd-tag {
  position: absolute; top: 20px; right: 20px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong);
  color: #fff; backdrop-filter: blur(10px);
}
.hd-tag.gold { color: var(--gold); border-color: rgba(212, 175, 55, 0.35); }

.tile-meta { position: relative; z-index: 2; }
.match-teams {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  margin-bottom: 6px;
}
.team-flag {
  width: 24px; height: 16px; border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.match-score {
  margin: 0 4px; padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08); border-radius: 8px;
  font-size: 16px; color: var(--gold);
}
.match-time { font-size: 11px; color: var(--muted); }

.tile-card {
  padding: 16px 18px;
  width: 240px;
}
.float-1 {
  top: 8%; right: -10%;
  animation: float1 6s ease-in-out infinite;
}
.float-2 {
  bottom: 30%; left: -12%;
  animation: float2 7s ease-in-out infinite;
}
.float-3 {
  bottom: -2%; right: 4%;
  animation: float1 8s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); }
}
.tile-card .row { display: flex; align-items: center; gap: 12px; }
.tile-card .icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 85, 164, 0.18); color: var(--blue-soft);
  border: 1px solid rgba(0, 85, 164, 0.3);
}
.tile-card .icon.gold { background: rgba(212, 175, 55, 0.13); color: var(--gold); border-color: rgba(212, 175, 55, 0.3); }
.tile-card .icon.green { background: rgba(37, 211, 102, 0.13); color: #25d366; border-color: rgba(37, 211, 102, 0.3); }
.tile-card .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }
.tile-card .value { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-top: 2px; }
.tile-card .small { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* "As seen on" bar */
.logo-bar {
  margin-top: 80px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  justify-content: center;
}
.logo-bar .label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-2);
  margin-right: auto;
}
.logo-bar .item {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  transition: color .3s ease;
}
.logo-bar .item:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .float-1 { right: 0; top: 0; }
  .float-3 { right: 0; bottom: 0; }
  .float-2 { left: 0; bottom: 25%; }
  .logo-bar { margin-top: 50px; gap: 16px; padding: 18px; }
  .logo-bar .label { width: 100%; text-align: center; margin-right: 0; }
}

/* ============================== SECTIONS ============================== */
.section { padding: 100px 0; position: relative; }
.section-head {
  max-width: 720px; margin: 0 auto 56px; text-align: center;
}
.section-head h2 { margin-bottom: 18px; }

/* ============================== FEATURES ============================== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  position: relative; padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s ease, border-color .3s ease;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 85, 164, 0.5), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feature:hover::before { opacity: 1; }
.feature .icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(0, 85, 164, 0.12); color: var(--blue-soft);
  border: 1px solid rgba(0, 85, 164, 0.28);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature.red .icon-wrap { background: rgba(239, 65, 53, 0.12); color: var(--red-soft); border-color: rgba(239, 65, 53, 0.28); }
.feature.gold .icon-wrap { background: rgba(212, 175, 55, 0.12); color: var(--gold); border-color: rgba(212, 175, 55, 0.28); }
.feature.green .icon-wrap { background: rgba(37, 211, 102, 0.12); color: #25d366; border-color: rgba(37, 211, 102, 0.28); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ============================== WORLD CUP ============================== */
.wc-section { background: var(--graphite); position: relative; overflow: hidden; }
.wc-pitch-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 85, 164, 0.28) 0%, transparent 65%),
              radial-gradient(ellipse at 100% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
}
.wc-section .container { position: relative; z-index: 1; }
.wc-hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 60px;
}
.wc-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.chip.gold { color: var(--gold); border-color: rgba(212, 175, 55, 0.3); background: rgba(212, 175, 55, 0.06); }

.countdown {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0, 85, 164, 0.12), rgba(20, 20, 20, 0.6));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-blue);
  overflow: hidden;
}
.countdown::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.2), transparent 50%);
}
.countdown-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
  position: relative;
}
.countdown-head .label {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.countdown-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
}
.countdown-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  position: relative;
}
.cd-cell {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-strong);
}
.cd-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 42px);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-top: 6px; }

.wc-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.wc-card {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .3s ease;
}
.wc-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.wc-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 85, 164, 0.12); color: var(--blue-soft);
  border: 1px solid rgba(0, 85, 164, 0.28);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.wc-card h3 { font-size: 17px; margin-bottom: 8px; }
.wc-card p { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .wc-hero { grid-template-columns: 1fr; gap: 40px; }
  .wc-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .wc-cards { grid-template-columns: 1fr; }
}

/* ============================== PRICING ============================== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s ease, border-color .3s ease;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 85, 164, 0.1) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.price-card:hover::before { opacity: 1; }
.price-card.featured {
  background: linear-gradient(180deg, rgba(0, 85, 164, 0.18) 0%, rgba(239, 65, 53, 0.06) 100%);
  border-color: rgba(0, 85, 164, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 85, 164, 0.4), 0 30px 80px -30px rgba(0, 85, 164, 0.55);
}
.price-card.featured::before { opacity: 1; }
.price-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 7px 16px; border-radius: 0 0 12px 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--grad-gold); color: #1a1100;
}
.price-tier {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue-soft);
  margin-bottom: 14px;
}
.price-name {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  margin-bottom: 16px;
}
.price-row {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.price-amount {
  font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-currency { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--muted); }
.price-period { font-size: 14px; color: var(--muted); margin-left: 4px; }
.price-was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; margin-bottom: 18px; }
.price-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 6px 0 22px; flex: 1;
}
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted);
}
.price-features li svg {
  flex-shrink: 0; margin-top: 3px;
  color: var(--blue-soft);
}
.price-card.featured .price-features li svg { color: var(--gold); }
.price-cta { width: 100%; }
.price-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--muted);
}
.price-meta-row strong { color: var(--gold); font-weight: 600; }

/* ============================== TRUST COUNTERS ============================== */
.counters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.counter { text-align: center; }
.counter .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 800px) {
  .counters { grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px; }
}

/* ============================== REVIEWS ============================== */
.reviews-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 20px;
}
.reviews-score {
  display: flex; align-items: center; gap: 18px;
}
.reviews-score .big {
  font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews-score .stars { color: var(--gold); font-size: 14px; }
.reviews-score .label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.reviews-filters { display: flex; gap: 8px; }
.review-pill {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.review .head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.review .name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.review .meta { font-size: 11px; color: var(--muted); }
.review .stars { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
.review p { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11px; color: #25d366;
}

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================== DEVICES ============================== */
.devices-head { text-align: center; margin-bottom: 50px; }
.devices-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.device {
  padding: 26px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .35s ease, border-color .3s ease, color .3s ease;
  color: var(--muted);
}
.device:hover { transform: translateY(-4px); border-color: rgba(0, 85, 164, 0.4); color: #fff; }
.device .ico { margin: 0 auto 10px; color: var(--blue-soft); }
.device .name { font-family: var(--font-display); font-weight: 600; font-size: 13px; }

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

/* ============================== CAROUSELS / SPORTS ============================== */
.carousel-row { margin-bottom: 50px; }
.carousel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.carousel-head h3 { font-size: 20px; }
.carousel-head .more { font-size: 13px; color: var(--muted); cursor: pointer; }
.carousel-head .more:hover { color: var(--blue-soft); }
.carousel {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }
.poster {
  position: relative;
  flex: 0 0 280px;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background-size: cover; background-position: center;
  background-color: var(--graphite-2);
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform .35s ease;
  border: 1px solid var(--line);
}
.poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}
.poster:hover { transform: translateY(-4px) scale(1.01); }
.poster .pill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
}
.poster .pill.live { background: rgba(239, 65, 53, 0.4); border-color: rgba(239, 65, 53, 0.6); }
.poster .pill.gold { color: var(--gold); border-color: rgba(212, 175, 55, 0.4); }
.poster .meta-wrap {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2;
}
.poster .label { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.poster .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Channel logos ribbon */
.channels-ribbon {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.channel {
  display: flex; align-items: center; justify-content: center;
  height: 60px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  transition: all .3s ease;
  text-align: center; padding: 0 10px;
}
.channel:hover { color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
@media (max-width: 1000px) { .channels-ribbon { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .channels-ribbon { grid-template-columns: repeat(2, 1fr); padding: 18px; } }

/* ============================== CTA BANNER ============================== */
.cta-banner {
  position: relative;
  padding: 56px 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 85, 164, 0.25) 0%, rgba(239, 65, 53, 0.15) 100%);
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.18) 0%, transparent 50%);
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-trophy { display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-trophy { display: none; }
}

/* ============================== FAQ ============================== */
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq:hover { border-color: var(--line-strong); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  cursor: pointer;
}
.faq-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease;
  flex-shrink: 0;
}
.faq.open .faq-toggle { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 24px;
  color: var(--muted); font-size: 15px;
  transition: max-height .35s ease, padding .35s ease;
}
.faq.open .faq-a {
  max-height: 320px; padding: 0 24px 22px;
}

/* ============================== FOOTER ============================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--graphite);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 18px 0 22px; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.pay {
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-col h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em; color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color .25s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted-2); flex-wrap: wrap;
}
.socials { display: flex; gap: 8px; }
.social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all .25s ease;
}
.social:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-brand { grid-column: 1 / -1; } }

/* ============================== FLOATING WHATSAPP ============================== */
.floating-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 4px 4px 18px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.85); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.45);
}
.floating-wa .label { font-size: 12px; color: var(--muted); }
.floating-wa .label strong { color: #25d366; font-weight: 700; }
.fab-wa {
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
@media (max-width: 720px) {
  .floating-wa .label { display: none; }
  .floating-wa { padding: 4px; }
}

/* ============================== STICKY MOBILE CTA ============================== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: rgba(5, 5, 5, 0.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
}
.sticky-cta .price-mini {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.sticky-cta .price-mini small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  .floating-wa { bottom: 76px; }
  body { padding-bottom: 70px; }
}

/* ============================== MODAL ============================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative;
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.85);
  transform: translateY(20px); transition: transform .3s ease;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); }
.modal h3 { font-size: 24px; margin-bottom: 14px; }
.modal .lead { font-size: 14px; margin-bottom: 24px; }

#orderForm { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.field input, .field select {
  height: 48px; padding: 0 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-strong);
  color: #fff; font-family: var(--font-body); font-size: 15px;
  transition: border-color .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.2);
}
.field input.error, .field select.error {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 65, 53, 0.18);
}
.field select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff80' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.modal-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.modal-success { text-align: center; padding: 20px 0; }
.success-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: #25d366; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.18);
}

/* ============================== REVEAL ============================== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================== WORDPRESS / WOOCOMMERCE ============================== */

/* Default WooCommerce overrides */
.woocommerce-page .container, .woocommerce .container { max-width: 1280px; }
.woocommerce ul.products li.product .price { color: var(--gold) !important; font-family: var(--font-display); font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce .button {
  background: var(--grad-red) !important; color: #fff !important;
  border-radius: 999px !important; padding: 12px 22px !important;
  font-family: var(--font-display); font-weight: 700;
}
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--grad-blue) !important;
}
.woocommerce-message, .woocommerce-info {
  background: rgba(0, 85, 164, 0.12) !important;
  border-top-color: var(--blue) !important;
  color: #fff !important;
}
.woocommerce-error {
  background: rgba(239, 65, 53, 0.12) !important;
  border-top-color: var(--red) !important;
  color: #fff !important;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff !important; font-family: var(--font-display); font-weight: 700;
}

/* Generic WP page wrapper */
.page-content {
  max-width: 880px; margin: 0 auto;
  padding: 80px 24px;
}
.page-content h1, .page-content h2, .page-content h3 { margin: 1.4em 0 0.6em; }
.page-content h1:first-child, .page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--muted); margin-bottom: 1em; font-size: 16px; line-height: 1.7; }
.page-content ul, .page-content ol { color: var(--muted); margin: 1em 0 1em 1.4em; }
.page-content ul li, .page-content ol li { margin-bottom: 0.5em; }
.page-content a { color: var(--blue-soft); text-decoration: underline; }
.page-content a:hover { color: var(--red-soft); }
.page-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 12px 18px; margin: 1.4em 0;
  background: rgba(0, 85, 164, 0.08);
  border-radius: 0 12px 12px 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Comments / forms */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(0,0,0,0.4); border: 1px solid var(--line-strong);
  color: #fff; font-family: inherit;
}
.comment-form input[type="submit"] {
  background: var(--grad-red); color: #fff;
  border: 0; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; cursor: pointer;
}

/* Page header for non-home pages */
.page-header-banner {
  position: relative;
  padding: 80px 0 50px;
  text-align: center;
  background: var(--grad-stage);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-header-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 85, 164, 0.2), transparent 60%);
}
.page-header-banner .container { position: relative; z-index: 1; }
.page-header-banner h1 { font-size: clamp(32px, 4.5vw, 56px); margin-bottom: 14px; }
.page-header-banner p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.breadcrumbs { font-size: 12px; color: var(--muted-2); margin-top: 16px; text-transform: uppercase; letter-spacing: 0.12em; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-soft); }

/* Blog layout */
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 60px 24px;
  max-width: 1280px; margin: 0 auto;
}
@media (max-width: 900px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, border-color .3s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.post-card-thumb { aspect-ratio: 16/10; background: var(--graphite-2); background-size: cover; background-position: center; }
.post-card-body { padding: 22px; }
.post-card-meta { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.post-card h3 { margin-bottom: 8px; font-size: 18px; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--blue-soft); }
.post-card p { color: var(--muted); font-size: 14px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue-soft); font-weight: 600; font-size: 13px; }

.single-post-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px;
}
.single-post-content h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.single-post-content .post-thumb { aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 30px; }

/* Pagination */
.pagination {
  display: flex; gap: 6px; justify-content: center; padding: 20px 0 60px;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--muted);
}
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination .page-numbers:hover { color: #fff; }

/* 404 */
.error-404-wrap {
  text-align: center; padding: 120px 24px; max-width: 640px; margin: 0 auto;
}
.error-404-wrap .big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(80px, 12vw, 160px);
  background: var(--grad-flag); -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em; line-height: 1;
}

/* ============================== UTILITIES ============================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Print */
@media print {
  .nav, .footer, .floating-wa, .sticky-cta, .modal-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================== EXTRA SECTIONS ============================== */

/* Counters */
.counters { padding: 60px 0; }
.counters-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 720px) { .counters-grid { grid-template-columns: repeat(2, 1fr); } }
.counter-item {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease;
}
.counter-item:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.counter-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  background: var(--grad-flag); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; letter-spacing: -0.02em;
}
.counter-label { color: var(--muted); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Channels CTA */
.channels-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 30px;
}

/* Devices foot */
.devices-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding: 18px 22px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius);
}
.device-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: grid; place-items: center;
  color: #fff; opacity: .92;
}
.device-icon svg { width: 36px; height: 36px; }

/* Reviews score meta */
.score-meta { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.badge-verified {
  font-size: 11px; padding: 4px 8px; border-radius: 999px;
  background: rgba(46, 204, 113, .15); color: #4ade80;
  border: 1px solid rgba(46, 204, 113, .3);
  margin-left: auto;
}
.review-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* CTA banner */
.cta-section { padding: 60px 0; }
.cta-banner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  padding: 50px 60px;
  background: var(--grad-stage), radial-gradient(ellipse at top right, rgba(212,175,55,.18), transparent 60%);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(212,175,55,.2), transparent 50%);
  pointer-events: none;
}
.cta-trophy { position: relative; z-index: 1; flex-shrink: 0; }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.cta-text p { color: var(--muted); max-width: 540px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.eyebrow-light { color: var(--gold); }
@media (max-width: 900px) {
  .cta-banner { grid-template-columns: 1fr; padding: 32px; text-align: center; }
  .cta-trophy { margin: 0 auto; }
  .cta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* FAQ foot */
.faq-foot {
  text-align: center; margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

/* Posts grid (override existing) */
.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.post-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.post-thumb { display: block; aspect-ratio: 16/10; background: var(--graphite-2); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px; }
.post-meta { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.post-title { margin-bottom: 10px; font-size: 18px; line-height: 1.35; }
.post-title a { color: #fff; }
.post-title a:hover { color: var(--blue-soft); }
.post-excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; }
.post-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue-soft); font-weight: 600; font-size: 13px; }

/* Page header */
.page-main { padding-top: 120px; padding-bottom: 60px; min-height: 50vh; }
.page-header { padding: 30px 0 40px; }
.page-header .eyebrow { display: inline-block; margin-bottom: 14px; }
.page-title { font-size: clamp(32px, 5vw, 56px); font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-section { padding: 30px 0 60px; }
.container-narrow { max-width: 820px; margin: 0 auto; }
.page-thumb { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.page-content, .single-post-content { padding: 0; }

/* Post tags & nav */
.post-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.post-tags a { color: var(--blue-soft); margin-right: 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-nav a { color: var(--muted); }
.post-nav a:hover { color: #fff; }
.post-nav-next { text-align: right; margin-left: auto; }

/* No results */
.no-results { text-align: center; padding: 60px 24px; }
.no-results h2 { margin-bottom: 16px; }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 16px 0; }
.search-field {
  flex: 1; padding: 12px 16px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #fff;
  font-size: 14px; outline: none;
}
.search-field:focus { border-color: var(--blue); }
.search-submit { padding: 12px 22px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* Comments */
.comments-area { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.comments-title { font-size: 22px; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 24px; padding: 20px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: 12px; color: var(--muted-2); margin-bottom: 8px; }
.comment-content { color: var(--muted); font-size: 14px; line-height: 1.7; }
.comment-respond { margin-top: 30px; }
.comment-respond input, .comment-respond textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px;
  color: #fff; font-size: 14px;
}

/* 404 */
.error-404 { text-align: center; padding: 60px 0; }
.error-404 .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(100px, 18vw, 220px); background: var(--grad-flag); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.error-search { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.error-search .search-form { margin: 0 auto; }

/* Contact page */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.contact-card {
  display: block; padding: 32px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; color: #fff;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  text-decoration: none;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.contact-card.contact-whatsapp { border-color: rgba(37, 211, 102, .3); background: linear-gradient(180deg, rgba(37,211,102,.08), rgba(37,211,102,.02)); }
.contact-card.contact-whatsapp:hover { border-color: rgba(37, 211, 102, .5); }
.contact-icon { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border-radius: 50%; color: #fff; }
.contact-card.contact-whatsapp .contact-icon { background: rgba(37,211,102,.18); color: #25d366; }
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card .contact-value { font-weight: 600; margin: 12px 0 18px; color: #fff; word-break: break-all; }
.btn-block { width: 100%; justify-content: center; }
.contact-cta { text-align: center; padding: 60px 24px; margin-top: 40px; background: linear-gradient(180deg, rgba(0,85,164,.08), transparent); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-cta h2 { margin-bottom: 10px; }
.contact-cta p { margin-bottom: 24px; }

/* Installation guide */
.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.install-card {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease;
}
.install-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.install-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.install-icon { font-size: 28px; }
.install-head h3 { font-size: 18px; margin: 0; }
.install-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 20px; flex: 1; }
.install-steps li {
  counter-increment: step;
  position: relative; padding: 10px 0 10px 36px;
  color: var(--muted); font-size: 14px; line-height: 1.55;
  border-bottom: 1px dashed var(--line);
}
.install-steps li:last-child { border-bottom: 0; }
.install-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-flag); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* Page links / wp_link_pages */
.page-links { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.page-links a, .page-links > span { padding: 6px 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.page-links a:hover { color: #fff; border-color: var(--line-strong); }

/* Mobile fixes */
@media (max-width: 600px) {
  .page-main { padding-top: 100px; }
  .cta-banner { padding: 24px 20px; }
  .install-card { padding: 22px 18px; }
  .contact-card { padding: 24px 18px; }
}
