:root {
  --bg: #070A14;
  --bg-alt: #0B1020;
  --surface: #111729;
  --surface-2: #161D33;
  --line: rgba(255, 255, 255, .08);
  --text: #EEF1F8;
  --muted: #9AA3B8;
  --pink: #FF4F7E;
  --cyan: #38C6EE;
  --purple: #7A4DF7;
  --yellow: #FFC23D;
  --grad: linear-gradient(90deg, var(--pink), var(--purple));
  --grad-btn: linear-gradient(90deg, #E0306A, #6A3BE8); /* contraste AA con texto blanco */
  --radius: 18px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.eyebrow { font: 600 .8rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 15px 26px; border-radius: 999px; border: 0; background: var(--grad-btn); color: #fff; font: 700 1rem/1 var(--head); text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(122, 77, 247, .7); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255, 79, 126, .7); }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }

/* Brand */
.brand { display: inline-flex; align-items: baseline; gap: .28em; text-decoration: none; font: 500 1.65rem/1 "Montserrat", sans-serif; letter-spacing: -.03em; }
.brand__x { width: .6em; height: .6em; }
.ia { position: relative; }
.ia::after { content: ""; position: absolute; left: .02em; right: .05em; bottom: -.13em; height: .08em; min-height: 2px; border-radius: 9px; background: var(--grad); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 10, 20, .72); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero__glow { position: absolute; inset: -30% -10% auto; height: 720px; background: radial-gradient(40% 50% at 25% 40%, rgba(122, 77, 247, .28), transparent 70%), radial-gradient(35% 45% at 80% 30%, rgba(56, 198, 238, .18), transparent 70%), radial-gradient(30% 40% at 60% 70%, rgba(255, 79, 126, .14), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.stats div { border-left: 2px solid var(--line); padding-left: 14px; }
.stats dt { font: 800 1.9rem/1 var(--head); }
.stats dd { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }

.video-card { margin: 0; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(122, 77, 247, .25); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding: 22px; border: 0; color: #fff; text-align: left; cursor: pointer; background: linear-gradient(0deg, rgba(7, 10, 20, .85), transparent 55%); font: 700 1.05rem/1.25 var(--head); }
.video-card__play small { display: block; font: 400 .85rem var(--body); color: var(--muted); }
.video-card__icon svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-btn); font-size: 1.2rem; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); transition: transform .2s; }
.video-card__play:hover .video-card__icon { transform: scale(1.08); }
.video-card.is-playing .video-card__play { display: none; }
.video-card__frame[data-player] video { cursor: pointer; }
.player { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.player[hidden] { display: none; }
.player__btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; transition: background .2s; }
.player__btn:hover { background: rgba(255, 255, 255, .12); }
.player__btn svg { width: 20px; height: 20px; }
.player__btn .i-play, .player.is-paused .player__btn .i-pause, .player__btn .i-mute, .player.is-muted .player__btn .i-vol { display: none; }
.player.is-paused .player__btn .i-play, .player.is-muted .player__btn .i-mute { display: block; }
.player__time { font: 600 .82rem/1 ui-monospace, Consolas, monospace; color: var(--muted); min-width: 36px; text-align: center; }
.player__bar { flex: 1; min-width: 60px; height: 6px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #E0306A, #6A3BE8) 0 / var(--p, 0%) 100% no-repeat, rgba(255, 255, 255, .12); }
.player__bar::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(122, 77, 247, .35); }
.player__bar::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.video-card__frame:fullscreen { border-radius: 0; border: 0; }
.video-card figcaption { margin-top: 12px; color: var(--muted); font-size: .88rem; text-align: center; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 18px 0; }
.strip p { margin: 0; font-weight: 500; font-size: .95rem; color: var(--muted); }
.strip span { margin-right: 6px; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section .narrow + .container, .section .narrow + ol.container { margin-top: 48px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { color: var(--muted); margin: 0; }
.card__tag { display: inline-block; font: 700 .72rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; margin-bottom: 16px; }
.tag--pink { background: rgba(255, 79, 126, .14); color: var(--pink); }
.tag--yellow { background: rgba(255, 194, 61, .14); color: var(--yellow); }
.tag--cyan { background: rgba(56, 198, 238, .14); color: var(--cyan); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px; background: var(--grad); font: 800 1.1rem var(--head); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs button { font: 600 .95rem var(--head); color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tabs button[aria-selected="true"] { color: #fff; background: var(--grad-btn); border-color: transparent; }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tabpanel[hidden] { display: none; }
.kpis { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kpis li { padding: 12px 16px 12px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; position: relative; color: var(--muted); font-size: .96rem; }
.kpis li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.kpis strong { color: var(--text); font-weight: 600; }

/* Feed mock */
.feed { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #05070D; }
.feed__bar { display: flex; justify-content: space-between; padding: 10px 14px; font: 600 .75rem/1 ui-monospace, Consolas, monospace; color: #c7cede; background: rgba(255, 255, 255, .04); }
.rec { color: var(--pink); }
.feed { margin: 0; }
.feed__scene, .real__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05070D; }
.feed__scene img, .real__img img { width: 100%; height: 100%; object-fit: cover; }
.bbox { position: absolute; border: 2px solid; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .25); }
.bbox span { position: absolute; left: -2px; bottom: 100%; margin-bottom: 4px; white-space: nowrap; font: 700 .66rem/1 var(--head); padding: 5px 7px; border-radius: 4px; color: #070A14; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.bbox--lb span { bottom: auto; top: 100%; margin: 4px 0 0; }
.bbox--yellow { border-color: var(--yellow); } .bbox--yellow span { background: var(--yellow); }
.bbox--cyan { border-color: var(--cyan); } .bbox--cyan span { background: var(--cyan); }
.bbox--purple { border-color: var(--purple); } .bbox--purple span { background: var(--purple); color: #fff; }
.bbox--pink { border-color: var(--pink); } .bbox--pink span { background: var(--pink); color: #fff; }
.counter { position: absolute; right: 12px; bottom: 12px; backdrop-filter: blur(6px); background: rgba(7, 10, 20, .8); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; font-size: .78rem; color: var(--muted); }
.counter b { display: block; color: var(--text); font: 800 1.3rem var(--head); }
.feed__alert { padding: 12px 14px; font-weight: 600; font-size: .9rem; background: linear-gradient(90deg, rgba(255, 79, 126, .18), rgba(122, 77, 247, .12)); border-top: 1px solid var(--line); }

/* Real case */
.real { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(56, 198, 238, .35); background: #05070D; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.real figcaption { padding: 12px 14px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.realstats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 28px; }
.realstats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.realstats dt { font: 800 1.7rem/1 var(--head); background: linear-gradient(90deg, var(--cyan), #9b7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.realstats dd { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }

/* Panel mock */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(56, 198, 238, .15); color: var(--cyan); font-size: .75rem; font-weight: 800; }
.checks strong { color: var(--text); }
.mock { position: relative; padding-bottom: 40px; }
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.dash__top { display: flex; justify-content: space-between; margin-bottom: 18px; }
.dash__title { font: 700 1rem var(--head); }
.live { font: 700 .72rem var(--head); color: var(--pink); letter-spacing: .08em; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.dash__kpis small { color: var(--muted); font-size: .75rem; display: block; }
.dash__kpis b { font: 800 1.45rem/1.3 var(--head); display: block; }
.dash__kpis em { font-style: normal; font-size: .72rem; color: var(--muted); }
.dash__kpis .up { color: #4ade80; } .dash__kpis .down { color: #4ade80; }
.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin-top: 16px; padding: 12px; background: var(--surface-2); border-radius: 12px; }
.dash__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan), var(--purple)); opacity: .9; }
.dash__note { margin: 10px 0 0; font-size: .72rem; color: var(--muted); }
.phone { position: absolute; right: -10px; bottom: 0; width: 260px; background: #0b141a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 26px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.phone__head { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 10px; }
.phone__head b { font-size: .85rem; display: block; } .phone__head small { color: #8a9aa5; font-size: .72rem; }
.phone__avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 800 .9rem var(--head); }
.msg { background: #1f2c34; border-radius: 4px 12px 12px 12px; padding: 8px 10px; font-size: .78rem; line-height: 1.4; margin-bottom: 8px; }
.msg__img { display: block; height: 60px; margin-top: 6px; border-radius: 6px; background: linear-gradient(135deg, #3a2a2a, #6b3b2f 40%, #2a2f3d); position: relative; }
.msg__img::after { content: ""; position: absolute; left: 30%; top: 15%; width: 35%; height: 70%; border: 2px solid var(--pink); border-radius: 4px; }

/* Features */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature__icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare__col li { padding-left: 30px; position: relative; }
.compare__col--before { background: var(--surface); color: var(--muted); }
.compare__col--before li::before { content: "✕"; position: absolute; left: 0; color: #6b7280; font-weight: 800; }
.compare__col--after { background: linear-gradient(160deg, rgba(122, 77, 247, .22), rgba(255, 79, 126, .1)); border-color: rgba(122, 77, 247, .45); }
.compare__col--after li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }

/* Trial */
.trial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 28px; background: radial-gradient(80% 120% at 0% 0%, rgba(122, 77, 247, .25), transparent 60%), var(--surface); border: 1px solid rgba(122, 77, 247, .35); }
.trial p:last-child { margin: 0; }
.trial__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trial__steps li { display: flex; gap: 14px; align-items: center; background: rgba(7, 10, 20, .55); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.trial__steps b { min-width: 92px; font: 700 .85rem var(--head); color: var(--cyan); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font: 600 1.02rem var(--head); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--cyan); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Booking */
.booking__frame { margin-top: 36px; background: #fff; border-radius: var(--radius); overflow: hidden; width: min(900px, 100% - 32px); }
.booking__frame iframe { width: 100%; height: 760px; border: 0; }
.booking__fallback { margin-top: 16px; color: var(--muted); }
.booking__fallback a { color: var(--cyan); font-weight: 600; }

.closing { padding: 80px 0 96px; }
.closing__line { font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1.3 var(--head); max-width: 760px; margin: 0 auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: .92rem; }
.footer__inner { display: grid; gap: 10px; justify-items: start; }
.footer p { margin: 0; }
.footer .brand { color: var(--text); margin-bottom: 8px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero__grid, .split, .tabpanel, .trial { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feed { position: relative; top: 0; }
  .mock { padding-bottom: 0; }
  .phone { position: relative; right: auto; margin: -40px 0 0 auto; }
}
@media (max-width: 720px) {
  .bbox span { font-size: .58rem; padding: 4px 5px; }
  .player { gap: 8px; padding: 8px 10px; }
  .player [data-duration] { display: none; }
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 48px; }
  .cards3, .grid6, .compare, .steps { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stats dt { font-size: 1.45rem; }
  .stats dd { font-size: .78rem; }
  .strip__inner { justify-content: flex-start; }
  .trial { padding: 28px 20px; }
  .header .btn--sm { padding: 10px 14px; font-size: .82rem; }
  .brand { font-size: 1.4rem; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__kpis div:last-child { grid-column: span 2; }
  .phone { width: 100%; margin: 16px 0 0; }
  .booking__frame iframe { height: 900px; }
  .tabs button { flex: 1 1 100%; }
}
