:root {
    --bg: #0d0b1f;
    --bg-2: #15122e;
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.09);
    --text: #f4f1ff;
    --muted: #a9a3c7;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --gold: #f5c76b;
    --teal: #2a9d8f;
    --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: 'Fraunces', Georgia, serif; }
.grad-text {
    background: linear-gradient(100deg, var(--gold), var(--pink) 55%, var(--violet));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Fondo aurora */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45;
    animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 520px; height: 520px; background: var(--violet); top: -160px; left: -120px; }
.aurora span:nth-child(2) { width: 460px; height: 460px; background: var(--pink); top: 20%; right: -160px; animation-delay: -6s; opacity: .3; }
.aurora span:nth-child(3) { width: 380px; height: 380px; background: var(--gold); bottom: -160px; left: 30%; animation-delay: -12s; opacity: .18; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* Navegación */
nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(13, 11, 31, 0.6);
    border-bottom: 1px solid var(--card-border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px; background: #fff;
    box-shadow: 0 6px 20px rgba(236, 72, 153, .35);
}
.nav-links { display: flex; gap: 28px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: .88rem; font-weight: 600; padding: 9px 18px; border-radius: 999px;
    background: var(--text); color: var(--bg); transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    display: inline-flex; padding: 3px; border-radius: 999px;
    background: var(--card); border: 1px solid var(--card-border);
    font-size: .78rem; font-weight: 600; letter-spacing: .03em;
}
.lang-switch a { padding: 5px 11px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .12); color: var(--text); }

/* Hero */
.hero { padding: 80px 0 100px; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
    border-radius: 999px; background: var(--card); border: 1px solid var(--card-border);
    font-size: .82rem; color: var(--muted); margin-bottom: 24px;
}
.pill b { background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .04em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px; min-width: 196px;
    padding: 12px 22px 12px 18px; border-radius: 16px;
    background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .22);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); box-shadow: 0 12px 30px rgba(139, 92, 246, .3); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn small { display: block; font-size: .7rem; opacity: .8; line-height: 1.1; }
.store-btn strong { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.store-btn.is-recommended { box-shadow: 0 0 0 3px rgba(245, 199, 107, .45); }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: .88rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--gold); }

/* Mockup de teléfono */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
    width: 290px; aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px;
    background: linear-gradient(160deg, #2a2550, #0f0c22);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
    transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-4deg) translateY(-14px); } }
.screen {
    height: 100%; border-radius: 36px; overflow: hidden; position: relative;
    background: #fff;
}
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen::before {
    content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 86px; height: 24px; border-radius: 20px; background: #000; z-index: 1;
}
.float-card {
    position: absolute; background: rgba(28, 23, 64, .85); backdrop-filter: blur(10px);
    border: 1px solid var(--card-border); border-radius: 16px; padding: 12px 14px;
    font-size: .78rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    animation: float2 6s ease-in-out infinite;
}
.float-card .k { color: var(--muted); font-size: .68rem; }
.fc1 { top: 14%; left: -6px; }
.fc2 { bottom: 16%; right: -4px; animation-delay: -3s; }
@keyframes float2 { 50% { transform: translateY(-10px); } }

/* Secciones */
section { padding: 90px 0; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 16px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
    padding: 28px; transition: transform .25s, border-color .25s, background .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(245, 199, 107, .35); background: rgba(255, 255, 255, .06); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }
.i1 { background: rgba(245, 158, 11, .15); }
.i2 { background: rgba(236, 72, 153, .15); }
.i3 { background: rgba(139, 92, 246, .18); }
.i4 { background: rgba(6, 182, 212, .15); }
.i5 { background: rgba(52, 211, 153, .15); }
.i6 { background: rgba(255, 255, 255, .08); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(139, 92, 246, .12), transparent); border: 1px solid var(--card-border); }
.step::before {
    counter-increment: step; content: counter(step);
    font-family: 'Fraunces', serif; font-size: 3rem; line-height: 1; display: block; margin-bottom: 14px;
    background: linear-gradient(120deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

.video {
    max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--card-border); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: #000;
}
.video iframe { width: 100%; height: 100%; border: 0; }

.cta {
    text-align: center; border-radius: 32px; padding: 72px 28px; position: relative; overflow: hidden;
    background: radial-gradient(120% 140% at 50% 0%, rgba(236, 72, 153, .35), rgba(139, 92, 246, .2) 45%, rgba(13, 11, 31, 0) 75%), var(--bg-2);
    border: 1px solid var(--card-border);
}
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta .stores { justify-content: center; }

.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help a {
    display: block; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-border);
    transition: border-color .2s, transform .2s;
}
.help a:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.help h3 { font-size: 1.02rem; margin-bottom: 4px; display: flex; justify-content: space-between; }
.help p { color: var(--muted); font-size: .9rem; word-break: break-word; }

footer { border-top: 1px solid var(--card-border); padding: 36px 0; color: var(--muted); font-size: .85rem; }
footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { position: static; background: none; border: 0; backdrop-filter: none; display: flex; gap: 20px; }
footer a:hover { color: var(--text); }

.disclaimer { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 28px; opacity: .8; }

/* Galería de pantallas */
.gallery-wrap { position: relative; max-width: 1280px; margin: 0 auto; }
.gallery {
    display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 12px 20px 36px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 236px; scroll-snap-align: center; text-align: center; }
.shot .frame {
    border-radius: 38px; padding: 8px; margin-bottom: 18px;
    background: linear-gradient(160deg, #2a2550, #0f0c22);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
    transition: transform .3s;
}
.shot:hover .frame { transform: translateY(-6px); }
.shot img { width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 30px; background: #fff; }
.shot h3 { font-size: 1rem; margin-bottom: 4px; }
.shot p { color: var(--muted); font-size: .88rem; }
.gallery-nav { display: flex; justify-content: center; gap: 12px; }
.gallery-nav button {
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
    background: var(--card); border: 1px solid var(--card-border); color: var(--text);
    transition: background .2s;
}
.gallery-nav button:hover { background: rgba(255, 255, 255, .12); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .hero { padding: 48px 0 70px; }
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 64px; }
    .lead { margin-left: auto; margin-right: auto; }
    .stores, .trust { justify-content: center; }
    .pill { margin-left: auto; margin-right: auto; }
    .features, .steps, .help { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 400px) {
    .nav-cta { display: none; }
}
@media (max-width: 600px) {
    .features, .steps, .help { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
    .store-btn { width: 100%; justify-content: center; }
    .phone { width: 250px; }
    .shot { flex-basis: 210px; }
    .fc1 { left: 0; } .fc2 { right: 0; }
    .cta { padding: 52px 20px; }
    footer .container { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
