html { scroll-behavior: smooth; }

/* Hero minimalista: degradado esmeralda profundo + linea de chart sutil */
.hero-chart-bg {
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(15, 107, 71, 0.45), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(58, 157, 114, 0.18), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(10, 74, 48, 0.55), transparent 70%),
    #050807;
  position: relative;
  overflow: hidden;
}
.hero-chart-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'><path d='M0,300 L120,260 L240,280 L360,200 L480,220 L600,150 L720,170 L840,100 L960,140 L1080,80 L1200,110' fill='none' stroke='%233A9D72' stroke-width='2' stroke-opacity='0.25'/><path d='M0,300 L120,260 L240,280 L360,200 L480,220 L600,150 L720,170 L840,100 L960,140 L1080,80 L1200,110' fill='none' stroke='%233A9D72' stroke-width='1' stroke-opacity='0.5' stroke-dasharray='4 8'/></svg>");
  background-size: 100% 60%;
  background-position: center 70%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5,8,7,0.4) 0%, rgba(5,8,7,0.1) 40%, rgba(5,8,7,0.7) 100%);
}

/* Logo con halo luminoso de marca */
.logo-halo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-halo::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,91,255,0.55), rgba(245,197,24,0.15) 60%, transparent 75%);
  filter: blur(8px);
  z-index: 0;
  transition: inset .3s ease, filter .3s ease;
}
.logo-halo:hover::before { inset: -10px; filter: blur(12px); }

/* Stage grande del logo en el hero */
.hero-logo-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 9999px;
}
.hero-logo-stage::before {
  content: '';
  position: absolute; inset: -20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(30,91,255,0.55), transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(245,197,24,0.25), transparent 60%);
  filter: blur(30px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}
.hero-logo-stage::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle, rgba(10,42,140,0.4), rgba(5,7,13,0) 70%);
  z-index: 0;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}


/* Fondo del hero: aurora azul + dorado, sobrio */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(30, 91, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 197, 24, 0.10), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10, 42, 140, 0.4), transparent 70%),
    #05070D;
}

/* Grid técnico sutil */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* Retoque editorial de la foto del fundador.
   Look "premium financial" — contraste alto, ligera frialdad, tono verde-cian sutil. */
.founder-photo {
  filter:
    contrast(1.15)
    saturate(0.82)
    brightness(1.02)
    hue-rotate(-6deg);
  transform: scale(1.02);
  transition: filter .5s ease, transform .6s ease;
}
.founder-photo:hover {
  filter: contrast(1.18) saturate(0.95) brightness(1.05) hue-rotate(-4deg);
  transform: scale(1.04);
}

/* Viñeta + tinte esmeralda para integrar con la marca premium */
.photo-vignette {
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(5,8,7,0.65) 100%),
    linear-gradient(180deg, transparent 50%, rgba(15,107,71,0.35) 100%),
    linear-gradient(0deg, transparent 80%, rgba(5,8,7,0.4) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Marco esmeralda sutil sobre el contenedor de la foto */
.founder-frame {
  position: relative;
}
.founder-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(58,157,114,0.25),
    inset 0 0 60px rgba(15,107,71,0.18);
}

/* Tarjetas de servicios */
.card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(77,130,255,0.4);
  background: linear-gradient(180deg, rgba(30,91,255,0.08), rgba(255,255,255,0.02));
}
.icon-box {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,91,255,0.25), rgba(245,197,24,0.15));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 22px;
}
.card-title { margin-top: 1rem; font-weight: 700; font-size: 1.125rem; }
.card-desc  { margin-top: .5rem; color: rgba(255,255,255,0.65); line-height: 1.6; font-size: .95rem; }

/* Noticias */
.news-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .3s ease;
}
.news-card:hover { border-color: rgba(77,130,255,0.4); }
.news-tag {
  display: inline-block; padding: .25rem .75rem;
  border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase;
}
.news-title { margin-top: .75rem; font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.news-desc  { margin-top: .5rem; color: rgba(255,255,255,0.65); font-size: .9rem; line-height: 1.55; }
.news-meta  { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); font-size: .75rem; }
.news-links { margin-top: .65rem; display: flex; flex-wrap: wrap; gap: .75rem; font-size: .78rem; }
.news-links a { color: #4D82FF; text-decoration: none; transition: color .2s ease; }
.news-links a:hover { color: #F5C518; }

/* Riesgo */
.risk-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.risk-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #4D82FF, #F5C518);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 2.5rem;
}
.risk-title { font-weight: 700; }
.risk-desc  { margin-top: .25rem; color: rgba(255,255,255,0.65); font-size: .9rem; }

/* FAQ */
.faq {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: rgba(255,255,255,0.5);
  font-size: 1.25rem;
  transition: transform .2s ease;
}
.faq[open] summary::after { content: '−'; }
.faq p {
  padding: 0 1.25rem 1.25rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* Metodología · Markov */
.markov-bg {
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(30,91,255,0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(245,197,24,0.10), transparent 70%),
    #05070D;
}
.markov-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: border-color .25s ease, transform .25s ease;
}
.markov-item:hover { border-color: rgba(77,130,255,0.4); transform: translateX(4px); }
.markov-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #1E5BFF, #0A2A8C);
  border: 1px solid rgba(255,255,255,0.15);
}
.markov-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; }
.markov-desc  { margin-top: .25rem; color: rgba(255,255,255,0.7); font-size: .92rem; line-height: 1.55; }

