/* Web pública de Nexus. Sin fuentes ni scripts externos: rápida y sin rastreo. */
:root {
  --bg: #05060d;
  --bg2: #0a0c1a;
  --panel: rgba(18, 20, 42, .72);
  --panel-solid: #10122a;
  --line: rgba(146, 120, 255, .18);
  --line-strong: rgba(146, 120, 255, .45);
  --text: #e4e6ff;
  --muted: #9097c0;
  --violet: #8b5cf6;
  --violet-light: #b9a2ff;
  --blue: #1e90ff;
  --cyan: #00e5ff;
  --ok: #22e39a;
  --warn: #ffb020;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; } }
body {
  margin: 0; color: var(--text); font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1100px 650px at 75% -10%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(30, 144, 255, .12), transparent 60%), var(--bg);
  min-height: 100vh;
}
a { color: var(--violet-light); }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 60px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 19px; }
.grad { background: linear-gradient(90deg, #fff, var(--violet-light) 45%, var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); background: rgba(5, 6, 13, .72);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3em; color: #fff; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.beta { font-size: 11px; letter-spacing: .08em; font-weight: 700; padding: 3px 8px; border-radius: 99px; color: var(--ok);
  border: 1px solid rgba(34, 227, 154, .45); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(139, 92, 246, .14); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 10px; padding: 7px 11px; font-size: 18px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px 16px 16px; background: rgba(5, 6, 13, .97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { text-align: center; }
}

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 600; background: rgba(16, 18, 42, .8); }
.btn:hover { border-color: var(--violet-light); color: #fff; }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 10px 40px rgba(139, 92, 246, .35); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.big { padding: 16px 28px; font-size: 18px; border-radius: 14px; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.nav .btn { padding: 8px 14px; margin-left: 6px; }

/* portada */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.lead { font-size: 19px; color: #c6c9ee; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 28px 0 10px; }
.dl-meta { font-size: 13px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); color: #c6c9ee; background: var(--panel); }

/* maqueta de la app (solo CSS) */
.mock { position: relative; min-height: 380px; padding-bottom: 120px; }
.win { border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(180deg, #0d1024, #070816);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(139, 92, 246, .15); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12px;
  color: var(--muted); letter-spacing: .12em; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2f55; }
.win-bar b { margin-left: 6px; color: #fff; letter-spacing: .25em; }
.win-main { width: 92%; }
.win-files { position: absolute; right: -6px; bottom: 0; width: 50%; }
@media (max-width: 520px) { .mock { padding-bottom: 0; } .win-files { position: relative; right: 0; width: 100%; margin-top: 14px; } .win-main { width: 100%; } }
.chat { padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.orb { width: 92px; height: 92px; margin: 4px auto 6px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 4%, #b9a2ff 10%, rgba(139, 92, 246, .55) 34%, transparent 62%);
  box-shadow: 0 0 0 1px rgba(146, 120, 255, .45), 0 0 0 12px rgba(146, 120, 255, .06), 0 0 50px rgba(139, 92, 246, .55);
  animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 1px rgba(146, 120, 255, .6), 0 0 0 18px rgba(146, 120, 255, .04), 0 0 70px rgba(30, 144, 255, .6); } }
.msg { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); max-width: 85%; background: rgba(16, 18, 42, .9); }
.msg.me { align-self: flex-end; background: rgba(139, 92, 246, .2); border-color: rgba(139, 92, 246, .45); }
.card-file { margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 10px; display: flex;
  align-items: center; gap: 8px; font-size: 12px; }
.card-file span { margin-left: auto; padding: 3px 8px; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--blue)); color: #fff; }
.files { padding: 10px; display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.frow { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 9px; background: rgba(16, 18, 42, .85); }
.ico { width: 30px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; }
.ico.py { background: #1f6f8b; } .ico.html { background: #c2541b; } .ico.png { background: #6b3fa0; } .ico.exe { background: #4a5568; }
.frow em { margin-left: auto; font-style: normal; color: var(--violet-light); }

/* secciones */
section { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 30px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.feature:hover { border-color: var(--line-strong); }
.feature .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(139, 92, 246, .16); border: 1px solid var(--line-strong); }
.feature .fi svg { width: 22px; height: 22px; fill: none; stroke: var(--violet-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin: 0; color: #c0c3e6; font-size: 15px; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10, 12, 26, .6); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }

/* planes */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  display: flex; flex-direction: column; gap: 10px; }
.plan.hl { border-color: var(--violet); box-shadow: 0 0 0 1px rgba(139, 92, 246, .4) inset, 0 16px 50px rgba(139, 92, 246, .18); }
.plan h3 { letter-spacing: .14em; margin: 0; }
.price { font-size: 34px; font-weight: 800; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 15px; color: #c6c9ee; }
.plan li::before { content: "✓"; color: var(--ok); margin-right: 8px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.tag.now { color: var(--ok); border: 1px solid rgba(34, 227, 154, .45); }
.tag.soon { color: var(--warn); border: 1px solid rgba(255, 176, 32, .45); }
.notice { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 176, 32, .4); background: rgba(255, 176, 32, .07);
  color: #ffe3b0; margin-bottom: 26px; }
table.units { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 10px; }
table.units th, table.units td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.units th { color: var(--violet-light); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }

/* guía */
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps > li { counter-increment: s; position: relative; padding: 18px 18px 18px 66px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel); }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--violet), var(--blue)); }
.smartscreen { margin-top: 12px; border: 1px solid #2a5ea8; border-radius: 6px; background: #0b3a75; color: #fff; padding: 16px 18px;
  font-family: "Segoe UI", sans-serif; max-width: 520px; }
.smartscreen b { display: block; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.smartscreen u { color: #fff; }
.smartscreen .ss-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.smartscreen .ss-btns span { border: 1px solid #fff; padding: 4px 14px; font-size: 14px; }
code, .hash { font-family: "Cascadia Code", Consolas, monospace; font-size: 14px; }
.hash { display: block; word-break: break-all; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #070816; color: #d9d2ff; margin: 8px 0; user-select: all; }
pre { overflow-x: auto; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #070816; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; }
.kv b { color: var(--violet-light); font-weight: 600; }

/* pie */
footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
