/* Portada de IngSimulator: héroe animado, vitrinas por herramienta y bandas. */
body.landing .wrap { max-width: 1200px; }
main.landing { padding: 0; }
.lx { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
:root { --lx-screen: #0c0e11; --lx-screen-line: #262a30; --lx-glow: rgba(120, 140, 160, .14); }
@media (prefers-color-scheme: dark) { :root { --lx-glow: rgba(160, 180, 200, .08); } }

/* ---------- Héroe ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; opacity: .45; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero .lx { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.hero .kicker i { width: 7px; height: 7px; border-radius: 50%; background: #2fa864; box-shadow: 0 0 0 4px rgba(47, 168, 100, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 168, 100, 0); } }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.025em; margin: 20px 0 18px; text-wrap: balance; }
.hero h1 .rot { display: inline-block; color: var(--ink-2); }
.hero h1 .rot span { display: inline-block; animation: rotin .5s ease both; }
@keyframes rotin { from { opacity: 0; transform: translateY(.35em); } }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn2 { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn2:hover { border-color: var(--ink-3); }
.btn2.primary { background: var(--gold); border-color: var(--gold-edge); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(20, 24, 30, .18); }
.btn2 svg { width: 16px; height: 16px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--ink-3); font-size: 13.5px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust svg { width: 15px; height: 15px; color: #2fa864; }

/* Pantalla del héroe */
.stage { position: relative; }
.screen { position: relative; border-radius: 16px; background: var(--lx-screen); border: 1px solid var(--lx-screen-line); box-shadow: 0 30px 80px rgba(10, 14, 20, .28), 0 0 0 8px var(--lx-glow); overflow: hidden; }
.screen .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--lx-screen-line); background: #121519; }
.screen .bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3138; }
.screen .bar b { margin-left: 10px; font: 500 11.5px var(--mono); color: #8b9097; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frames { position: relative; aspect-ratio: 16 / 10; background: var(--lx-screen); }
.frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; transform: scale(1.02); }
.frames img.on { opacity: 1; animation: kb 6s ease-out both; }
@keyframes kb { from { transform: scale(1.06) translate(1%, 1%); } to { transform: scale(1.0); } }
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip2 { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(10, 14, 20, .18); font: 600 13px var(--mono); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; animation: chipin .6s cubic-bezier(.2, .8, .2, 1) both, float 6s ease-in-out infinite .6s; }
.chip2 small { font: 500 11px var(--font); color: var(--ink-3); letter-spacing: .02em; }
.chip2 .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa864; flex: none; }
.chip2.a { left: -22px; top: 22%; }
.chip2.b { right: -18px; bottom: 16%; animation-delay: .15s, .9s; }
@keyframes chipin { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes float { 50% { transform: translateY(-6px); } }
.stage .tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; justify-content: center; }
.stage .tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font: 500 12.5px var(--font); cursor: pointer; position: relative; overflow: hidden; }
.stage .tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink-3); }
.stage .tabs button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--ink); width: 0; animation: prog var(--dur, 5s) linear forwards; }
.paused .tabs button[aria-pressed="true"]::after, .paused .prog i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

/* ---------- Cifras ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--surface); }
.stats .lx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 30px var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-3); font-size: 14px; }

/* ---------- Herramientas ---------- */
.sec { padding-block: 72px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; margin: 6px 0 0; max-width: 20ch; }
.sec-head p { color: var(--ink-2); max-width: 36em; margin: 0; }
.eyebrow2 { font: 600 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tool { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 30px 0; }
.tool + .tool { border-top: 1px solid var(--line); }
.tool:nth-child(even) .media { order: 2; }
.media { position: relative; }
.media .screen { box-shadow: 0 20px 60px rgba(10, 14, 20, .2); }
.media .cap { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(12, 14, 17, .78); color: #eceae5; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); }
.media .cap .n { font: 600 11px var(--mono); color: #9aa1a9; flex: none; }
.media .cap span { animation: rotin .45s ease both; }
.prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.prog i { display: block; height: 100%; width: 0; background: #c4c9cf; }
.prog i.run { animation: prog var(--dur, 5s) linear forwards; }
.tool .info h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 10px; display: flex; align-items: center; gap: 12px; }
.tool .info h3 .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); flex: none; }
.tool .info h3 .ic svg { width: 24px; height: 24px; }
.tool .info > p { color: var(--ink-2); margin: 0 0 18px; }
.steps2 { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 4px; }
.steps2 li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); cursor: pointer; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.steps2 li .k { font: 600 11px var(--mono); color: var(--ink-3); width: 22px; flex: none; }
.steps2 li[aria-current="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 600; }
.steps2 li[aria-current="true"] .k { color: var(--ink); }
.tool .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tool .tags span { font: 500 12px var(--mono); color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: var(--surface); }
.soon-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.soon-row div { padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-3); }
.soon-row b { display: block; color: var(--ink-2); margin: 4px 0 4px; font-size: 16px; }
.soon-row em { font: 600 10.5px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Bandas ---------- */
.band { border-block: 1px solid var(--line); background: var(--surface); }
.band .lx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 60px; }
.band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 8px 0 12px; }
.band p { color: var(--ink-2); }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.feat b { display: block; margin-bottom: 4px; }
.feat span { color: var(--ink-3); font-size: 14px; }
.price-band { text-align: center; padding-block: 72px; }
.price-band .tag { display: inline-block; font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border: 1px dashed var(--ink-3); border-radius: 999px; color: var(--ink-2); }
.price-band h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.02em; margin: 16px auto 10px; max-width: 22ch; }
.price-band p { color: var(--ink-2); max-width: 40em; margin: 0 auto 24px; }
.price-band .nums { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.price-band .nums div { min-width: 170px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.price-band .nums b { display: block; font-size: 26px; letter-spacing: -.02em; }
.price-band .nums span { color: var(--ink-3); font-size: 13px; }

/* ---------- Adaptación ---------- */
@media (max-width: 960px) {
  .hero .lx { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 52px; }
  .tool { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tool:nth-child(even) .media { order: 0; }
  .band .lx { grid-template-columns: minmax(0, 1fr); }
  .stats .lx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chip2.a { left: 8px; top: 12px; }
  .chip2.b { right: 8px; bottom: 12px; }
}
@media (max-width: 560px) {
  .hero .kicker { font-size: 10px; letter-spacing: .1em; }
  .soon-row, .feat { grid-template-columns: minmax(0, 1fr); }
  .hero .lead { font-size: 17px; }
  .chip2 { font-size: 11.5px; padding: 7px 10px; }
  .chip2 small { display: none; }
  .media .cap { font-size: 12.5px; left: 8px; right: 8px; bottom: 8px; }
  .sec { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
