:root {
  /* Paleta Principal - Negro y Dorado */
  --bg: #050505;
  --bg-2: #0a0a0a;
  --bg-3: #111111;
  --bg-4: #1a1a1a;
  --text: #faf9f7;
  --text-muted: #b8b0a0;
  --text-subtle: #8a8275;

  /* Dorados mejorados */
  --gold: #d4af37;
  --gold-bright: #f0d878;
  --gold-light: #e8c97a;
  --gold-muted: #b8941f;
  --gold-dark: #8b6914;
  --gold-2: #c9a227;
  --gold-3: #9a7b1a;

  /* Líneas y bordes */
  --line: rgba(212, 175, 55, 0.2);
  --line-strong: rgba(212, 175, 55, 0.35);
  --line-subtle: rgba(212, 175, 55, 0.1);

  /* Utilidades */
  --wa: #25d366;
  --tg: #0088cc;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.15);
  --shadow-gold-strong: 0 12px 40px rgba(212, 175, 55, 0.25);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.4);

  /* Glassmorphism */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(24px) saturate(160%);

  /* Espaciado consistente */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container: 1200px;
}

/* ============================================
   TEMA CLARO — OVERRIDE DE VARIABLES
   ============================================ */

[data-theme="light"] {
  /* Fondos gris oscuro carbón (modo elegante) */
  --bg: #3a3d42;
  --bg-2: #4a4d52;
  --bg-3: #5a5d62;
  --bg-4: #6a6d72;

  /* Textos claros para fondo oscuro */
  --text: #ffffff;
  --text-muted: #d0d0d0;
  --text-subtle: #a0a0a0;

  /* Dorados ajustados para fondo claro */
  --gold: #b8941f;
  --gold-bright: #d4a017;
  --gold-light: #c89b2a;
  --gold-muted: #a07b18;
  --gold-dark: #7a5c10;
  --gold-2: #a68a1a;
  --gold-3: #8a7015;

  /* Líneas y bordes */
  --line: rgba(138, 105, 20, 0.18);
  --line-strong: rgba(138, 105, 20, 0.3);
  --line-subtle: rgba(138, 105, 20, 0.1);

  /* Sombras */
  --shadow-gold: 0 8px 32px rgba(138, 105, 20, 0.12);
  --shadow-gold-strong: 0 12px 40px rgba(138, 105, 20, 0.2);
  --shadow-soft: 0 20px 60px rgba(100, 80, 30, 0.1);
  --shadow-dark: 0 4px 20px rgba(100, 80, 30, 0.08);

  /* Glassmorphism gris oscuro */
  --glass-bg: linear-gradient(135deg, rgba(80, 84, 88, 0.6), rgba(50, 54, 58, 0.3));
  --glass-border: rgba(138, 105, 20, 0.15);
  --glass-blur: blur(24px) saturate(140%);
}

/* — Fondos hardcoded para tema claro — */

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 148, 31, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(184, 148, 31, 0.06), transparent),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(184, 148, 31, 0.04), transparent);
}

[data-theme="light"] .site-header {
  background: rgba(45, 48, 52, 0.95);
}

