:root {
  --ink: #0b1020;
  --ink-2: #2b3247;
  --muted: #5d6680;
  --line: #e4e7ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --accent: #3b6cff;
  --accent-ink: #2450e0;
  --warm: #ffb547;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(11, 16, 32, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 108, 255, .7); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

/* Barra superior */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(11, 16, 32, .2); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #7c5cff); position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 3px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.nav-login { font-weight: 700 !important; color: var(--ink) !important; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; margin-left: 4px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-btn span + span { margin-top: 7px; }
.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Portada */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 500px at 85% -10%, rgba(59, 108, 255, .14), transparent 60%), radial-gradient(700px 400px at -10% 20%, rgba(255, 181, 71, .14), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
.hl { background: linear-gradient(transparent 62%, rgba(255, 181, 71, .55) 62%); padding: 0 .08em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin-top: 20px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.hero-checks li::before { content: "✓"; color: #1fa463; font-weight: 800; margin-right: 8px; }

/* Ilustración: TV + celular */
.hero-visual { position: relative; padding: 10px 0 40px; }
.tv { position: relative; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; border: 10px solid #141a2b; box-shadow: var(--shadow); overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 8% 9%; color: #fff; opacity: 0; animation: slide 12s infinite; }
.slide small { font-size: clamp(11px, 1.2vw, 14px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.slide b { font-size: clamp(22px, 3.2vw, 40px); line-height: 1.1; margin: 8px 0; max-width: 85%; }
.slide span { font-size: clamp(12px, 1.3vw, 16px); opacity: .9; }
.s1 { background: linear-gradient(135deg, #ff7a45, #ffb547); }
.s2 { background: linear-gradient(135deg, #1fa463, #0f7a5c); animation-delay: 4s; }
.s3 { background: linear-gradient(135deg, #3b6cff, #7c5cff); animation-delay: 8s; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.03); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: #141a2b; border-radius: 0 0 10px 10px; }
.phone { position: absolute; right: -10px; bottom: 0; width: 36%; max-width: 200px; aspect-ratio: 9 / 18.5; background: #0f1115; border: 7px solid #1d2232; border-radius: 30px; box-shadow: var(--shadow); padding: 18px 10px 10px; color: #f2f4f8; }
.phone-notch { position: absolute; top: 6px; left: 50%; width: 34%; height: 8px; background: #1d2232; border-radius: 6px; transform: translateX(-50%); }
.phone-ui { display: flex; flex-direction: column; gap: 6px; font-size: 10px; }
.pu-title { font-weight: 800; font-size: 14px; margin: 4px 2px 4px; }
.pu-card { display: flex; gap: 7px; align-items: center; background: #181b22; border: 1px solid #2a2f3a; border-radius: 9px; padding: 7px; }
.pu-card b { display: block; font-size: 10.5px; }
.pu-card small { color: #9aa3b2; font-size: 9px; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #555; }
.dot.on { background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); }
.pu-btn { margin-top: 4px; text-align: center; background: #4f8cff; border-radius: 9px; padding: 7px; font-weight: 700; }

.devices { margin-top: 48px; text-align: center; }
.devices p { color: var(--muted); font-size: 14px; font-weight: 600; }
.devices ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.devices li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Secciones */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.f-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.use span { font-size: 30px; }
.use h3 { font-size: 18px; margin: 12px 0 6px; }
.use p { color: var(--muted); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.price { margin: 16px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 14px; }
.plan-desc { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

.cta { padding: 0 0 96px; }
.cta-box { background: linear-gradient(135deg, var(--ink), #1d2a5c); color: #fff; border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta-box h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; max-width: 720px; margin: 0 auto; }
.cta-box p { color: #c3cbe0; margin: 14px 0 28px; font-size: 17px; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--ink); }
.copy { margin-left: auto; color: var(--muted); font-size: 14px; }

/* Aparición */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-checks { justify-content: center; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* Celular */
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; box-shadow: 0 20px 30px -20px rgba(11, 16, 32, .3); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-inner { gap: 12px; }
  .hero { padding-top: 32px; }
  .section { padding: 72px 0; }
  .steps, .features, .uses { grid-template-columns: 1fr; }
  .phone { width: 34%; right: 0; border-width: 5px; border-radius: 22px; }
  .phone-ui { font-size: 8px; gap: 4px; }
  .pu-card { padding: 5px; }
  .pu-card small { display: none; }
  .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { animation: none; }
  .s1 { opacity: 1; }
}
