:root {
  --bg: #0b0e13; --bg2: #0f131a; --panel: #151a22; --panel2: #1b212b; --border: #232a36; --border2: #2e3746;
  --text: #e8ebf0; --muted: #8e98a8; --dim: #5f6876;
  --accent: #f0a429; --accent-hover: #ffb84d; --accent-soft: rgba(240,164,41,.12); --on-accent: #17120a;
  --up: #19c37d; --up-soft: rgba(25,195,125,.12); --down: #ef4b55; --down-soft: rgba(239,75,85,.10);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Navegación ---------- */
nav.top { position: sticky; top: 0; z-index: 20; background: rgba(11,14,19,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
nav.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo img { width: 30px; height: 30px; border-radius: 7px; }
.logo b { color: var(--accent); }
nav.top .links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
nav.top .links a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.top .links a:hover { color: var(--text); }
nav.top .links a.btn { color: var(--on-accent); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 10px; font: 600 15px var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgba(240,164,41,.22); }
.btn.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn.ghost:hover { background: var(--panel); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn.lg { height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- Secciones ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2.title { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 48px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(1000px 480px at 50% -80px, rgba(240,164,41,.17), transparent 70%); }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border2); background: rgba(21,26,34,.7); color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.hero .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px var(--up-soft); }
.hero h1 { font-size: clamp(36px, 6.2vw, 66px); line-height: 1.05; letter-spacing: -.035em; margin: 0 auto 22px; max-width: 900px; }
.hero h1 span { color: var(--accent); }
.hero p.sub { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 700px; margin: 0 auto 34px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .micro { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero .micro span::before { content: '✓ '; color: var(--up); font-weight: 700; }
.shot { margin: 64px auto 0; max-width: 1080px; border-radius: 14px 14px 0 0; border: 1px solid var(--border2); border-bottom: 0; overflow: hidden; background: var(--panel);
  box-shadow: 0 -20px 80px rgba(240,164,41,.08), 0 40px 120px rgba(0,0,0,.6); }
.shot .bar { display: flex; gap: 7px; padding: 11px 14px; background: #10141b; border-bottom: 1px solid var(--border); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a313d; }
.shot img { display: block; width: 100%; height: auto; }
.compat { border-top: 1px solid var(--border); padding: 26px 0; color: var(--dim); font-size: 14px; text-align: center; }
.compat b { color: var(--muted); font-weight: 600; margin: 0 10px; }

/* ---------- Problema ---------- */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 24px; position: relative; }
.pain .x { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--down-soft); color: var(--down); font-weight: 800; margin-bottom: 14px; }
.pain h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.pain p { margin: 0; color: var(--muted); }
.bridge { margin: 56px auto 0; max-width: 760px; text-align: center; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; letter-spacing: -.01em; }
.bridge b { color: var(--accent); font-weight: 600; }

/* ---------- Solución ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: linear-gradient(180deg, var(--panel), rgba(21,26,34,.4)); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.pillar .n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.pillar h3 { margin: 10px 0 8px; font-size: 22px; letter-spacing: -.015em; }
.pillar p { margin: 0; color: var(--muted); }
.pillar .before { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border2); font-size: 14px; color: var(--dim); }
.pillar .before b { color: var(--up); font-weight: 600; }

/* ---------- Funciones ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.feat .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.feat h3 { margin: 14px 0 6px; font-size: 16px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feat .tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--panel); }
.step::before { counter-increment: s; content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Comparación ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--panel2); font-size: 14px; color: var(--muted); font-weight: 600; }
.compare thead th.us { color: var(--accent); }
.compare td:first-child { font-weight: 600; width: 26%; }
.compare td.no { color: var(--muted); }
.compare td.no::before { content: '✕  '; color: var(--down); font-weight: 700; }
.compare td.yes { background: rgba(240,164,41,.04); }
.compare td.yes::before { content: '✓  '; color: var(--up); font-weight: 700; }

/* ---------- Precios ---------- */
.toggle { display: flex; justify-content: center; margin-bottom: 36px; }
.toggle div { display: inline-flex; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.toggle button { border: 0; background: none; color: var(--muted); font: 600 14px var(--font); padding: 9px 22px; border-radius: 999px; cursor: pointer; }
.toggle button.on { background: var(--panel2); color: var(--text); }
.toggle span { color: var(--up); font-size: 12px; margin-left: 4px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.price.rec { border-color: rgba(240,164,41,.65); box-shadow: 0 0 0 1px rgba(240,164,41,.25), 0 30px 70px rgba(0,0,0,.4); background: linear-gradient(180deg, rgba(240,164,41,.06), var(--panel) 40%); }
.price .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.price h3 { margin: 0; font-size: 20px; }
.price .for { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 44px; }
.price .amt { font-size: 46px; font-weight: 700; letter-spacing: -.03em; margin: 14px 0 0; }
.price .amt small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price .save { color: var(--up); font-size: 13px; min-height: 20px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.price li { padding: 6px 0 6px 26px; position: relative; color: #c5ccd6; font-size: 15px; }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--up); font-weight: 700; }
.price .btn { width: 100%; }
.assure { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14px; }
.assure span::before { content: '✓ '; color: var(--up); font-weight: 700; }

/* ---------- Fundador ---------- */
.founder { max-width: 820px; margin: 0 auto; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 40px; position: relative; }
.founder::before { content: '“'; position: absolute; top: -8px; left: 28px; font-size: 96px; line-height: 1; color: var(--accent); opacity: .5; font-family: Georgia, serif; }
.founder p { font-size: 18px; color: #cdd3dc; margin: 0 0 14px; }
.founder .sig { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* ---------- CTA final ---------- */
.final { text-align: center; padding: 100px 0; background: radial-gradient(800px 360px at 50% 120%, rgba(240,164,41,.16), transparent 70%); }
.final h2 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.025em; margin: 0 0 14px; line-height: 1.1; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 32px; }

/* ---------- Pie ---------- */
footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .risk { flex-basis: 100%; font-size: 12px; line-height: 1.6; color: var(--dim); }

/* ---------- Páginas internas (términos, privacidad, cuenta) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .upd { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; text-align: left; }
.doc p, .doc li { color: #c3cad5; }
.card { max-width: 420px; margin: 80px auto; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; }
.card h1 { font-size: 24px; margin: 12px 0 8px; }
.card p { color: var(--muted); }
.card form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 16px; }
.card label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; }
.card input { height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 0 14px; font: 15px var(--font); }
.msg { border-radius: 10px; padding: 10px 14px; margin-top: 12px; }
.msg.err { background: rgba(239,75,85,.12); color: #ff8a92; }
.msg.ok { background: rgba(25,195,125,.12); color: #5fe0a6; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .pillars, .steps, .prices { grid-template-columns: 1fr; }
  .price.rec { order: -1; }
}
@media (max-width: 720px) {
  section { padding: 68px 0; }
  .pains { grid-template-columns: 1fr; }
  nav.top .links a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .hero .cta .btn { width: 100%; }
  .compare th, .compare td { padding: 12px; font-size: 14px; }
  .compare td:first-child { width: auto; }
  .founder { padding: 30px 22px; }
}
@media (max-width: 520px) {
  .feats { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .compare td { border: 0; padding: 6px 14px; }
  .compare td.no::after { content: ' (hoy)'; color: var(--dim); font-size: 12px; }
}
