/* =============================================================
   NEURAL FX — Mouse-Reactive Gradient archetype
   Brand palette: navy #121751 · green #12512e · white · black
   ============================================================= */

/* 1. TOKENS -------------------------------------------------- */
:root {
  --bg:        #05060c;          /* near-black, slight navy warmth */
  --bg-2:      #0a0c18;
  --bg-3:      #0e1124;
  --card:      #0c0f20;
  --card-2:    #11142e;

  --navy:      #121751;          /* brand */
  --navy-lite: #2a3290;
  --green:     #12512e;          /* brand */
  --green-mid: #1c7a44;
  --accent:    #28e070;          /* bright readable green for dark UI */
  --accent-dim:#1c9e52;

  /* gradient mesh stops (brand-aligned) */
  --g1: #121751;                 /* navy */
  --g2: #1c7a44;                 /* green */
  --g3: #28e070;                 /* bright green */
  --g4: #2a3290;                 /* navy lite */

  --ink:       #f1f3fb;
  --ink-soft:  #c3c8e0;
  --mute:      #767 da0;
  --mute:      #767da0;
  --mute-2:    #424a70;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --sans: 'Inter', system-ui, sans-serif;
  --display: 'Space Grotesk', system-ui, sans-serif;
}

/* 2. RESET --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.03em; font-family: var(--display); font-weight: 700; }
::selection { background: var(--accent); color: #04210f; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--accent); color: #04210f; z-index: 99999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* 3. SPLASH -------------------------------------------------- */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: grid; place-items: center;
  animation: splashOut .6s var(--ease-out) 1.6s forwards;
}
.splash-mark {
  width: 84px; height: auto;
  animation: splashPulse 1.6s var(--ease-out) infinite;
}
@keyframes splashPulse { 0%,100%{opacity:.4; transform:scale(.96);} 50%{opacity:1; transform:scale(1);} }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
.is-ready .splash { animation: splashOut .5s var(--ease-out) forwards; }

/* 4. NAV ----------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); height: 72px;
  background: rgba(5,6,12,0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), height .4s var(--ease-out);
}
.nav.is-stuck {
  background: rgba(5,6,12,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  height: 62px;
}
.nav-logo-img { height: 30px; width: auto; }
.nav-links { display: none; gap: 36px; }
.nav-links a { font-size: .9rem; color: var(--ink-soft); font-weight: 500; position: relative; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--accent); transition: width .3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: none; gap: 10px; align-items: center; }

.btn { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; border-radius: 9px; transition: all .25s var(--ease-out); white-space: nowrap; font-family: var(--sans); }
.btn-ghost { padding: 9px 18px; color: var(--ink); font-size: .88rem; }
.btn-ghost:hover { color: var(--accent); }
.btn-solid { padding: 10px 22px; background: var(--accent); color: #04210f; font-size: .88rem; }
.btn-solid:hover { background: #34f57f; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(40,224,112,0.25); }
.btn-line { padding: 10px 22px; border: 1px solid var(--line-2); color: var(--ink); font-size: .88rem; }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 30px; font-size: .98rem; border-radius: 11px; }

.nav-burger { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 999;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px var(--gutter) 28px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) { padding: 14px 0; font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-family: var(--display); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* 5. HERO ---------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px; overflow: hidden;
}
.hero-gradient {
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(circle 38vw at var(--mx, 30%) var(--my, 25%), var(--g1) 0%, transparent 55%),
    radial-gradient(circle 32vw at calc(var(--mx, 70%) + 18%) calc(var(--my, 65%) + 8%), var(--g2) 0%, transparent 50%),
    radial-gradient(circle 26vw at calc(var(--mx, 50%) - 12%) calc(var(--my, 80%) + 4%), var(--g3) 0%, transparent 48%),
    radial-gradient(circle 30vw at calc(var(--mx, 85%) - 6%) calc(var(--my, 20%) - 6%), var(--g4) 0%, transparent 52%);
  filter: blur(70px) saturate(135%);
  opacity: .55;
  transition: background .5s var(--ease-soft);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, black, transparent 75%);
  opacity: .5;
}
.hero-inner { max-width: 960px; position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
  padding: 7px 15px; border: 1px solid rgba(40,224,112,0.22);
  border-radius: 100px; background: rgba(40,224,112,0.06);
  margin-bottom: 28px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.25;} }

.hero-title {
  font-size: clamp(2.8rem, 8.5vw, 6.6rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.98;
  margin-bottom: 28px;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--ink-soft); max-width: 540px; line-height: 1.7;
  margin-bottom: 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-scroll { position: absolute; bottom: 30px; left: var(--gutter); display: flex; align-items: center; gap: 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--mute); }
.hero-scroll-line { width: 50px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero-scroll-line::after { content:''; position:absolute; inset:0; width:40%; background: var(--accent); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0%{transform:translateX(-100%);} 100%{transform:translateX(320%);} }

/* 6. STATS --------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-row { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 32px var(--gutter); text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: none; }
.stat-val { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); font-weight: 500; }

/* 7. MANIFESTO ----------------------------------------------- */
.manifesto { padding: clamp(80px, 14vh, 160px) var(--gutter); max-width: 1000px; margin: 0 auto; }
.manifesto-text { font-family: var(--display); font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 500; line-height: 1.28; letter-spacing: -0.02em; color: var(--mute); }
.manifesto-text span { color: var(--ink); }

