
:root{
    --fnd: #ffffff;
    --fnd-obs: #f8f9fa;
    --menu: #e6254ae6;
    --rojo: #e6254a;
    --azul: #4CB6E5;
    --footer: #1f2937;
    --footer-text: #9ca3af;
}

@font-face {
    font-family: Montserrat;
    src: url(../fuente/Montserrat/Montserrat-Regular.ttf);
}

html, body {
  font-family: 'Montserrat' !important;
}

#main {
    height: 100vh;
    width: 100vw;
    overflow-y: auto;
    background-color: var(--fnd);
    background-image: repeating-linear-gradient(36deg, rgba(255,255,255, 0.6), rgba(255,255,255, 0.6) 1px, transparent 0px, transparent 2px);
    margin-top: 92px;
}

.menu{
    padding: 16px 0;
    height: 92px;
    background-color: var(--menu);
    backdrop-filter: blur(8px);
    position: fixed;
    z-index: 10000;
    top: 0;
    box-shadow: 0 1px 3px #0000001a;
    .c1{
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        .logo{}
        .nav{
            display: flex;
            align-items: center;
            justify-content: flex-end;
            @media (max-width: 900px) {
                position: absolute;
                top: 80px;
                right: 0;
                width: 100vw;
                max-width: 100vw;
                background: var(--rojo);
                flex-direction: column;
                align-items: flex-start;
                padding: 2rem 1.5rem 2rem 2rem;
                gap: 1.5rem;
                box-shadow: 0 8px 32px #0000001f;
                z-index: 100;
                display: none;
                &.active {
                    display: flex;
                }
                .nav-link {
                    color: var(--fnd);
                    font-size: 1.2rem;
                    font-weight: 600;
                    padding: 0;
                }
            }
            a{
                font-weight: 600;
                color: var(--fnd);
                &:hover{
                    color: var(--fnd-obs);
                }
            }
        }
        .mobile-menu-button {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: .5rem;
            @media (max-width: 768px) {
                display: block;
            }
            span {
                display: block;
                width: 25px;
                height: 3px;
                background-color: var(--fnd-obs);
                margin: 5px 0;
                transition: .3s;
            }
        }
    }
}

.txtRojo{
    color: var(--rojo);
}
.txtAzul{
    color: var(--azul);
}

.p1{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    /* background: #f8f9fa; */
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background-color: var(--fnd-obs);

    /* background-color: var(--fnd-obs);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center; */
    .hero-modern-content {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 4rem 0rem 0rem;
        gap: 2rem;
        @media (max-width: 1100px) {
            flex-direction: column;
            gap: 3.5rem;
            padding: 2rem 0rem 0rem 0rem;
        }
        .hero-modern-left {
            flex: 1 1 0;
            min-width: 260px;
            max-width: 420px;
            @media (max-width: 1100px) {
                max-width: 100%;
                text-align: center;
            }
            .hero-title {
                font-size: 3rem;
                font-weight: 900;
                color: var(--rojo);
                margin-bottom: 1rem;
                line-height: 1.1;
                @media (max-width: 600px) {
                    font-size: 2rem;
                }
            }
            .hero-subtitle {
                font-size: 2rem;
                font-weight: 800;
                color: #222;
                margin-bottom: 1.5rem;
                @media (max-width: 600px) {
                    font-size: 1.2rem;
                }
            }
            .hero-desc {
                font-size: 1.2rem;
                color: #333;
                margin-bottom: 2rem;
            }
        }
        .hero-modern-center {
            flex: 0 0 340px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            &:before {
                content: "";
                position: absolute;
                width: 600px;
                height: 600px;
                background: radial-gradient(circle, rgba(230, 37, 74, .15) 0%, rgba(230, 37, 74, .05) 30%, transparent 70%);
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: -1;
                filter: blur(40px);
            }
            @media (max-width: 1100px) {
                margin: 0 auto;
            }
            @media (max-width: 600px) {
                width: 200px;
                height: 380px;
                border-radius: 24px;
            }
            .phone-notch {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translate(-50%);
                width: 105px;
                height: 21px;
                background: #1a1a1a;
                border-bottom-left-radius: 15px;
                border-bottom-right-radius: 15px;
                z-index: 2;
                @media (max-width: 768px) {
                    width: 70px;
                    height: 14px;
                }
            }
            .phone-mockup {
                width: 280px;
                height: 570px;
                background: #fff;
                border-radius: 36px;
                border: 8px solid #222;
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                .phone-screen-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 28px;
                    @media (max-width: 600px) {
                        border-radius: 16px;
                    }
                }
                @media (max-width: 600px) {
                    width: 200px;
                    height: 380px;
                    border-radius: 24px;
                }
            }
        }
        .hero-modern-right {
            flex: 1 1 0;
            min-width: 260px;
            max-width: 420px;
            @media (max-width: 1100px) {
                max-width: 100%;
                text-align: center;
            }
            .hero-highlight {
                font-size: 2.2rem;
                font-weight: 900;
                color: var(--rojo);
                margin-bottom: 1rem;
            }
            .hero-secondary {
                font-size: 1.1rem;
                color: #333;
                margin-bottom: 2rem;
            }
        }
    }
}

