/* ============================================================
   Apex Signal · styleIndex.css
   Hoja de estilos de index.html
   Tipografía: Playfair Display (títulos) + Inter (texto)
   Marca: amarillo #F0B90B + blanco #FAFAF7 sobre fondo oscuro
   ============================================================ */

:root {
  --gold: #F0B90B;
  --gold-deep: #C9962E;
  --gold-glow: rgba(240,185,11,0.18);
  --bg: #080A0E;
  --bg2: #0E1118;
  --bg3: #131720;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(240,185,11,0.18);
  --text: #FAFAF7;
  --muted: #7A7975;
  --green: #2ECC71;
  --red: #E74C3C;
  --blue: #4d9fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(8,10,14,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--gold); text-decoration: none; cursor: pointer; }
.nav-logo span { color: var(--text); font-weight: 400; }
.nav-nosotros { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; margin-right: 0.5rem; }
.nav-nosotros:hover { color: var(--gold); }
.nav-cta-indicator {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.04em; color: #000; background: var(--gold);
  border-radius: 6px; padding: 0.5rem 1rem; text-decoration: none;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta-indicator:hover { opacity: 0.85; }

.nav-right { display: flex; align-items: center; gap: 0.8rem; position: relative; }
.nav-links-wrap { display: flex; align-items: center; gap: 0.8rem; }

/* Hamburguesa — oculta en desktop, aparece solo en mobile */
.nav-hamburger {
  display: none; width: 34px; height: 34px; padding: 0;
  background: none; border: 1px solid var(--border); border-radius: 6px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-hamburger span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-hamburger { display: flex; }
  .nav-cta-indicator { font-size: 0.72rem; padding: 0.5rem 0.8rem; }

  .nav-links-wrap {
    position: absolute; top: calc(100% + 0.9rem); right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,10,14,0.97); backdrop-filter: blur(14px);
    border: 1px solid var(--border); border-radius: 10px;
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0 0.9rem;
  }
  .nav-links-wrap.open { max-height: 420px; opacity: 1; pointer-events: auto; padding: 0.7rem 0.9rem; }
  .nav-links-wrap .nav-nosotros { margin-right: 0; padding: 0.85rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links-wrap .lang-switch { align-self: center; margin: 0.8rem 0 0.2rem; }
}

/* ============================================================
   SELECTOR DE IDIOMA (ES/EN)
   ============================================================ */
.lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; padding: 3px; }
.lang-switch button { border: none; background: none; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.3rem 0.65rem; border-radius: 100px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lang-switch button.active { background: var(--gold); color: #000; }
.lang-switch button:not(.active):hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 6% 5rem;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,185,11,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -55%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(240,185,11,0.1); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold);
  margin-bottom: 2rem; text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

h1 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
h1 em { font-style: normal; color: var(--gold); }
.hero-subhead { max-width: 640px; margin: 1rem auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; text-align: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin: 1rem 0 1.5rem; }
.trust-item { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; }
.trust-item::first-letter { color: var(--green); }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--gold); color: #000; font-weight: 500;
  padding: 0.9rem 2.2rem; border-radius: 5px; text-decoration: none;
  font-size: 0.95rem; letter-spacing: 0.03em; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text);
  padding: 0.9rem 2.2rem; border-radius: 5px; text-decoration: none;
  font-size: 0.95rem; letter-spacing: 0.03em; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); }

/* ============================================================
   CHART PREVIEW + CAROUSEL
   ============================================================ */
