/* ═══════════════════════════════  
   TOKENS & RESET  
   ═══════════════════════════════ */  
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }  
  
:root {  
  --ink:    #000000;  
  --ink-1:  #080808;  
  --ink-2:  #0f0f0f;  
  --ink-3:  #171717;  
  --ink-4:  #1f1f1f;  
  --wire:   rgba(255,255,255,0.07);  
  --wire-2: rgba(255,255,255,0.13);  
  --wire-3: rgba(255,255,255,0.22);  
  --ghost:  rgba(255,255,255,0.38);  
  --snow:   #ffffff;  
  --ember:  #E60000;  
  --ember-2:#ff2222;  
  --ember-glow: rgba(230,0,0,0.28);  
  --ember-dim:  rgba(230,0,0,0.06);  
  
  --f-display: 'Barlow Condensed', sans-serif;  
  --f-body:    'Barlow', sans-serif;  
  --f-mono:    'IBM Plex Mono', monospace;  
  
  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);  
  --ease-in-out:   cubic-bezier(0.4,0,0.2,1);  
  
  --r-xs: 2px;  
  --space-section: clamp(80px, 10vw, 140px);  
  --space-gutter:  clamp(20px, 5vw, 60px);  
}  
  
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }  
  
body {  
  background: var(--ink);  
  color: var(--snow);  
  font-family: var(--f-body);  
  font-weight: 300;  
  line-height: 1.6;  
  overflow-x: hidden;  
}  
  
img { display: block; max-width: 100%; }  
a { color: inherit; }  
  
::-webkit-scrollbar { width: 3px; }  
::-webkit-scrollbar-track { background: transparent; }  
::-webkit-scrollbar-thumb { background: var(--ember); border-radius: 0; }  
::-webkit-scrollbar-thumb:hover { background: var(--ember-2); }  

/* firefox */  
html { scrollbar-width: thin; scrollbar-color: var(--ember) transparent; }  

  
/* ═══════════════════════════════  
   SHADER CANVAS (fullscreen bg)  
   ═══════════════════════════════ */  
#glcanvas {  
  position: fixed;  
  inset: 0;  
  width: 100%; height: 100%;  
  z-index: 0;  
  pointer-events: none;  
  opacity: .85;  
}  
  
/* ═══════════════════════════════
   SECTION CANVAS (shaders ligeros)
   ═══════════════════════════════ */
.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
.section { position: relative; overflow: hidden; }
.section > *:not(.section-canvas) { position: relative; z-index: 1; }  
  
/* scanlines on top */  
body::after {  
  content: '';  
  position: fixed;  
  inset: 0;  
  background: repeating-linear-gradient(  
    0deg,  
    transparent 0px,  
    transparent 3px,  
    rgba(0,0,0,0.15) 3px,  
    rgba(0,0,0,0.15) 4px  
  );  
  pointer-events: none;  
  z-index: 9998;  
}  

/* ═══════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--ember);
  z-index: 9999;
  pointer-events: none;
  will-change: width;
  animation: progress-glow 2.4s ease-in-out infinite;
}
@keyframes progress-glow {
  0%,100% { box-shadow: 0 0 6px var(--ember-glow),  0 0 2px var(--ember); }
  50%      { box-shadow: 0 0 18px var(--ember-glow), 0 0 7px var(--ember); }
}

/* ═══════════════════════════════
   SCROLL NAV DOTS
   ═══════════════════════════════ */
.scroll-nav-dots {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: auto;
}

.snd-dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--wire-3);
  text-decoration: none;
  transition:
    height  0.38s var(--ease-out-expo),
    background 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
  position: relative;
}

.snd-dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ghost);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.snd-dot:hover::before,
.snd-dot.active::before {
  opacity: 1;
  color: var(--snow);
}

.snd-dot.active {
  height: 20px;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember-glow);
}

.snd-dot:hover:not(.active) {
  height: 6px;
  background: var(--ghost);
}

@media (max-width: 680px) {
  .scroll-nav-dots { display: none; }
}


/* ═══════════════════════════════  
   NAV  
   ═══════════════════════════════ */  
.nav {  
  position: fixed;  
  top: 0; left: 0; right: 0;  
  z-index: 9000;  
  height: 58px;  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  padding: 0 var(--space-gutter);  
  border-bottom: 1px solid var(--wire);  
  background: rgba(0,0,0,0.82);  
  backdrop-filter: blur(24px) saturate(1.2);  
  -webkit-backdrop-filter: blur(24px) saturate(1.2);  
}  
  
.nav-brand {  
  display: flex;  
  align-items: center;  
  gap: 12px;  
  text-decoration: none;  
}  
  
.nav-logo {  
  width: 32px;  
  height: 32px;  
  object-fit: cover;  
  object-position: center top;  
  border: 1px solid var(--ember);  
  filter: grayscale(20%) contrast(1.05);  
}  
  
.nav-wordmark {  
  font-family: var(--f-display);  
  font-weight: 700;  
  font-size: 15px;  
  letter-spacing: 0.22em;  
  color: var(--snow);  
  text-transform: uppercase;  
}  
  
.nav-center {  
  display: flex;  
  align-items: center;  
  gap: 6px;  
  font-family: var(--f-mono);  
  font-size: 9.5px;  
  letter-spacing: 0.08em;  
  color: var(--ghost);  
}  
  
.nav-pulse {  
  width: 5px; height: 5px;  
  border-radius: 50%;  
  background: #22c55e;  
  box-shadow: 0 0 0 0 rgba(34,197,94,0.4);  
  animation: heartbeat 2.4s ease-in-out infinite;  
}  
@keyframes heartbeat {  
  0%  { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }  
  60% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }  
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0); }  
}  
  
.nav-links {  
  display: flex;  
  align-items: center;  
  gap: 32px;  
}  
  
.nav-link {  
  font-family: var(--f-mono);  
  font-size: 10px;  
  letter-spacing: 0.14em;  
  text-transform: uppercase;  
  color: var(--ghost);  
  text-decoration: none;  
  transition: color .2s;  
}  
.nav-link:hover { color: var(--snow); }  
  
