/* ─────────────────────────────────────────────────
   /recursos-gratis  ·  Landing page
   Token de color: --frl-purple: #7c3aed
───────────────────────────────────────────────── */

/* ── Page shell ── */
.frl-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 15% 0%, rgba(124,58,237,.13) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 90% 100%, rgba(124,58,237,.10) 0%, transparent 70%),
        linear-gradient(180deg, #fdfcff 0%, #f9f6ff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: #18181b;
}

/* Decorative blobs */
.frl-blob {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(64px);
    opacity: .55;
    z-index: 0;
}
.frl-blob--a {
    width: 420px; height: 420px;
    background: rgba(167,139,250,.22);
    top: -80px; left: -100px;
}
.frl-blob--b {
    width: 340px; height: 340px;
    background: rgba(124,58,237,.15);
    bottom: -60px; right: -80px;
}

/* ── Main layout ── */
.frl-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 3rem clamp(1.2rem, 3vw, 2.5rem);
}

/* ── Copy column ── */
.frl-copy {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.frl-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(124,58,237,.22);
    background: rgba(124,58,237,.07);
    color: #7c3aed;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: fit-content;
}

.frl-kicker svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.frl-headline {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 950;
    line-height: .97;
    letter-spacing: -.03em;
    color: #0f0d14;
}

.frl-headline em {
    font-style: normal;
    color: #7c3aed;
}

.frl-sub {
    margin: 0;
    font-size: 1.05rem;
    color: #5a5569;
    line-height: 1.7;
    max-width: 480px;
}

/* Benefit list */
.frl-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.frl-benefits li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .98rem;
    font-weight: 600;
    color: #2e2840;
    line-height: 1.4;
}

.frl-benefits li::before {
    content: "";
    flex-shrink: 0;
    margin-top: .18em;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(124,58,237,.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Author line */
.frl-author-line {
    margin: 0;
    font-size: .9rem;
    color: #5a5569;
    line-height: 1.5;
}

.frl-author-line strong {
    color: #18181b;
    font-weight: 800;
}

/* Trust single line */
.frl-trust-line {
    margin: 0;
    font-size: .8rem;
    color: #9b8fc0;
    font-weight: 600;
    letter-spacing: .01em;
}

/* ── Form panel ── */
.frl-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.frl-form-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(124,58,237,.14);
    border-radius: 28px;
    padding: 2.2rem 2rem;
    box-shadow:
        0 2px 4px rgba(124,58,237,.04),
        0 8px 20px rgba(124,58,237,.08),
        0 32px 64px rgba(20,16,30,.1);
}

.frl-form-head {
    text-align: center;
    margin-bottom: 1.6rem;
}

.frl-form-head h2 {
    margin: 0 0 .35rem;
    font-size: 1.5rem;
    font-weight: 950;
    color: #0f0d14;
    letter-spacing: -.02em;
}

.frl-form-head p {
    margin: 0;
    color: #7c6f90;
    font-size: .9rem;
}

/* Form fields */
.frl-field {
    margin-bottom: 1rem;
}

.frl-field label {
    display: block;
    margin-bottom: .38rem;
    font-size: .875rem;
    font-weight: 750;
    color: #2a2535;
}

.frl-field input[type="text"],
.frl-field input[type="email"] {
    width: 100%;
    min-height: 50px;
    border: 1.5px solid rgba(124,58,237,.2);
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: .95rem;
    color: #18181b;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.frl-field input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124,58,237,.1);
}

.frl-field input::placeholder {
    color: #b8b0c8;
}

/* Checkboxes */
.frl-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: .55rem;
    margin: .8rem 0;
    cursor: pointer;
    align-items: flex-start;
}

.frl-check input[type="checkbox"] {
    margin-top: .18rem;
    width: 16px;
    height: 16px;
    accent-color: #7c3aed;
    cursor: pointer;
}

.frl-check span {
    font-size: .83rem;
    color: #5a5375;
    line-height: 1.5;
}

.frl-check a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
}

.frl-check a:hover {
    text-decoration: underline;
}

/* Submit button */
.frl-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    min-height: 54px;
    margin-top: 1.1rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #9d6ef5 0%, #7c3aed 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(124,58,237,.35);
    transition: transform .15s, box-shadow .15s;
}

.frl-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(124,58,237,.45);
}

.frl-submit:active {
    transform: translateY(0);
}

/* Legal note under button */
.frl-legal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin: 1rem 0 0;
    font-size: .78rem;
    color: #9b94b0;
    text-align: center;
    line-height: 1.4;
}

.frl-legal-note svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #7c3aed;
}

/* Validation */
.frl-validation {
    color: #b91c1c;
    font-size: .82rem;
    font-weight: 700;
    margin-top: .25rem;
    display: block;
}

/* Hidden honeypot */
.frl-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .frl-shell {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 2.2rem;
        padding-bottom: 3rem;
        gap: 2rem;
    }

    .frl-headline {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .frl-form-card {
        max-width: 100%;
    }

    .frl-author-line,
    .frl-trust-line {
        text-align: left;
    }
}

@media (max-width: 540px) {
    .frl-shell {
        padding: 1.5rem 1rem 2.5rem;
        gap: 1.6rem;
    }

    .frl-form-card {
        padding: 1.6rem 1.2rem;
        border-radius: 22px;
    }

    .frl-benefits {
        gap: .5rem;
    }

    .frl-author-line,
    .frl-trust-line {
        font-size: .85rem;
    }
}