.p2{
    background-color: var(--fnd);
    text-align: center;
    padding: 8rem 2rem;
    @media (max-width: 768px) {
        padding: 4rem 2rem;
    }
    .section-tag {
        display: inline-block;
        background: #e6254a1a;
        color: var(--rojo);
        padding: .5rem 1rem;
        border-radius: 2rem;
        font-size: .875rem;
        font-weight: 600;
        margin-bottom: .125rem;
    }
    .section-h {
        font-size: 2.5rem;
        margin: 2.5rem 0;
        /* color: var(--text-color); */
        text-align: center;
        font-weight: 900;
        letter-spacing: -.03em;
        line-height: 1.2;
        @media (max-width: 768px) {
            font-size: 2rem;
        }
    }
    .how-it-works-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        p {
            margin-bottom: 1.5rem;
            letter-spacing: -.01em;
            &.lead{
                font-weight: 800;
            }
        }
        .download-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 3rem 0 1.5rem;
            letter-spacing: -.02em;
        }
        .store-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 1rem;
            .store-button{
                background: #fff;
                padding: .5rem;
                border-radius: .5rem;
                transition: transform .2s;
                img {
                    height: 50px;
                }
                &:hover{
                    transform: translateY(-5px);
                }
            }
            @media (max-width: 768px) {
                flex-direction: column;
                align-items: center;
            }
        }
    }
}

.p3{
    background-color: var(--fnd-obs);
    padding: 4rem 0;
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
        .section-tag {
            display: inline-block;
            background: #e6254a1a;
            color: var(--rojo);
            padding: .5rem 1rem;
            border-radius: 2rem;
            font-size: .875rem;
            font-weight: 600;
            margin-bottom: .125rem;
        }
        .section-h {
            font-size: 2.5rem;
            margin: 2.5rem 0;
            /* color: var(--text-color); */
            text-align: center;
            font-weight: 900;
            letter-spacing: -.03em;
            line-height: 1.2;
            @media (max-width: 768px) {
                font-size: 2rem;
            }
        }
    }
    .swiper {
        width: 100%;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        overflow: hidden;
        list-style: none;
        padding: 0;
        z-index: 1;
        display: block;
    }
    .sponsor-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform .3s;
        padding: 0;
        margin: 10px auto;
        img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 150px;
            object-fit: contain;
        }
    }
}