.nav-btn {  
  font-family: var(--f-mono);  
  font-size: 10px;  
  font-weight: 500;  
  letter-spacing: 0.18em;  
  text-transform: uppercase;  
  padding: 10px 22px;  
  background: var(--ember);  
  color: var(--snow);  
  text-decoration: none;  
  border: none;  
  position: relative;  
  overflow: hidden;  
  transition: background .22s, box-shadow .22s;  
}  
.nav-btn::after {  
  content: '';  
  position: absolute;  
  inset: 0;  
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);  
  transform: translateX(-100%);  
  transition: transform .5s var(--ease-out-expo);  
}  
.nav-btn:hover::after { transform: translateX(100%); }  
.nav-btn:hover { background: var(--ember-2); box-shadow: 0 0 32px var(--ember-glow); }  
  
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }  
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--snow); transition: all .25s; }  
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }  
.nav-hamburger.open span:nth-child(2) { opacity: 0; }  
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }  
  
.mobile-menu {  
  display: none;  
  position: fixed;  
  top: 58px; left: 0; right: 0;  
  background: rgba(0,0,0,0.97);  
  backdrop-filter: blur(20px);  
  border-bottom: 1px solid var(--wire);  
  z-index: 8999;  
  padding: 24px var(--space-gutter) 32px;  
  flex-direction: column;  
  gap: 20px;  
  transform: translateY(-8px);  
  opacity: 0;  
  transition: opacity .25s, transform .25s var(--ease-out-expo);  
}  
.mobile-menu.open { display: flex; opacity: 1; transform: none; }  
.mobile-menu .nav-link { font-size: 12px; }  
.mobile-menu .nav-btn { align-self: flex-start; }  
  
/* ═══════════════════════════════  
   HERO  
   ═══════════════════════════════ */  
.hero {  
  position: relative;  
  z-index: 10;  
  min-height: 100svh;  
  display: grid;  
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 90px var(--space-gutter) 0;
  gap: 40px;
  overflow: hidden;  
}  
  
/* animated grid overlay */  
.hero-grid {  
  position: absolute;  
  inset: 0;  
  background-image:  
    linear-gradient(rgba(230,0,0,.035) 1px, transparent 1px),  
    linear-gradient(90deg, rgba(230,0,0,.035) 1px, transparent 1px);  
  background-size: 72px 72px;  
  pointer-events: none;  
  animation: grid-drift 24s linear infinite;  
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);  
}  
@keyframes grid-drift { to { background-position: 72px 72px; } }  
  
/* vignette */  
.hero::before {  
  content: '';  
  position: absolute;  
  inset: 0;  
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, rgba(0,0,0,.7) 100%);  
  pointer-events: none;  
  z-index: 1;  
}  
  
.hero-left {  
  position: relative;  
  z-index: 5;  
  padding: 10px 0;  
  max-width: 620px;  
}  
  


.eyebrow {  
  display: inline-flex;  
  align-items: center;  
  gap: 10px;  
  font-family: var(--f-display);  
  font-size: 13px;  
  font-weight: 700;  
  letter-spacing: 0.15em;  
  color: var(--ember);  
  text-transform: uppercase;  
  margin-bottom: 12px;
  opacity: 0;  
  animation: rise .9s .1s var(--ease-out-expo) forwards;  
}  
.eyebrow-line { width: 36px; height: 1px; background: var(--ember); }  
  
.hero-h1 {  
  font-family: var(--f-display);  
  font-size: clamp(85px, 12vw, 160px);  
  font-weight: 900;  
  line-height: 0.9;  
  letter-spacing: -.03em;  
  text-transform: uppercase;  
  margin-bottom: 25px;  
  opacity: 0;  
  animation: rise .9s .22s var(--ease-out-expo) forwards;  
}  
.hero-h1 span { display: block; }
  
.hero-h1 .accent {  
  display: block;  
  color: var(--ember);  
  /* glitch text-shadow */  
  text-shadow:  
    2px 0 0 rgba(0,255,200,.3),  
    -2px 0 0 rgba(230,0,0,.3);  
  animation: glitch 6s 2s infinite;  
}  
@keyframes glitch {  
  0%,94%,100% { text-shadow: 2px 0 0 rgba(0,255,200,.3), -2px 0 0 rgba(230,0,0,.3); transform: none; }  
  95% { text-shadow: -4px 0 0 rgba(0,255,200,.6),  4px 0 0 rgba(230,0,0,.6); transform: translateX(-2px); }  
  96% { text-shadow:  4px 0 0 rgba(0,255,200,.6), -4px 0 0 rgba(230,0,0,.6); transform: translateX(2px); }  
  97% { text-shadow: 0 0 0 transparent; transform: none; }  
}  
  
.hero-p {  
  font-size: clamp(15px, 1.6vw, 17px);  
  line-height: 1.6;  
  color: var(--ghost);  
  max-width: 500px;  
  margin-bottom: 35px;  
  opacity: 0;  
  animation: rise .9s .38s var(--ease-out-expo) forwards;  
}  
.hero-p strong { color: var(--snow); font-weight: 500; }  
  
.hero-cta {  
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;  
  justify-content: center;
  gap: 60px;  
  opacity: 0;  
  z-index: 50;
  animation: rise .9s .5s var(--ease-out-expo) forwards;  
}  
  
.btn-primary {  
  display: inline-flex;  
  align-items: center;  
  gap: 10px;  
  font-family: var(--f-mono);  
  font-size: 14px;  
  font-weight: 600;  
  letter-spacing: 0.2em;  
  text-transform: uppercase;  
  padding: 24px 54px;  
  background: var(--ember);  
  color: var(--snow);  
  text-decoration: none;  
  border: 1.5px solid var(--ember);  
  position: relative;  
  overflow: hidden;  
  transition: box-shadow .25s, background .2s;  
}  
.btn-primary::before {  
  content: '';  
  position: absolute;  
  inset: 0;  
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.14), transparent 70%);  
  transform: translateX(-100%);  
  transition: transform .6s var(--ease-out-expo);  
}  
.btn-primary:hover::before { transform: translateX(100%); }  
.btn-primary:hover { box-shadow: 0 0 48px var(--ember-glow); background: var(--ember-2); }  
  
.btn-ghost {  
  display: inline-flex;  
  align-items: center;  
  gap: 10px;  
  font-family: var(--f-mono);  
  font-size: 14px;  
  font-weight: 600;  
  letter-spacing: 0.2em;  
  text-transform: uppercase;  
  padding: 24px 54px;  
  background: transparent;  
  color: var(--ghost);  
  text-decoration: none;  
  border: 1.5px solid var(--wire-2);  
  transition: border-color .2s, color .2s;  
}  
.btn-ghost:hover { border-color: var(--wire-3); color: var(--snow); }  
  
/* ─── HERO RIGHT ─── */  
.hero-right {  
  position: relative;  
  z-index: 5;  
  display: flex;  
  justify-content: center;  
  align-items: center;  
  padding: 80px 0;  
}  
  