/* Figura con la imagen real del Markov sobre gráfico */
.markov-figure {
  width: 100%;
  max-width: 560px;
  margin: 0;
  text-align: center;
}
.markov-frame {
  position: relative;
  padding: 14px;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(30,91,255,0.18), rgba(245,197,24,0.10) 50%, rgba(30,91,255,0.18));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 60px -25px rgba(30,91,255,0.45),
    0 12px 30px -10px rgba(0,0,0,0.5);
  transition: transform .35s ease;
}
.markov-frame:hover { transform: translateY(-4px); }
.markov-frame img {
  display: block;
  width: 100%; height: auto;
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,0.08);
}
/* Esquinas estilo "scope" */
.markov-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid #F5C518;
  border-radius: 4px;
  opacity: .9;
}
.markov-corner.tl { top: 6px;  left: 6px;  border-right: 0; border-bottom: 0; }
.markov-corner.tr { top: 6px;  right: 6px; border-left: 0;  border-bottom: 0; }
.markov-corner.bl { bottom: 6px; left: 6px;  border-right: 0; border-top: 0; }
.markov-corner.br { bottom: 6px; right: 6px; border-left: 0;  border-top: 0; }

.markov-caption {
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Herramientas gratuitas: fondo + ebooks */
.tools-bg {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(245,197,24,0.10), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(30,91,255,0.08), transparent 70%),
    linear-gradient(180deg, #05070D, #0A0F1C 50%, #05070D);
}
.tools-bg::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events:none;
}
.tool-card { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 0 0 320px; min-width: 320px; max-width: 320px; min-height: 720px; }

/* Wrapper para posicionar flechas */
.tools-wrap { position: relative; }

/* Carrusel auto-scroll continuo tipo estante */
.tools-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.tools-track {
  display: flex;
  gap: 2.5rem;
  padding: 1rem 0;
  width: max-content;
  animation: toolsScroll 40s linear infinite;
  will-change: transform;
}
.tools-wrap:hover .tools-track,
.tools-track.paused { animation-play-state: paused; }
@keyframes toolsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 1.25rem)); }
}

