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

/* --- Variáveis de Cores --- */
:root {
    --dark-blue: #1D3557;
    --medium-blue: #49648A;
    --light-blue-accent: #ABCEFF;
    --bluish-white: #D1DEF0;
    --grayish-blue: #8A9FBD;
}

#telaGrande {
        display: block;
    }

    #telaMenor {
        display: none;
    }

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-blue);
    color: var(--bluish-white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

h1, h2, h3 {
    color: var(--bluish-white);
    text-align: center;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

p {
    color: var(--grayish-blue);
    line-height: 1.6;
}

/* --- Animação de Fundo (Partículas) --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- Seção 0: Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

#main-header.scrolled {
    background-color: rgba(29, 53, 87, 0.9);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#main-header .logo img {
    height: 100px;
    filter: brightness(0) invert(1);
}

.cta-button {
    background-color: var(--light-blue-accent);
    color: var(--dark-blue);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(171, 206, 255, 0.3);
}

/* --- Seção 1: Herói --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content .highlight-word {
    color: var(--light-blue-accent);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- Seção 2: A Dor e o Remédio --- */
#pain-solution .container {
    display: flex;
    gap: 40px;
}

#pain-solution .column {
    flex: 1;
    padding: 20px;
}

#pain-solution h2 {
    text-align: left;
}

#pain-solution ul {
    list-style: none;
}

#pain-solution ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#pain-solution .column:first-child ul li {
    color: var(--grayish-blue);
}

#pain-solution .column:last-child ul li {
    color: var(--bluish-white);
}

#pain-solution .icon-red {
    color: #E63946;
    margin-right: 10px;
    font-size: 1.5rem;
}

#pain-solution .icon-green {
    color: var(--light-blue-accent);
    margin-right: 10px;
    font-size: 1.5rem;
}

/* --- Seção 3: Como Funciona --- */
#how-it-works {
    background-color: var(--medium-blue);
}

.column-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.card {
    background-color: var(--dark-blue);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 3rem;
    color: var(--light-blue-accent);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* --- Seção 4: Para Quem é? --- */
.profiles-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.profile {
    text-align: center;
    max-width: 250px;
}

.profile-icon {
    font-size: 4rem;
    color: var(--bluish-white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.profile-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--light-blue-accent);
    opacity: 0.6;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

.profile:hover .profile-icon::after {
    width: 80px;
    height: 80px;
    opacity: 0;
    animation: icon-pulse 1s ease-out;
}

@keyframes icon-pulse {
    from {
        transform: translateX(-50%) scale(0);
        opacity: 0.6;
    }
    to {
        transform: translateX(-50%) scale(1.2);
        opacity: 0;
    }
}

.profile h3 {
    color: var(--light-blue-accent);
    font-size: 1.5rem;
}

/* --- Seção 5: CTA Final --- */
#final-cta {
    text-align: center;
}

#final-cta .final-logo {
    height: 150px;
    filter: brightness(0) invert(1);
    margin-bottom: 0px;
}

#final-cta h2 {
    color: var(--light-blue-accent);
    font-size: 2.5rem;
}

#final-cta p {
    max-width: 600px;
    margin: 15px auto 40px auto;
}

#waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    width: 400px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--medium-blue);
    background-color: #fff;
    font-size: 1rem;
    color: var(--dark-blue);
}

.form-group input::placeholder {
    color: #999;
}

#waitlist-form .final-cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
}

#form-message {
    margin-top: 20px;
    font-size: 1.1rem;
}

/* --- Seção 6: Rodapé --- */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--medium-blue);
    text-align: center;
    position: relative;
    z-index: 2;
}

footer .footer-logo {
    height: 30px;
    filter: brightness(0) invert(1) opacity(0.7);
    margin-bottom: 10px;
}

footer p {
    color: var(--grayish-blue);
    font-size: 0.9rem;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    #pain-solution .container {
        flex-direction: column;
    }

    .cards-container, .profiles-container {
        flex-direction: column;
        align-items: center;
    }

    .card, .profile {
        width: 100%;
        max-width: 350px;
    }

    #telaGrande {
        display: none;
    }

    #telaMenor {
        display: block;
        width: 200px;
        margin: auto;
    }
}