.p4{
    padding: 6rem 20px;
    background-color: var(--fnd);
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
        .section-tag {
            display: inline-block;
            background: #e6254a1a;
            color: var(--rojo);
            padding: .5rem 1rem;
            border-radius: 2rem;
            font-size: .875rem;
            font-weight: 600;
            margin-bottom: .125rem;
        }
        .section-h {
            font-size: 2.5rem;
            margin: 2.5rem 0;
            /* color: var(--text-color); */
            text-align: center;
            font-weight: 700;
            letter-spacing: -.03em;
            line-height: 1.2;
        }
    }
    .features-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 2rem;
        display: flex;
        flex-direction: column;
        .feature-step {
            display: flex;
            align-items: center;
            gap: 3rem;
            margin-bottom: 4rem;
            opacity: .5;
            transition: opacity .3s ease;
            flex-direction: row;
            @media (max-width: 768px) {
                flex-direction: column;
                text-align: center;
                padding: 2rem 1rem 0 1rem;
                gap: 1rem;
                margin-bottom: 0;
            }
            &.reverse {
                flex-direction: row-reverse;
                @media (max-width: 768px) {
                    flex-direction: column;
                }
            }
            &.active {
                opacity: 1;
            }
            .phone-frame {
                height: fit-content;
                background: transparent;
                position: relative;
                width: 100%;
                overflow: hidden;
                width: 300px;
                @media (max-width: 768px) {
                    flex: 0 0 auto;
                    width: 70vw;
                }
                .phone-screen {
                    width: 100%;
                    height: 100%;
                    overflow: hidden;
                    position: relative;
                    display: block;
                    img{
                        width: 100%;
                    }
                }
            }
            .feature-content {
                flex: 1;
                max-width: 500px;
                @media (max-width: 768px) {
                    padding: 1rem 0;
                }
                .step-header {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    margin-bottom: 1rem;
                    @media (max-width: 768px) {
                        flex-direction: column;
                        align-items: center;
                        gap: 0.5rem;
                    }
                    .step-number {
                        width: 40px;
                        height: 40px;
                        background: #e6254a;
                        color: #fff;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-weight: 700;
                        font-size: 1.2rem;
                        @media (max-width: 768px) {
                            margin-bottom: 0.5rem;
                        }
                    }
                    .step-title {
                        font-size: 1.5rem;
                        font-weight: 600;
                        color: var(--text-color);
                        margin: 0;
                        @media (max-width: 768px) {
                            font-size: 1.5rem;
                        }
                    }
                }
                .step-description {
                    color: var(--text-color);
                    line-height: 1.6;
                }
            }
        }
    }
}

.p5{
    background-color: var(--fnd-obs);
    .download-section {
        padding: 80px 20px;
        .download-card {
            background-color: #e6254a;
            border-radius: 24px;
            padding: 60px;
            width: 100%;
            display: flex;
            position: relative;
            overflow: hidden;
            @media (max-width: 968px) {
                flex-direction: column;
                padding: 40px;
                text-align: center;
            }
            .download-content {
                flex: 1;
                color: #fff;
                max-width: 500px;
                position: relative;
                z-index: 2;
                @media (max-width: 968px) {
                    max-width: 100%;
                    margin-bottom: 300px;
                }
                @media (max-width: 640px) {
                    margin-bottom: 200px;
                }
                h2 {
                    color: #fff;
                    text-align: left;
                    font-size: 3.5rem;
                    margin-bottom: 20px;
                    font-weight: 700;
                    letter-spacing: -.03em;
                    line-height: 1.2;
                    @media (max-width: 968px) {
                        text-align: center;
                        font-size: 2.5rem;
                    }
                }
                .download-description {
                    font-size: 1.25rem;
                    margin-bottom: 30px;
                    line-height: 1.6;
                    opacity: .9;
                }
                .store-buttons_footer {
                    display: flex;
                    gap: 1.5rem;
                    margin-top: 1rem;
                    @media (max-width: 968px) {
                        flex-direction: column;
                        align-items: center;
                    }
                    .store-button{
                        padding: .5rem;
                        border-radius: .5rem;
                        transition: transform .2s;
                        img {
                            height: 50px;
                            border-radius: 12px;
                            border: 1px solid #fff;
                        }
                        &:hover{
                            transform: translateY(-5px);
                        }
                    }
                }
            }
            .phones-container {
                position: absolute;
                right: 0;
                top: 0;
                bottom: 0;
                width: 50%;
                overflow: visible;
                @media (max-width: 968px) {
                    position: absolute;
                    inset: auto 0 0;
                    height: 300px;
                    width: 100%;
                }
                @media (max-width: 640px) {
                    height: 200px;
                }
                .phone-top {
                    position: absolute;
                    top: -200px;
                    right: 100px;
                    width: 230px;
                    @media (max-width: 968px) {
                        width: 200px;
                        top: -5px;
                        right: auto;
                        left: -100px;
                    }
                    @media (max-width: 640px) {
                        top: -100px;
                        width: 180px;
                    }
                    .phone-frame {
                        width: 100%;
                        height: fit-content;
                        background: transparent;
                        position: relative;
                        overflow: hidden;
                        @media (max-width: 768px) {
                            flex: 0 0 auto;
                            width: 45vw;
                        }
                        .phone-screen {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            position: relative;
                            img{
                                width:100%;
                            }
                        }
                    }
                }
                .phone-bottom {
                    position: absolute;
                    bottom: -150px;
                    right: 400px;
                    width: 230px;
                    @media (max-width: 968px) {
                        width: 200px;
                        bottom: -40px;
                        right: -60px;
                    }
                    @media (max-width: 640px) {
                        width: 180px;
                        bottom: -75px;
                        right: -100px;
                    }
                    .phone-frame {
                        width: 100%;
                        height: fit-content;
                        background: transparent;
                        position: relative;
                        overflow: hidden;
                        @media (max-width: 768px) {
                            flex: 0 0 auto;
                            width: 45vw;
                        }
                        .phone-screen {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            position: relative;
                            img{
                                width:100%;
                            }
                        }
                    }
                }
            }
        }
    }
}