/* 8. SECTION HEAD -------------------------------------------- */
.section-head { margin-bottom: 56px; }
.eyebrow { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; }

/* 9. PILLARS ------------------------------------------------- */
.pillars { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--gutter); }
.pillars-list { display: flex; flex-direction: column; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease-out); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar:hover { padding-left: 12px; }
.pillar-n { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--mute-2); letter-spacing: -0.03em; transition: color .35s; }
.pillar:hover .pillar-n { color: var(--accent); }
.pillar-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--accent-dim); font-weight: 700; margin-bottom: 12px; }
.pillar-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; margin-bottom: 14px; letter-spacing: -0.03em; }
.pillar-text { color: var(--mute); max-width: 620px; font-size: 1rem; line-height: 1.7; }

/* 10. AI ----------------------------------------------------- */
.ai { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-grid { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--gutter); display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.ai-tools { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.ai-tool { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 11px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.ai-tool:hover { background: var(--card); border-color: var(--line); }
.ai-tool-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 10px rgba(40,224,112,.5); }
.ai-tool h4 { font-family: var(--display); font-size: .98rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }
.ai-tool p { font-size: .88rem; color: var(--mute); line-height: 1.55; }

.ai-panel { background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); transform-style: preserve-3d; will-change: transform; }
.ai-panel-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.ai-panel-bar .d { width: 11px; height: 11px; border-radius: 50%; background: var(--mute-2); }
.ai-panel-bar .d:nth-child(1){ background:#ff5f57; } .ai-panel-bar .d:nth-child(2){ background:#febc2e; } .ai-panel-bar .d:nth-child(3){ background:#28c840; }
.ai-panel-title { margin-left: 8px; font-size: .78rem; color: var(--mute); font-weight: 500; }
.ai-panel-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg.you { flex-direction: row-reverse; }
.msg-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .64rem; font-weight: 700; background: var(--bg-3); border: 1px solid var(--line); color: var(--mute); }
.msg.ai .msg-av { background: rgba(40,224,112,.12); border-color: rgba(40,224,112,.25); color: var(--accent); }
.msg-bubble { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 11px 15px; font-size: .85rem; line-height: 1.5; max-width: 80%; color: var(--ink-soft); }
.msg.you .msg-bubble { background: rgba(42,50,144,.25); border-color: rgba(42,50,144,.4); }

/* 11. CAPITAL ------------------------------------------------ */
.capital { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--gutter); }
.capital-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.capital-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 38px; transition: transform .4s var(--ease-out), border-color .4s; position: relative; overflow: hidden; }
.capital-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--navy-lite), var(--accent)); opacity:0; transition: opacity .4s; }
.capital-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.capital-card:hover::before { opacity: 1; }
.capital-big { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 700; color: var(--accent); letter-spacing: -0.05em; line-height: 1; display: block; margin-bottom: 16px; text-shadow: 0 0 50px rgba(40,224,112,.25); }
.capital-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.capital-card p { color: var(--mute); font-size: .95rem; line-height: 1.7; }

/* 12. CONTACT ------------------------------------------------ */
.contact { border-top: 1px solid var(--line); }
.contact-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 14vh, 150px) var(--gutter); text-align: center; }
.contact-title { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 24px; }
.contact-sub { color: var(--mute); max-width: 480px; margin: 0 auto 40px; font-size: 1.05rem; line-height: 1.7; }
.contact-mail { display: inline-block; font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); position: relative; }
.contact-mail::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.contact-mail:hover { color: var(--accent); }
.contact-mail:hover::after { transform: scaleX(1); }

/* 13. FOOTER ------------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px var(--gutter) 32px; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 28px; width: auto; max-width: 180px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: .88rem; color: var(--mute); transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; align-items: center; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--mute); transition: color .25s, border-color .25s, transform .25s, background .25s; }
.social-link:hover { color: var(--accent); border-color: var(--accent); background: rgba(40,224,112,.08); transform: translateY(-2px); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .76rem; color: var(--mute-2); }
.footer-risk { max-width: 420px; }

/* 14. REVEAL ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split elements must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* 15. RESPONSIVE --------------------------------------------- */
@media (min-width: 540px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: none; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: none; }
  .capital-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none; }
  .ai-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; }
}