/* Flechas laterales */
.tools-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 107, 71, 0.85);
  border: 1px solid rgba(168, 213, 192, 0.4);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.tools-arrow:hover {
  background: rgba(58, 157, 114, 0.95);
  transform: translateY(-50%) scale(1.08);
}
.tools-arrow.prev { left: 8px; padding-right: 4px; }
.tools-arrow.next { right: 8px; padding-left: 4px; }
@media (max-width: 720px){
  .tools-arrow { width: 38px; height: 38px; font-size: 22px; }
}
.tool-title { margin-top: 1.75rem; font-family:'Sora',sans-serif; font-weight:800; font-size:1.4rem; color:var(--tc, #F5C518); }
/* Cada card tiene su propio color con --tc */
.tool-card.tc-amber   { --tc:#F59E0B; }   /* Introducción al Trading */
.tool-card.tc-gold    { --tc:#EAB308; }   /* Velas Japonesas */
.tool-card.tc-blue    { --tc:#3B82F6; }   /* Entendiendo el Mercado */
.tool-card.tc-emerald { --tc:#10B981; }   /* Volatility Raider */
.tool-card.tc-purple  { --tc:#A855F7; }   /* Sistema Pro v3.2 */
.tool-card.tc-cyan    { --tc:#06B6D4; }   /* Números Institucionales */
/* Bordes y resplandor del ebook coinciden con --tc */
.tool-card .ebook { box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--tc, #F5C518) 30%, transparent); }
.tool-desc  { margin-top: .75rem; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 22rem; flex: 1 1 auto; }
.tool-btn { margin-top: auto !important; }
.tool-btn {
  margin-top: 1.25rem;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.35);
  color: #F5C518;
  transition: all .25s ease;
}
.tool-btn:hover { background: #F5C518; color: #05070D; }

/* Ebook 3D-ish */
.ebook {
  position: relative;
  width: 220px; height: 300px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform .5s ease;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.5));
}
.ebook:hover { transform: rotateY(-6deg) translateY(-6px); }
.ebook-cover {
  position: absolute; inset: 0;
  border-radius: 6px 12px 12px 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #0c1424 0%, #05070D 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ebook-cover::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 15%, transparent 85%, rgba(0,0,0,0.25));
  pointer-events:none;
}
.ebook-spine {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
  border-radius: 6px 0 0 6px;
  z-index: 2;
}
.ebook-logo {
  height: 28px; width: auto;
  align-self: flex-start;
  opacity: 0.9;
}
.ebook-eyebrow {
  margin-top: auto;
  font-family:'Inter',sans-serif; font-weight:600;
  font-size: 10px; letter-spacing: .2em;
  color: rgba(245,197,24,.7);
  text-transform: uppercase;
}
.ebook-title {
  font-family:'Sora',sans-serif; font-weight:900;
  font-size: 1.35rem; line-height: 1.05;
  color: #fff;
  margin-top: 6px;
  text-transform: uppercase;
}
.ebook-footer {
  margin-top: auto;
  font-size: 9px; letter-spacing: .25em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.ebook-chart {
  margin-top: 10px;
  height: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
}
.ebook-chart svg { width: 100%; height: 100%; opacity: 0.85; }
.ebook-chart svg rect, .ebook-chart svg line { stroke-width: 1; }
.ebook-dots {
  margin-top: 14px;
  height: 50px;
  background-image: radial-gradient(rgba(30,91,255,0.7) 1.2px, transparent 1.3px);
  background-size: 7px 7px;
  mask-image: linear-gradient(180deg, black, transparent);
  opacity: 0.7;
}
.ebook[data-accent="bull"]    .ebook-cover { background-image: linear-gradient(135deg, rgba(245,158,11,0.18), transparent 60%), linear-gradient(180deg, #1a1208 0%, #05070D 100%); }
.ebook[data-accent="candle"]  .ebook-cover { background-image: linear-gradient(135deg, rgba(234,179,8,0.18), transparent 60%), linear-gradient(180deg, #1a1608 0%, #05070D 100%); }
.ebook[data-accent="brokers"] .ebook-cover { background-image: linear-gradient(135deg, rgba(59,130,246,0.18), transparent 60%), linear-gradient(180deg, #060e1f 0%, #05070D 100%); }
.ebook[data-accent="raider"]  .ebook-cover { background-image: linear-gradient(135deg, rgba(16,185,129,0.18), transparent 60%), linear-gradient(180deg, #061a14 0%, #05070D 100%); }
.ebook[data-accent="systempro"] .ebook-cover { background-image: linear-gradient(135deg, rgba(168,85,247,0.18), transparent 60%), linear-gradient(180deg, #14081c 0%, #05070D 100%); }
.ebook[data-accent="institutional"] .ebook-cover { background-image: linear-gradient(135deg, rgba(6,182,212,0.18), transparent 60%), linear-gradient(180deg, #061a1e 0%, #05070D 100%); }

/* Testimonios */
.testimonial {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .3s ease, transform .3s ease;
}
.testimonial:hover { border-color: rgba(77,130,255,0.4); transform: translateY(-3px); }
.testimonial .stars { color: #F5C518; letter-spacing: 2px; font-size: 1rem; }
.testimonial p { margin-top: .75rem; color: rgba(255,255,255,0.85); font-style: italic; line-height: 1.6; }
.t-author { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: .75rem; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700;
  background: linear-gradient(135deg, #1E5BFF, #0A2A8C);
  color: #fff; font-size: .9rem;
}
.t-name { font-weight: 600; font-size: .95rem; }
.t-loc  { font-size: .8rem; color: rgba(255,255,255,0.5); }

/* Pricing */
.pricing {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.pricing:hover { transform: translateY(-4px); }
.pricing.featured {
  background: linear-gradient(180deg, rgba(15,107,71,0.18), rgba(168,213,192,0.04));
  border-color: rgba(58,157,114,0.55);
  transform: scale(1.03);
  box-shadow: 0 25px 60px -20px rgba(15,107,71,0.5);
}
.p-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #0F6B47, #A8D5C0);
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 999px; letter-spacing: .05em;
  text-transform: uppercase;
}
.p-tag { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.p-price {
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  margin-top: .75rem;
  display: flex; align-items: baseline; gap: .25rem;
}
.p-currency { font-size: 1.5rem; color: rgba(255,255,255,.5); }
.p-period   { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.5); margin-left: .25rem; }
.p-desc { color: rgba(255,255,255,.6); margin-top: .5rem; font-size: .9rem; }
.p-list { list-style: none; padding: 0; margin: 1.5rem 0; flex: 1; }
.p-list li { padding: .5rem 0; font-size: .92rem; color: rgba(255,255,255,.85); border-bottom: 1px dashed rgba(255,255,255,0.06); }
.p-list li.muted { color: rgba(255,255,255,.35); text-decoration: line-through; }
.p-list li:last-child { border-bottom: 0; }
.p-btn {
  display: block; text-align: center;
  margin-top: 1rem;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 700; font-size: .95rem;
  transition: all .25s ease;
}
.p-btn:hover { background: rgba(255,255,255,0.05); }
.p-btn.featured {
  background: #0F6B47;
  border-color: transparent;
  box-shadow: 0 12px 30px -10px rgba(15,107,71,0.65);
}
.p-btn.featured:hover { background: #3A9D72; }

/* Countdown */
.cd-box {
  display: inline-flex; align-items: baseline; gap: .15rem;
  padding: .5rem .9rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: .75rem;
  font-variant-numeric: tabular-nums;
}
.cd-box small { font-size: .65rem; font-weight: 600; color: rgba(255,255,255,.5); margin-left: .15rem; }

/* Modal de registro / lead capture */
.lead-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: leadFadeIn .25s ease;
}
.lead-modal.hidden { display: none; }
@keyframes leadFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lead-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,7,13,0.78);
  backdrop-filter: blur(8px);
}
.lead-panel {
  position: relative;
  width: 100%; max-width: 480px;
  max-height: 92vh; overflow-y: auto;
  padding: 2rem 1.75rem;
  background: linear-gradient(180deg, #0A0F1C, #05070D);
  border: 1px solid rgba(77,130,255,0.35);
  border-radius: 1.5rem;
  box-shadow:
    0 30px 80px -20px rgba(30,91,255,0.5),
    0 15px 35px -10px rgba(0,0,0,0.7);
  animation: leadPop .35s cubic-bezier(.16,.84,.32,1);
}
@keyframes leadPop {
  from { transform: translateY(20px) scale(.95); opacity: 0; }
  to   { transform: translateY(0) scale(1);     opacity: 1; }
}
.lead-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border-radius: 50%; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.lead-close:hover { background: rgba(244,63,94,0.2); color: #fff; }

.lead-eyebrow {
  color: #F5C518;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
}
.lead-h {
  margin: .4rem 0 .25rem;
  font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: 1.6rem; color: #fff;
  line-height: 1.15;
}
.lead-sub { color: rgba(255,255,255,0.65); font-size: .9rem; }

.lead-form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .9rem; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lead-field { display: flex; flex-direction: column; gap: .35rem; }
.lead-field > span {
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,0.65); letter-spacing: .03em;
}
.lead-field input, .lead-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: .75rem .85rem;
  border-radius: .85rem;
  font-size: .92rem;
  transition: border-color .2s ease, background .2s ease;
  font-family: inherit;
}
.lead-field input:focus, .lead-field select:focus {
  outline: none;
  border-color: #4D82FF;
  background: rgba(30,91,255,0.08);
}
.lead-field input::placeholder { color: rgba(255,255,255,0.3); }

.lead-phone {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 1.4fr;
  gap: .5rem;
}
.lead-phone select { padding-right: .5rem; }
.lead-phone select option { background: #0A0F1C; color: #fff; }

.lead-check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .8rem; color: rgba(255,255,255,0.7);
  line-height: 1.5;
  cursor: pointer;
}
.lead-check input { margin-top: 3px; accent-color: #1E5BFF; }
.lead-check a { color: #4D82FF; text-decoration: underline; }

.lead-submit {
  margin-top: .25rem;
  padding: .9rem 1.25rem;
  background: linear-gradient(135deg, #1E5BFF, #0A2A8C);
  border: none;
  border-radius: 999px;
  color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 15px 35px -10px rgba(30,91,255,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center; text-decoration: none; display: block;
}
.lead-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 45px -10px rgba(30,91,255,0.7); }

.lead-download {
  background: linear-gradient(135deg, #F5C518, #B8860B);
  color: #0A0F1C;
  box-shadow: 0 15px 35px -10px rgba(245,197,24,0.6);
}
.lead-download:hover { box-shadow: 0 20px 45px -10px rgba(245,197,24,0.7); }

.lead-error {
  margin: 0;
  padding: .6rem .9rem;
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.4);
  border-radius: .75rem;
  font-size: .85rem;
  color: #fda4af;
}

.lead-check-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #10b981, #065f46);
  border-radius: 50%;
  box-shadow: 0 15px 35px -10px rgba(16,185,129,0.6);
}
#leadStepDone { text-align: center; }

@media (max-width: 480px) {
  .lead-panel { padding: 1.5rem 1.25rem; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-phone { grid-template-columns: 1fr; }
}

/* Scrollbar discreto */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05070D; }
::-webkit-scrollbar-thumb { background: #1f2a44; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #1E5BFF; }
