/*
Theme Name: Euro IPTV
Theme URI: https://euro-iptv.example
Author: Safae
Author URI: https://euro-iptv.example
Description: Tema premium para servicio de IPTV. Diseño dark-mode nativo, responsive, con acento verde neón. Basado en el diseño de Pixelvault, rebrandizado para Euro IPTV.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: euro-iptv
*/

:root {
  --bg:           #0a0a0a;
  --bg-2:         #111111;
  --bg-3:         #181818;
  --bg-card:      #131313;
  --line:         #232323;
  --line-2:       #2e2e2e;

  --text:         #ededed;
  --text-soft:    #b4b4b4;
  --muted:        #707070;
  --dim:          #404040;

  --accent:       #5eff5b;
  --accent-2:     #45e642;
  --accent-soft:  rgba(94, 255, 91, 0.1);
  --accent-glow:  rgba(94, 255, 91, 0.25);

  --warning:      #ffb800;
  --danger:       #ff3344;

  --font-sans:    'Geist', -apple-system, sans-serif;
  --font-mono:    'Geist Mono', monospace;
  --font-serif:   'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}

/* Subtle background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

/* Top spotlight */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center top, var(--accent-soft), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

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

/* ═══════════════ ANNOUNCEMENT BAR ═══════════════ */
.announce {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

.announce strong { font-weight: 700; }

.announce a {
  color: var(--bg);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  margin-left: 6px;
  font-weight: 600;
}

/* ═══════════════ NAV ═══════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 800;
  font-size: 18px;
}

.logo-mark::after {
  content: 'E';
}

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-grow: 1;
  margin-left: 32px;
}

.nav-menu a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.nav-signin:hover { color: var(--text); }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover { border-color: var(--muted); }

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Botón "Prueba gratuita" fluorescente con lucecitas ── */
.btn-trial {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.1px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  animation: trialGlow 1.8s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.btn-trial-label {
  position: relative;
  z-index: 2;
}

/* Resplandor fluorescente que palpita */
@keyframes trialGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(94, 255, 91, 0.5), 0 0 0 0 rgba(94, 255, 91, 0); }
  50%      { box-shadow: 0 0 30px rgba(94, 255, 91, 0.95), 0 0 0 4px rgba(94, 255, 91, 0.14); }
}

/* Destello que recorre el botón */
.btn-trial::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  animation: trialSweep 2.6s ease-in-out infinite;
}

@keyframes trialSweep {
  0%        { left: -120%; }
  60%, 100% { left: 150%; }
}

/* Lucecitas que parpadean */
.btn-trial .spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff, 0 0 12px var(--accent);
  opacity: 0;
  z-index: 2;
  animation: trialTwinkle 2.2s ease-in-out infinite;
}

.btn-trial .s1 { top: 4px; left: 16%; animation-delay: 0.1s; }
.btn-trial .s2 { bottom: 5px; left: 47%; animation-delay: 0.8s; }
.btn-trial .s3 { top: 6px; right: 14%; animation-delay: 1.5s; }

@keyframes trialTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50%      { opacity: 1; transform: scale(1); }
}

/* Interactivo: al pasar el ratón se acelera e intensifica */
.btn-trial:hover {
  transform: translateY(-2px) scale(1.04);
  animation-duration: 0.8s;
}

.btn-trial:hover::before { animation-duration: 1.1s; }
.btn-trial:hover .spark { animation-duration: 0.9s; }

.btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  padding: 9px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.btn-pri:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-pri.lg { padding: 14px 28px; font-size: 15px; }

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text);
  padding: 9px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  transition: all 0.2s ease;
}

.btn-sec:hover {
  background: var(--bg-3);
  border-color: var(--muted);
}

.btn-sec.lg { padding: 14px 24px; font-size: 15px; }

/* ═══════════════ MUNDIAL BANNER ═══════════════ */
.mundial-banner {
  padding: 0 0 24px;
}

.mundial-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: var(--text);
  background:
    radial-gradient(ellipse at right, var(--accent-soft), transparent 55%),
    linear-gradient(135deg, var(--bg-2), var(--bg-card));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.mundial-inner::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.mundial-inner:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 60px var(--accent-soft);
}

.mundial-img {
  width: 132px;
  height: 84px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.mundial-text {
  flex: 1;
  min-width: 0;
}

.mundial-text .badge-tag {
  display: inline-block;
  margin-bottom: 8px;
}

.mundial-text h3 {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.mundial-text p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
}

.mundial-cta {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .mundial-inner { flex-direction: column; align-items: flex-start; }
  .mundial-img { width: 100%; height: 130px; }
  .mundial-cta { width: 100%; justify-content: center; }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.82) 60%, rgba(10, 10, 10, 0.97) 100%),
    url('images/tr.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 32px;
  transition: all 0.2s ease;
}

.hero-badge:hover {
  border-color: var(--muted);
  background: var(--bg-3);
}