.figure-stage {  
  position: relative;  
  width: min(360px, 90vw);  
  aspect-ratio: 4/5;  
}  
  
/* red atmospheric halo */  
.figure-halo {  
  position: absolute;  
  bottom: -10%;  
  left: 50%;  
  transform: translateX(-50%);  
  width: 110%;  
  height: 60%;  
  background: radial-gradient(ellipse at center, rgba(230,0,0,.32) 0%, transparent 70%);  
  filter: blur(40px);  
  animation: halo-breathe 4s ease-in-out infinite;  
  pointer-events: none;  
}  
@keyframes halo-breathe {  
  0%,100%{ transform: translateX(-50%) scaleX(1); opacity: .8; }  
  50%    { transform: translateX(-50%) scaleX(1.18); opacity: 1; }  
}  
  
.figure-img {  
  width: 100%;  
  height: 100%;  
  object-fit: cover;  
  object-position: center top;  
  filter: contrast(1.08) saturate(.95);  
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);  
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);  
  opacity: 0;  
  animation: rise .9s .6s var(--ease-out-expo) forwards;  
}  
  
/* scan line across face */  
.figure-scan {  
  position: absolute;  
  left: 0; right: 0;  
  height: 2px;  
  background: linear-gradient(90deg, transparent, rgba(230,0,0,.7), transparent);  
  top: 0;  
  animation: scan-run 3.5s ease-in-out infinite;  
  pointer-events: none;  
  box-shadow: 0 0 18px rgba(230,0,0,.5);  
}  
@keyframes scan-run {  
  0%,100%{ top: 5%; opacity: 0; }  
  10%    { opacity: 1; }  
  80%    { opacity: 1; }  
  90%,100%{ top: 75%; opacity: 0; }  
}  
  
/* corner brackets */  
.bracket { position: absolute; width: 18px; height: 18px; border-color: var(--ember); border-style: solid; }  
.bracket.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }  
.bracket.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }  
.bracket.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }  
.bracket.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }  
  
/* floating stat chips */  
.chip {  
  position: absolute;  
  background: rgba(0,0,0,.85);  
  border: 1px solid var(--wire-2);  
  border-left: 2px solid var(--ember);  
  padding: 10px 16px;  
  font-family: var(--f-mono);  
  backdrop-filter: blur(12px);  
  animation: chip-float 5s ease-in-out infinite;  
  opacity: 0;  
  animation: chip-in .9s var(--ease-out-expo) forwards, chip-float 5s ease-in-out infinite;  
}  
.chip.c1 { top: 10%; left: -48px; animation-delay: .8s, 1.6s; }  
.chip.c2 { top: 44%; right: -52px; animation-delay: 1s, 1.8s; }  
.chip.c3 { bottom: 18%; left: -40px; animation-delay: 1.2s, 2s; }  
@keyframes chip-in { to { opacity: 1; } }  
@keyframes chip-float {  
  0%,100%{ transform: translateY(0); }  
  50%    { transform: translateY(-7px); }  
}  
.chip-lbl { font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ember); text-transform: uppercase; margin-bottom: 4px; }  
.chip-val { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--snow); line-height: 1; }  
  
/* scroll cue */  
.scroll-cue {  
  position: absolute;  
  bottom: clamp(16px, 4vh, 36px);  
  left: var(--space-gutter);  
  z-index: 5;  
  display: flex;  
  align-items: center;  
  gap: 12px;  
  font-family: var(--f-mono);  
  font-size: 9px;  
  letter-spacing: .22em;  
  color: var(--ghost);  
  text-transform: uppercase;  
  opacity: 0;  
  animation: rise .9s 1.1s var(--ease-out-expo) forwards;  
}  
.scroll-track {  
  width: 36px; height: 1px;  
  background: var(--wire-2);  
  position: relative;  
  overflow: hidden;  
}  
.scroll-thumb {  
  position: absolute;  
  top: 0; left: -100%;  
  width: 100%; height: 100%;  
  background: var(--ember);  
  animation: scroll-slide 2.4s ease-in-out infinite;  
}  
@keyframes scroll-slide { 0%{left:-100%} 100%{left:100%} }  
  
@keyframes rise {  
  from { opacity: 0; transform: translateY(22px); }  
  to   { opacity: 1; transform: none; }  
}  
  
/* ═══════════════════════════════  
   SHARED LAYOUT UTILS  
   ═══════════════════════════════ */  
.section {  
  position: relative;  
  z-index: 10;  
  padding: 80px var(--space-gutter);  
}  
  
.section-dark  { background: var(--ink-1); }  
.section-card  { background: var(--ink-2); }  
.section-panel { background: var(--ink-3); }  
  
.rule { height: 1px; background: var(--wire); margin: 0 var(--space-gutter); }  
  
.s-eyebrow {  
  display: flex;  
  align-items: center;  
  gap: 12px;  
  font-family: var(--f-display);  
  font-size: 13px;  
  font-weight: 700;  
  letter-spacing: 0.15em;  
  text-transform: uppercase;  
  color: var(--ember);  
  margin-bottom: 22px;  
}  
.s-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--ember); flex-shrink: 0; }  
  
.s-h2 {  
  font-family: var(--f-display);  
  font-size: clamp(48px, 6vw, 110px); /* Ajustado para que quepa en una línea */
  font-weight: 800;  
  line-height: .9;  
  text-transform: uppercase;  
  letter-spacing: -.02em;  
  margin-bottom: 24px;  
  white-space: nowrap; /* Fuerza una sola línea */
}  

/* scramble target — JS añade .scrambling durante el efecto */
.s-h2.scrambling { color: var(--ember); transition: color .1s; } 
  
.s-lead {  
  font-size: clamp(14px, 1.5vw, 16px);  
  color: var(--ghost);  
  max-width: 800px;  
  line-height: 1.75;  
}  
.s-lead strong { color: var(--snow); font-weight: 500; }  
  
/* reveal on scroll */  
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo); }  
.reveal.vis { opacity: 1; transform: none; }  
.reveal-d1 { transition-delay: .08s; }  
.reveal-d2 { transition-delay: .16s; }  
.reveal-d3 { transition-delay: .24s; }  
.reveal-d4 { transition-delay: .32s; }  
  
/* ═══════════════════════════════  
   HOW IT WORKS  
   ═══════════════════════════════ */  
.steps-wrap {  
  display: grid;  
  grid-template-columns: repeat(4, 1fr);  
  gap: 0;  
  border: 1px solid var(--wire);  
  margin-top: 56px;  
}  
  
