/* Página de venta /scopri — versión 1.
 *
 * CSS propio, sin framework: la página no carga Bootstrap ni ninguna hoja
 * externa. Los tokens son los mismos de la landing (--lp-*) para que el
 * cambio de una página a otra no se note. La tipografía es Inter con
 * fallback al sistema: la landing la pide a Google Fonts, aquí no, porque
 * el encargo prohíbe CDN nuevos (queda anotado en el informe).
 */

:root {
    --lp-purple: #533afd;
    --lp-purple-hover: #4434d4;
    --lp-purple-light: #b9b9f9;
    --lp-navy: #061b31;
    --lp-slate: #273951;
    --lp-body: #64748d;
    --lp-muted: #94a3b8;
    --lp-border: #e5edf5;
    --lp-bg-subtle: #f8fafc;

    --lp-shadow-sm: 0 1px 3px rgba(50, 50, 93, .12), 0 1px 2px rgba(0, 0, 0, .04);
    --lp-shadow-md: 0 4px 6px rgba(50, 50, 93, .10), 0 2px 4px rgba(0, 0, 0, .05);
    --lp-shadow-lg: 0 10px 25px rgba(50, 50, 93, .12), 0 4px 10px rgba(0, 0, 0, .06);

    --lp-radius: 8px;
    --lp-radius-lg: 14px;
    --lp-radius-xl: 20px;

    --sp-nav: 64px;
    --sp-stepper: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sp-nav) + var(--sp-stepper)); }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--lp-slate);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--lp-navy); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }

a { color: var(--lp-purple); }

.scopri-contenedor { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ────────────────────────────────────────────────── */

.scopri-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--sp-nav);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-border);
}

.scopri-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.scopri-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lp-navy);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

.scopri-nav-acciones { display: flex; align-items: center; gap: 10px; }

.scopri-idiomas { display: inline-flex; gap: 2px; margin-right: 4px; }

.scopri-idioma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    text-decoration: none;
    opacity: .55;
    transition: opacity .15s, background .15s;
}

.scopri-idioma:hover { opacity: 1; background: var(--lp-bg-subtle); }
.scopri-idioma.activo { opacity: 1; background: #eef0ff; }

/* ── Botones ────────────────────────────────────────────── */

.scopri-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--lp-radius);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.scopri-btn-primario { background: var(--lp-purple); color: #fff; box-shadow: var(--lp-shadow-sm); }
.scopri-btn-primario:hover { background: var(--lp-purple-hover); color: #fff; transform: translateY(-1px); }

.scopri-btn-fantasma { background: #fff; color: var(--lp-slate); border-color: var(--lp-border); }
.scopri-btn-fantasma:hover { background: var(--lp-bg-subtle); border-color: var(--lp-purple-light); color: var(--lp-navy); }

.scopri-btn-grande { padding: 14px 26px; font-size: 1.05rem; }

/* ── Stepper ────────────────────────────────────────────── */

.scopri-stepper {
    position: sticky;
    top: var(--sp-nav);
    z-index: 20;
    background: rgba(248, 250, 252, .97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--lp-border);
}

.scopri-stepper-inner { position: relative; max-width: 960px; margin: 0 auto; padding: 0 20px; }

.scopri-progress {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    background: var(--lp-border);
    border-radius: 3px;
    overflow: hidden;
}

.scopri-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lp-purple), var(--lp-purple-light));
    transition: width .2s linear;
}

.scopri-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    height: var(--sp-stepper);
    align-items: center;
}