/* 16. REDUCED MOTION (only intrusive) ------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after { animation: none; }
  .splash-mark { animation: none; }
  .hero-kicker .dot { animation: none; }
}

/* =============================================================
   17. NEW SECTIONS — intro, divisions, why, mission/vision, values
   ============================================================= */

/* Intro / Qué es */
.intro { max-width: 1000px; margin: 0 auto; padding: clamp(70px,11vh,130px) var(--gutter); }
.intro-lead { font-family: var(--display); font-size: clamp(1.4rem, 3.2vw, 2.3rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.02em; color: var(--ink); }
.intro-lead em { font-style: normal; color: var(--accent); }
.intro-body { margin-top: 28px; max-width: 640px; color: var(--mute); font-size: 1.02rem; line-height: 1.75; }

/* Divisions */
.divisions { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.divisions-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,10vh,110px) var(--gutter); }
.divisions-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.division { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; position: relative; overflow: hidden; transition: transform .4s var(--ease-out), border-color .4s; }
.division::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 50% 0%, rgba(40,224,112,0.08), transparent 60%); opacity:0; transition: opacity .4s; pointer-events:none; }
.division:hover { transform: translateY(-5px); border-color: var(--line-2); }
.division:hover::after { opacity:1; }
.division-mark { font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; display:flex; align-items:center; gap:8px; }
.division-mark::before { content:''; width:22px; height:1px; background: var(--accent); }
.division h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.division h3 span { color: var(--mute); font-weight: 500; }
.division p { color: var(--mute); font-size: .95rem; line-height: 1.7; }

/* Why choose */
.why { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,10vh,110px) var(--gutter); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--bg); padding: 34px 30px; transition: background .3s; }
.why-item:hover { background: var(--card); }
.why-item h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.why-item h4 .why-bullet { color: var(--accent); margin-right: 8px; }
.why-item p { color: var(--mute); font-size: .92rem; line-height: 1.65; }

/* Mission / Vision */
.mv { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mv-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,10vh,110px) var(--gutter); display: grid; grid-template-columns: 1fr; gap: 24px; }
.mv-card { padding: 40px 0; }
.mv-card + .mv-card { border-top: 1px solid var(--line); }
.mv-label { font-family: var(--display); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 18px; }
.mv-text { font-family: var(--display); font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink-soft); max-width: 820px; }

/* Values marquee */
.values { padding: clamp(50px,8vh,90px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.values-head { max-width: var(--maxw); margin: 0 auto 36px; padding: 0 var(--gutter); }
.values-track { display: flex; gap: 0; width: max-content; animation: valuesScroll 32s linear infinite; }
.values-track:hover { animation-play-state: paused; }
.value-chip { font-family: var(--display); font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--mute); padding: 0 32px; white-space: nowrap; display: flex; align-items: center; gap: 32px; }
.value-chip::after { content:'·'; color: var(--accent); }
@keyframes valuesScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (min-width: 720px) {
  .divisions-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .mv-inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .mv-card + .mv-card { border-top: none; border-left: 1px solid var(--line); padding-left: 56px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .values-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* =============================================================
   18. AUTH / SOLICITUD DE ACCESO
   ============================================================= */
.auth { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr; overflow: hidden; }
.auth-aside { position: relative; padding: 60px var(--gutter) 52px; display: flex; flex-direction: column; justify-content: flex-start; border-bottom: 1px solid var(--line); min-height: auto; }
.auth-aside .hero-gradient { opacity: .35; }
.auth-back { position: absolute; top: 18px; left: var(--gutter); display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--mute); transition: color .25s; width: max-content; z-index: 2; }
.auth-back:hover { color: var(--accent); }
.auth-logo { height: 88px; width: auto; max-width: 82%; margin-top: 4px; margin-bottom: 52px; display: block; }
.auth-kicker { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; }
.auth-headline { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.auth-headline em { font-style: normal; color: var(--accent); }
.auth-aside p { color: var(--mute); font-size: 1rem; line-height: 1.7; max-width: 420px; }
.auth-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.auth-points li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.auth-points li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; box-shadow: 0 0 8px rgba(40,224,112,.5); }

.auth-main { padding: 60px var(--gutter); display: flex; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 520px; }
.auth-card h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--mute); font-size: .92rem; margin-bottom: 30px; }