.step {  
  padding: 36px 28px 36px 28px;  
  border-right: 1px solid var(--wire);  
  position: relative;  
  transition: background .3s;  
}  
.step:last-child { border-right: none; }  
.step:hover { background: var(--ember-dim); }  
.step::before {  
  content: '';  
  position: absolute;  
  top: 0; left: 0; right: 0;  
  height: 2px;  
  background: var(--ember);  
  transform: scaleX(0);  
  transform-origin: left;  
  transition: transform .4s var(--ease-out-expo);  
}  
.step:hover::before { transform: scaleX(1); }  
  
.step-idx {  
  display: flex;  
  align-items: center;  
  gap: 12px;  
  font-family: var(--f-mono);  
  font-size: 9px;  
  letter-spacing: .2em;  
  color: var(--ember);  
  margin-bottom: 24px;  
}  
.step-idx-num {  
  width: 28px; height: 28px;  
  border: 1px solid var(--ember);  
  display: flex; align-items: center; justify-content: center;  
  font-size: 10px; font-weight: 500;  
}  
.step-idx-dash { flex: 1; height: 1px; background: var(--wire); }  
  
.step-icon {  
  width: 40px; height: 40px;  
  margin-bottom: 20px;  
  color: var(--ghost);  
}  
.step-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }  
  
.step-title {  
  font-family: var(--f-display);  
  font-size: 20px;  
  font-weight: 700;  
  text-transform: uppercase;  
  letter-spacing: .02em;  
  margin-bottom: 12px;  
  line-height: 1.1;  
}  
.step-body { font-size: 13px; color: var(--ghost); line-height: 1.75; }  
  
/* ═══════════════════════════════  
   FEATURES  
   ═══════════════════════════════ */  
.feat-grid {  
  display: grid;  
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  
  gap: 1px;  
  background: var(--wire);  
  margin-top: 56px;  
}  
  
.feat {  
  background: var(--ink-2);  
  padding: 38px 30px;  
  position: relative;  
  overflow: hidden;  
  transition: background .3s, transform .15s var(--ease-out-expo), box-shadow .15s;
  transform-style: preserve-3d;
  will-change: transform;
}  
.feat::after {  
  content: '';  
  position: absolute;  
  inset: 0;  
  background: linear-gradient(135deg, var(--ember-dim) 0%, transparent 55%);  
  opacity: 0;  
  transition: opacity .4s;  
}  
.feat:hover { background: #131313; }  
.feat:hover::after { opacity: 1; }  
.feat:hover .feat-icon { color: var(--ember); }  
  
.feat-icon {  
  width: 40px; height: 40px;  
  margin-bottom: 22px;  
  color: var(--wire-3);  
  transition: color .3s;  
  position: relative; z-index: 1;  
}  
.feat-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }  
  
.feat-title {  
  font-family: var(--f-display);  
  font-size: 18px;  
  font-weight: 700;  
  text-transform: uppercase;  
  letter-spacing: .03em;  
  margin-bottom: 10px;  
  position: relative; z-index: 1;  
}  
.feat-body { font-size: 13px; color: var(--ghost); line-height: 1.75; position: relative; z-index: 1; }  
  
.accent-ecosystem-span { color: var(--ember); } /* Rojo en Web, misma línea */
  
/* ═══════════════════════════════  
   STATS BAND  
   ═══════════════════════════════ */  
.stats-band {  
  position: relative; z-index: 10;  
  background: var(--ember);  
  display: grid;  
  grid-template-columns: repeat(4, 1fr);  
}  
  
.stat {  
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 44px);  
  border-right: 1px solid rgba(0,0,0,.2);  
  position: relative;  
  overflow: hidden;  
  text-align: center; /* Centrado horizontal */
}  
.stat:last-child { border-right: none; }  
.stat::before {  
  content: attr(data-n);  
  position: absolute;  
  top: 50%; right: 50%; /* Centrado absoluto */
  transform: translate(50%, -50%);  
  font-family: var(--f-display);  
  font-size: 100px;  
  font-weight: 900;  
  color: rgba(0,0,0,.08);  
  pointer-events: none;  
  line-height: 1;  
}  
  
.stat-val {  
  font-family: var(--f-display);  
  font-size: clamp(38px, 5vw, 58px);  
  font-weight: 900;  
  color: var(--ink);  
  line-height: 1;  
  margin-bottom: 6px;  
}  
.stat-lbl {  
  font-family: var(--f-display);  
  font-size: 13px;  
  font-weight: 700;  
  letter-spacing: 0.1em;  
  text-transform: uppercase;  
  color: rgba(0,0,0,0.85);  
}  
  
/* ═══════════════════════════════  
   CEREBROS IA  
   ═══════════════════════════════ */  
.brains-layout {  
  display: grid;  
  grid-template-columns: 1fr 1fr;  
  gap: clamp(32px, 6vw, 80px);  
  margin-top: 56px;  
  align-items: start;  
}  
  
.brain-rows {  
  display: flex;  
  flex-direction: column;  
  gap: 1px;  
  background: var(--wire);  
}  
  
.brain-row {  
  background: var(--ink-2);  
  padding: 18px 22px;  
  display: flex;  
  align-items: center;  
  gap: 16px;  
  transition: background .2s;  
  position: relative;  
  overflow: hidden;  
}  
.brain-row::before {  
  content: '';  
  position: absolute;  
  left: 0; top: 0; bottom: 0;  
  width: 2px;  
  background: var(--ember);  
  transform: scaleY(0);  
  transform-origin: bottom;  
  transition: transform .35s var(--ease-out-expo);  
}  
.brain-row:hover::before { transform: scaleY(1); }  
.brain-row:hover { background: #131313; }  
  
.brain-avatar {  
  width: 36px; height: 36px;  
  border: 1px solid var(--wire-2);  
  display: flex; align-items: center; justify-content: center;  
  flex-shrink: 0;  
  color: var(--ghost);  
}  
.brain-avatar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }  
  
.brain-info { flex: 1; min-width: 0; }  
.brain-name { font-family: var(--f-display); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }  
.brain-handle { font-family: var(--f-mono); font-size: 10px; color: var(--ember); margin-top: 1px; }  
.brain-style { font-size: 11px; color: var(--ghost); margin-top: 3px; }  
  
.brain-tag {  
  font-family: var(--f-mono);  
  font-size: 8px;  
  letter-spacing: .1em;  
  text-transform: uppercase;  
  padding: 4px 10px;  
  border: 1px solid var(--wire-2);  
  color: var(--ghost);  
  white-space: nowrap;  
  flex-shrink: 0;  
}  
  
