/* Landing pública: reutiliza los tokens de styles.css */
body.landing { background: radial-gradient(1000px 520px at 90% -12%, var(--primary-soft), transparent), var(--bg); overflow-x: hidden; }
.landing main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Navegación */
.l-nav { position: sticky; top: 0; z-index: 30; max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; backdrop-filter: saturate(1.4) blur(10px); background: color-mix(in srgb, var(--bg) 78%, transparent); }
.l-nav .brand { color: var(--text); text-decoration: none; padding: 0; }
.l-links { display: flex; gap: 22px; }
.l-links a { color: var(--text-2); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 48px 0 40px; }
.hero-text { display: grid; gap: 20px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); line-height: 1.55; }
.pill-beta { justify-self: start; display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px; border-radius: 99px; background: var(--test-soft); color: var(--test-text); font-weight: 700; font-size: 13px; }
.pill-beta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--test); box-shadow: 0 0 0 4px color-mix(in srgb, var(--test) 25%, transparent); }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.trust li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 6px; }
.btn.lg { padding: 12px 20px; font-size: 15.5px; border-radius: 12px; }

.hero-shot { position: relative; padding-bottom: 30px; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 30px 70px -20px rgba(60, 20, 120, 0.35), var(--shadow-lg); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser .bar i:nth-child(1) { background: #ff5f57; } .browser .bar i:nth-child(2) { background: #febc2e; } .browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 6px; padding: 2px 10px; }
.browser img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.hero-phone { position: absolute; right: -14px; bottom: 0; width: 26%; max-width: 190px; height: auto; aspect-ratio: 1170 / 1900; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #111; box-shadow: var(--shadow-lg); cursor: zoom-in; background: #111; }

/* Secciones */
.section { padding: 56px 0; display: grid; gap: 28px; scroll-margin-top: 64px; }
.section.narrow { max-width: 780px; margin: 0 auto; }
.s-head { text-align: center; display: grid; gap: 8px; justify-items: center; }
.s-head h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.025em; }
.s-head p { color: var(--muted); }
.kicker { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
.step-card p { color: var(--text-2); }
.num { width: 36px; height: 36px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; }

/* Recorrido por las capturas */
.tour { display: grid; grid-template-columns: 330px 1fr; gap: 24px; align-items: start; }
.tour-tabs { display: grid; gap: 8px; }
.tour-tabs button { text-align: left; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; padding: 14px 16px; font: inherit; cursor: pointer; display: grid; gap: 4px; transition: border-color 0.15s, box-shadow 0.15s; }
.tour-tabs button span { color: var(--muted); font-size: 13.5px; }
.tour-tabs button:hover { border-color: var(--border-strong); }
.tour-tabs button.on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.tour-shot img { transition: opacity 0.2s; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); align-content: start; }
.feat span { color: var(--text-2); font-size: 14px; }

.faq { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 18px 16px; color: var(--text-2); }

.cta-band { margin: 30px 0 10px; padding: 46px 24px; border-radius: 22px; background: var(--brand); color: #fff; text-align: center; display: grid; gap: 12px; justify-items: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { opacity: 0.9; }
.cta-band .btn.primary { background: #fff; color: #5b21b6; border-color: #fff; }

.l-foot { max-width: 1180px; margin: 30px auto 0; padding: 24px 20px 40px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.l-foot a { color: var(--text-2); }

/* Ventana del formulario */
#betaModal { width: min(460px, 94vw); }
.beta-modal { position: relative; padding: 28px; }
.beta-modal .close { position: absolute; top: 12px; right: 12px; }
.prefix { max-width: 118px; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.consent input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#betaMsg.err { color: var(--err); }
.done { text-align: center; justify-items: center; padding: 10px 0; }
.ok-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }

/* Ampliar captura */
dialog.zoom { width: auto; max-width: 96vw; max-height: 94vh; padding: 0; background: transparent; box-shadow: none; overflow: visible; }
dialog.zoom img { display: block; max-width: 96vw; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
dialog.zoom .close { position: absolute; top: -14px; right: -14px; border-radius: 50%; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 28px; }
  .hero-text { justify-items: start; }
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .steps, .feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .l-links { display: none; }
  .l-nav .btn.ghost { display: none; }
  .steps, .feats, .tour-tabs { grid-template-columns: 1fr; }
  .tour-tabs button span { display: none; }
  .hero-phone { width: 30%; right: -6px; }
  .section { padding: 40px 0; }
  /* En el móvil el formulario ocupa toda la pantalla */
  #betaModal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .beta-modal { padding: 56px 20px 28px; }
}