.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.form-label { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: .01em; }
.form-input, .form-select {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form-input::placeholder { color: var(--mute-2); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40,224,112,.12); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.form-select option { background: var(--bg-2); color: var(--ink); }
.form-hint { font-size: .76rem; color: var(--mute-2); margin-top: 7px; }

/* ── PHONE GROUP (código país + número) ── */
.phone-group { display: flex; gap: 8px; align-items: stretch; }
.phone-code {
  flex: 0 0 auto; width: 104px; padding-left: 13px; padding-right: 30px;
  background-position: right 10px center; font-variant-numeric: tabular-nums;
}
.phone-number { flex: 1 1 auto; min-width: 0; }

.auth-submit { width: 100%; justify-content: center; margin-top: 8px; }
.auth-legal { font-size: .76rem; color: var(--mute-2); margin-top: 18px; line-height: 1.6; text-align: center; }
.auth-legal a { color: var(--mute); text-decoration: underline; }
.auth-alt { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; color: var(--mute); }
.auth-alt a { color: var(--accent); font-weight: 600; }

.form-msg { border-radius: 10px; padding: 13px 15px; font-size: .88rem; line-height: 1.5; margin-bottom: 20px; display: none; }
.form-msg.is-shown { display: block; }
.form-msg.error { background: rgba(255,95,87,.1); border: 1px solid rgba(255,95,87,.3); color: #ff9d97; }
.form-msg.info { background: rgba(40,224,112,.08); border: 1px solid rgba(40,224,112,.25); color: var(--accent); }

/* Success state */
.auth-success { display: none; text-align: center; padding: 20px 0; }
.auth-success.is-shown { display: block; animation: fadeUp .6s var(--ease-out) both; }
.auth-success-mark { width: 64px; height: 64px; border-radius: 50%; background: rgba(40,224,112,.12); border: 1px solid rgba(40,224,112,.3); display: grid; place-items: center; margin: 0 auto 24px; }
.auth-success-mark svg { width: 30px; height: 30px; stroke: var(--accent); }
.auth-success h2 { font-size: 1.7rem; margin-bottom: 12px; }
.auth-success p { color: var(--mute); font-size: .98rem; line-height: 1.7; max-width: 380px; margin: 0 auto 28px; }

@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } .auth-aside { border-bottom: none; border-right: 1px solid var(--line); } }

/* Auth mobile improvements */
@media (max-width: 959px) {
  .auth-aside { padding-top: 56px; padding-bottom: 40px; }
  .auth-back { top: 16px; }
  .auth-logo { height: 72px; max-width: 78%; margin-bottom: 40px; }
  .auth-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .auth-points { display: none; }
}
@media (max-width: 480px) {
  .auth-logo { height: 60px; max-width: 75%; margin-bottom: 32px; }
}

/* =============================================================
   19. LOGIN & RECUPERAR CONTRASEÑA
   ============================================================= */

/* Tabs: Login / Recuperar */
.auth-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 12px 0; text-align: center;
  font-size: .88rem; font-weight: 600; color: var(--mute);
  background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: color .25s, border-color .25s;
  margin-bottom: -1px;
}
.auth-tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.auth-tab:hover:not(.is-active) { color: var(--ink-soft); }

/* Panels */
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }

/* Password field wrapper */
.form-pass-wrap { position: relative; }
.form-pass-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 4px; cursor: pointer;
  color: var(--mute); transition: color .2s; line-height: 0;
}
.form-pass-toggle:hover { color: var(--accent); }
.form-pass-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-pass-wrap .form-input { padding-right: 44px; }

/* Forgot link */
.form-forgot {
  display: block; text-align: right; font-size: .78rem;
  color: var(--mute); margin-top: 8px; transition: color .25s;
}
.form-forgot:hover { color: var(--accent); }

/* State: pending approval */
.auth-pending {
  display: none; text-align: center; padding: 20px 0;
}
.auth-pending.is-shown { display: block; animation: fadeUp .6s var(--ease-out) both; }
.auth-pending-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(245,200,66,0.1); border: 1px solid rgba(245,200,66,0.3);
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 1.8rem;
}
.auth-pending h2 { font-size: 1.5rem; margin-bottom: 10px; }
.auth-pending p { color: var(--mute); font-size: .92rem; line-height: 1.7; max-width: 360px; margin: 0 auto 24px; }

/* Recover success */
.recover-sent { display: none; text-align: center; padding: 16px 0; }
.recover-sent.is-shown { display: block; animation: fadeUp .5s var(--ease-out) both; }
.recover-sent-icon { font-size: 2.5rem; margin-bottom: 16px; }
.recover-sent h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.recover-sent p { color: var(--mute); font-size: .9rem; line-height: 1.65; max-width: 340px; margin: 0 auto 20px; }