/* terminal */  
.terminal {  
  background: #050505;  
  border: 1px solid var(--wire);  
  font-family: var(--f-mono);  
  font-size: 11.5px;  
  line-height: 1.9;  
  position: sticky;  
  top: 74px;  
}  
  
.term-bar {  
  display: flex;  
  align-items: center;  
  gap: 7px;  
  padding: 13px 18px;  
  border-bottom: 1px solid var(--wire);  
}  
.tdot { width: 10px; height: 10px; border-radius: 50%; }  
.tdot-r { background: #ff5f57; }  
.tdot-y { background: #febc2e; }  
.tdot-g { background: #28c840; }  
.term-lbl { font-size: 9px; letter-spacing: .12em; color: var(--ghost); margin-left: 8px; }  
  
.term-body { padding: 18px 20px; }  
.tl { display: block; }  
.tc-g { color: #28c840; }  
.tc-r { color: var(--ember); }  
.tc-d { color: var(--ghost); }  
.tc-w { color: var(--snow); }  
.tc-y { color: #febc2e; }  
.blink::after { content: '▊'; animation: bk 1s step-end infinite; color: var(--ember); font-size: .9em; }  
@keyframes bk { 0%,100%{opacity:1}50%{opacity:0} }  

/* ═══════════════════════════════
   REVEAL HORIZONTAL
   ═══════════════════════════════ */
.reveal-x-right { opacity:0; transform:translateX(60px); transition:opacity .8s var(--ease-out-expo),transform .8s var(--ease-out-expo); }
.reveal-x-left  { opacity:0; transform:translateX(-60px); transition:opacity .8s var(--ease-out-expo),transform .8s var(--ease-out-expo); }
.reveal-x-right.vis, .reveal-x-left.vis { opacity:1; transform:none; }

/* ═══════════════════════════════
   ALTERNATING BRAIN ROWS (ba-*)
   ═══════════════════════════════ */
.ba-grid { margin-top:64px; display:flex; flex-direction:column; gap:2px; }
.ba-row { display:grid; grid-template-columns:1fr 1fr; min-height:200px; border:1px solid var(--wire); overflow:hidden; }
.ba-row + .ba-row { border-top:none; }
.ba-row-reverse { direction:rtl; }
.ba-row-reverse > * { direction:ltr; }
.ba-accent {
  display:flex; flex-direction:column; justify-content:center;
  background:rgba(230,0,0,0.03); border-right:1px solid var(--wire);
  padding:40px; position:relative; overflow:hidden;
  direction:ltr; 
}
/* Alineación de visuales hacia el margen central */
.ba-row:not(.ba-row-reverse) .ba-accent { align-items: flex-end; }
.ba-row-reverse .ba-accent { align-items: flex-start; }

.ba-row-reverse .ba-accent { border-right:none; border-left:1px solid var(--wire); }

.ba-visual-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 40px; /* Margen respecto al eje central */
}
.ba-accent-num {
  font-family:var(--f-display); font-size:160px; font-weight:900;
  color:rgba(230,0,0,0.35); position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  line-height:1; pointer-events:none; letter-spacing:-.04em;
  z-index: 0;
}
.ba-accent-svg { width:120px; height:120px; position:relative; z-index:1; stroke:var(--ember); fill:none; stroke-width:1; overflow:visible; }
.ba-ring { animation:ba-spin 10s linear infinite; transform-origin:60px 60px; opacity: 0.3; }
.ba-ring-1 { animation-duration:12s; stroke-width:.7; stroke-dasharray:6 4; }
.ba-ring-2 { animation-duration:8s; animation-direction:reverse; stroke-width:.5; stroke-dasharray:3 6; }
.ba-ring-3 { animation-duration:16s; stroke-width:.4; stroke-dasharray:2 8; }
.ba-ring-core { display: none; }
.ba-spoke { stroke:var(--ember); stroke-width:.8; stroke-dasharray:2 3; animation:ba-flicker 3s ease-in-out infinite; opacity: 0.25; }
@keyframes ba-spin   { to { transform:rotate(360deg); } }
@keyframes ba-pulse  { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.6);opacity:1} }
@keyframes ba-flicker{ 0%,100%{opacity:.4} 50%{opacity:1} }
.ba-content { padding:60px 40px; display:flex; flex-direction:column; justify-content:center; }
/* Pegados al margen central */
.ba-row-reverse .ba-content { align-items: flex-end; text-align: right; padding-right: 40px; }
.ba-row:not(.ba-row-reverse) .ba-content { align-items: flex-start; text-align: left; padding-left: 40px; }

.ba-num { font-family:var(--f-mono); font-size:11px; font-weight:700; letter-spacing:.2em; color:var(--ember); margin-bottom:10px; }
.ba-title { font-family:var(--f-display); font-size:clamp(24px,3vw,34px); font-weight:800; text-transform:uppercase; letter-spacing:.02em; margin-bottom:14px; line-height:1.05; }
.ba-text { font-size:15px; line-height:1.8; color:var(--ghost); max-width:440px; }

/* ═══════════════════════════════
   TERMINALS LAYOUT
   ═══════════════════════════════ */
.terminals-grid { 
  display: flex; 
  gap: 32px; 
  margin-top: 80px; 
  align-items: stretch;
}
.terminals-grid > * { flex: 1; margin: 0 !important; }

.neo-terminal, .result-neo-terminal { 
  background:#020202; border:1px solid rgba(230,0,0,0.2); overflow:hidden; 
  box-shadow:0 0 40px rgba(230,0,0,0.05);
}
.neo-term-header, .result-term-header { 
  display:flex; align-items:center; gap:12px; padding:14px 20px; 
  background:linear-gradient(90deg,rgba(230,0,0,0.08),transparent 80%); 
  border-bottom:1px solid rgba(230,0,0,0.15); 
}
.result-term-header { justify-content: space-between; }

/* Diferenciación visual Sistema en Vivo */
.neo-terminal { background: #050505; border-color: rgba(230,0,0,0.12); }
.neo-terminal .neo-term-header { background: rgba(0,0,0,0.5); }

.neo-term-dots { display:flex; gap:6px; }
.ntd { width:9px; height:9px; border-radius:50%; }
.ntd-r{background:#ff5f57;} .ntd-y{background:#febc2e;} .ntd-g{background:#28c840;}

.neo-term-title, .result-term-label { 
  flex:1; font-family:var(--f-mono); font-size:10px; letter-spacing:.16em; 
  color:var(--ember); text-transform:uppercase; 
}
.neo-live-badge { display:flex; align-items:center; gap:6px; font-family:var(--f-mono); font-size:8px; letter-spacing:.18em; color:#28c840; border:1px solid rgba(40,200,64,.2); padding:3px 9px; }
.neo-live-dot { width:5px; height:5px; border-radius:50%; background:#28c840; animation:heartbeat 1.5s ease-in-out infinite; }

.neo-term-body, .result-term-body { 
  padding:24px; font-family:var(--f-mono); font-size:12px; line-height:1.8; 
  display:flex; flex-direction:column; 
}
.result-term-body { min-height: 260px; }

.neo-line { display:flex; gap:8px; align-items:baseline; }
.neo-sep { height:1px; background:rgba(230,0,0,0.1); margin:8px 0; }
.nc-prompt{color:var(--ember);font-weight:500;} .nc-cmd{color:#e2e8f0;font-weight:500;} .nc-arg{color:var(--ghost);}
.nc-arrow{color:var(--ghost);} .nc-highlight{color:var(--snow);font-weight:500;} .nc-green{color:#28c840;} .nc-yellow{color:#febc2e;}
.neo-dots::after{content:'.';animation:neo-dot 1.4s step-end infinite;}
@keyframes neo-dot{0%{content:'.'}33%{content:'..'}66%{content:'...'}100%{content:'.'}}

.result-robot { color:rgba(230,0,0,0.5); font-size:11px; line-height:1.3; margin-bottom:16px; white-space:pre; }
.result-typing { color:var(--ghost); white-space:pre-wrap; }
.result-typing .rt-ok{color:#28c840;} .result-typing .rt-em{color:var(--ember);font-weight:500;} .result-typing .rt-hi{color:var(--snow);}  

@media (max-width:1024px) {
  .terminals-grid { flex-direction: column; gap: 24px; }
}

/* ═══════════════════════════════
   CONFIG SUCCESS TERMINAL — Redesign: Red window, Green text
   ═══════════════════════════════ */
.config-success-term {
  margin-top: 50px;
  background: rgba(230,0,0,0.05);
  border: 1px solid var(--ember);
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  box-shadow: 0 0 40px rgba(230,0,0,0.1);
  overflow: hidden;
  border-radius: 2px;
}
.cst-body { 
  padding: 16px 24px; 
  font-family: var(--f-mono); 
  font-size: 20px; 
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  display: flex; align-items: center; gap: 12px;
}
.cst-text { color: #28c840; text-transform: uppercase; letter-spacing: 0.05em; }
.config-success-term .nc-prompt { color: var(--ember); font-size: 22px; }

@media (max-width: 680px) {
  .config-success-term { margin: 30px 15px; border-width: 1px; }
  .cst-body { 
    font-size: 14px; 
    padding: 12px 16px; 
    overflow-x: auto; /* Permite el scroll horizontal si el texto es largo */
    scrollbar-width: none;
  }
  .cst-body::-webkit-scrollbar { display: none; }
}

@media (max-width:680px) {
  .ba-row { display: flex; flex-direction: column; }
  .ba-row-reverse { direction: ltr; flex-direction: column; }
  .ba-accent { min-height:160px; border-right:none; border-bottom:1px solid var(--wire); padding: 30px; align-items: center !important; }
  .ba-visual-wrap { margin: 0; width: 100px; height: 100px; }
  .ba-accent-num { font-size:90px; opacity: 0.35; }
  .ba-accent-svg { width:90px; height:90px; }
  .ba-content { padding:40px 24px; text-align:center; align-items: center !important; }
  .ba-text { max-width:100%; margin: 0 auto; }
  .neo-term-body { font-size:11px; padding:16px; }
  .result-term-body { padding:16px; }
  .result-robot { font-size:10px; }

  /* Centrado en móvil Stats y Feats */
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); text-align: center; }
  .stat::before { right: 50%; transform: translate(50%, -50%); opacity: 0.12; }
  .feat { text-align: center; }
  .feat-icon { margin-left: auto; margin-right: auto; }
}
  
/* ═══════════════════════════════  
   CONTENT PREVIEW  
   ═══════════════════════════════ */  
.content-layout {  
  display: grid;  
  grid-template-columns: 1fr 1fr;  
  gap: clamp(32px, 5vw, 64px);  
  margin-top: 56px;  
  align-items: start;  
}  
  
.content-list {  
  list-style: none;  
  display: flex;  
  flex-direction: column;  
  gap: 1px;  
  background: var(--wire);  
}  
.content-list li {  
  background: var(--ink-2);  
  padding: 17px 22px;  
  font-size: 14px;  
  color: var(--ghost);  
  display: flex;  
  align-items: center;  
  gap: 14px;  
  transition: background .2s, color .2s;  
  cursor: default;  
}  
.content-list li:hover { background: #131313; color: var(--snow); }  
.content-list li::before {  
  content: '';  
  width: 4px; height: 4px;  
  background: var(--ember);  
  flex-shrink: 0;  
}  
  
.post-card {  
  background: var(--ink-2);  
  border: 1px solid var(--wire);  
  border-top: 2px solid var(--ember);  
  padding: 26px;  
}  
.post-card-head {  
  display: flex; justify-content: space-between; align-items: center;  
  margin-bottom: 18px; padding-bottom: 16px;  
  border-bottom: 1px solid var(--wire);  
}  
.post-card-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: .16em; color: var(--ghost); text-transform: uppercase; }  
.post-badge { background: var(--ember); font-family: var(--f-mono); font-size: 8px; padding: 3px 10px; letter-spacing: .1em; text-transform: uppercase; }  
.post-text { font-size: 14px; line-height: 1.75; color: var(--snow); margin-bottom: 18px; }  
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--f-mono); font-size: 9.5px; color: var(--ghost); }  
  
/* ═══════════════════════════════  
   AI PROVIDERS  
   ═══════════════════════════════ */  
.providers-layout {  
  display: grid;  
  grid-template-columns: 1fr 1fr;  
  gap: clamp(32px, 6vw, 80px);  
  margin-top: 56px;  
  align-items: center;  
}  
  
.prov-rows {  
  display: flex;  
  flex-direction: column;  
  gap: 1px;  
  background: var(--wire);  
}  
  
.prov-row {  
  background: var(--ink-2);  
  padding: 20px 24px;  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  gap: 16px;  
  transition: background .2s;  
}  
.prov-row:hover { background: #121212; }  
  
.prov-icon {  
  width: 36px; height: 36px;  
  border: 1px solid var(--wire-2);  
  display: flex; align-items: center; justify-content: center;  
  flex-shrink: 0;  
  color: var(--ghost);  
}  
.prov-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }  
  
.prov-meta { flex: 1; }  
.prov-name { font-family: var(--f-display); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }  
.prov-models { font-family: var(--f-mono); font-size: 9.5px; color: var(--ghost); margin-top: 2px; }  
  
.prov-status {  
  display: flex; align-items: center; gap: 6px;  
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;  
  color: #22c55e;  
}  
.prov-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; animation: heartbeat 2.4s ease-in-out infinite; }  
  
.prov-aside {  
  display: flex; flex-direction: column; gap: 20px;  
}  
.aside-block {  
  background: var(--ink-2);  
  border: 1px solid var(--wire);  
  padding: 28px;  
}  
.aside-block .s-eyebrow { margin-bottom: 12px; }  
.aside-block p { font-size: 13.5px; color: var(--ghost); line-height: 1.8; }  
.aside-block strong { color: var(--snow); font-weight: 500; }  
  
/* ═══════════════════════════════  
   ROADMAP  
   ═══════════════════════════════ */  
.roadmap-grid {  
  display: grid;  
  grid-template-columns: repeat(4, 1fr);  
  gap: 1px;  
  background: var(--wire);  
  margin-top: 56px;  
}  
  
.rm-card {  
  background: var(--ink-2);  
  padding: 34px 26px;  
  position: relative;  
  overflow: hidden;  
  transition: background .3s, transform .15s var(--ease-out-expo), box-shadow .15s;
  transform-style: preserve-3d;
  will-change: transform;
}  
.rm-card::after {  
  content: '';  
  position: absolute;  
  bottom: 0; left: 0; right: 0;  
  height: 2px;  
  background: linear-gradient(90deg, var(--ember), transparent);  
  transform: scaleX(0);  
  transform-origin: left;  
  transition: transform .4s var(--ease-out-expo);  
}  
.rm-card:hover::after { transform: scaleX(1); }  
.rm-card:hover { background: #131313; }  
  
.rm-ver { font-family: var(--f-display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--ember); margin-bottom: 14px; }  
.rm-title { font-family: var(--f-display); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; line-height: 1.1; }  
.rm-title-ver { font-size: 14px; font-weight: 400; color: var(--ghost); margin-left: 8px; }  
.rm-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }  
.rm-list li { font-size: 12.5px; color: var(--ghost); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }  
.rm-arrow {  
  width: 14px; height: 14px;  
  margin-top: 1px;  
  flex-shrink: 0;  
  color: var(--ember);  
}  
.rm-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }  
  
/* ═══════════════════════════════  
   CTA  
   ═══════════════════════════════ */  
.cta-section {  
  position: relative; z-index: 10;  
  background: var(--ink);  
  padding: clamp(80px, 12vw, 160px) var(--space-gutter);  
  text-align: center;  
  overflow: hidden;  
}  
  
.cta-bg-mask {  
  position: absolute;  
  top: 50%; left: 50%;  
  transform: translate(-50%,-50%);  
  width: min(560px, 90vw);  
  aspect-ratio: 1;  
  object-fit: cover;  
  object-position: center top;  
  opacity: .035;  
  filter: grayscale(1) contrast(1.2);  
  pointer-events: none;  
  animation: mask-drift 12s ease-in-out infinite;  
  mask-image: radial-gradient(circle, black 20%, transparent 75%);  
}  
@keyframes mask-drift {  
  0%,100%{ transform: translate(-50%,-50%) scale(1); }  
  50%    { transform: translate(-50%,-50%) scale(1.06); }  
}  
  
.cta-section .s-eyebrow { justify-content: center; }  
.cta-section .s-eyebrow::before { display: none; }  
.cta-section .s-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--ember); }  
  
.cta-h2 {  
  font-family: var(--f-display);  
  font-size: clamp(52px, 8vw, 104px);  
  font-weight: 900;  
  text-transform: uppercase;  
  line-height: .9;  
  letter-spacing: -.01em;  
  margin-bottom: 24px;  
  position: relative; z-index: 1;  
}  
.cta-h2 .accent { display: inline; color: var(--ember); text-shadow: 0 0 60px rgba(230,0,0,.45); }  
  
.cta-sub {  
  font-size: clamp(14px, 1.5vw, 16px);  
  color: var(--ghost);  
  max-width: 460px;  
  margin: 0 auto 44px;  
  line-height: 1.75;  
  position: relative; z-index: 1;  
}  
.cta-sub strong { color: var(--snow); font-weight: 500; }  
  
.cta-row {  
  display: flex;  
  justify-content: center;  
  flex-wrap: wrap;  
  gap: 14px;  
  position: relative; z-index: 1;  
}  
  
/* ═══════════════════════════════  
   PRECIOS  
   ═══════════════════════════════ */  
.pricing-wrap {
  max-width: 900px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-pricing-header,
.mobile-only-header { display: none; }

.pricing-footer-text { display: block; }

.pricing-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wire);
  padding: 6px;
  border-radius: 50px;
  display: flex;
  position: relative;
  margin-bottom: 50px;
  width: 280px;
}

.toggle-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--ghost);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color .3s;
}