.chart-preview {
  margin: 4rem auto 0; max-width: 900px; width: 100%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(240,185,11,0.08);
  position: relative; z-index: 1;
}
.chart-preview img { width: 100%; display: block; }
.chart-preview-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.carousel { position: relative; width: 100%; }
.carousel-viewport { width: 100%; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel-slide { flex: 0 0 100%; width: 100%; }
.carousel-slide img { width: 100%; height: auto; display: block; }
.carousel-slide-img { cursor: zoom-in; }

/* ============================================================
   LIGHTBOX — abrir/ampliar imágenes del carrusel con zoom
   ============================================================ */
.img-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4,5,8,0.94); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 2rem;
}
.img-lightbox.show { opacity: 1; visibility: visible; pointer-events: auto; }
.img-lightbox-frame { max-width: 100%; max-height: 80vh; overflow: hidden; }
#img-lightbox-img {
  max-width: 100%; max-height: 80vh; width: auto; height: auto;
  display: block; border-radius: 8px; cursor: zoom-in;
  transition: transform 0.3s ease;
  touch-action: none; /* el JS maneja el pan/zoom a mano, no dejamos que el navegador scrollee/pinchee por su cuenta */
  user-select: none; -webkit-user-select: none;
}
#img-lightbox-img.zoomed { cursor: grab; }
#img-lightbox-img.zoomed.dragging { cursor: grabbing; }
.img-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,0.18); }
.img-lightbox-hint { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 600px) {
  .img-lightbox { padding: 1rem; }
  .img-lightbox-close { top: 0.8rem; right: 0.8rem; }
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,10,14,0.65); border: 1px solid rgba(240,185,11,0.3);
  color: var(--gold); width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 4;
  backdrop-filter: blur(6px);
}
.carousel-btn:hover { background: rgba(240,185,11,0.18); }
.carousel-btn-prev { left: 12px; }
.carousel-btn-next { right: 12px; }
.carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 4; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: background 0.2s, transform 0.2s; padding: 0; }
.carousel-dot.active { background: var(--gold); transform: scale(1.25); }

/* ============================================================
   STATS
   ============================================================ */
#stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item { background: var(--bg); padding: 2.5rem 2rem; text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.6rem; color: var(--gold); display: block; }
.stat-label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }

/* ============================================================
   FEATURES
   ============================================================ */
#features { padding: 7rem 6%; max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 460px; line-height: 1.7; margin-bottom: 3.5rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; transition: border-color 0.25s, background 0.25s; }
.feature-card:hover { border-color: var(--gold); background: var(--gold-glow); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(240,185,11,0.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how { padding: 7rem 6%; background: var(--bg2); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.step { position: relative; }
.step-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 800; color: rgba(240,185,11,0.12); line-height: 1; margin-bottom: 1rem; }
.step h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* ============================================================
   ABOUT / SEO CONTENT
   ============================================================ */
#about { padding: 7rem 6%; max-width: 1100px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-text h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.2rem; line-height: 1.2; }
.about-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.about-text p strong { color: var(--text); }
.about-list { list-style: none; margin-top: 1.5rem; }
.about-list li { color: var(--muted); font-size: 0.9rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.6; }
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* ============================================================
   MARKETS
   ============================================================ */
#markets { padding: 7rem 6%; background: var(--bg2); }
.markets-inner { max-width: 1100px; margin: 0 auto; }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 3rem; }
.market-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; text-align: center; transition: border-color 0.25s; }
.market-card:hover { border-color: var(--gold); }
.market-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.market-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.market-desc { color: var(--muted); font-size: 0.8rem; line-height: 1.5; }

/* ============================================================
   TESTIMONIOS (carrusel)
   ============================================================ */