/* =============================================================
   20. AUTH ASIDE — bullet alignment fix + trust block
   ============================================================= */

/* Fix browser default padding-inline-start on ul */
.auth-points {
  padding: 0;
  padding-inline-start: 0;
}

/* Align bullet TEXT with the paragraph above:
   use negative margin to pull list left so text lands at same x */
.auth-aside .auth-points {
  margin-left: 0;
}

.auth-aside .auth-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 0;
}

.auth-aside .auth-points li::before {
  margin-top: 7px;
  width: 6px;
  min-width: 6px;
}

/* Trust / stats block at bottom of aside */
.aside-trust {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.aside-trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.aside-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-trust-val {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.aside-trust-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mute);
  font-weight: 500;
}

.aside-trust-tagline {
  font-family: var(--display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--mute-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Make aside a flex column so trust block pushes to bottom */
.auth-aside {
  display: flex !important;
  flex-direction: column;
}

@media (max-width: 959px) {
  .aside-trust { margin-top: 36px; padding-top: 28px; }
  .aside-trust-row { gap: 20px; }
  .aside-trust-val { font-size: 1.3rem; }
}

/* =============================================================
   21. PASSWORD STRENGTH METER
   ============================================================= */
.strength-wrap {
  display: flex; align-items: center; gap: 10px; margin-top: 8px;
}
.strength-track {
  flex: 1; height: 4px; background: var(--mute-2, #424a70);
  border-radius: 4px; overflow: hidden;
}
.strength-fill {
  height: 100%; width: 0%; border-radius: 4px;
  transition: width .4s var(--ease-out, ease), background .4s;
}
.strength-label {
  font-size: .72rem; font-weight: 700; min-width: 72px;
  text-align: right; transition: color .3s;
}

/* =============================================================
   22. LEGAL PAGES (Términos + Privacidad)
   ============================================================= */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.legal-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,5vw,52px); height: 64px;
  background: rgba(5,6,12,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.legal-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.legal-nav-logo img { height: 26px; width: auto; }
.legal-nav-logo span {
  font-family: var(--display); font-weight: 800;
  font-size: 1.1rem; color: var(--ink); letter-spacing: -0.3px;
}
.legal-nav-logo em { color: var(--accent); font-style: normal; }
.legal-back {
  font-size: .85rem; color: var(--mute);
  text-decoration: none; transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.legal-back:hover { color: var(--accent); }

/* Legal content */
.legal-header { margin-bottom: 52px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; color: var(--accent);
  margin-bottom: 14px;
}
.legal-title {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: 16px;
}
.legal-meta { font-size: .85rem; color: var(--mute); line-height: 1.6; }
.legal-meta strong { color: var(--ink-soft); }

/* Risk warning box */
.risk-box {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px; padding: 20px 24px;
  margin-bottom: 40px;
}
.risk-box-title {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: #ef4444; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.risk-box p { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }

/* Sections */
.legal-section { margin-bottom: 44px; }
.legal-section-num {
  font-size: .72rem; font-weight: 800; color: var(--accent);
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; display: block;
}
.legal-section h2 {
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}
.legal-section p {
  font-size: .95rem; color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  margin: 12px 0;
}
.legal-section ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; color: var(--ink-soft); line-height: 1.7;
}
.legal-section ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 8px; flex-shrink: 0;
}
.legal-divider {
  border: none; border-top: 1px solid var(--line);
  margin: 48px 0;
}
.legal-contact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 28px 32px;
  margin-top: 52px;
}
.legal-contact h3 {
  font-family: var(--display); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 10px;
}
.legal-contact p { font-size: .9rem; color: var(--mute); line-height: 1.7; }
.legal-contact a { color: var(--accent); text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

/* TOC */
.legal-toc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px;
  margin-bottom: 40px;
}
.legal-toc h3 { font-family: var(--display); font-size: .9rem; font-weight: 700; margin-bottom: 14px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.legal-toc ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.legal-toc li { font-size: .88rem; }
.legal-toc a { color: var(--mute); text-decoration: none; transition: color .2s; }
.legal-toc a:hover { color: var(--accent); }

/* Footer links fix */
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--muted2); font-size: .78rem; text-decoration: none; transition: color .2s; }
.footer-legal-links a:hover { color: var(--accent); }

/* Auth logo clickable wrapper */
.auth-logo-link { display: inline-block; width: max-content; transition: opacity .2s; }
.auth-logo-link:hover { opacity: .8; }

/* =============================================================
   23. RESULTADOS (Operaciones + Copy Trading)
   ============================================================= */
.results { padding: clamp(60px,9vw,110px) clamp(20px,5vw,80px); }
.results-alt { background: linear-gradient(180deg, transparent, rgba(40,224,112,0.02), transparent); }
.results-block {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(20px,4vw,48px);
  align-items: center; max-width: 1100px; margin: 0 auto;
}
.results-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-metric {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 22px;
  transition: border-color .25s, transform .25s;
}
.result-metric:hover { border-color: rgba(40,224,112,0.3); transform: translateY(-2px); }
.result-val {
  display: block; font-family: var(--display); font-size: clamp(1.8rem,3.5vw,2.4rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink);
}
.result-val.positive { color: var(--accent); }
.result-unit { font-size: .6em; }
.result-lbl { display: block; font-size: .82rem; color: var(--mute); margin-top: 8px; }

.results-chart-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.results-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.results-chart-title { font-family: var(--display); font-weight: 600; font-size: .95rem; }
.results-chart-badge {
  font-family: var(--display); font-weight: 700; font-size: .9rem;
  color: var(--accent); background: rgba(40,224,112,0.1);
  padding: 4px 12px; border-radius: 100px; border: 1px solid rgba(40,224,112,0.2);
}
.results-chart-wrap { position: relative; height: 240px; }
.results-disclaimer {
  max-width: 760px; margin: 36px auto 0; text-align: center;
  font-size: .76rem; color: var(--mute-2,#6b7280); line-height: 1.7;
}

@media (max-width: 820px) {
  .results-block { grid-template-columns: 1fr; }
  .results-alt .results-chart-card { order: -1; }
}

/* ===== 17b. PLATAFORMA (herramientas del ecosistema) ===== */
.platform-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,10vh,110px) var(--gutter); }
.platform-support { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; transition: border-color .4s; }
.platform-support:hover { border-color: var(--line-2); }
.platform-support-text { flex: 1; min-width: 260px; }
.platform-support h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.platform-support h3 span { color: var(--mute); font-weight: 500; }
.platform-support p { color: var(--mute); font-size: .95rem; line-height: 1.7; max-width: 600px; }

