/* GX Play – landing one-page (mobile-first) */
:root {
	--ink: #15132e;
	--ink-2: #1d1a3f;
	--panel: #221f4a;
	--line: rgba(236, 233, 255, .12);
	--text: #f2f0ff;
	--muted: #aea9d3;
	--amber: #ffb547;
	--amber-soft: rgba(255, 181, 71, .16);
	--violet: #8b7cff;
	--wa: #25d366;
	--wa-ink: #05301a;
	--radius: 14px;
	--display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.gx-landing { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
.gx-landing img { max-width: 100%; height: auto; }
.gx-landing a { color: inherit; }
.gx-landing h1, .gx-landing h2, .gx-landing h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.gx-landing h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); }
.gx-landing h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.gx-landing p { margin: 0; }
.gx-muted { color: var(--muted); }
.gx-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.gx-skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.gx-skip:focus { left: 8px; }
.gx-landing :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Botones */
.gx-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 1rem/1 var(--body); text-decoration: none; border-radius: 999px; padding: .9em 1.4em; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; cursor: pointer; }
.gx-btn:active { transform: translateY(1px); }
.gx-btn--wa { background: var(--wa); color: var(--wa-ink); }
.gx-btn--wa:hover { background: #3ee07d; }
.gx-btn--ghost { border-color: var(--line); color: var(--text); }
.gx-btn--ghost:hover { border-color: var(--muted); }
.gx-btn--lg { font-size: 1.05rem; padding: 1.05em 1.6em; }
.gx-btn--sm { font-size: .9rem; padding: .6em 1em; }
.gx-btn--block { width: 100%; }
.gx-ico-wa { width: 1.25em; height: 1.25em; flex: none; }

/* Cabecera */
.gx-header { position: sticky; top: 0; z-index: 20; background: rgba(21, 19, 46, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .gx-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .gx-header { top: 32px; } }
.gx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.gx-logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.gx-logo img { display: block; max-height: 36px; width: auto; }
.gx-logo__mark { background: var(--amber); color: var(--ink); border-radius: 7px; padding: 2px 7px 3px; }
.gx-nav { display: none; gap: 28px; }
.gx-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.gx-nav a:hover { color: var(--text); }
@media (min-width: 760px) { .gx-nav { display: flex; } }

/* Hero */
.gx-hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.gx-hero::before { content: ""; position: absolute; inset: -20% -10% auto 30%; height: 640px; background: radial-gradient(closest-side, rgba(139, 124, 255, .32), transparent 70%); pointer-events: none; }
.gx-hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.gx-hero h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); max-width: 13ch; }
.gx-lead { margin-top: 20px !important; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.gx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gx-actions .gx-btn { flex: 1 1 auto; }
.gx-note { margin-top: 14px !important; color: var(--muted); font-size: .95rem; }
.gx-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px !important; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--text); background: rgba(255, 255, 255, .03); }
.gx-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
@media (min-width: 900px) {
	.gx-hero { padding: 88px 0 104px; }
	.gx-hero__grid { grid-template-columns: 1.1fr .9fr; }
	.gx-actions .gx-btn { flex: 0 0 auto; }
}