[data-theme="light"] h1 {
  background: linear-gradient(135deg, #1a1610 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .section-dark {
  background: linear-gradient(180deg, rgba(184, 148, 31, 0.06), transparent);
}

[data-theme="light"] .eyebrow {
  background: rgba(184, 148, 31, 0.1);
}

[data-theme="light"] .btn-outline {
  color: var(--text);
  border-color: var(--line-strong);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(184, 148, 31, 0.1);
}

[data-theme="light"] .glass-panel::before {
  background: linear-gradient(135deg, rgba(80, 84, 88, 0.4), transparent 50%);
}

[data-theme="light"] .ticker-wrap {
  background: linear-gradient(90deg,
      rgba(184, 148, 31, 0.08) 0%,
      rgba(184, 148, 31, 0.03) 50%,
      rgba(184, 148, 31, 0.08) 100%);
}

[data-theme="light"] .tradingview-widget-container {
  background: rgba(45, 48, 52, 0.9);
}

[data-theme="light"] .hero-highlights span {
  background: rgba(184, 148, 31, 0.08);
  color: var(--text-muted);
}

[data-theme="light"] .lead-form input {
  background: rgba(30, 33, 37, 0.9);
  color: var(--text);
}

[data-theme="light"] .hero-chart {
  background: linear-gradient(180deg, rgba(184, 148, 31, 0.05), rgba(45, 48, 52, 0.7));
}

[data-theme="light"] .market-switch-btn {
  background: rgba(184, 148, 31, 0.06);
}

[data-theme="light"] .market-switch-btn:hover {
  background: rgba(184, 148, 31, 0.12);
}

[data-theme="light"] .market-switch-btn.is-active {
  background: rgba(184, 148, 31, 0.18);
}

[data-theme="light"] .live-chart-shell {
  background: rgba(35, 38, 42, 0.85);
}

[data-theme="light"] .hero-chart-stats span {
  background: rgba(184, 148, 31, 0.06);
}

[data-theme="light"] .stats-bar {
  background: linear-gradient(90deg,
      transparent,
      rgba(184, 148, 31, 0.06),
      transparent);
}

[data-theme="light"] .stat-number {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .feature-card {
  background: linear-gradient(180deg, #5a5d62, var(--bg-2));
}

[data-theme="light"] .timeline article {
  background: linear-gradient(90deg, rgba(184, 148, 31, 0.06), transparent);
}

[data-theme="light"] .testimonial {
  background: linear-gradient(135deg, rgba(70, 74, 78, 0.7), transparent);
}

[data-theme="light"] .objection-list article {
  background: linear-gradient(135deg, rgba(184, 148, 31, 0.06), transparent);
}

[data-theme="light"] .cta-card {
  background: linear-gradient(180deg, rgba(184, 148, 31, 0.08), rgba(40, 44, 48, 0.8));
}

[data-theme="light"] details {
  background: var(--bg-2);
}

[data-theme="light"] .final-cta-inner {
  background: linear-gradient(135deg, rgba(184, 148, 31, 0.06), var(--bg-2));
}

[data-theme="light"] .site-footer {
  background: #2a2d32;
}

[data-theme="light"] .legal-box {
  background: rgba(184, 148, 31, 0.05);
}

[data-theme="light"] .compare-column {
  background: linear-gradient(145deg, rgba(50, 54, 58, 0.9), rgba(35, 38, 42, 0.85));
  border: 1px solid rgba(184, 148, 31, 0.25);
}

[data-theme="light"] .compare-grid>div:nth-child(even) {
  background: rgba(184, 148, 31, 0.04);
}

[data-theme="light"] .compare-head {
  background: rgba(184, 148, 31, 0.1) !important;
}

[data-theme="light"] .mobile-nav {
  background: rgba(35, 38, 42, 0.98);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .nav-overlay {
  background: rgba(26, 26, 26, 0.4);
}

[data-theme="light"] .exit-modal {
  background: rgba(26, 26, 26, 0.6);
}

[data-theme="light"] .exit-modal-card {
  background: #4a4d52;
}

[data-theme="light"] .mobile-sticky-cta {
  box-shadow: 0 4px 20px rgba(100, 80, 30, 0.2);
}

[data-theme="light"] .floating-tooltip {
  background: rgba(26, 26, 26, 0.9);
}

[data-theme="light"] .floating-tooltip::after {
  border-color: transparent transparent transparent rgba(26, 26, 26, 0.9);
}

[data-theme="light"] .floating-btn {
  box-shadow: 0 4px 20px rgba(100, 80, 30, 0.2);
}

[data-theme="light"] .legal-section {
  background: linear-gradient(135deg, rgba(184, 148, 31, 0.04), transparent);
}

[data-theme="light"] .legal-notice {
  background: rgba(184, 148, 31, 0.05);
}

[data-theme="light"] .section-compare::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(184, 148, 31, 0.03), transparent),
    linear-gradient(180deg, transparent, rgba(184, 148, 31, 0.02), transparent);
}

[data-theme="light"] .market-canvas {
  opacity: 0.12;
}

/* Velas más visibles en tema light */
[data-theme="light"] .compare-bg-candles {
  opacity: 0.85;
  height: 300px;
  z-index: 0;
  bottom: -30px;
}

[data-theme="light"] .candle {
  width: 6px;
  border-radius: 3px;
}

[data-theme="light"] .candle-bullish {
  background: linear-gradient(180deg, #2ecc71, #27ae60);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.6);
}

[data-theme="light"] .candle-bullish::before,
[data-theme="light"] .candle-bullish::after {
  background: #2ecc71;
  width: 2px;
}

[data-theme="light"] .candle-bearish {
  background: linear-gradient(180deg, #e74c3c, #c0392b);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
}

[data-theme="light"] .candle-bearish::before,
[data-theme="light"] .candle-bearish::after {
  background: #e74c3c;
  width: 2px;
}

/* ============================================
   TOGGLE DE TEMA — SOL / LUNA
   ============================================ */

.theme-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 400ms ease, border-color 400ms ease;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0e68c, #ffd700);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
    background 400ms ease,
    box-shadow 400ms ease;
}

/* Stars decoration for dark mode */
.theme-toggle::after {
  content: '✦';
  position: absolute;
  top: 5px;
  right: 7px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 300ms ease;
}

/* Light state */
[data-theme="light"] .theme-toggle {
  background: linear-gradient(135deg, #87ceeb, #b0e0e6);
  border-color: rgba(135, 206, 235, 0.5);
}

[data-theme="light"] .theme-toggle::before {
  transform: translateX(20px);
  background: linear-gradient(135deg, #ffdb4d, #ff8c00);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
}

[data-theme="light"] .theme-toggle::after {
  content: '☁';
  opacity: 0.6;
  right: auto;
  left: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
}

/* Smooth body transition */
body,
body::before {
  transition: background 500ms ease, color 400ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Fondo animado sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 175, 55, 0.05), transparent),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(212, 175, 55, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
}

/* Container */
.container {
  width: min(var(--container), 90%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   SECCIONES - ESPACIADO CONSISTENTE
   ============================================ */

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-4xl) 0 calc(var(--space-4xl) + var(--space-xl));
}

.section-dark {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Separador dorado entre secciones */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  margin: 0 auto;
  width: 60%;
  opacity: 0.5;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */

h1,
h2,
h3,
h4 {
  font-family: 'Sora', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 16ch;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: var(--space-md);
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-top: var(--space-sm);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-sm);
}

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  padding: 0.4rem 0.8rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 55ch;
  line-height: 1.7;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-2xl);
}

/* ============================================
   HEADER & NAVEGACIÓN
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand img {
  width: auto;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.desktop-nav {
  display: none;
  gap: var(--space-xl);
  font-size: 0.9rem;
  font-weight: 500;
}

.desktop-nav a {
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 300ms ease;
}

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

.desktop-nav a:hover::after {
  width: 100%;
}

/* ============================================
   BOTONES
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 250ms ease;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa), #128c7e);
  color: white;
}

.btn-telegram {
  background: linear-gradient(135deg, var(--tg), #006699);
  color: white;
}

/* ============================================
   PANELES GLASS
   ============================================ */

.glass-panel {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

/* ============================================
   TICKER FOREX
   ============================================ */

.ticker-wrap {
  background: linear-gradient(90deg,
      rgba(212, 175, 55, 0.08) 0%,
      rgba(212, 175, 55, 0.03) 50%,
      rgba(212, 175, 55, 0.08) 100%);
  border-bottom: 1px solid var(--line);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 1;
}

.ticker-shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.ticker-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.tradingview-widget-container {
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-copy h1 {
  margin-bottom: var(--space-sm);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-sm) 0;
}

.hero-highlights span {
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-highlights strong {
  color: var(--gold-light);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Scroll cue */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  transition: color 200ms ease;
}

.scroll-cue:hover {
  color: var(--gold);
}

.scroll-cue-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.scroll-cue-icon {
  width: 24px;
  height: 24px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* Hero Panel (Formulario) */
.hero-panel {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.panel-top {
  text-align: center;
}

.panel-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.panel-top h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.panel-top h2::after {
  display: none;
}

.panel-top p {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

/* Formulario */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lead-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: -0.5rem;
}

.lead-form input {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lead-form input::placeholder {
  color: var(--text-subtle);
}

.mini-note {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
}

.direct-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ============================================
   MARKET SECTION
   ============================================ */

.market-section {
  padding: var(--space-2xl) 0;
}

.market-section-head {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.market-section-head h2 {
  margin: 0 auto;
}

.market-section-head h2::after {
  margin: var(--space-sm) auto 0;
}

.hero-chart {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), transparent);
}

.hero-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.chart-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #00d084;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.market-switch {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  justify-content: center;
}

.market-switch-btn {
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
}

.market-switch-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--line-strong);
}

.market-switch-btn.is-active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
}

.live-chart-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.hero-chart-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-chart-stats span {
  padding: 0.4rem 0.875rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-chart-stats strong {
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  padding: var(--space-2xl) 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(212, 175, 55, 0.05),
      transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.split>div:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* ============================================
   PROGRAMA / CARDS
   ============================================ */

.card-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-gold), var(--shadow-soft);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.feature-card h3 {
  padding: var(--space-md) var(--space-md) 0;
  color: var(--text);
}

.feature-card p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.95rem;
}

/* ============================================
   TIMELINE / MÉTODO
   ============================================ */

.timeline {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.timeline article {
  position: relative;
  padding: var(--space-lg);
  padding-left: calc(var(--space-lg) + 3px);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 200ms ease;
}

.timeline article:hover {
  transform: translateX(4px);
}

.timeline span {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.timeline h3 {
  margin: var(--space-xs) 0;
  color: var(--text);
}

.timeline p {
  font-size: 0.95rem;
}

/* ============================================
   COMPARE GRID
   ============================================ */

.compare-wrap {
  text-align: center;
}

.compare-wrap h2 {
  margin-bottom: var(--space-xl);
}

.compare-wrap h2::after {
  margin: var(--space-sm) auto 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.compare-grid>div {
  padding: var(--space-md);
  border-bottom: 1px solid var(--line-subtle);
  font-size: 0.9rem;
}

.compare-grid>div:nth-last-child(-n+2) {
  border-bottom: none;
}

.compare-grid>div:nth-child(odd) {
  border-right: 1px solid var(--line-subtle);
  color: var(--text-subtle);
}

.compare-grid>div:nth-child(even) {
  color: var(--text);
  background: rgba(212, 175, 55, 0.03);
}

.compare-head {
  background: rgba(212, 175, 55, 0.1) !important;
  font-weight: 700;
  color: var(--gold-light) !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  margin: 0;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.testimonial cite {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   OBJECTIONS
   ============================================ */

.objections {
  border-top: 1px solid var(--line);
}

.objection-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.objection-list article {
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  padding-left: 3.5rem;
}

.objection-list article::before {
  content: attr(data-num);
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #000;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
}

.objection-list h3 {
  margin-bottom: var(--space-xs);
  color: var(--text);
  font-size: 1rem;
}

.objection-list p {
  font-size: 0.9rem;
}

.cta-card {
  padding: var(--space-xl);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cta-card h3 {
  color: var(--text);
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease;
}

details:hover {
  border-color: var(--line-strong);
}

details[open] {
  border-color: var(--gold-dark);
}

summary {
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 300ms ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  padding-bottom: var(--space-4xl);
}

.final-cta-inner {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), var(--bg-2));
}

.final-cta-inner img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.final-cta-inner>div {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.final-cta-inner h2 {
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.2));
}

.footer-grid h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-grid a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 200ms ease;
}

.footer-grid a:hover {
  color: var(--gold);
}

.legal-box {
  padding: var(--space-md);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: var(--space-xl);
}

.footer-bottom {
  padding: var(--space-md) 0 var(--space-xl);
  text-align: center;
  border-top: 1px solid var(--line-subtle);
}

.footer-bottom small {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */

.mobile-sticky-cta {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  z-index: 40;
  padding: 1rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   EXIT MODAL
   ============================================ */

.exit-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.exit-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.exit-modal-card {
  width: min(480px, 100%);
  padding: var(--space-xl);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 200ms ease;
}

.modal-close:hover {
  color: var(--text);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 50;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 6rem var(--space-xl) var(--space-xl);
  gap: var(--space-xs);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--text);
  transition: color 200ms ease, padding-left 200ms ease;
}

.mobile-nav a:hover {
  color: var(--gold);
  padding-left: var(--space-sm);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 42;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Header CTA (hidden on mobile) */
.header-cta {
  display: none;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(4px, 4px);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

/* ============================================
   RESPONSIVE - TABLET & DESKTOP
   ============================================ */

@media (min-width: 768px) {
  .brand img {
    height: 56px;
  }

  .desktop-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero {
    padding: calc(var(--space-4xl) + var(--space-lg)) 0;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline article {
    border-left: none;
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    padding-top: var(--space-lg);
  }

  .timeline article:hover {
    transform: translateY(-4px);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .final-cta-inner {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta-inner img {
    height: 100%;
    min-height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    gap: var(--space-3xl);
  }

  .hero-panel {
    padding: var(--space-2xl);
  }

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

  .final-cta-inner>div {
    padding: var(--space-2xl);
  }
}

/* ============================================
   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;
  }
}

/* ============================================
   PÁGINAS LEGALES
   ============================================ */

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: var(--space-sm);
}

.legal-content h1::after {
  display: none;
}

.legal-content>.lead {
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-bottom: var(--space-2xl);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.legal-section {
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), transparent);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.legal-section h2 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.legal-section h2::after {
  display: none;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-link:hover {
  color: var(--gold-light);
}

.legal-notice {
  padding: var(--space-md);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-subtle);
}

/* ============================================
   MARKET CANVAS (ANIMACIÓN DE FONDO)
   ============================================ */

.market-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================
   SECCIÓN COMPARATIVA MEJORADA
   ============================================ */

.section-compare {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-4xl) + var(--space-lg)) 0;
}

.section-compare::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(212, 175, 55, 0.05), transparent),
    linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.02), transparent);
  pointer-events: none;
}

.compare-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.compare-header h2 {
  margin: 0 auto;
}

.compare-header h2::after {
  margin: var(--space-sm) auto 0;
}

.compare-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* Columnas */
.compare-column {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.compare-column::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--line), transparent 50%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Columna Improvisación */
.compare-wrong {
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.compare-wrong::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(220, 53, 69, 0.6), rgba(220, 53, 69, 0.2));
}

/* Columna Learn2Win */
.compare-right {
  border: 1px solid rgba(40, 167, 69, 0.2);
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.compare-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(40, 167, 69, 0.6));
}

/* Headers de columnas */
.compare-column-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line-subtle);
}

