/* LabsProject · web comercial */
:root {
  --bg: #050818; --card: #0b1130; --card-2: rgba(255, 255, 255, .035); --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .15);
  --text: #eef3fb; --text-2: #c3cce2; --muted: #8e9abb; --cyan: #22e3dc; --blue: #3b82f6; --violet: #7c5cff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", system-ui, sans-serif; letter-spacing: -.5px; margin: 0; }
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
kbd { font: 600 12px ui-monospace, Menlo, monospace; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--card-2); }
.mono { font-family: ui-monospace, Menlo, monospace; }

/* Barra superior */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100vw - 1180px) / 2)); background: rgba(5, 8, 24, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -.2px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #04101f; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.nav nav { display: flex; gap: 22px; margin: 0 auto; }
.nav nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.nav-cta { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: #fff; color: #0b1130; text-decoration: none; }

/* Portada */
.hero { position: relative; text-align: center; padding: 90px 20px 40px; overflow: hidden; }
.glow { position: absolute; inset: -10% 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(520px 420px at 50% 30%, rgba(34, 227, 220, .28), transparent 70%), radial-gradient(700px 520px at 30% 45%, rgba(59, 130, 246, .25), transparent 70%), radial-gradient(600px 500px at 72% 50%, rgba(124, 92, 255, .22), transparent 70%); filter: blur(10px); }
.hero > *:not(.glow) { position: relative; }
.hero-icon { width: 200px; height: 200px; filter: drop-shadow(0 30px 70px rgba(34, 227, 220, .35)); }
.eyebrow { margin: 26px 0 10px; color: var(--cyan); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.07; font-weight: 600; }
.grad { background: linear-gradient(90deg, var(--cyan), #6aa5ff 55%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; margin: 20px auto 0; color: var(--text-2); font-size: 18px; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.btn-dl { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 12px; background: #fff; color: #0b1130; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-dl.ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-2); }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.center { text-align: center; }

/* Ventana de ejemplo */
.app-mock { width: min(980px, 100%); margin: 60px auto 0; border-radius: 18px; border: 1px solid var(--line-2); background: #0a1029; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(34, 227, 220, .08); overflow: hidden; text-align: left; }
.mock-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-body { display: grid; grid-template-columns: 76px 280px 1fr; height: 380px; }
.mock-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; background: rgba(255, 255, 255, .02); }
.av { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 700 13px system-ui; color: #fff; background: var(--c); opacity: .7; }
.av.on { opacity: 1; box-shadow: 0 0 0 2px #0a1029, 0 0 0 4px var(--cyan); }
.av b { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 10px; background: #ff3b30; font-size: 11px; display: grid; place-items: center; border: 2px solid #0a1029; }
.av.add { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); font-size: 20px; opacity: 1; }
.mock-list { border-right: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mock-search { height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.mock-row { display: flex; gap: 10px; align-items: center; }
.mock-row i { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); flex: none; }
.mock-row span { height: 10px; border-radius: 6px; flex: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); }
.mock-row.hot { padding: 6px; margin: -6px; border-radius: 12px; background: rgba(34, 227, 220, .08); }
.mock-chat { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(500px 300px at 70% 0%, rgba(59, 130, 246, .12), transparent 70%); }
.bub { height: 34px; width: 46%; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.bub.out { align-self: flex-end; background: linear-gradient(135deg, rgba(34, 227, 220, .55), rgba(59, 130, 246, .55)); }
.bub.short { width: 28%; } .bub.long { width: 58%; height: 50px; }
.mock-input { position: absolute; left: 22px; right: 22px; bottom: 18px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); }

/* Secciones */
.section { max-width: 1180px; margin: 0 auto; padding: 90px 20px 20px; }
.section > h2 { font-size: clamp(28px, 4vw, 42px); text-align: center; font-weight: 600; }
.sub { text-align: center; color: var(--text-2); margin: 12px auto 0; max-width: 620px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 44px; }
.feat { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.feat h3 { font-size: 19px; margin: 16px 0 8px; }
.feat p { margin: 0; color: var(--text-2); font-size: 15px; }
.fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.fi svg { width: 22px; height: 22px; }
.c1 { color: #22e3dc; background: rgba(34, 227, 220, .12); } .c2 { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.c3 { color: #c4b5fd; background: rgba(124, 92, 255, .16); } .c4 { color: #6aa5ff; background: rgba(59, 130, 246, .15); }
.c5 { color: #34d399; background: rgba(52, 211, 153, .12); } .c6 { color: #fb7185; background: rgba(251, 113, 133, .12); }

.privacy-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; padding: 36px; border-radius: 24px; border: 1px solid rgba(34, 227, 220, .3);
  background: linear-gradient(135deg, #0b1440, #101c55 60%, #0d2a4a); }
.privacy-card h2 { font-size: 30px; }
.privacy-card p { color: var(--text-2); }
.privacy-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.privacy-card li { padding-left: 30px; position: relative; }
.privacy-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(34, 227, 220, .16); border: 1px solid var(--cyan); }
.privacy-card li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px; border: solid var(--cyan); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(34, 227, 220, .55); background: linear-gradient(180deg, rgba(34, 227, 220, .09), var(--card) 45%); box-shadow: 0 30px 80px rgba(34, 227, 220, .12); }
.badge { position: absolute; top: -12px; left: 30px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #04101f; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.plan h3 { font-size: 20px; }
.price { font-size: 46px; font-weight: 700; margin-top: 14px; letter-spacing: -1px; }
.per { margin: 0; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; color: var(--text-2); }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 700; margin-right: 10px; }
.btn-plan { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0; font-family: inherit; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #04101f; text-decoration: none; cursor: pointer; }
.btn-plan.ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-2); }
.btn-plan[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 40px auto 0; max-width: 760px; }
.dl { padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dl h3 { font-size: 20px; margin-top: 8px; }
.dl p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; margin-top: 40px; }
.prod { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.prod img { border-radius: 11px; }
.prod h3 { font-size: 16px; }
.prod p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.prod > div { flex: 1; }
.pi { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 700 14px system-ui; color: #fff; background: var(--c); }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.tag.ok { color: #34d399; border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); }

.foot { max-width: 1180px; margin: 100px auto 0; padding: 30px 20px 50px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 14px; }
.foot b { color: var(--text); }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.disclaimer { flex-basis: 100%; font-size: 12px; margin: 6px 0 0; }

/* Ventana de compra */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(2, 4, 14, .7); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(480px, 100%); padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.modal-card h2 { font-size: 22px; padding-right: 30px; }
.x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.m-price { font-size: 40px; font-weight: 700; margin: 10px 0 6px; }
.m-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); margin: 12px 0 22px; }
.m-lead { color: var(--text-2); }
.m-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.modal-card .btn-plan { width: 100%; }

/* Página de privacidad */
.doc { max-width: 760px; margin: 0 auto; padding: 70px 20px 20px; }
.doc h1 { font-size: 40px; margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav { justify-content: space-between; }
  .mock-body { grid-template-columns: 64px 1fr; }
  .mock-chat { display: none; }
  .privacy-card { grid-template-columns: 1fr; padding: 26px; }
}