#testimonials { padding: 5rem 6%; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testi-section-inner { max-width: 900px; margin: 0 auto; }
.testi-section-text { text-align: center; margin-bottom: 2.6rem; }
.testi-carousel { position: relative; width: 100%; max-width: 720px; margin: 0 auto; }
.testi-viewport { overflow: hidden; border-radius: 16px; }
.testi-track { display: flex; transition: transform 0.45s ease; }
.testi-slide { min-width: 100%; box-sizing: border-box; padding: 0 0.4rem; }
.testi-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 2rem 2rem 1.7rem;
  display: flex; flex-direction: column; gap: 1.2rem; min-height: 220px;
}
.testi-lang { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--gold); text-transform: uppercase; font-family: 'Playfair Display', serif; font-weight: 700; }
.testi-quote { font-size: 1rem; line-height: 1.7; color: var(--text); margin: 0; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(240,185,11,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.testi-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testi-placeholder { color: var(--muted); font-style: italic; font-weight: 500; }
.testi-role { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }
.testi-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(8,10,14,0.6);
  color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.testi-btn:hover { background: rgba(240,185,11,0.18); }
.testi-btn-prev { left: -10px; }
.testi-btn-next { right: -10px; }
@media (max-width: 640px) {
  .testi-btn-prev { left: -6px; }
  .testi-btn-next { right: -6px; }
  .testi-card { padding: 1.6rem 1.4rem; }
}
.testi-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.2rem; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.testi-dot.active { background: var(--gold); transform: scale(1.25); }

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
#dashboard-section { padding: 7rem 6%; max-width: 1100px; margin: 0 auto; }
.dashboard-mockup { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; margin-top: 3rem; overflow: hidden; min-height: 280px; }
.dash-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  background: rgba(240,185,11,0.08); color: var(--gold);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
}
.dash-table td { padding: 0.8rem 1rem; font-size: 0.88rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.dash-table tr:last-child td { border-bottom: none; }
.up { color: var(--green); font-weight: 500; }
.down { color: var(--red); font-weight: 500; }
.dash-row-fade { animation: dashFadeIn 0.4s ease; }
@keyframes dashFadeIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   PRICING
   ============================================================ */
#pricing { padding: 7rem 6%; background: var(--bg2); }
.pricing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }

.pricing-trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: center; margin: 0 0 3rem; font-size: 0.82rem; color: var(--muted); }
.pricing-trust-row span { display: flex; align-items: center; gap: 0.4rem; }
.pricing-trust-row span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; max-width: 1120px; margin: 0 auto; text-align: left; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.8rem 1.4rem 1.5rem; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(240,185,11,0.4); }
.plan-card.plan-card-featured { border-color: var(--gold); background: rgba(240,185,11,0.06); box-shadow: 0 16px 44px rgba(240,185,11,0.14); }
@media (min-width: 981px) {
  .plan-card.plan-card-featured { transform: scale(1.045); z-index: 2; }
  .plan-card.plan-card-featured:hover { transform: scale(1.045) translateY(-4px); }
}
.plan-card.plan-card-best { border-color: rgba(240,185,11,0.55); }

