/* Nexus Tweaks: mismos colores que la app (App.xaml) */
:root {
  --bg: #0A0F1F;
  --panel: #0F1630;
  --line: #1D2747;
  --text: #EEF1FA;
  --muted: #8E99B8;
  --violet: #6C63FF;
  --violet-hi: #8A83FF;
  --cyan: #5AB8FF;
  --ok: #2FD07F;
  --warn: #FFB547;
  --hot: #FF5A5A;
  --display: "Saira Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --gutter: 24px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--cyan); }
a:hover { color: #8fd0ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 28px; }
p { margin: 0 0 14px; max-width: 64ch; }
.lead { font-size: 20px; color: #C9D0E6; max-width: 54ch; }
.fine { font-size: 14px; color: var(--muted); }
.section-lead { color: #C9D0E6; margin-bottom: 32px; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: var(--violet); color: #fff; text-decoration: none;
  font: 600 16px/1 var(--body); border: 1px solid var(--violet);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--violet-hi); border-color: var(--violet-hi); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel); border-color: #2c3a66; color: var(--text); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn-big { min-height: 58px; padding: 0 30px; font-size: 18px; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 5; background: rgba(10, 15, 31, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 22px/1 var(--display); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav { display: none; } .top-in .btn-small { margin-left: auto; } }

/* portada: el overlay es el protagonista */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

.screen { margin: 0; }
.frame { position: relative; }
.scene {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #070b18;
}
.sky { position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 10%, #2a2470 0%, #121a3f 45%, #070b18 80%); }
.ridge { position: absolute; left: -10%; right: -10%; bottom: 0; }
.r1 { height: 40%; background: #10183a; clip-path: polygon(0 60%, 14% 30%, 26% 52%, 40% 18%, 55% 46%, 68% 24%, 82% 50%, 100% 28%, 100% 100%, 0 100%); }
.r2 { height: 28%; background: #0c1330; clip-path: polygon(0 40%, 18% 62%, 33% 30%, 47% 58%, 62% 36%, 78% 64%, 92% 40%, 100% 52%, 100% 100%, 0 100%); }
.r3 { height: 12%; background: #080d22; }
.cross { position: absolute; left: 64%; top: 56%; width: 22px; height: 22px; transform: translate(-50%, -50%); }
.cross::before, .cross::after { content: ""; position: absolute; background: rgba(90, 184, 255, .85); }
.cross::before { left: 10px; top: 0; width: 2px; height: 22px; }
.cross::after { top: 10px; left: 0; height: 2px; width: 22px; }

.hud {
  position: absolute; top: 18px; left: 18px;
  background: rgba(8, 12, 26, .78); border: 1px solid rgba(110, 120, 170, .35); border-radius: 10px;
  padding: 14px 20px 12px; font-family: var(--display); font-variant-numeric: tabular-nums;
  min-width: 300px;
}
.hud-row { display: flex; align-items: baseline; gap: 14px; line-height: 1.25; }
.hud .k { width: 56px; color: #B8C2DC; font-weight: 500; font-size: 20px; }
.hud .v { font-weight: 700; font-size: 24px; color: #fff; }
.hud .v.big { font-size: 46px; min-width: 84px; line-height: 1.05; }
.hud .low { color: var(--ok); }
.hud .ok { color: var(--ok); }
.hud .warn { color: var(--warn); }
.rec {
  position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px;
  background: rgba(8, 12, 26, .82); border: 1px solid rgba(110, 120, 170, .35); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; color: #dfe4f3; opacity: 0; transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}
.rec.show { opacity: 1; transform: none; }
.rec .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.screen figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) {
  .hud { top: 10px; left: 10px; min-width: 0; padding: 8px 12px; }
  .hud .k { width: 40px; font-size: 15px; } .hud .v { font-size: 17px; } .hud .v.big { font-size: 28px; min-width: 52px; }
  .rec { right: 10px; bottom: 10px; font-size: 13px; }
}

/* bloques */
.block { padding: 88px 0; border-bottom: 1px solid var(--line); }
.alt { background: #0C1226; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.split-head { position: sticky; top: 96px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-head { position: static; } .block { padding: 64px 0; } }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 4px; border-radius: 5px; background: var(--ok); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks b { font-weight: 600; }
.checks span { color: var(--muted); }

/* comparación antes / después (como en la app) */
.compare { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 8px 22px 18px; }
.c-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.c-row span:not(:first-child) { text-align: right; font-family: var(--display); font-size: 20px; font-weight: 600; }
.c-head span { color: var(--muted); font-family: var(--body) !important; font-size: 15px !important; font-weight: 500 !important; }
.c-row .up { color: var(--ok); }
.c-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .compare { padding: 6px 14px 14px; } .c-row { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; font-size: 15px; } .c-row span:not(:first-child) { font-size: 17px; } }

/* editor */
.editor { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
.phone { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid #1a2240; overflow: hidden; background: #0d1330; }
.ph-game { position: absolute; left: 0; right: 0; top: 12%; height: 32%; background: linear-gradient(160deg, #2a2470, #10183a 70%); }
.ph-cam { position: absolute; left: 0; right: 0; top: 44%; height: 30%; background: #00d26a22; display: grid; place-items: end center; }
.vt { width: 46%; height: 82%; background: #ff9f43; border-radius: 48% 48% 10px 10px / 60% 60% 10px 10px; }
.ph-text { position: absolute; top: 4%; left: 0; right: 0; text-align: center; font: 800 20px/1 var(--display); color: #fff; -webkit-text-stroke: 1px #000; text-shadow: 0 3px 0 #000; }
.ph-sub { position: absolute; bottom: 12%; left: 8%; right: 8%; text-align: center; font: 700 15px/1.2 var(--display); color: #fff; text-shadow: 0 2px 0 #000; }
.ph-sub u { text-decoration: none; color: #FFD60A; }
.feats { margin: 0; padding: 0 0 0 20px; }
.feats li { margin: 0 0 12px; }
.feats li::marker { color: var(--violet-hi); }
@media (max-width: 560px) { .editor { grid-template-columns: 1fr; } .phone { width: 200px; margin: 0 auto; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 12px; }
.trio p { color: var(--muted); }
.trio b { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; gap: 18px; } }

/* precios */
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; background: var(--panel); }
.plan-pro { border-color: var(--violet); box-shadow: inset 0 0 0 1px rgba(108, 99, 255, .35); }
.plan ul { list-style: none; margin: 8px 0 24px; padding: 0; flex: 1; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); }
.price { color: var(--muted); }
.price span { font: 700 44px/1 var(--display); color: var(--text); margin-right: 4px; }
.buy { display: grid; gap: 10px; }
.plan .fine { margin: 14px 0 0; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* preguntas */
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); max-width: 820px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 500 28px/1 var(--display); color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #C9D0E6; padding-bottom: 8px; }

/* descarga */
.dl { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.dl p { color: var(--muted); }

/* pie */
.foot { padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* páginas legales */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 26px; margin-top: 36px; }
.legal p, .legal li { color: #C9D0E6; }
.legal .draft { border: 1px solid var(--warn); color: var(--warn); border-radius: 10px; padding: 12px 16px; font-size: 15px; }

/* capturas reales de la app */
.shots { margin-top: 8px; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shot-tabs button { font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.shot-tabs button:hover { color: var(--text); border-color: #2c3a66; }
.shot-tabs button[aria-selected="true"] { color: #fff; background: var(--violet); border-color: var(--violet); }
.shot-tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #070b18; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* línea pequeña encima del titular (SEO: qué es Nexus) */
.kicker{margin:0 0 .6rem;color:var(--cyan);font-family:"Saira Condensed",sans-serif;font-weight:600;font-size:1rem;letter-spacing:.08em;text-transform:uppercase}