.compare-column-head h3 {
  font-size: 1.25rem;
  margin: 0;
}

.compare-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-icon-wrong {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.compare-icon-right {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.2);
}

/* Listas */
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1rem;
  line-height: 1.5;
}

.compare-list li span:last-child {
  color: var(--text);
  font-weight: 500;
}

.compare-wrong .compare-list li span:last-child {
  color: var(--text-muted);
}

.compare-right .compare-list li span:last-child {
  color: var(--text);
}

/* Bullets */
.compare-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.compare-bullet-wrong {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.compare-bullet-wrong::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 2px;
  background: #dc3545;
  border-radius: 1px;
}

.compare-bullet-right {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.4);
}

.compare-bullet-right::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #28a745;
  border-bottom: 2px solid #28a745;
}

/* VS Badge */
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-vs span {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.compare-vs span::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Fondo de velas decorativo */
.compare-bg-candles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.candle {
  position: absolute;
  bottom: 20px;
  width: 4px;
  border-radius: 2px;
}

.candle::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  bottom: 100%;
}

.candle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 15px;
  top: 100%;
}

.candle-bullish {
  background: linear-gradient(180deg, #28a745, #1e7e34);
}

.candle-bullish::before,
.candle-bullish::after {
  background: #28a745;
}

.candle-bearish {
  background: linear-gradient(180deg, #dc3545, #a71d2a);
}

.candle-bearish::before,
.candle-bearish::after {
  background: #dc3545;
}

/* Responsive */
@media (max-width: 900px) {
  .compare-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .compare-vs {
    order: -1;
    margin-bottom: var(--space-sm);
  }

  .compare-vs span {
    width: 48px;
    height: 48px;
    font-size: 0.85rem;
  }

  .compare-column {
    padding: var(--space-lg);
  }

  .compare-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .compare-column-head h3 {
    font-size: 1.1rem;
  }

  .compare-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .compare-list {
    gap: var(--space-md);
  }
}

/* Animación de entrada */
.compare-column {
  opacity: 0;
  transform: translateY(20px);
  animation: compareFadeIn 0.6s ease forwards;
}

.compare-wrong {
  animation-delay: 0.1s;
}

.compare-vs {
  opacity: 0;
  animation: compareFadeIn 0.6s ease forwards;
  animation-delay: 0.3s;
}

.compare-right {
  animation-delay: 0.5s;
}

@keyframes compareFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BOTONES FLOTANTES - WHATSAPP & TELEGRAM
   ============================================ */

.floating-contacts {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 45;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-4px);
}

/* WhatsApp */
.floating-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  animation: whatsappPulse 2s infinite;
}

.floating-whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Telegram */
.floating-telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
  animation: telegramPulse 2s infinite;
  animation-delay: 0.5s;
}

.floating-telegram:hover {
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
}

/* Tooltip */
.floating-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border: 1px solid var(--line);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.9);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Animaciones de pulso */
@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

@keyframes telegramPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4), 0 0 0 0 rgba(0, 136, 204, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4), 0 0 0 15px rgba(0, 136, 204, 0);
  }
}

/* Responsive */
@media (max-width: 767px) {
  .floating-contacts {
    bottom: 80px;
    right: 15px;
    gap: 10px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }

  .floating-tooltip {
    display: none;
  }
}

/* Ocultar en desktop si hay mucho espacio (opcional) - descomentar si se desea
@media (min-width: 1200px) {
  .floating-contacts {
    display: flex;
  }
}
*/