/* Sólo la página principal. Las páginas legales siguen con styles.css. */
:root {
	--bg: #0a0f0a;
	--bg-alt: #0d140e;
	--surface: #121a13;
	--surface-2: #1c2620;
	--border: #223024;
	--text: #e8ece8;
	--muted: #a3ada4;
	--green: #30e87a;
	--green-dark: #0a0f0a;
	--amber: #f59e0b;
	--radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 Roboto, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.green { color: var(--green); }

/* Botones */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 10px 22px; border-radius: 999px;
	font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.15;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn-primary { background: var(--green); color: var(--green-dark); box-shadow: 0 8px 24px rgba(48, 232, 122, .25); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(48, 232, 122, .4); }
.btn-ghost { border: 1px solid #2f4334; color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--green); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
/* Botón propio y no la insignia oficial: la imagen viene de los servidores de Google. */
.btn-play { background: #000; color: #fff; border: 1px solid #2b3a2f; border-radius: 14px; text-align: left; }
.btn-play svg { color: var(--green); }
.btn-play small { display: block; font-size: 11px; font-weight: 400; color: #b8c4bb; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 15, 10, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(34, 48, 36, .7); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 9px; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top-nav > a:not(.btn) { color: var(--muted); text-decoration: none; }
.top-nav > a:not(.btn):hover { color: var(--text); }

/* Etiquetas */
.pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(48, 232, 122, .1); border: 1px solid rgba(48, 232, 122, .3);
	color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* Marco de teléfono */
.phone {
	position: relative; width: 100%; max-width: 270px; margin: 0 auto;
	padding: 9px; border-radius: 38px;
	background: #050805; border: 1px solid #2a3b2d;
	box-shadow: 0 0 0 1px rgba(48, 232, 122, .08), 0 30px 60px rgba(0, 0, 0, .55), 0 0 70px rgba(48, 232, 122, .12);
}
.phone img { border-radius: 30px; width: 100%; }
.phone-lg { max-width: 300px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(60% 50% at 75% 40%, rgba(48, 232, 122, .18), transparent 70%),
		linear-gradient(180deg, rgba(10, 15, 10, .72) 0%, rgba(10, 15, 10, .88) 60%, var(--bg) 100%),
		url(img/fondo-hero.webp) center / cover no-repeat;
}
.hero-in { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 9vw, 64px); font-weight: 900; letter-spacing: -.02em; margin: 18px 0 16px; }
.lead { font-size: 18px; color: #c9d1ca; max-width: 520px; margin: 0 0 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas-center { justify-content: center; }
.note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.check { color: var(--green); font-weight: 700; }

/* Secciones */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid #141e15; border-bottom: 1px solid #141e15; }
.head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.head h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 900; letter-spacing: -.01em; margin: 14px 0 10px; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Deportes */
.sports { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sports li {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end; padding: 14px;
	background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 5, .92)), var(--img) center / cover;
	border: 1px solid var(--border);
	transition: transform .2s ease, border-color .2s ease;
}
.sports li:hover { transform: translateY(-3px); border-color: rgba(48, 232, 122, .5); }
.sports li:last-child { grid-column: span 2; aspect-ratio: 8 / 5; }
.sports small { color: var(--green); font-size: 12px; font-weight: 700; }
.sports strong { font-size: 20px; }

/* Pasos */
.step { display: grid; gap: 28px; align-items: center; margin: 0 auto 64px; max-width: 980px; }
.step:last-child { margin-bottom: 0; }
.step-num { display: inline-block; color: var(--green); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-left: 26px; position: relative; }
.step-num::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--green); }
.step h3 { font-size: clamp(24px, 5vw, 32px); font-weight: 900; margin: 10px 0 12px; }
.step p { color: #c4ccc5; margin: 0 0 16px; }
.step .phone { max-width: 250px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
	content: '✓'; position: absolute; left: 0; top: 1px;
	width: 20px; height: 20px; border-radius: 50%;
	background: rgba(48, 232, 122, .15); color: var(--green);
	font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* Capturas: grilla que siempre entra entera (un carrusel de costado se veía cortado). */
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; margin: 0 0 40px; }
.showcase figure { margin: 0; min-width: 0; }
.showcase .phone { max-width: 230px; padding: 6px; border-radius: 26px; }
.showcase .phone img { border-radius: 20px; }
.showcase figcaption { text-align: center; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--text); }

/* Funciones */
.features { display: grid; gap: 14px; }
.feature {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
	transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(48, 232, 122, .45); transform: translateY(-2px); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(48, 232, 122, .12); border: 1px solid rgba(48, 232, 122, .25); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Beneficios */
.benefits { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.benefit { background: var(--surface); border: 1px solid rgba(48, 232, 122, .4); border-radius: var(--radius); padding: 26px; box-shadow: 0 0 40px rgba(48, 232, 122, .06); }
.benefit-amber { border-color: rgba(245, 158, 11, .45); box-shadow: 0 0 40px rgba(245, 158, 11, .06); }
.tag { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.benefit-amber .tag { color: var(--amber); }
.benefit-amber .checks li::before { background: rgba(245, 158, 11, .15); color: var(--amber); }
.benefit h3 { font-size: 22px; font-weight: 900; margin: 8px 0 18px; }
.benefit li { color: #c4ccc5; }
.benefit strong { color: var(--text); }

/* Cierre */
.final { position: relative; overflow: hidden; padding: 96px 0; text-align: center; }
.final-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(50% 60% at 50% 55%, rgba(48, 232, 122, .2), transparent 70%),
		linear-gradient(180deg, var(--bg) 0%, rgba(10, 15, 10, .7) 30%, rgba(10, 15, 10, .85) 100%),
		url(img/fondo-cierre.webp) center / cover no-repeat;
}
.final-in { position: relative; max-width: 720px; }
.final h2 { font-size: clamp(34px, 8vw, 56px); font-weight: 900; letter-spacing: -.02em; margin: 18px 0 16px; }
.final p { color: #c9d1ca; font-size: 18px; margin: 0 0 28px; }
.iphone {
	display: inline-block; margin: 28px 0 0 !important; padding: 14px 18px; border-radius: 14px;
	background: rgba(18, 26, 19, .85); border: 1px solid var(--border); font-size: 15px !important; color: var(--muted) !important;
}
.iphone strong { color: var(--text); }

/* Pie */
.foot { border-top: 1px solid var(--border); padding: 26px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--green); }

/* Aparición al hacer scroll: sólo si corre JS (ver el script del final). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 640px) {
	.sports { grid-template-columns: repeat(3, 1fr); }
	.sports li:last-child { grid-column: auto; aspect-ratio: 4 / 5; }
	.features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.hero { padding: 72px 0 96px; }
	.hero-in { grid-template-columns: 1.15fr 1fr; }
	.section { padding: 96px 0; }
	.sports { grid-template-columns: repeat(5, 1fr); }
	.step { grid-template-columns: 1fr 1fr; gap: 64px; }
	.step-rev .step-copy { order: 2; }
	.step .phone { max-width: 280px; }
	.showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
	.showcase .phone { padding: 8px; border-radius: 34px; }
	.showcase .phone img { border-radius: 27px; }
	.benefits { grid-template-columns: 1fr 1fr; }
}

/* En el celular el encabezado no tiene lugar: Privacidad, Términos y demás quedan en el pie. */
@media (max-width: 639px) {
	.top-link { display: none; }
}

@media (max-width: 380px) {
	.btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .sports li, .feature { transition: none; }
}
