/* Fasty — landing. Sin fuentes externas (tipografía del sistema), sin JS de terceros. */
:root {
  --brand: #1f5bff; --brand-2: #7b3cff; --accent: #ffa81f;
  --ink: #0b1631; --ink-2: #33415c; --muted: #5d6b86;
  --bg: #ffffff; --bg-2: #f6f8fd; --line: #e2e7f2; --card: #ffffff;
  --ok: #12a150;
  --shadow: 0 1px 2px rgba(11, 22, 49, .06), 0 12px 32px rgba(11, 22, 49, .08);
  --radius: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --brand: #4f7dff; --brand-2: #9a6bff; --accent: #ffb63d;
  --ink: #edf1fb; --ink-2: #c9d2e6; --muted: #97a4bd;
  --bg: #0a1020; --bg-2: #0f1729; --line: #26324d; --card: #121a2c;
  --ok: #3dd68c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 10px 14px; background: var(--brand); color: #fff; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------ Navegación */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--brand); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 22px; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.theme { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme .i-moon, [data-theme="dark"] .theme .i-sun { display: none; }
[data-theme="dark"] .theme .i-moon { display: block; }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 25, .15) 0%, rgba(5, 10, 25, .55) 45%, rgba(5, 10, 25, .9) 100%), linear-gradient(90deg, rgba(31, 91, 255, .35), transparent 60%); }
.hero-in { position: relative; padding: 120px 0 72px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 850; letter-spacing: -.035em; }
.lead { max-width: 560px; margin-top: 18px; font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, .9); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-weight: 650; font-size: 14px; margin-bottom: 20px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3dd68c; box-shadow: 0 0 0 4px rgba(61, 214, 140, .25); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 700; text-decoration: none; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px rgba(31, 91, 255, .35); }
.btn.ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; color: rgba(255, 255, 255, .88); font-size: 15px; }
.badges li::before { content: "✓"; margin-right: 8px; color: #3dd68c; }

/* ------------------------------------------------------------ Secciones */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--bg-2); }
.kicker { color: var(--brand); font-weight: 750; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.kicker.light { color: #b9c9ff; }
.sub { max-width: 660px; margin-top: 14px; color: var(--muted); font-size: 18px; }
.sub.light { color: rgba(255, 255, 255, .82); }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; }
.page-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.card-body p { color: var(--muted); font-size: 15.5px; }
.card-body .price { margin-top: 8px; color: var(--ink-2); }
.card-body .price strong { color: var(--ink); font-size: 18px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 18px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.steps p { color: var(--muted); margin-top: 4px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

.drivers { background: radial-gradient(900px 500px at 0% 0%, rgba(123, 60, 255, .45), transparent), linear-gradient(135deg, #0b1631, #12245e); color: #fff; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; color: rgba(255, 255, 255, .9); }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 214, 140, .2); color: #3dd68c; font-size: 13px; font-weight: 800; }
.stat-card { padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.stat-label { color: rgba(255, 255, 255, .7); font-weight: 600; }
.stat-big { font-size: 46px; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 18px; }
.bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.bar-you { width: 92%; background: linear-gradient(90deg, #3dd68c, #12a150); }
.bar-us { width: 8%; background: rgba(255, 255, 255, .35); }
.stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat-row.muted { color: rgba(255, 255, 255, .65); }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 15px; }
.pill.on { background: color-mix(in srgb, var(--ok) 14%, transparent); border-color: color-mix(in srgb, var(--ok) 40%, transparent); color: var(--ok); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--muted); }

.center-cta { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-weight: 700; color: var(--ink-2); }
.credits { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }

.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: 15px; }
.foot-in nav { display: flex; gap: 18px; margin-left: auto; }
.foot-in nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

@media (max-width: 980px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .theme { margin-left: auto; }
}
@media (max-width: 560px) {
  .cards, .features { grid-template-columns: 1fr; }
  .hero-in { padding: 96px 0 48px; }
  .foot-in nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
