/* ══════════════════════
   FORM PAGE — agenda.html
══════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #9424FF;
    --cyan: #06DDF9;
    --magenta: #D229FF;
    --gradient: linear-gradient(90deg, #06DDF9 0%, #D229FF 100%);
    --font-h: 'Visby CF', 'Trebuchet MS', 'Arial Black', sans-serif;
    --font-b: 'Avenir Next LT Pro', 'Avenir Next', 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-b);
    background: #fff;
    color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── NAVBAR (mismo que index) ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
}

.nav-logo .logo-nav {
    height: 36px;
    width: auto;
}

.btn-login {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1.8px solid var(--purple);
    background: transparent;
    color: var(--purple);
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.btn-login:hover {
    background: var(--purple);
    color: #fff;
}

/* ── HERO SUPERIOR ── */
.form-hero {
    padding: 120px 24px 40px;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.form-hero-bg-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .07;
}

.form-hero-bg-logo img {
    width: clamp(200px, 40vw, 340px);
    filter: hue-rotate(270deg) saturate(3);
}

.form-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    color: #000;
    position: relative;
}

.form-hero h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.form-hero p {
    font-size: clamp(14px, 2vw, 17px);
    color: #555;
    max-width: 440px;
    margin: 14px auto 0;
    line-height: 1.65;
    position: relative;
}

/* ── STEPPER DOTS ── */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0 32px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(6, 221, 249, .25);
    transition: background .35s, transform .35s;
}

.dot.active {
    background: var(--cyan);
    transform: scale(1.15);
}

/* ── FORM WRAPPER ── */
.form-section {
    flex: 1;
    background: linear-gradient(160deg, rgba(6, 221, 249, .12) 0%, rgba(210, 41, 255, .10) 100%);
    padding: 0 24px 60px;
}

.form-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

/* ── STEPS ── */
.step-panel {
    display: none;
    animation: stepIn .35s ease;
}

.step-panel.active {
    display: block;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-panel h2 {
    font-family: var(--font-h);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.step-panel .step-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ── INPUTS ── */
.field-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

.field-input {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, .85);
    font-family: var(--font-b);
    font-size: 15px;
    color: #222;
    outline: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: box-shadow .2s;
    margin-bottom: 20px;
    text-align: center;
}

.field-input::placeholder {
    color: #bbb;
}

.field-input:focus {
    box-shadow: 0 0 0 2px var(--cyan);
}

/* ── AGE CHIPS ── */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.chip {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(0, 0, 0, .15);
    background: rgba(255, 255, 255, .8);
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    color: #333;
}

.chip:hover {
    border-color: var(--cyan);
    color: var(--purple);
}

.chip.selected {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ── TOPIC CHIPS (¿Qué quieres aprender?) ── */
.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

/* ── SOURCE CHIPS (¿Cómo llegaste?) ── */
.source-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 380px;
    margin: 0 auto 32px;
}

/* ── BUTTONS ── */
.btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-back {
    padding: 12px 28px;
    border-radius: 999px;
    border: 1.8px solid var(--purple);
    background: transparent;
    color: var(--purple);
    font-family: var(--font-b);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    min-width: 120px;
}

.btn-back:hover {
    background: var(--purple);
    color: #fff;
}

.btn-next {
    padding: 12px 32px;
    border-radius: 999px;
    border: none;
    background: var(--gradient);
    color: #fff;
    font-family: var(--font-b);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    min-width: 140px;
}

.btn-next:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.btn-next:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}

.btn-full {
    width: 100%;
    max-width: 340px;
}

/* ── SECURITY NOTE ── */
.security-note {
    font-size: 12px;
    color: #888;
    margin-top: 14px;
    line-height: 1.5;
}

/* ── SUCCESS SCREEN ── */
.success-screen {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: stepIn .4s ease;
}

.success-screen.active {
    display: block;
}

.success-screen h2 {
    font-family: var(--font-h);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.success-screen p {
    font-size: 16px;
    color: #555;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── FOOTER (igual al index) ── */
footer {
    background: linear-gradient(135deg, #06DDF9 0%, #9424FF 50%, #D229FF 100%);
    padding: 56px 0 28px;
    color: rgba(255, 255, 255, .9);
    border-radius: 24px 24px 0 0;
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    margin-bottom: 22px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-footer {
    width: clamp(100px, 16vw, 160px);
    margin-bottom: 16px;
}

.logo-footer img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand>p {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 220px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, .3);
}

.btn-contact {
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, #06DDF9 0%, #D229FF 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity .2s;
}

.btn-contact:hover {
    opacity: .85;
}

.footer-col {
    padding-top: 4px;
    padding-left: 20px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    text-decoration: none;
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: #06DDF9;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .42);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .source-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .btn-row {
        flex-direction: column;
        align-items: center;
    }

    .btn-back,
    .btn-next {
        width: 100%;
        max-width: 300px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col {
        padding-left: 0;
    }

    footer {
        border-radius: 16px 16px 0 0;
    }
}