.toggle-btn.active { color: var(--snow); }

.toggle-slider {
  position: absolute;
  top: 6px; left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: var(--wire-2);
  border-radius: 50px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.pricing-toggle[data-period="yearly"] .toggle-slider {
  transform: translateX(100%);
}

.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.pricing-card {
  background: rgba(10,10,10,0.4);
  border: 1px solid var(--wire);
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--wire-2);
  background: rgba(20,20,20,0.6);
  transform: translateY(-10px);
}

.pricing-card.featured {
  border-color: var(--ember);
  box-shadow: 0 20px 40px rgba(230,0,0,0.05);
}

.pop-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--ember);
  color: var(--snow);
  font-family: var(--f-display);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .1em;
}

.card-header h3 {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--ghost);
  margin-bottom: 20px;
}

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

.price .currency { font-size: 24px; font-weight: 300; color: var(--ghost); }
.price .amount { 
  font-family: var(--f-display); 
  font-size: 54px; 
  font-weight: 900; 
  color: var(--snow);
  line-height: 1;
}
.price .period { font-size: 14px; color: var(--ghost); }

.card-tagline { font-size: 13px; color: var(--ghost); margin-bottom: 30px; }

.card-features {
  list-style: none;
  padding: 0; margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--snow);
}

.card-features li svg { color: var(--ember); flex-shrink: 0; }