.badge-tag {
  background: var(--accent);
  color: var(--bg);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-badge-arrow {
  color: var(--muted);
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.hero-badge:hover .hero-badge-arrow { transform: translateX(2px); }

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .italic {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -2px;
}

.hero-lede {
  font-size: 19px;
  color: var(--text-soft);
  margin: 0 auto 40px;
  max-width: 620px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-pri:hover .btn-arrow { transform: translateX(2px); }

/* Hero showcase — product mockup */
.hero-showcase {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(94, 255, 91, 0.1), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(94, 255, 91, 0.05);
}

.hero-showcase::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.showcase-window {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.showcase-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.showcase-dot {
  width: 12px;
  height: 12px;
  background: var(--dim);
  border-radius: 50%;
}

.showcase-dot.r { background: #ff5f56; }
.showcase-dot.y { background: #ffbd2e; }
.showcase-dot.g { background: #27c93f; }

.showcase-url {
  flex: 1;
  margin-left: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.showcase-url .secure { color: var(--accent); margin-right: 6px; }

.showcase-body {
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.showcase-left {
  text-align: left;
}

.showcase-left h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1;
}

.showcase-left p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.5;
}

.showcase-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-card);
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  letter-spacing: 0.5px;
}

.showcase-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.showcase-price .new {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.showcase-price .old {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}

.showcase-mock-product {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 255, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 91, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.mock-content {
  position: relative;
  z-index: 2;
}

.mock-content h4 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1;
}

.mock-content .accent-text { color: var(--accent); }

.mock-content p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.mock-stat {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ═══════════════ TRUSTED BY ═══════════════ */
.trusted {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.trusted-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trusted-logo {
  font-weight: 600;
  font-size: 22px;
  color: var(--text-soft);
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease;
}

.trusted-logo:hover { opacity: 1; color: var(--text); }

.trusted-logo .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ═══════════════ SECTIONS ═══════════════ */
section.section {
  padding: 100px 0;
  position: relative;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 5px 12px;
  background: var(--accent-soft);
  border-radius: 6px;
}

h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

h2 .italic {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -1.5px;
}

.section-head p {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════ FEATURES GRID ═══════════════ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border: 1px solid rgba(94, 255, 91, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  color: var(--text);
}

.feature p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ═══════════════ PRODUCTS SHOWCASE ═══════════════ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.product-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 255, 91, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 91, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.product-img-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}

.product-img-content h4 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  line-height: 1;
}

.product-img-content h4 .accent { color: var(--accent); }

.product-img-content p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.product-card:nth-child(1) .product-img { background: linear-gradient(135deg, #2d1b4e, #4a0e4e); }
.product-card:nth-child(2) .product-img { background: linear-gradient(135deg, #1a3a5f, #0d2447); }
.product-card:nth-child(3) .product-img { background: linear-gradient(135deg, #1a2e1a, #0a1a0a); }
.product-card:nth-child(4) .product-img { background: linear-gradient(135deg, #3d1a08, #5e1212); }
.product-card:nth-child(5) .product-img { background: linear-gradient(135deg, #2d2d05, #4a4404); }
.product-card:nth-child(6) .product-img { background: linear-gradient(135deg, #1a1a3a, #2d2d6e); }

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 3;
}

.product-badge.new { background: var(--accent); }
.product-badge.hot { background: var(--danger); color: white; }
.product-badge.sale { background: var(--warning); color: var(--bg); }

.product-body {
  padding: 20px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.product-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price .now {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.product-price .old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.product-cta-arrow { transition: transform 0.2s ease; }
.product-card:hover .product-cta-arrow { transform: translateX(3px); }

.product-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.product-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ═══════════════ PRICING ═══════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.price-card.featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, rgba(94, 255, 91, 0.08), var(--bg-card) 50%);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 80px var(--accent-soft);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.price-desc {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 24px;
  color: var(--text-soft);
  font-weight: 500;
}

.price-num {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.price-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  margin-bottom: 28px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
}

.price-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.price-card.featured .price-cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.price-card.featured .price-cta:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.price-features {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.price-features-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-soft);
  display: flex;
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}

.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%235eff5b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
  font-weight: 400;
}

.testimonial-text mark {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1px 4px;
  border-radius: 3px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #45e642);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.testimonial:nth-child(2) .author-avatar {
  background: linear-gradient(135deg, #ff5b04, #ff9b2b);
  color: white;
}

.testimonial:nth-child(3) .author-avatar {
  background: linear-gradient(135deg, #4f7cff, #8b5cf6);
  color: white;
}

.author-info { display: flex; flex-direction: column; }

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

/* ═══════════════ FAQ ═══════════════ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-card));
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: -0.2px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-weight: 400;
  font-size: 22px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-content {
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* ═══════════════ CTA FINAL ═══════════════ */
.cta {
  padding: 100px 0;
}

.cta-box {
  background:
    radial-gradient(ellipse at top, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-card));
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px; left: 30%; right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 auto 32px;
  max-width: 540px;
}

.cta-box-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  letter-spacing: 0.5px;
}

.cta-note .checkmark {
  color: var(--accent);
  margin-right: 4px;
  display: inline-block;
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 280px;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 20px;
}

.social-row { display: flex; gap: 8px; }

.social-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}

.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* ═══════════════ ARTÍCULOS / POSTS ═══════════════ */
.single-post .post-head {
  text-align: center;
  margin-bottom: 36px;
}

.post-title {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 10px;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.post-thumb { margin-bottom: 32px; }
.post-thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}

.entry-content {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.75;
}

.entry-content h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--text);
  margin: 36px 0 14px;
}

.entry-content h3 {
  font-size: 20px;
  color: var(--text);
  margin: 28px 0 10px;
}

.entry-content p { margin-bottom: 18px; }
.entry-content strong { color: var(--text); }
.entry-content em { color: var(--text-soft); }

.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}

.entry-content ul li {
  position: relative;
  padding: 6px 0 6px 28px;
}

.entry-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
}

.article-img-note {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  margin: 28px 0;
}

.article-cta {
  background:
    radial-gradient(ellipse at top, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-card));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 36px 0;
}

.article-cta h3 { color: var(--text); margin-bottom: 8px; font-size: 20px; }
.article-cta p { color: var(--text-soft); margin-bottom: 20px; }

.post-back {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* Blog cards on the front page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow:
    0 0 0 1px rgba(94, 255, 91, 0.05),
    0 0 24px rgba(94, 255, 91, 0.07);
  animation: blogGlow 3.2s ease-in-out infinite;
}

@keyframes blogGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(94, 255, 91, 0.05),
      0 0 22px rgba(94, 255, 91, 0.06);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(94, 255, 91, 0.14),
      0 0 44px rgba(94, 255, 91, 0.20);
  }
}

.blog-card:nth-child(2) { animation-delay: 0.5s; }
.blog-card:nth-child(3) { animation-delay: 1s; }
.blog-card:nth-child(4) { animation-delay: 1.5s; }
.blog-card:nth-child(5) { animation-delay: 2s; }
.blog-card:nth-child(6) { animation-delay: 2.5s; }

/* Glowing top edge */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  animation: none;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    0 0 70px var(--accent-glow);
}

.blog-card:hover::before { opacity: 1; }

.blog-card-cover {
  position: relative;
  aspect-ratio: 16 / 8;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card:nth-child(1) .blog-card-cover { background: linear-gradient(135deg, #1a3a5f, #0d2447); }
.blog-card:nth-child(2) .blog-card-cover { background: linear-gradient(135deg, #2d1b4e, #4a0e4e); }
.blog-card:nth-child(3) .blog-card-cover { background: linear-gradient(135deg, #1a2e1a, #0a1a0a); }
.blog-card:nth-child(4) .blog-card-cover { background: linear-gradient(135deg, #3d1a08, #5e1212); }

.blog-card-cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 255, 91, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 91, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.blog-card-cover-mark {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--line-2);
  padding: 6px 14px;
  border-radius: 100px;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px 26px;
}

.blog-card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 10px 0;
  line-height: 1.3;
}

.blog-card-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-all {
  text-align: center;
  margin-top: 40px;
}

/* ═══════════════ CARRUSEL DE CANALES ═══════════════ */
.channels-carousel { overflow: hidden; }

.marquee {
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: euroMarquee 42s linear infinite;
}

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

.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 52s;
}

@keyframes euroMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.chan-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 68px;
  margin-right: 16px;
  padding: 0 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chan-logo:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.chan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 12px 24px 20px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }

  nav.nav-open .nav-menu { display: flex; }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .features { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .showcase-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 52px; }
  section.section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-pri, .hero-actions .btn-sec { width: 100%; justify-content: center; }
  .trusted-logos { gap: 24px; }
  .hero-showcase { padding: 12px; }
  .showcase-body { padding: 30px 20px; }

  /* Typography tuned for small screens */
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; margin-bottom: 20px; }
  .hero h1 .italic { letter-spacing: -1px; }
  .hero-lede { font-size: 17px; margin-bottom: 32px; }
  h2 { font-size: 32px; letter-spacing: -1px; }
  h2 .italic { letter-spacing: -0.8px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }
  .showcase-left h3 { font-size: 26px; }
  .cta-box p, .price-desc { font-size: 16px; }
  .mundial-text h3 { font-size: 18px; }
  .announce { font-size: 12px; padding: 9px 14px; line-height: 1.4; }
  .chan-logo { height: 56px; font-size: 14px; padding: 0 18px; margin-right: 12px; }

  /* Declutter the top bar: the hamburger covers navigation */
  .nav-signin { display: none; }
  .nav-inner { gap: 12px; }

  /* Comfortable tap target for the primary button */
  .btn-pri { padding: 11px 16px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 33px; }
  h2 { font-size: 27px; }
  .price-num { font-size: 48px; }
  .logo { font-size: 16px; }
  /* Hide the top CTA on very small screens; it's repeated in the menu and hero */
  .nav-actions .btn-pri, .nav-actions .btn-trial { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
