/* Web pública · estilo claro: cabecera azul marino, cuerpo gris claro, tarjetas blancas */
@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url(/fonts/outfit-400.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url(/fonts/outfit-500.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url(/fonts/outfit-600.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-display: swap; src: url(/fonts/outfit-800.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(/fonts/spacegrotesk-700.woff2) format('woff2'); }

:root {
  --navy: #22345c; --navy2: #2f4a80; --navy3: #16223e;
  --bg: #f2f5fa; --card: #ffffff; --line: #e3e8f1;
  --text: #2a3a5a; --muted: #66738c; --dim: #8b96aa;
  --acc: #2f80ed; --acc2: #1f6fdc; --green: #1fb67a; --green2: #22c58a; --gold: #f2b52b;
  --shadow: 0 10px 30px rgba(34,52,92,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--acc); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.todo { background: #ffe29a; color: #4a3500; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* ---------- cabecera ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(34,52,92,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; height: 64px; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 21px/1 'Space Grotesk', 'Outfit', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; color: rgba(255,255,255,.86); font-weight: 500; font-size: 15px; }
.top nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--acc); color: var(--acc); background: #fff; transition: background .15s, color .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: var(--acc); color: #fff; }
.btn:active { transform: scale(.98); }
.btn.solid { background: var(--acc); color: #fff; box-shadow: 0 8px 20px rgba(47,128,237,.28); }
.btn.solid:hover { background: var(--acc2); border-color: var(--acc2); }
.btn.light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn.light:hover { background: #fff; color: var(--navy); }
.btn.white { background: #fff; border-color: #fff; color: var(--green); }
.btn.white:hover { background: #f0fff8; color: #128a5a; }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { border-color: var(--line); color: var(--dim); pointer-events: none; }
@media (max-width: 820px) { .top nav { display: none; } .top .btn.sm { margin-left: auto; } }

/* ---------- portada: cabecera azul ---------- */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 64px 0 76px;
  background: radial-gradient(ellipse 60% 70% at 20% 30%, rgba(90,130,210,.35), transparent 70%), radial-gradient(ellipse 50% 60% at 85% 70%, rgba(70,110,200,.30), transparent 70%), linear-gradient(180deg, #34508a 0%, #2a4275 60%, #263c6b 100%); }
.hero .badge-logo { width: 118px; height: 118px; margin: 0 auto 26px; border-radius: 30px; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 60px 10px rgba(110,160,255,.45); }
.hero h1 { font-size: 50px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; max-width: 820px; margin: 0 auto; }
.hero h1 span { display: block; color: #c9d6f2; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.88); margin: 18px auto 28px; max-width: 600px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.notice { max-width: 640px; margin: 34px auto 0; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: 14.5px; color: rgba(255,255,255,.92); text-align: left; }
.notice b { color: #ffd772; }
@media (max-width: 760px) { .hero { padding: 44px 0 56px; } .hero h1 { font-size: 34px; } .hero .badge-logo { width: 92px; height: 92px; border-radius: 24px; } }

/* ---------- secciones ---------- */
section.block { padding: 72px 0 8px; }
section.block .head { text-align: center; max-width: 680px; margin: 0 auto; }
section.block h2 { font-size: 34px; font-weight: 600; letter-spacing: -.5px; line-height: 1.15; color: var(--navy); }
section.block .sub { color: var(--muted); font-size: 16.5px; margin-top: 10px; }
section.block .sub b { color: var(--acc); font-weight: 600; }
@media (max-width: 760px) { section.block { padding-top: 56px; } section.block h2 { font-size: 27px; } }

.card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* precios */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; align-items: stretch; }
.price { position: relative; padding: 34px 26px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.price h3 { font-size: 18px; font-weight: 600; color: var(--navy); }
.price .amount { font-size: 46px; font-weight: 500; color: var(--navy); line-height: 1.1; margin: 8px 0 12px; letter-spacing: -1px; }
.price .amount small { font-size: 22px; vertical-align: top; margin-left: 2px; }
.price p { font-size: 15px; color: var(--muted); flex: 1; max-width: 260px; }
.price .btn { margin-top: 24px; }
.price.trial { background: linear-gradient(150deg, var(--green2), var(--green)); border: 0; color: #fff; }
.price.trial h3, .price.trial .amount { color: #fff; } .price.trial p { color: rgba(255,255,255,.92); }
.price.best { border: 1.5px solid var(--gold); }
.price .ribbon { position: absolute; top: -12px; right: 18px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: #3b2a00; }
.paynote { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

/* funciones */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feat { padding: 26px; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: #eaf2fe; margin-bottom: 14px; }
.feat h3 { font-size: 18px; font-weight: 600; color: var(--navy); }
.feat p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* capturas */
.showcase { margin-top: 34px; padding: 22px; }
.showcase .tv { border-radius: 10px; }
.gallery { display: flex; gap: 16px; margin-top: 22px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.gallery figure { flex: 0 0 210px; scroll-snap-align: start; }
.gallery img { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

/* aparatos y descargas */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.dev { padding: 24px; text-align: center; }
.dev .em { font-size: 34px; }
.dev b { display: block; font-size: 18px; margin-top: 8px; color: var(--navy); }
.dev span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.pill { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #e4f8ef; color: #12875a; }
.pill.soon { background: #fff4d8; color: #8a6300; }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr 1fr; } }

.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.dlc { padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dlc h3 { font-size: 19px; color: var(--navy); } .dlc p { color: var(--muted); font-size: 15px; flex: 1; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; counter-reset: s; }
.step { padding: 26px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 17px; background: var(--acc); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 18px; color: var(--navy); } .step p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin: 30px auto 0; padding: 8px 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 10px; }

.cta { margin-top: 72px; padding: 46px 24px; text-align: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #34508a, #263c6b); }
section.block .cta h2 { font-size: 30px; font-weight: 600; color: #fff; } .cta p { color: rgba(255,255,255,.85); margin: 8px 0 22px; }

/* ---------- pie ---------- */
footer { margin-top: 80px; background: linear-gradient(100deg, #3a4f78 0%, #2a3c62 60%, #141d33 100%); color: rgba(255,255,255,.82); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 26px; padding: 46px 0 28px; }
footer .brand { font: 700 24px/1 'Space Grotesk', 'Outfit', sans-serif; color: #fff; letter-spacing: .5px; }
footer .brand + p { margin-top: 10px; color: rgba(255,255,255,.65); max-width: 260px; }
footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
footer a { display: block; color: rgba(255,255,255,.8); text-decoration: none; padding: 3px 0; }
footer a:hover { color: #fff; }
footer a.warn { color: #ffd060; }
footer .copy { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 26px; text-align: center; color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- páginas legales ---------- */
.legal-head { background: linear-gradient(180deg, #34508a, #2a4275); color: #fff; padding: 46px 0 40px; text-align: center; }
.legal-head h1 { font-size: 36px; font-weight: 700; letter-spacing: -.5px; line-height: 1.15; }
.legal-head .date { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 6px; }
.legal { max-width: 820px; margin: -22px auto 0; padding: 34px 38px 40px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.legal > h1, .legal > .date { display: none; }
.legal h2 { font-size: 20px; color: var(--navy); margin: 30px 0 8px; }
.legal h2:first-of-type { margin-top: 10px; }
.legal p, .legal li { color: #3d4b66; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin-top: 8px; } .legal li { margin: 4px 0; }
.legal .box { background: #f3f7fd; border: 1px solid #dfe8f6; border-radius: 12px; padding: 16px 18px; margin: 4px 0 18px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 760px) { .legal { margin: -18px 12px 0; padding: 24px 20px 30px; } .legal-head h1 { font-size: 28px; } .legal table { font-size: 14px; } }