.pricing-card.featured .btn-primary { width: 100%; }
.pricing-card .btn-ghost { width: 100%; border-color: var(--wire); }

/* ═══════════════════════════════  
   FOOTER  
   ═══════════════════════════════ */  
.site-footer {  
  background: #020202;  
  border-top: 1px solid var(--wire);  
  padding: 40px var(--space-gutter);  
  position: relative; z-index: 10;
}  
.footer-container {  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  gap: 32px;  
  max-width: var(--container-max);  
  margin: 0 auto;  
}  
.footer-left { display: flex; align-items: center; } 
.f-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }  
.f-brand img { width: 26px; height: 26px; border: 1px solid var(--wire-2); }  
.f-logo-text { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--snow); text-transform: uppercase; }  
  
.footer-center {   
  flex: 1;   
  text-align: center;   
  font-size: 11px;   
  color: var(--ghost);   
  opacity: .7;
}  
.footer-center a { color: var(--ghost); text-decoration: none; transition: color .2s; font-weight: 500; }  
.footer-center a:hover { color: var(--ember); opacity: 1; }  
  
.footer-right {   
  display: flex;   
  align-items: center;   
  gap: 12px;   
  font-size: 11px;   
  text-transform: uppercase;   
  letter-spacing: .05em;   
  color: var(--ghost);
}  
.footer-right a { color: var(--ghost); text-decoration: none; transition: color .2s; }  
.footer-right a:hover { color: var(--snow); }  
.f-sep { opacity: .3; }
.f-copy-year { color: var(--ghost); }
  
