@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");

:root {
    --background: #030820;
    --background-secondary: #041844;
    --background-gradient: linear-gradient(90deg, rgba(3, 8, 32, 1) 0%, rgba(0, 11, 64, 1) 50%, rgba(3, 8, 32, 1) 100%);
    --blue: #0081cf;
    --orange: #ff6224;
    --white: #f1f1f1
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--white) var(--background)
}

*::-webkit-scrollbar {
    width: 12px
}

*::-webkit-scrollbar-track {
    background: var(--background)
}

*::-webkit-scrollbar-thumb {
    background-color: var(--white);
    border-radius: 20px;
    border: 3px solid var(--background)
}

html,
body {
    background: var(--background);
    background: var(--background-gradient);
    color: var(--white);
    height: 100vh;
    font-family: "Quicksand", sans-serif;
    margin: 0;
    padding: 0
}

header .nav-link {
    color: var(--white);
    margin-right: 10px
}

#home {
    min-height: 500px;
    padding: 150px 0 200px 0;
    background: url(../img/back-home.webp)
}

#home img {
    max-width: 700px;
    width: 100%;
    padding-bottom: 30px
}

#home .img-home img {
    max-width: 400px;
    width: 100%;
    padding-bottom: 30px
}

#home h2 {
    font-size: 3em
}

#home h3 {
    color: var(--orange);
    font-size: 1.5em
}

#home a {
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 15px;
    margin-top: 20px
}

#home a:hover {
    background-color: var(--white);
    color: var(--orange);
    transition: all .8s
}

#plan h3 {
    font-size: 1.2em;
    color: var(--orange)
}

#plan .card {
    background-color: var(--background-secondary);
    color: var(--white);
    padding: 10px 5px;
    border-radius: 20px
}

#plan .card h4 {
    font-size: 2em;
    font-weight: 700
}

#plan .card h5 {
    font-size: 2.5em;
    color: var(--orange);
    padding: 10px 0 0 0;
    margin-bottom: 0;
    font-weight: 600
}

#plan .card i {
    font-size: 45px;
    display: block;
    margin-bottom: 10px
}

#plan .card a i {
    display: inline;
    font-size: 16px;
    padding-right: 10px
}

#plan .card ul {
    padding: 10px 0;
    margin: 0
}

#plan .card ul li {
    list-style-type: none;
    padding: 2px 0
}

#fibra {
    padding: 100px 0 60px 0;
    background-position: right;
    background-size: 100%;
    background: url(../img/back-home.webp);
    background-attachment: fixed
}

#central {
    margin: 50px 0 80px 0;
    background-color: var(--background-secondary);
    text-align: center;
    color: var(--white);
    border-radius: 10px
}

#central .img {
    background: url(../img/back-home.webp);
    background-attachment: fixed;
    padding: 50px 0 50px 0
}

footer {
    text-align: center
}

footer a {
    text-decoration: none;
    color: var(--white)
}

footer h2 {
    padding-bottom: 5px
}

footer .col-lg-6 i {
    margin-left: 15px;
    color: var(--white);
    font-size: 25px
}

footer .col-lg-6 i:hover {
    color: var(--orange)
}

footer .footer {
    padding-top: 10px
}

footer .link {
    font-size: 18px !important
}

hr {
    color: #545454
}

.btn-popular {
    background: linear-gradient(45deg, var(--orange), #ff8c42);
    color: var(--white)!important;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 36, 0.3);
    position: relative;
    overflow: hidden
}

.btn-popular:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease
}

.btn-popular:hover:before {
    left: 100%
}

.btn-popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 98, 36, 0.4);
    color: var(--white)
}

.btn-popular2 {
    background: linear-gradient(45deg, var(--white), #f8f9fa);
    color: var(--orange) !important;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid var(--orange);
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 36, 0.2);
    position: relative;
    overflow: hidden
}

.btn-popular2:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 98, 36, 0.1), transparent);
    transition: left 0.6s ease
}

.btn-popular2:hover:before {
    left: 100%
}

.btn-popular2:hover {
    background: linear-gradient(45deg, var(--orange), #ff8c42);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 98, 36, 0.4);
    border-color: var(--orange)
}

.btn-popular3 {
    background: linear-gradient(45deg, var(--white), #f8f9fa);
    color: var(--orange) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    border: 2px solid var(--orange);
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 36, 0.2);
    position: relative;
    overflow: hidden
}

.btn-popular3 {
    background: linear-gradient(45deg, var(--white), #f8f9fa);
    color: var(--orange) !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    padding: 2px 15px!important;
    border: 2px solid var(--orange);
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 36, 0.2);
    position: relative;
    overflow: hidden
}

.btn-popular3:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 98, 36, 0.1), transparent);
    transition: left 0.6s ease
}

.btn-popular3:hover:before {
    left: 100%
}