.p6{
    background-color: var(--footer);
    color: var(--fnd);
    padding: 4rem 0 2rem;
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4rem;
        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            .footer-logo {
                font-size: 1.5rem;
                font-weight: 700;
                color: var(--fnd);
                text-decoration: none;
            }
            .footer-description {
                color: var(--footer-text);
                font-size: .95rem;
                line-height: 1.6;
            }
        }
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            .footer-title {
                color: #fff;
                font-size: 1rem;
                font-weight: 600;
                margin-bottom: .5rem;
            }
            .footer-link {
                color: var(--footer-text);
                text-decoration: none;
                font-size: .95rem;
                transition: color .2s;
            }
        }
    }
    .footer-bottom {
        margin-top: 4rem;
        padding-top: 2rem;
        border-top: 1px solid var(--footer-text);
        text-align: center;
        color: var(--footer-text);
        font-size: .875rem;
        @media (max-width: 768px) {
            margin-top: 2rem;
            padding-top: 1.5rem;
            p{
                margin-top: 1rem;
            }
        }
    }
}

.priv{
    text-align: center;
    margin-top: 92px;
    min-height: calc(100vh - 92px);
    .hero-title{
        display: flex;
        justify-content: space-between;
        margin: 15px;
        font-size: 50px;
        font-weight: bold;
        @media (max-width: 576px) {
            flex-direction: column;
        }
        small{
            font-weight: 100;
        }
        .btn span{
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    .contenido{
        padding: 50px;
        @media (max-width: 576px) {
            padding: 5px;
            span{
                font-size: 85% !important;
            }
        }
    }
}

@media (max-width: 768px) {
    .step-arrow {
        width: 40px;
        height: 60px;
        margin: 0 auto;
    }
    .step-arrow::before {
        width: 0;
        height: 60%;
        border-top: none;
        border-left: 3px dashed var(--header-color);
        left: 50%;
        top: 20%;
        bottom: 20%;
        transform: none;
        animation: dashmove-vert 1.5s linear infinite;
    }
    .step-arrow::after {
        left: 50%;
        top: 82%;
        right: auto;
        border-top: 14px solid var(--header-color);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: none;
        width: 0;
        height: 0;
        transform: translateX(-50%);
    }
}

@keyframes dashmove-vert {
    to {
        border-left-color: var(--header-color);
        border-left-style: dashed;
        border-left-width: 3px;
        border-left: 3px dashed var(--header-color);
        background-position-y: 60px;
    }
}

.arrow-path {
    stroke-dasharray: 18 14;
    stroke-dashoffset: 0;
    animation: dashmove 1.5s linear infinite;
}

@keyframes dashmove {
    to {
        stroke-dashoffset: -64px;
    }
}