.plan-card-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.05em; padding: 0.35rem 0.9rem; border-radius: 100px; white-space: nowrap;
}
.plan-card-ribbon.ribbon-popular { background: var(--gold); color: #000; }
.plan-card-ribbon.ribbon-best { background: #0E1118; border: 1px solid var(--gold); color: var(--gold); }

.plan-card-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.95rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.9rem; }
.plan-card-price { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.1rem; color: var(--gold); line-height: 1; display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
.plan-card-price sup { font-size: 1rem; }
.plan-card-price .old-price { font-size: 0.82rem; font-weight: 400; color: var(--muted); text-decoration: line-through; }
.plan-card-permonth { font-size: 0.78rem; color: var(--muted); margin: 0.35rem 0 0.9rem; }
.plan-card-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

.plan-card-features { list-style: none; margin: 0 0 1.4rem; flex: 1; }
.plan-card-features li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.82rem; color: var(--text); padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.plan-card-features li:last-child { border-bottom: none; }
.plan-card-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.btn-plan { display: block; text-align: center; padding: 0.9rem; border-radius: 5px; font-size: 0.9rem; font-weight: 500; text-decoration: none; letter-spacing: 0.03em; transition: opacity 0.2s; }
.btn-plan-outline { border: 1px solid var(--border); color: var(--text); }
.btn-plan-outline:hover { border-color: var(--gold); }
.btn-plan-gold { background: var(--gold); color: #000; }
.btn-plan-gold:hover { opacity: 0.85; }

/* Badge suelto reutilizado en las tarjetas (fase de lanzamiento) */
.plan-row-badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 0.25rem 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.badge-green { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: #2ECC71; }

.pricing-reassurance { text-align: center; color: var(--muted); font-size: 0.88rem; max-width: 560px; margin: 1.6rem auto 0; line-height: 1.6; }
.pricing-reassurance strong { color: var(--text); }

/* Broker Partner */
.plan-broker-banner {
  max-width: 1120px; margin: 1.5rem auto 0; border-radius: 12px;
  border: 1px solid rgba(0,112,255,0.35); background: rgba(0,112,255,0.05);
  padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.plan-broker-banner .broker-copy { font-size: 0.85rem; color: var(--muted); line-height: 1.6; max-width: 620px; }
.plan-broker-banner .broker-copy strong { color: #7ab0ff; }
@media (max-width: 700px) { .plan-broker-banner { flex-direction: column; align-items: flex-start; } }
.btn-plan-broker { display: block; text-align: center; padding: 0.9rem; border-radius: 5px; font-size: 0.9rem; font-weight: 500; text-decoration: none; letter-spacing: 0.03em; transition: opacity 0.2s; background: #1a6eff; color: #fff; }
.btn-plan-broker:hover { opacity: 0.85; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { padding: 7rem 6%; max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500;
  padding: 1.4rem 0; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .icon { color: var(--gold); font-size: 1.3rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-q.open .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; padding-bottom: 1.4rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
#cta-final {
  padding: 8rem 6%; text-align: center;
  background: radial-gradient(ellipse at center top, rgba(240,185,11,0.08) 0%, transparent 65%), var(--bg);
  margin-top: 2rem; padding-top: 6rem; padding-bottom: 6rem; position: relative;
}
#cta-final h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2rem,4vw,3.5rem); margin-bottom: 1.2rem; }
#cta-final p { color: var(--muted); font-size: 1rem; margin-bottom: 2.5rem; }
#cta-final::before {
  content: ''; position: absolute; top: 0; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ============================================================
   REDES SOCIALES — sutil: fácil de encontrar, discreto visualmente
   ============================================================ */
#footer-social { padding: 3.5rem 6%; background: var(--bg2); border-top: 1px solid var(--border); }
.social-section-inner { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.social-section-text { text-align: center; }
.social-section-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; margin: 0.4rem 0; }
.social-section-sub { color: var(--muted); font-size: 0.82rem; max-width: 440px; margin: 0.5rem auto 0; line-height: 1.6; }

.social-icons-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem; }
.social-icon-subtle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08); color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-icon-subtle:hover { color: var(--gold); border-color: rgba(240,185,11,0.4); background: rgba(240,185,11,0.06); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 2.5rem 6%; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-social { display: flex; align-items: center; justify-content: center; gap: 0.9rem; width: 100%; margin-top: 1rem; flex-basis: 100%; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(240,185,11,0.18); color: #7A7975; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.social-icon:hover { color: #F0B90B; border-color: rgba(240,185,11,0.5); background: rgba(240,185,11,0.08); }

/* ============================================================
   BARRA STICKY DE COMPRA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(120%);
  display: flex; align-items: center; gap: 1rem;
  background: rgba(14,17,24,0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.65rem 0.7rem 0.65rem 1.3rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 90; transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.sticky-cta.show { transform: translateX(-50%) translateY(0); }
.sticky-cta-text { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.sticky-cta-text strong { color: var(--gold); }
.sticky-cta-btn {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.03em; color: #000; background: var(--gold);
  border-radius: 100px; padding: 0.55rem 1.1rem; text-decoration: none;
  white-space: nowrap; transition: opacity 0.2s;
}
.sticky-cta-btn:hover { opacity: 0.85; }
@media (max-width: 520px) { .sticky-cta-text { display: none; } .sticky-cta { padding: 0.55rem; } }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  nav { padding: 1rem 5%; }
  #hero { padding: 6rem 5% 4rem; }
  #features, #dashboard-section, #testimonials, #about, #faq { padding: 5rem 5%; }
  #how, #markets, #pricing { padding: 5rem 5%; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
}