.scopri-pasos a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--lp-body);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.scopri-pasos a:hover { background: #eef0ff; color: var(--lp-navy); }
.scopri-pasos a.activo { background: var(--lp-purple); color: #fff; }
.scopri-pasos a.activo .scopri-paso-num { background: #fff; color: var(--lp-purple); }

.scopri-paso-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef0ff;
    color: var(--lp-purple);
    font-size: .78rem;
    font-weight: 700;
    flex: none;
}

/* ── Secciones ──────────────────────────────────────────── */

.scopri-seccion { padding: 72px 0; border-bottom: 1px solid var(--lp-border); }
.scopri-paso-2 { background: var(--lp-bg-subtle); }
.scopri-paso-3 { background: linear-gradient(180deg, #fff 0%, #f3f0ff 100%); }

.scopri-eyebrow {
    margin: 0 0 12px;
    color: var(--lp-purple);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.scopri-titulo { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.scopri-titulo-2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; margin-top: 0; }

.scopri-lead { font-size: 1.15rem; color: var(--lp-body); max-width: 46em; margin: 0 0 28px; }

/* ── Tarjetas del paso 1 ────────────────────────────────── */

.scopri-tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.scopri-tarjeta {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-xl);
    padding: 26px 22px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform .18s, box-shadow .18s;
}

.scopri-tarjeta:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-lg); }
.scopri-tarjeta h3 { font-size: 1.08rem; margin-bottom: 6px; }
.scopri-tarjeta p { margin: 0; color: var(--lp-body); font-size: .95rem; }

.scopri-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--lp-radius-lg);
    background: #eef0ff;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.scopri-distintivos {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.scopri-distintivos li { position: relative; padding-left: 24px; color: var(--lp-slate); font-weight: 500; }
.scopri-distintivos li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

/* ── Vídeo del paso 2 ───────────────────────────────────── */

#scopri-video,
.scopri-video-placeholder {
    display: block;
    width: 100%;
    max-width: 820px;
    aspect-ratio: 16 / 9;
    border-radius: var(--lp-radius-xl);
    box-shadow: var(--lp-shadow-lg);
    margin: 0 auto 14px;
    background: #0b1220;
}

#scopri-video { object-fit: contain; }

.scopri-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        radial-gradient(circle at 50% 40%, rgba(83, 58, 253, .28), transparent 60%),
        #0b1220;
    border: 2px dashed rgba(185, 185, 249, .45);
    color: #e7e9ff;
    text-align: center;
    padding: 30px;
}

.scopri-video-placeholder img { max-width: 70%; max-height: 60%; border-radius: var(--lp-radius); }
.scopri-video-placeholder p { margin: 0; max-width: 34em; color: #c7cbf0; font-size: .95rem; }
.scopri-video-icono { font-size: 2.4rem; }

.scopri-nota { text-align: center; color: var(--lp-body); font-size: .92rem; margin: 0 0 30px; }

.scopri-resumen {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-xl);
    padding: 24px 28px;
    box-shadow: var(--lp-shadow-sm);
}

.scopri-resumen h3 { font-size: 1.05rem; }
.scopri-resumen ul { margin: 0; padding-left: 20px; color: var(--lp-slate); }

/* ── Paso 3 ─────────────────────────────────────────────── */

.scopri-ventajas {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 10px;
    max-width: 620px;
}

.scopri-ventajas li { position: relative; padding-left: 28px; font-weight: 500; }
.scopri-ventajas li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scopri-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

.scopri-legale { color: var(--lp-muted); font-size: .86rem; margin: 0; }
.scopri-legale a { color: var(--lp-body); }

/* ── FAQ ────────────────────────────────────────────────── */

.scopri-paso-faq { background: #fff; }

.scopri-faq { max-width: 760px; margin: 24px 0 0; }

.scopri-faq details {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 4px 18px;
    margin-bottom: 10px;
    background: #fff;
}

.scopri-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 0;
    font-weight: 600;
    color: var(--lp-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.scopri-faq summary::-webkit-details-marker { display: none; }

.scopri-faq summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--lp-purple);
    transition: transform .15s;
    flex: none;
}

.scopri-faq details[open] summary::after { transform: rotate(45deg); }
.scopri-faq details p { margin: 0 0 14px; color: var(--lp-body); }

/* ── Pie ────────────────────────────────────────────────── */

.scopri-pie {
    background: var(--lp-navy);
    color: #cbd5e1;
    padding: 44px 0 34px;
    font-size: .92rem;
}

.scopri-pie strong { color: #fff; }
.scopri-pie a { color: #cbd5e1; text-decoration: none; }
.scopri-pie a:hover { color: #fff; text-decoration: underline; }
.scopri-pie-legal { margin: 8px 0 0; color: #94a3b8; }

/* ── Móvil ──────────────────────────────────────────────── */

@media (max-width: 760px) {
    .scopri-tarjetas { grid-template-columns: 1fr; }
    .scopri-seccion { padding: 52px 0; }
    .scopri-nav-acciones .scopri-btn-fantasma { display: none; }
    .scopri-pasos a { padding: 6px 9px; font-size: .84rem; gap: 6px; }
    .scopri-idioma { width: 30px; height: 30px; }
    .scopri-acciones .scopri-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