/* Televisor ilustrado */
.gx-tv { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.gx-tv__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; border: 10px solid #0d0b22; background: linear-gradient(160deg, #2c2768, #191542 60%); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(139, 124, 255, .55); }
.gx-tv__glow { position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 10%, rgba(255, 181, 71, .35), transparent 55%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); }
.gx-tv__guide { position: absolute; left: 7%; bottom: 10%; width: 52%; display: grid; gap: 8px; }
.gx-tv__row { display: flex; gap: 8px; align-items: center; }
.gx-tv__row i { width: 22%; aspect-ratio: 16 / 10; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.gx-tv__row b { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.gx-tv__row--on i { background: var(--amber); }
.gx-tv__row--on b { background: rgba(255, 181, 71, .55); }
.gx-tv__brand { position: absolute; right: 8%; top: 12%; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; color: rgba(255, 255, 255, .92); letter-spacing: -.04em; }
.gx-tv__live { position: absolute; right: 8%; bottom: 12%; font-size: .78rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: #ff4d6a; color: #fff; }
.gx-tv__stand { width: 34%; height: 14px; margin: 0 auto; background: #0d0b22; border-radius: 0 0 10px 10px; }
.gx-tv__led { position: absolute; left: 50%; bottom: 20px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 2px var(--amber); animation: gx-led 3.2s ease-in-out infinite; }
@keyframes gx-led { 50% { opacity: .35; } }

/* Secciones */
.gx-section { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .gx-section { padding: 104px 0; } }

/* Beneficios */
.gx-benefits__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px 40px; }
.gx-benefits__list li { padding-top: 20px; border-top: 1px solid var(--line); }
.gx-benefits__list p { margin-top: 8px; color: var(--muted); max-width: 40ch; }
.gx-icon { width: 30px; height: 30px; color: var(--amber); margin-bottom: 14px; display: block; }
@media (min-width: 640px) { .gx-benefits__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gx-benefits__list { grid-template-columns: repeat(3, 1fr); } }

/* Planes */
.gx-plans { background: var(--ink-2); }
.gx-plans__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.gx-plans__head .gx-muted { margin-top: 10px; }
.gx-region { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); }
.gx-region__opt { font: 600 .95rem/1 var(--body); color: var(--muted); background: none; border: 0; padding: .7em 1.2em; border-radius: 999px; cursor: pointer; }
.gx-region__opt[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.gx-plans__grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .gx-plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gx-plans__grid { grid-template-columns: repeat(4, 1fr); } }
.gx-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.gx-plan--featured { border: 2px solid var(--amber); }
.gx-plan__tag { position: absolute; top: -13px; left: 20px; background: var(--amber); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.gx-plan__screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; max-width: 150px; }
.gx-plan__screens span { aspect-ratio: 16 / 10; border-radius: 4px; border: 1.5px solid rgba(236, 233, 255, .22); }
.gx-plan__screens .is-on { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px rgba(255, 181, 71, .45); }
.gx-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin: 4px 0 2px !important; }
.gx-plan__cur { font-family: var(--display); font-size: 1.4rem; font-weight: 600; align-self: flex-start; margin-top: .35em; }
.gx-plan__amount { font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.gx-plan__per { color: var(--muted); font-size: .95rem; }
.gx-plan__desc { color: var(--muted); font-size: .97rem; flex: 1; margin-bottom: 8px !important; }

/* Pasos (secuencia real) */
.gx-steps__list { list-style: none; counter-reset: gx-step; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.gx-steps__list li { counter-increment: gx-step; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px; }
.gx-steps__list li::before { content: counter(gx-step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); background: var(--text); }
.gx-steps__list p { color: var(--muted); }
@media (min-width: 860px) {
	.gx-steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
	.gx-steps__list li { grid-template-columns: 1fr; }
	.gx-steps__list li::before { grid-row: auto; margin-bottom: 10px; }
}

/* Dispositivos */
.gx-devices__inner { display: grid; gap: 28px; }
.gx-devices__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gx-devices__list li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
@media (min-width: 900px) { .gx-devices__inner { grid-template-columns: .8fr 1.2fr; align-items: center; } }

/* FAQ */
.gx-faq__inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .gx-faq__inner { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.gx-faq__item { border-bottom: 1px solid var(--line); }
.gx-faq__item:first-child { border-top: 1px solid var(--line); }
.gx-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.08rem; }
.gx-faq__item summary::-webkit-details-marker { display: none; }
.gx-faq__item summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--amber); transition: transform .2s ease; }
.gx-faq__item[open] summary::after { transform: rotate(45deg); }
.gx-faq__item p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Cierre */
.gx-final { padding: 80px 0 96px; text-align: center; background: radial-gradient(60% 120% at 50% 100%, rgba(139, 124, 255, .3), transparent 70%); border-top: 1px solid var(--line); }
.gx-final__inner { display: grid; justify-items: center; gap: 16px; }
.gx-final p { color: var(--muted); margin-bottom: 12px; }

/* Pie */
.gx-footer { border-top: 1px solid var(--line); padding: 40px 0 96px; font-size: .95rem; }
.gx-footer__inner { display: grid; gap: 24px; }
.gx-footer__brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px !important; }
.gx-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gx-footer__links a { color: var(--muted); }
.gx-footer__links a:hover { color: var(--text); }
@media (min-width: 860px) { .gx-footer { padding-bottom: 48px; } .gx-footer__inner { grid-template-columns: 2fr 1fr; } .gx-footer__copy { grid-column: 1 / -1; } }

/* Botón flotante (móvil) */
.gx-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.gx-float .gx-ico-wa { width: 30px; height: 30px; }
@media (min-width: 860px) { .gx-float { display: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gx-tv__led { animation: none; }
	.gx-btn, .gx-faq__item summary::after { transition: none; }
}