/* ═══════════════════════════════  
   RESPONSIVE  
   ═══════════════════════════════ */  
@media (max-width: 1100px) {  
  .steps-wrap  { grid-template-columns: 1fr 1fr; }  
  .feat-grid   { grid-template-columns: 1fr 1fr; }  
  .roadmap-grid{ grid-template-columns: 1fr 1fr; }  
  .step:nth-child(2) { border-right: none; }  
  .step:nth-child(3) { border-top: 1px solid var(--wire); }  
}  
  
.m-hide-desktop { display: none; }
@media (max-width: 860px) {
  .m-hide-desktop { display: inline; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-h1 { font-size: clamp(40px, 10vw, 60px); line-height: 0.8; margin-bottom: 15px; letter-spacing: -.02em; }
  .hero-h1 span { display: inline-block; }
  .hero-h1 .accent { display: block !important; font-size: 2.2em; margin-top: 10px; } /* DOMINA El doble de grande */
  
  .hero-left { max-width: 100%; padding: 0; text-align: center; }
  .hero-right { display: none; }
  .eyebrow { justify-content: center; margin-bottom: 20px; }
  
  .hero-p { 
    font-size: clamp(18px, 5.5vw, 22px); 
    line-height: 1.4; 
    margin-bottom: 0px; /* Pegado abajo */
    color: var(--ghost);
    max-width: 100%;
  }
  .hero-cta { 
    position: relative; 
    bottom: 0; 
    left: 0; 
    transform: none; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-top: 5px; 
    margin-bottom: 80px; 
    gap: 12px;
    width: 100%;
  }
  .btn-primary, .btn-ghost { padding: 22px 30px; font-size: 13px; font-weight: 700; width: 100%; max-width: 340px; letter-spacing: 0.15em; }
  .scroll-cue { bottom: 30px; left: 50%; transform: translateX(-50%); }


  /* Secciones: centrado general mobile */
  .section { text-align: center; }
  .s-p { margin: 12px auto 0; }
  
  .steps-wrap { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--wire); text-align: center; padding: 40px 20px; }
  .step:nth-child(even) .step-idx { justify-content: flex-end; flex-direction: row-reverse; } /* Número a la derecha, guion a la izquierda */
  .step:last-child { border-bottom: none; }
  .step-icon { margin: 0 auto 20px; } /* Icono siempre centrado */
  .step-idx { justify-content: flex-start; } /* Cuadro de número a la izquierda por defecto */
  .s-eyebrow { justify-content: center; }
  .s-eyebrow::before { display: none; }
  .s-lead { margin-left: auto; margin-right: auto; text-align: center; }
  .s-h2 { font-size: clamp(36px, 10vw, 64px); white-space: normal; }
  .accent-ecosystem-span { 
    display: block;
    margin-top: 20px;
    font-family: var(--f-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 0.9;
  }
  .cta-h2 { font-size: clamp(34px, 10vw, 52px); line-height: 1; } /* ¿Y tú? en la misma línea */

  /* Layouts de dos columnas -> una */
  .brains-layout    { grid-template-columns: 1fr; }
  .content-layout   { grid-template-columns: 1fr; }
  .providers-layout { grid-template-columns: 1fr; }
  .terminal { position: static; }

  /* Shaders desktop off */
  #glcanvas { display: none; }
  .section-canvas { display: none; }
  /* 3D tilt off */
  .feat, .rm-card { transform: none !important; box-shadow: none !important; }

  /* Precios Mobile */
  #precios { padding-top: 0; }
  #cta { padding-bottom: 20px; }
  .mobile-pricing-header,
  .mobile-only-header { display: block; }
  .mobile-pricing-header { margin-bottom: 15px; margin-top: 20px; }
  .pricing-wrap { margin-bottom: 30px; } 
  .pricing-container { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card { padding: 30px; }
  .price .amount { font-size: 44px; }
  .pricing-toggle { margin-bottom: 30px; }

  .footer-container { 
    flex-direction: row; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px; 
    text-align: center; 
  }
  .footer-left { 
    order: 1; 
    width: auto;
    justify-content: center; 
  }
  .footer-right { 
    order: 2; 
    width: auto;
    justify-content: center; 
    border: none; 
    padding: 0;
  }
  .footer-center { 
    order: 3; 
    width: 100%; 
    border-top: 1px solid var(--wire); 
    padding-top: 14px; 
    margin-top: 4px;
    font-size: 10px;
  }
}

  
@media (max-width: 680px) {  
  .nav-links { display: none; }  
  .nav-hamburger { display: flex; }  
  .nav-center { display: none; }  
  .steps-wrap  { grid-template-columns: 1fr; }  
  .feat-grid   { grid-template-columns: 1fr; }  
  .roadmap-grid{ grid-template-columns: 1fr; }  
  .stats-band  { grid-template-columns: 1fr 1fr; }  
  .step:nth-child(n) { border-right: none; border-top: 1px solid var(--wire); }  
  .step:first-child  { border-top: none; }  
  .footer-right { text-align: left; }  
}  
  
@media (max-width: 420px) {  
  .stats-band { grid-template-columns: 1fr; }  
  .hero-h1 { font-size: 52px; }  
  .cta-h2  { font-size: 48px; }  
}  
