* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f7;
    color: #171717;
}


/* =========================
   HEADER
========================= */

header {
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 21px;
    font-weight: bold;
}

.login-btn {
    border: none;
    background: #171717;
    color: white;
    padding: 11px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.login-btn:hover {
    background: #333;
    transform: translateY(-1px);
}


/* =========================
   HERO
========================= */

.hero {
    text-align: center;
    padding: 110px 20px 100px;
    max-width: 950px;
    margin: auto;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 20px;
    line-height: 1.6;
    color: #666;
}


/* BOTONES DEL HERO */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.main-btn {
    background: #171717;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 9px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.main-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.secondary-btn {
    background: white;
    color: #171717;
    border: 1px solid #dcdcdc;
    padding: 14px 25px;
    border-radius: 9px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.secondary-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}


/* =========================
   RESÚMENES
========================= */

.resumenes {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px 100px;
}

.resumenes h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}


/* =========================
   CARDS
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid #e5e5e5;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #d5d5d5;
}

.icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card button {
    border: none;
    background: #171717;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.card button:hover {
    background: #333;
    transform: translateY(-1px);
}


/* =========================
   CÓMO FUNCIONA
========================= */

.como-funciona {
    background: white;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 85px 20px;
    text-align: center;
}

.como-funciona h2 {
    font-size: 32px;
    margin-bottom: 45px;
}

.pasos {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.paso {
    padding: 25px;
}

.paso-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.paso h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.paso p {
    color: #666;
    line-height: 1.5;
}


/* =========================
   CTA FINAL
========================= */

.cta {
    max-width: 850px;
    margin: 80px auto;
    padding: 70px 30px;

    text-align: center;

    background: #171717;
    color: white;

    border-radius: 22px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.cta .main-btn {
    background: white;
    color: #171717;
}

.cta .main-btn:hover {
    background: #eeeeee;
}


/* =========================
   FOOTER
========================= */

footer {
    background: white;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    padding: 25px;
    color: #777;
}


/* =========================
   LOGIN
========================= */

.back-btn {
    text-decoration: none;
    color: #171717;
    font-size: 15px;
}

.login-container {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.login-icon {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 10px;
}

.login-box > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.login-box form {
    display: flex;
    flex-direction: column;
}

.login-box label {
    margin-bottom: 7px;
    font-weight: bold;
    font-size: 14px;
}

.login-box input {
    padding: 13px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    outline: none;
}

.login-box input:focus {
    border-color: #171717;
}

.login-submit {
    border: none;
    background: #171717;
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.register-text {
    font-size: 13px;
    margin-top: 25px;
}

.register-text a {
    color: #171717;
    font-weight: bold;
}

.error-message {
    color: #d00000 !important;
    font-size: 14px !important;
    margin-top: 15px;
    margin-bottom: 0 !important;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

    header {
        padding: 0 20px;
        gap: 15px;
    }

    .logo {
        font-size: 17px;
    }

    .login-btn {
        padding: 9px 13px;
        font-size: 13px;
    }

    .hero {
        padding: 75px 20px 70px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: auto;
    }

    .hero-buttons button {
        width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .resumenes {
        padding-bottom: 70px;
    }

    .resumenes h2 {
        font-size: 27px;
    }

    .pasos {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .como-funciona {
        padding: 65px 20px;
    }

    .como-funciona h2 {
        font-size: 28px;
    }

    .cta {
        margin: 50px 20px;
        padding: 50px 25px;
        border-radius: 18px;
    }

    .cta h2 {
        font-size: 29px;
    }

}