/* ===== 17c. PLATAFORMA — showcase rows + interfaces recreadas ===== */
.showcase { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,80px); align-items:center; padding:clamp(40px,7vh,72px) 0; border-top:1px solid var(--line); }
.showcase.reverse .showcase-visual { order:2; }
.showcase.reverse .showcase-text { order:1; }
.showcase-tag { font-size:.72rem; text-transform:uppercase; letter-spacing:.15em; color:var(--accent-dim); font-weight:700; margin-bottom:14px; }
.showcase-title { font-family:var(--display); font-size:clamp(1.4rem,2.8vw,2rem); font-weight:600; letter-spacing:-.03em; line-height:1.12; margin-bottom:16px; }
.showcase-desc { color:var(--mute); font-size:1rem; line-height:1.75; margin-bottom:22px; }
.showcase-list { list-style:none; display:flex; flex-direction:column; gap:11px; padding:0; margin:0; }
.showcase-list li { display:flex; align-items:flex-start; gap:11px; color:var(--ink-soft); font-size:.93rem; line-height:1.5; }
.showcase-list svg { width:18px; height:18px; flex-shrink:0; stroke:var(--accent); fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; margin-top:1px; }

.sc-frame { background:var(--card); border:1px solid var(--line-2); border-radius:16px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.45); }
.sc-bar { display:flex; align-items:center; gap:7px; padding:12px 16px; border-bottom:1px solid var(--line); background:var(--card-2); }
.sc-bar i { width:9px; height:9px; border-radius:50%; background:var(--mute-2); }
.sc-bar span { margin-left:10px; font-size:.72rem; color:var(--mute); }
.sc-body { padding:22px; }