.btn-popular3:hover {
    background: linear-gradient(45deg, var(--orange), #ff8c42);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 98, 36, 0.4);
    border-color: var(--orange)
}

.header {
    background: var(--background);
    background: var(--background-gradient);
    border-bottom: 1px solid #545454
}

.color-popular {
    color: var(--orange) !important
}

a:hover {
    color: var(--orange)
}

#app-download {
    margin-top: 50px;
    padding: 60px 0 60px 0;
    background: linear-gradient(135deg, var(--background-secondary) 0%, #0a1a3a 100%);
    position: relative;
    overflow: hidden
}

#app-download:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,98,36,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3
}

#app-download h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--orange), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

#app-download h3 {
    font-size: 1.3em;
    color: var(--white);
    margin-bottom: 10px
}

.app-subtitle {
    font-size: 1.1em;
    color: #ccc;
    font-style: italic;
    margin-bottom: 40px
}

.app-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 30px 20px;
    border-radius: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden
}

.app-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease
}

.app-card:hover:before {
    left: 100%
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 98, 36, 0.2)
}

.android-card {
    border-left: 4px solid #3ddc84
}

.ios-card {
    border-left: 4px solid #007aff
}

.features-card {
    border-left: 4px solid var(--orange)
}

.app-icon {
    font-size: 4em;
    margin-bottom: 20px;
    transition: transform 0.3s ease
}

.android-icon {
    color: #3ddc84;
    text-shadow: 0 0 20px rgba(61, 220, 132, 0.5)
}

.ios-icon {
    color: #007aff;
    text-shadow: 0 0 20px rgba(0, 122, 255, 0.5)
}

.features-icon {
    color: var(--orange);
    text-shadow: 0 0 20px rgba(255, 98, 36, 0.5)
}

.app-card:hover .app-icon {
    transform: scale(1.1) rotate(5deg)
}

.app-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #e0e0e0;
    font-size: 1.1em
}

.app-badge {
    margin: 20px 0
}

.store-badge {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease
}

.app-card:hover .store-badge {
    transform: scale(1.05)
}

.btn-android {
    background: linear-gradient(45deg, #3ddc84, #2bb673);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
    position: relative;
    overflow: hidden
}

.btn-android:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease
}

.btn-android:hover:before {
    left: 100%
}

.btn-android:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 220, 132, 0.4);
    color: white
}

.btn-ios {
    background: linear-gradient(45deg, #007aff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden
}

.btn-ios:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease
}

.btn-ios:hover:before {
    left: 100%
}

.btn-ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
    color: white
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left
}

.app-features li {
    padding: 12px 0;
    color: #e0e0e0;
    position: relative;
    padding-left: 35px;
    font-size: 1.05em;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.app-features li:last-child {
    border-bottom: none
}

.app-features li i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 1.1em;
    width: 20px;
    text-align: center
}

.app-features li:hover {
    color: var(--white);
    transform: translateX(5px)
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center
}

.loading-spinner {
    text-align: center;
    color: var(--white)
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px
}

.loading-spinner p {
    font-size: 1.2em;
    margin: 0
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* Mobile First Responsive Design */
@media (max-width:575.98px) {
    #home h2 {
        font-size: 2em
    }

    #home h3 {
        font-size: 1.2em
    }

    #home {
        padding: 120px 0 150px 0
    }

    #plan .card h4 {
        font-size: 1.5em
    }

    #plan .card h5 {
        font-size: 2em
    }

    #plan .card i {
        font-size: 35px
    }

    #app-download {
        padding: 60px 0 40px 0
    }

    #app-download h2 {
        font-size: 2em
    }

    .app-card {
        padding: 20px 15px
    }

    .app-icon {
        font-size: 3em
    }

    .app-description {
        font-size: 1em
    }

    .store-badge {
        max-width: 120px
    }

    .btn-android,
    .btn-ios {
        padding: 10px 20px;
        font-size: 0.9em
    }

    .app-features li {
        font-size: 1em;
        padding: 10px 0
    }

    footer .link {
        font-size: 16px !important
    }
}

@media (min-width:576px) and (max-width:767.98px) {
    #home h2 {
        font-size: 2.5em
    }

    #home h3 {
        font-size: 1.3em
    }

    #plan .card h4 {
        font-size: 1.8em
    }

    #plan .card h5 {
        font-size: 2.2em
    }
}

@media (min-width:768px) and (max-width:991.98px) {
    #home h2 {
        font-size: 2.8em
    }

    #home h3 {
        font-size: 1.4em
    }

    #plan .card h4 {
        font-size: 1.9em
    }

    #plan .card h5 {
        font-size: 2.3em
    }
}

@media (min-width:992px) and (max-width:1199.98px) {
    #home h2 {
        font-size: 3em
    }

    #home h3 {
        font-size: 1.5em
    }
}

@media (min-width:1200px) {
    #home h2 {
        font-size: 3.2em
    }

    #home h3 {
        font-size: 1.6em
    }

    #plan .card h4 {
        font-size: 2.2em
    }

    #plan .card h5 {
        font-size: 2.7em
    }
}