@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('header.css');
@import url('footer.css');

::-webkit-scrollbar {
    background: linear-gradient(to top, black, rgb(85, 85, 85), black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(280deg, #00c6ff, #00ff6a);
    border-radius: 50px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.one {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.one::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.second {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    background: radial-gradient(circle at top left, #0f0f0f, #000000);
}

.conteudo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-shadow: 1px 1px 5px black;
}

.rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.diamond-fall {
    position: absolute;
    top: 0;
    animation-name: fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    will-change: transform;
    z-index: 2;
}

@keyframes fall {
    0% {
        transform: translateY(-10%);
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0;
    }
}

.diamond {
    background-image: url('../img/diamante.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    animation-name: sway;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    pointer-events: none;
    will-change: transform;
    z-index: 2;
    filter: drop-shadow(0 0 4px #00ffff);
}

@keyframes sway {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-20px);
    }

    50% {
        transform: translateX(20px);
    }

    75% {
        transform: translateX(-15px);
    }

    100% {
        transform: translateX(0);
    }
}

.hero {
    text-align: center;
    margin-top: 8rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    font-weight: bolder;
    color: #00ffff;
    margin-bottom: 2rem;
}

.btn-download {
    position: relative;
    background: linear-gradient(135deg, #00ff6a, #007f3f);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    border-radius: 0.75rem;
    cursor: pointer;
    overflow: visible;
    z-index: 1;
    transition: transform 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 255, 106, 0.6);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-download::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 1rem;
    background: linear-gradient(270deg,
            rgba(0, 255, 106, 0.7),
            rgba(0, 255, 106, 0.3),
            rgba(0, 255, 106, 0.7));
    filter: blur(15px);
    opacity: 0.7;
    animation: pulse-trail 3s linear infinite;
    z-index: -1;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 25px rgba(0, 255, 106, 1),
        0 0 60px rgba(0, 255, 106, 0.7);
}

@keyframes pulse-trail {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 1rem;
    width: 250px;
    box-shadow: 0 0 15px rgba(0, 255, 242, 0.3);
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 255, 242, 0.6);
}

.feature-img {
    display: block;
    margin: 1rem auto 0;
    width: 90%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #00c6ff;
}

.feature-card p {
    color: #ccc;
    font-size: 0.95rem;
}

.help-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 10rem;
}

.help-box.reverse {
    flex-direction: row-reverse;
}

.help-text {
    flex: 1;
    color: #fff;
}

.help-text h3 {
    font-size: 1.8rem;
    color: #00ff6a;
    margin-bottom: 1rem;
}

.help-text li {
    text-decoration: none;

    & span {
        color: #00ff6a;
    }
}

.help-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;

    & span {
        color: #00ff6a;
    }

    & a {
        color: #00ffff;
    }
}

.help-img {
    flex: 1;
    text-align: center;
}

.help-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(0, 255, 106, 0.2);
}

.conteudohelp {
    margin: 10rem;
}

#mobileAlert {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#mobileAlert.show {
    display: block;
    opacity: 1;
}

/* reposividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #111;
        padding: 1rem 2rem;
        gap: 1rem;
        animation: fadeIn 0.3s ease forwards;
    }

    .nav-links.active {
        display: flex;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .one {
        background-image: url('../img/background-celular.png');
    }

    .conteudo {
        margin: 2rem;
        padding: 2rem;
    }

    .conteudohelp {
        margin: 1.5rem;
    }

    .help-box {
        display: flex;
        flex-direction: column;
        padding-bottom: 5rem;
    }

    .help-box.reverse {
        flex-direction: column;
    }
}