.sig-head { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.sig-pair { font-family:var(--display); font-weight:600; font-size:1.1rem; }
.sig-flex { flex:1; }
.sig-pill { font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:4px 10px; border-radius:6px; }
.sig-pill.buy { background:rgba(40,224,112,.14); color:var(--accent); }
.sig-pill.live { background:rgba(40,224,112,.14); color:var(--accent); display:inline-flex; align-items:center; gap:6px; }
.sig-pill.live::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 6px var(--accent); }
.sig-levels { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.sig-lvl { background:var(--card-2); border-radius:9px; padding:11px 12px; }
.sig-lvl span { display:block; font-size:.64rem; color:var(--mute); text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; }
.sig-lvl b { font-family:var(--display); font-size:1rem; font-weight:600; }
.sig-lvl.sl b { color:#f0807f; }
.sig-lvl.tp b { color:var(--accent); }
.sig-spark { margin:16px 0 6px; display:block; }
.sig-foot { display:flex; justify-content:space-between; align-items:center; font-size:.82rem; color:var(--mute); }
.sig-pips { color:var(--accent); font-family:var(--display); font-weight:600; }

.chatui { display:flex; flex-direction:column; gap:12px; }
.cb { max-width:85%; padding:11px 14px; border-radius:14px; font-size:.88rem; line-height:1.5; }
.cb.user { align-self:flex-end; background:var(--card-2); color:var(--ink-soft); border-bottom-right-radius:4px; }
.cb.bot { align-self:flex-start; background:rgba(40,224,112,.09); border:1px solid rgba(40,224,112,.18); color:var(--ink); border-bottom-left-radius:4px; }
.cb.typing { display:inline-flex; gap:5px; }
.cb.typing i { width:7px; height:7px; border-radius:50%; background:var(--accent); animation:scblink 1.2s infinite; }
.cb.typing i:nth-child(2){ animation-delay:.2s; }
.cb.typing i:nth-child(3){ animation-delay:.4s; }
@keyframes scblink { 0%,60%,100%{opacity:.3;} 30%{opacity:1;} }

.calcui { display:flex; flex-direction:column; }
.cu-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); font-size:.9rem; color:var(--mute); }
.cu-row b { color:var(--ink); font-family:var(--display); font-weight:500; }
.cu-result { display:flex; align-items:baseline; gap:10px; padding-top:18px; }
.cu-big { font-family:var(--display); font-weight:700; font-size:2.6rem; color:var(--accent); line-height:1; }
.cu-unit { color:var(--mute); }
.cu-meta { margin-top:8px; font-size:.82rem; color:var(--ink-soft); }

