/* FANREGIO · landing (fanregio.com). Autocontenida: no depende de la app. */
:root {
    --bg: #0b0b10;
    --bg-2: #10101a;
    --surface: #15151f;
    --surface-2: #1c1c28;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #f5f5fa;
    --muted: #a5a5b8;
    --primary: #7b5cff;
    --pink: #ff5ec7;
    --cyan: #00d4cb;
    --grad: linear-gradient(135deg, #7b5cff 0%, #ff5ec7 100%);
    --grad-3: linear-gradient(135deg, #7b5cff 0%, #ff5ec7 55%, #ffb36b 100%);
    --radius: 22px;
    --font: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Poppins", var(--font);
    --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.grad-text { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--pink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 40rem; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 1rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(123, 92, 255, .65); }
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(255, 94, 199, .6); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--white { background: #fff; color: #17131f; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5); }

/* ---------- Navegación ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 16, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.logo svg { width: 32px; height: 32px; }
.logo b { color: var(--primary); font-weight: 700; }
.nav__links { display: flex; gap: 2rem; font-size: .95rem; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; }
.nav__toggle svg { margin: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(72px + clamp(40px, 7vw, 96px)); padding-bottom: clamp(56px, 8vw, 110px); position: relative; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.orb--1 { width: 560px; height: 560px; background: #7b5cff; top: -160px; left: -140px; animation: drift 18s ease-in-out infinite alternate; }
.orb--2 { width: 520px; height: 520px; background: #ff5ec7; top: 40px; right: -180px; opacity: .38; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb--3 { width: 380px; height: 380px; background: #00d4cb; bottom: -180px; left: 38%; opacity: .2; animation: drift 26s ease-in-out infinite alternate; }
.grid-bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
    opacity: .5;
}
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .45rem;
    border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05);
    font-size: .85rem; color: var(--muted); backdrop-filter: blur(8px);
}
.pill b { background: var(--grad); color: #fff; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; letter-spacing: .02em; }
.hero h1 { margin-top: 1.4rem; }
.hero .lead { margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust svg { color: var(--cyan); }

/* maqueta de perfil */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.mock {
    width: min(100%, 340px); border-radius: 30px; background: linear-gradient(180deg, #1b1b27, #14141d);
    border: 1px solid var(--line-strong); overflow: hidden;
    box-shadow: 0 50px 100px -30px rgba(123, 92, 255, .5), 0 0 0 8px rgba(255, 255, 255, .025);
    transform: rotate(2.5deg); animation: float-y 7s ease-in-out infinite;
}
.mock__cover { height: 118px; background: var(--grad-3); position: relative; }
.mock__cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .35), transparent 50%); }
.mock__body { padding: 0 20px 20px; }
.mock__avatar {
    width: 76px; height: 76px; border-radius: 50%; margin-top: -38px; border: 4px solid #17171f;
    background: var(--bg); display: grid; place-items: center; position: relative;
}
.mock__avatar svg { width: 44px; height: 44px; }
.mock__name { margin-top: .7rem; font-family: var(--display); font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.mock__name svg { color: var(--cyan); }
.mock__handle { color: var(--muted); font-size: .85rem; }
.mock__bio { margin-top: .8rem; display: grid; gap: .45rem; }
.sk { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .09); }
.mock__cta { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: 1rem; }
.mock__cta span { border-radius: 12px; padding: .65rem .8rem; font-size: .85rem; font-weight: 600; text-align: center; }
.mock__cta .a { background: var(--grad); color: #fff; }
.mock__cta .b { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.mock__post { margin-top: 1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow: hidden; }
.mock__media { height: 112px; background: linear-gradient(135deg, rgba(123, 92, 255, .5), rgba(255, 94, 199, .45)); display: grid; place-items: center; position: relative; }
.mock__media::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mock__lock { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; background: rgba(11, 11, 16, .72); border: 1px solid var(--line-strong); border-radius: 999px; padding: .4rem .85rem; font-size: .8rem; font-weight: 600; }
.mock__post-foot { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; font-size: .8rem; color: var(--muted); }
.mock__caption { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--muted); opacity: .8; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem .75rem .75rem;
    border-radius: 18px; background: rgba(24, 24, 34, .86); border: 1px solid var(--line-strong);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); font-size: .85rem; white-space: nowrap;
    animation: float-y 6s ease-in-out infinite;
}
.float-card i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-style: normal; flex: none; }
.float-card strong { display: block; font-size: .95rem; font-family: var(--display); }
.float-card small { color: var(--muted); font-size: .76rem; }
.fc-1 { top: 7%; left: -2%; animation-delay: -1s; }
.fc-1 i { background: rgba(0, 212, 203, .16); color: var(--cyan); }
.fc-2 { top: 47%; right: -7%; animation-delay: -3s; }
.fc-2 i { background: rgba(255, 94, 199, .16); color: var(--pink); }
.fc-3 { bottom: 7%; left: -2%; animation-delay: -4.5s; }
.fc-3 i { background: rgba(123, 92, 255, .22); color: #a893ff; }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; padding-block: 1.1rem; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; font-weight: 500; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; counter-reset: s; }
.step { position: relative; padding: 2rem; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.step__n { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { margin: 1.1rem 0 .6rem; font-size: 1.3rem; }
.step p { color: var(--muted); }
.step::after { content: ""; position: absolute; top: 3.4rem; right: -1.4rem; width: 1.4rem; height: 2px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.step:last-child::after { display: none; }

/* ---------- Funciones (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.card {
    position: relative; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}
.card::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, .22), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { color: var(--muted); margin-top: .55rem; font-size: .96rem; }
.ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(123, 92, 255, .7); }
.ico--cyan { background: linear-gradient(135deg, #00d4cb, #7b5cff); }
.ico--warm { background: linear-gradient(135deg, #ff5ec7, #ffb36b); }
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-8 { grid-column: span 8; } .c-3 { grid-column: span 3; }
.card--feature { background: radial-gradient(120% 140% at 0% 0%, rgba(123, 92, 255, .28), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.tag { display: inline-block; margin-top: 1.1rem; font-size: .76rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--muted); margin-right: .35rem; }

/* ---------- Pagos ---------- */
.pay { background: radial-gradient(80% 120% at 100% 0%, rgba(255, 94, 199, .10), transparent 55%), radial-gradient(70% 100% at 0% 100%, rgba(123, 92, 255, .14), transparent 55%); border-block: 1px solid var(--line); }
.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .95rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { flex: none; margin-top: .2rem; color: var(--cyan); }
.paybox { border-radius: 26px; padding: 1.6rem; background: linear-gradient(180deg, #1a1a26, #12121a); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(123, 92, 255, .45); }
.paybox__row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--line-strong); gap: 1rem; }
.paybox__row:last-of-type { border-bottom: 0; }
.paybox__row small { color: var(--muted); display: block; }
.paybox__total { margin-top: .6rem; border-radius: 16px; padding: 1rem 1.1rem; background: var(--grad); display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.badge-ok { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--cyan); background: rgba(0, 212, 203, .1); padding: .2rem .6rem; border-radius: 999px; }

/* ---------- Creadores / Fans ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.panel { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); position: relative; overflow: hidden; }
.panel--a { background: radial-gradient(90% 90% at 0% 0%, rgba(123, 92, 255, .26), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.panel--b { background: radial-gradient(90% 90% at 100% 0%, rgba(255, 94, 199, .2), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.panel h3 { font-size: 1.7rem; margin: 1rem 0 .4rem; }
.panel > p { color: var(--muted); }
.panel .btn { margin-top: 1.8rem; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); overflow: hidden; }
.stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border-radius: 18px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(123, 92, 255, .55); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA final ---------- */
.cta { margin-block: 0 clamp(72px, 10vw, 128px); }
.cta__box {
    position: relative; overflow: hidden; border-radius: 34px; padding: clamp(2.6rem, 6vw, 5rem) clamp(1.6rem, 5vw, 4rem);
    text-align: center; background: var(--grad); box-shadow: 0 50px 120px -40px rgba(123, 92, 255, .8);
}
.cta__box::before, .cta__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); filter: blur(2px); }
.cta__box::before { width: 360px; height: 360px; top: -160px; left: -90px; }
.cta__box::after { width: 280px; height: 280px; bottom: -130px; right: -60px; }
.cta__box > * { position: relative; }
.cta__box h2 { max-width: 44rem; margin-inline: auto; }
.cta__box p { margin: 1rem auto 0; max-width: 34rem; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta__box .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; }
.footer p { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 22rem; }
.footer h4 { font-family: var(--display); font-size: .9rem; margin: 0 0 1rem; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer li a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer li a:hover { color: var(--text); }
.footer__bar { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.footer__bar .visits { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__grid, .pay__grid, .duo { grid-template-columns: 1fr; }
    .stage { min-height: 520px; margin-top: 1rem; }
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .c-6, .c-4, .c-8, .c-3 { grid-column: span 6; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .nav__links { display: none; }
    .nav__toggle { display: grid; }
    .nav__cta .btn--ghost { display: none; }
    .nav.is-open { background: rgba(11, 11, 16, .96); }
    .nav.is-open .nav__links {
        display: grid; position: absolute; top: 72px; inset-inline: 0; padding: 1rem 24px 1.6rem; gap: 1.1rem;
        background: rgba(11, 11, 16, .97); border-bottom: 1px solid var(--line); font-size: 1.05rem;
    }
}
@media (max-width: 640px) {
    .container { padding-inline: 18px; }
    .orb { opacity: .38; }
    .orb--2 { opacity: .26; }
    .c-6, .c-4, .c-8, .c-3 { grid-column: span 12; }
    .float-card { transform: scale(.88); }
    .fc-1 { left: -4%; } .fc-2 { right: -6%; }
    .hero__cta .btn { width: 100%; }
    .stats { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
