* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@font-face {
    font-family: 'CashMarket';
    src: url('/fonts/CashMarket-BoldRounded.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Utendo';
    src: url('/fonts/Utendo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}

header {
    display: flex;
    align-items: center;
    background: linear-gradient(1000deg,
            #5C3E94,
            #6D4DB5);
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5px;
    padding-bottom: 5px;
}

header .logo {
    width: 4%;
    height: auto;
    margin-right: 1%;
    transition: .3s;
}

header .logo:hover {
    transform: rotate(-8deg);
}

header h1 {
    font-family: 'CashMarket';
    color: white;
}

header .offcanva {
    margin-left: auto;
    display: none;
}

main {
    background: #15151C;
    padding: 5%;
    color: white;
}

main section {
    margin-bottom: 10%;
}

main section:last-child {
    margin-bottom: 0%;
}

#introduccion {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.info {
    max-width: 700px;
    text-align: left;
}

.tituloIntro {
    font-family: 'CashMarket';
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.tituloTurquesa {
    color: #57C7A3;
}

.textInfo {
    font-family: 'Utendo';
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.ctaInstalar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ctaInstalar .botonInstalar {
    padding: 12px 20px;
}

.imagenCelular {
    display: flex;
    justify-content: center;
    align-items: center;
}


.imagenCelular img {
    width: 85%;
    max-width: 450px;
    height: auto;
}

.botonInstalar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #57C7A3;
    border-radius: 10px;
    padding: 2%;
    margin-bottom: 15px;
    text-decoration: none;
    cursor: pointer;
}

.botonInstalar img {
    width: 28px;
    height: 28px;
}

.botonInstalar p {
    margin: 0;
    color: black;
    font-family: 'CashMarket';
}

.botonInstalar:hover {
    text-decoration: underline !important;
    color: black;
}

.botonWishlist {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    background-color: #57C7A3;
    color: #15151C;
    border-radius: 14px;
    font-family: 'CashMarket';
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .2s ease;
}

.botonWishlist:hover {
    transform: translateY(-3px);
    color: #15151C;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(87, 199, 163, .25);
}

.tituloProblem {
    text-align: center;
    font-family: 'CashMarket';
}

.tituloProblem span {
    color: #57C7A3;
}

.cardsProblem {
    width: 100%;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 2%;
}

.cardProblema {
    display: flex;
align-items:flex-start;
    justify-content: center;
    gap: 20px;
    background-color: #27272f;
    padding: 1%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .05);

}

.cardProblema h1 {
    font-size: x-large;
    font-family: 'CashMarket';
}

.cardProblema p {
    font-family: 'Utendo';
    margin: 0;
}

.cardProblema img {
    width: 20%;
}

.solucion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.solucionImagen {
    display: flex;
    justify-content: center;
}

.solucionImagen img {
    width: 100%;
    max-width: 620px;
}

.solucionText {
    display: flex;
    flex-direction: column;
}

.miniTitulo {
    font-family: 'Utendo';
    color: #57C7A3;
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.solucionText h1 {
    font-family: 'CashMarket';
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    margin-bottom: 25px;
}

.solucionText>p {
    font-family: 'Utendo';
    color: #D7D7D7;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.beneficios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.beneficio {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #27272f;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: .25s;
}

.beneficio:hover {
    transform: translateY(-4px);
}

.beneficio img {
    width: 42px;
}

.beneficio h3 {
    font-family: 'CashMarket';
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.beneficio p {
    margin: 0;
    font-family: 'Utendo';
    color: #BEBEC8;
    font-size: .95rem;
}

.explainFunc p {
    font-family: 'Utendo';
    text-align: center;
}

.cardProblema,
.cardPaso {
    transition: .3s;
}

.cardProblema:hover,
.cardPaso:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .4);
}

.cardPaso {
    position: relative;
    text-align: center;
    background-color: #27272f;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .05);
}

.cardPaso img {
    width: 50%;
    margin-top: 10%;
}

.cardPaso h1 {
    font-family: 'CashMarket';
    font-size: xx-large;
}

.cardPaso p {
    font-family: 'Utendo';
}

.numeroPaso {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5C3E94;
    font-family: 'CashMarket';
    box-shadow: 0 0 30px rgba(92, 62, 148, .35);
}

.cta {
    background:
        linear-gradient(135deg,
            #57C7A3,
            #6BD7B4);
    padding: 50px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .05);
}

.cta p {
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-family: 'Utendo';
    color: black;
}

.ctaEmail {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.ctaEmail input {
    width: 100%;
    max-width: 350px;
    padding: 16px 20px;
    border: 2px solid #726C79;
    border-radius: 12px;
    background-color: #373749;
    color: white;
    font-family: 'Utendo';
    font-size: 1rem;
    outline: none;
    transition: .2s;
}

.ctaEmail input:focus {
    border-color: #5C3E94;
    box-shadow: 0 0 0 4px rgba(92, 62, 148, .25);
}

.ctaEmail input::placeholder {
    color: #B5B5C3;
}

.ctaEmail button {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background-color: #5C3E94;
    color: white;
    font-family: 'Utendo';
    font-size: medium;
    cursor: pointer;
    transition: .2s;
    font-weight: bold;
    letter-spacing: .4px;
}

.ctaEmail button:hover {
    transform: translateY(-2px);
}

.cta h1 {
    font-family: 'CashMarket';
    color: black;
    margin-bottom: 20px;
}

.mensaje {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);

    min-width: 320px;
    max-width: 90vw;

    padding: 16px 24px;
    border-radius: 12px;

    font-family: 'Utendo';
    font-size: 1rem;
    text-align: center;

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;

    z-index: 9999;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}

.mensaje.mostrar {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mensaje.exito {
    background-color: #2ECC71;
    color: white;
}

.mensaje.error {
    background-color: #E74C3C;
    color: white;
}

footer {
    background:
        radial-gradient(circle at top right,
            rgba(87, 199, 163, .12),
            transparent 35%),
        linear-gradient(1000deg,
            #5C3E94,
            #6D4DB5);

    box-shadow:
        0 -10px 40px rgba(92, 62, 148, .25);
    color: white;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 15px;
    padding-bottom: 10px;
}

footer .informacion {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3%;
    padding: 30px 0;
}

footer .columnaFooter h1 {
    font-family: 'CashMarket';
    font-size: x-large;
    margin-bottom: 3%;
}

footer .columnaFooter a {
    font-family: 'Utendo';
}

footer .columnaFooter a:hover,
footer .copyright a:hover {
    text-decoration: none;
}

footer .logoTitulo {
    text-align: center;
}

footer .logoTitulo h1 {
    font-family: 'CashMarket';
    font-size: xx-large !important;
    margin-bottom: 0 !important;
}

footer .logoTitulo p {
    font-family: 'Utendo';
}

footer .logo {
    width: 50%;
    height: auto;
}

footer .ayuda ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .ayuda li {
    margin-bottom: 1%;
}

footer .ayuda a {
    color: white;
}

footer .itemFooter {
    display: flex;
    margin-bottom: 3px;
}

footer .itemFooter img {
    width: 25px;
    height: auto;
    margin-right: 2%;
    margin-bottom: 1%;
}

footer .itemFooter a {
    color: white;
}

footer .footerFila {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Utendo';
}


footer .copy p {
    margin: 0;
}

footer .legal a {
    color: white;
}

footer .legal p {
    margin: 0 5px;
}

@media (max-width: 600px) {
    header .logo {
        width: 15%;
    }

    nav {
        display: none;
    }

    header .offcanva {
        display: block !important;
    }

    .offcanva a {
        padding: 0;
        background: none;
        border: none;
    }

    #introduccion {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .info {
        max-width: 100%;
    }

    .tituloIntro,
    .textInfo {
        text-align: center;
        margin: 0;
        margin-bottom: 5%;
    }

    .imagenCelular {
        display: flex;
        justify-content: center;
    }

    .imagenCelular img {
        width: 100%;
        max-width: 280px;
    }

    .ctaInstalar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .botonWishlist {
        width: 100%;
        padding: 18px;
        font-size: 1.2rem;
    }

    .cardProblema {
        padding: 20px;
    }

    .cardProblema img {
        width: 50px;
    }

    .cardPaso {
        padding: 40px 20px;
    }

    .cardPaso img {
        width: 120px;
        margin-top: 30px;
    }

    .cardPaso h1 {
        font-size: 2rem;
    }

    .cardPaso p {
        max-width: 250px;
        margin: auto;
    }

    .numeroPaso {
        width: 45px;
        height: 45px;
    }

    .cardsProblem {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: space-between;
        margin-top: 5%;
    }

    .solucion {
        display: flex;
        text-align: center;
    }

    .solucionText h1 {
        margin-bottom: 5%;
    }

    .solucion div img {
        display: none;
    }

    .cta {
        padding: 30px 20px;
    }

    .ctaEmail {
        flex-direction: column;
    }

    .ctaEmail button,
    .ctaEmail input {
        width: 100%;
        max-width: none;
    }

    .tituloProblem {
        margin-bottom: 20px;
    }

    .explainFunc>p {
        margin-bottom: 40px;
    }

    .offcanva a img {
        width: 40px;
        height: 40px;
        display: block;
    }

    #offcanvasExample {
        background-color: #15151C;
    }

    .offcanvas-header h5 {
        color: white
    }

    footer {
        display: none;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .error404 {
        min-height: 60vh;
    }

    .error404Logo {
        width: 90px;
    }

    .error404 p {
        font-size: 1rem;
    }

}

.error404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.error404Logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.error404 h1 {
    font-family: 'CashMarket';
    font-size: clamp(5rem, 15vw, 7rem);
    color: #57C7A3;
    line-height: 1;
    margin-bottom: 10px;
}

.error404 h2 {
    font-family: 'CashMarket';
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.error404 h2 span {
    color: #57C7A3;
}

.error404 p {
    font-family: 'Utendo';
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 35px;
}