.plat-extra { display:grid; grid-template-columns:1fr; gap:16px; margin-top:44px; }
.plat-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; transition:border-color .4s, transform .4s var(--ease-out); }
.plat-card:hover { border-color:var(--line-2); transform:translateY(-3px); }
.plat-card h3 { font-size:1.25rem; font-weight:700; letter-spacing:-.02em; margin-bottom:10px; }
.plat-card h3 span { color:var(--mute); font-weight:500; }
.plat-card p { color:var(--mute); font-size:.9rem; line-height:1.6; margin-bottom:16px; }
.pv { background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:14px; }
.pv-cal-row { display:flex; align-items:center; gap:9px; font-size:.8rem; padding:6px 0; }
.pv-cal-row + .pv-cal-row { border-top:1px solid var(--line); }
.pv-flag { font-size:.64rem; font-weight:700; background:var(--card-2); color:var(--ink-soft); padding:3px 7px; border-radius:5px; }
.pv-time { font-family:var(--display); font-weight:600; color:var(--ink); }
.pv-name { color:var(--ink-soft); flex:1; }
.pv-imp { font-size:.6rem; font-weight:700; text-transform:uppercase; padding:2px 6px; border-radius:5px; }
.pv-imp.high { background:rgba(226,75,75,.16); color:#f0807f; }
.pv-imp.med { background:rgba(240,160,40,.16); color:#f0b040; }
.pv-copy { display:flex; align-items:flex-end; justify-content:space-between; }
.pv-copy-big { font-family:var(--display); font-weight:700; font-size:1.9rem; color:var(--accent); line-height:1; }
.pv-bars { display:flex; align-items:flex-end; gap:5px; height:38px; }
.pv-bars i { width:9px; background:rgba(40,224,112,.25); border-radius:2px; }
.pv-bars i.on { background:var(--accent); }
.pv-conn { display:flex; align-items:center; gap:10px; font-size:.85rem; color:var(--ink-soft); }
.pv-conn .dot { width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 7px var(--accent); }
.pv-conn b { font-family:var(--display); font-weight:600; }
@media (min-width:760px){ .plat-extra { grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px){
  .showcase { grid-template-columns:1fr; gap:28px; }
  .showcase.reverse .showcase-visual, .showcase.reverse .showcase-text { order:0; }
  .sc-frame { box-shadow:0 16px 40px rgba(0,0,0,.4); }
}

/* ============================================================
   LIVE RESULTS BAR — Copy Trading en vivo (landing)
   Barra fina fija sobre la nav. Se desliza al hacer scroll.
   ============================================================ */
:root { --livebar-h: 42px; }

.live-bar{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  height: var(--livebar-h);
  background: rgba(5,6,12,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease-out);
}
.live-bar-inner{
  display: flex; align-items: center; gap: 16px;
  max-width: 100%; padding: 0 var(--gutter);
  font-family: var(--sans); font-size: .78rem; white-space: nowrap;
}
.live-bar-tag{ display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.lb-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(40,224,112,.6); animation: lbpulse 2s infinite; flex-shrink: 0; }
@keyframes lbpulse{ 0%{box-shadow:0 0 0 0 rgba(40,224,112,.5)} 70%{box-shadow:0 0 0 7px rgba(40,224,112,0)} 100%{box-shadow:0 0 0 0 rgba(40,224,112,0)} }
.lb-item{ display: inline-flex; align-items: center; gap: 6px; color: var(--mute); }
.lb-item .lb-k{ text-transform: uppercase; letter-spacing: .04em; font-size: .68rem; }
.lb-item b{ color: var(--ink); font-weight: 700; }
.lb-item b.lb-up{ color: var(--accent); }
.lb-item b.lb-down{ color: #ff6b6b; }
.lb-sep{ width: 1px; height: 14px; background: var(--line-2); flex-shrink: 0; }
.lb-cta{ margin-left: 6px; color: var(--ink-soft); font-weight: 600; font-size: .75rem; transition: color .2s; }
.lb-cta:hover{ color: var(--accent); }

/* La nav baja para dejar sitio a la barra; al hacer scroll la barra se oculta y la nav sube */
.nav{ top: var(--livebar-h); }
html.nfx-scrolled .live-bar{ transform: translateY(-100%); opacity: 0; pointer-events: none; }
html.nfx-scrolled .nav{ top: 0; }
.mobile-menu{ top: calc(var(--livebar-h) + 72px); }
html.nfx-scrolled .mobile-menu{ top: 62px; }

/* Móvil: ticker con scroll horizontal y bordes difuminados */
@media (max-width: 720px){
  .live-bar-inner{
    justify-content: flex-start; width: 100%;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
  .live-bar-inner::-webkit-scrollbar{ display: none; }
  .lb-cta{ display: none; }
}

/* ============================================================
   COPY TRADING — sección en vivo (panel completo)
   ============================================================ */
.copy-panel{
  max-width: 1100px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(20px,3vw,34px);
}
.copy-panel-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.copy-strategy{ display: flex; align-items: center; gap: 12px; }
.copy-strategy-dot{
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(40,224,112,0.12); flex-shrink: 0;
}
.copy-strategy-name{ display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.02em; }
.copy-strategy-broker{ display: block; font-size: .82rem; color: var(--mute); margin-top: 2px; }
.copy-live-badge{
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; color: var(--accent);
  background: rgba(40,224,112,0.08); border: 1px solid rgba(40,224,112,0.2);
  padding: 6px 13px; border-radius: 100px;
}
.copy-live-badge.sm{ font-size: .72rem; padding: 4px 10px; }
.clb-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: lbpulse 2s infinite; }

/* KPIs */
.copy-kpis{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-bottom: 24px;
}
.copy-kpi{
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 18px;
  transition: border-color .25s, transform .25s;
}
.copy-kpi:hover{ border-color: rgba(40,224,112,0.3); transform: translateY(-2px); }
.copy-kpi-val{
  display: block; font-family: var(--display); font-size: clamp(1.5rem,2.6vw,2rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink);
}
.copy-kpi-val.positive{ color: var(--accent); }
.copy-kpi-val.negative{ color: #ff6b6b; }
.copy-kpi-lbl{ display: block; font-size: .78rem; color: var(--mute); margin-top: 9px; }

/* Curva + posiciones */
.copy-grid{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.copy-chart, .copy-positions{ margin: 0; }
.copy-pos-list{ display: flex; flex-direction: column; }
.copy-pos-item{
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.copy-pos-item:last-child{ border-bottom: none; }
.copy-pos-l{ display: flex; align-items: center; gap: 9px; }
.copy-pos-pair{ font-family: var(--display); font-weight: 700; font-size: .92rem; color: var(--ink); }
.copy-pos-badge{ font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.copy-pos-badge.buy{ background: rgba(40,224,112,0.12); color: var(--accent); }
.copy-pos-badge.sell{ background: rgba(239,68,68,0.12); color: #ff6b6b; }
.copy-pos-vol{ font-size: .76rem; color: var(--mute); margin-top: 3px; }
.copy-pos-r{ text-align: right; }
.copy-pos-pnl{ font-weight: 700; font-size: .92rem; font-family: var(--display); }
.copy-pos-pnl.up{ color: var(--accent); }
.copy-pos-pnl.down{ color: #ff6b6b; }
.copy-pos-empty{ color: var(--mute); font-size: .86rem; padding: 24px 0; text-align: center; }

@media (max-width: 860px){
  .copy-kpis{ grid-template-columns: repeat(2, 1fr); }
  .copy-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  .copy-kpis{ grid-template-columns: 1fr 1fr; }
}
