/* =======================================
   ROOT & GENERAL SETUP
   ======================================= */
:root {
    --primary-green: #00FF85;
    --accent-purple: #B45BFF;
    --accent-cyan: #00D1FF;
    --dark-bg: #0A0A14;
    --card-bg: rgba(22, 22, 38, 0.7);
    --border-color: rgba(106, 106, 153, 0.2);
    --glow-color: rgba(0, 255, 133, 0.1);
    --text-light: #EBEBEF;
    --text-muted: #858599;
    --font-family: 'Poppins', sans-serif;
    --text-wrap-balance: balance;
    --section-padding: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    image-rendering: -webkit-optimize-contrast; /* Correção para nitidez das partículas */
    image-rendering: crisp-edges;
}

h1, h2, h3, h4, strong { font-weight: 700; color: var(--text-light); }
h1, h2 { text-wrap: var(--text-wrap-balance); letter-spacing: -0.03em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2;}
section { padding: var(--section-padding) 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; line-height: 3.3; }
.left-align { text-align: left; }
.desktop-only { display: block; }
.mobile-only { display: none; }

/* =======================================
   ANIMATIONS & CTA BUTTON
   ======================================= */
.animate-fade-in, .animate-fade-in-up, .animate-slide-in-left, .animate-slide-in-right { opacity: 0; }
.animate-fade-in.visible { animation: fadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.animate-fade-in-up.visible { animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.animate-slide-in-left.visible { animation: slideInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.animate-slide-in-right.visible { animation: slideInRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.delay-1 { animation-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.4s !important; }
.delay-3 { animation-delay: 0.6s !important; }

header { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--text-light); text-decoration: none; letter-spacing: 1px; }

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary-green));
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 133, 0.4);
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(0, 255, 133, 0.6); }
.primary-cta { font-size: 1.1rem; padding: 16px 35px; }

/* =======================================
   HERO & HOW IT WORKS
   ======================================= */
#hero { text-align: center; padding: 100px 0; }
#hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
#hero h1 span {
    background: linear-gradient(45deg, var(--accent-cyan), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#hero .subheadline { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; margin-bottom: 30px; font-weight: 300; }
#hero .hero-buttons { margin-top: 30px; }

.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); backdrop-filter: blur(10px); text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateY(-5px); border-color: rgba(0, 255, 133, 0.4); }
.step-icon { width: 35px; height: 35px; background: linear-gradient(45deg, var(--accent-purple), var(--accent-cyan)); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; margin: 0 auto 20px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-light); }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* =======================================
   WHAT YOU GET
   ======================================= */
#what-you-get { padding-top: 0; } /* Padding é controlado pelo espaçador no mobile */

.grid-container { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .grid-container { grid-template-columns: 1fr 0.8fr; gap: 60px; } }
.get-content .section-title { margin-bottom: 30px; font-size: 2rem; }
.feature-list { list-style: none; }
.feature-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: start;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-muted);
}
.feature-list li:last-child { margin-bottom: 0; }
.feature-list svg { width: 18px; height: 18px; color: var(--primary-green); margin-top: 3px; }
.feature-list strong { color: var(--text-light); margin-right: 5px; font-weight: 600; }

.get-box-visual { padding: 30px; border-radius: 12px; background: linear-gradient(160deg, rgba(22, 22, 38, 0.7), rgba(10, 10, 20, 0.6)); border: 1px solid var(--border-color); text-align: center; min-height: 250px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: inset 0 0 20px rgba(10, 10, 20, 0.5); transition: transform 0.3s ease, border-color 0.3s ease; }
.get-box-visual:hover { border-color: rgba(0, 255, 133, 0.4); transform: scale(1.02); }
.get-box-visual h4 { font-size: 1.8rem; color: var(--primary-green); font-weight: 800; }
.get-box-visual p { font-size: 1rem; color: var(--text-muted); margin-top: 10px; }

/* =======================================
   SCARCITY & OFFER
   ======================================= */
#scarcity { padding: 50px 0; }
.scarcity-box { border: 1px solid var(--border-color); background-color: var(--dark-bg); border-radius: 10px; padding: 30px; text-align: center; }
.scarcity-box h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-green); }
.scarcity-box h3 span { font-size: 1.5rem; margin-right: 8px; }
.scarcity-box p { color: var(--text-muted); max-width: 550px; margin: 0 auto; line-height: 1.6; font-size: 0.9rem; }
.scarcity-box p strong { font-weight: 600; color: var(--text-light); }

#offer { padding-bottom: 80px; }
.offer-box { max-width: 650px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--border-color); backdrop-filter: blur(10px); border-radius: 14px; padding: 30px; text-align: center; }
.offer-box h3 { font-size: 1.3rem; margin-bottom: 20px; }
.value-stack { list-style: none; margin-bottom: 20px; }
.value-stack li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-muted); }
.value-stack li:last-child { border: none; }
.value-stack li del { opacity: 0.6; }
.total-value { margin: 15px 0; }
.total-value p { font-size: 1rem; margin-top: 8px; }
.price { margin: 15px 0; }
.price .installments { font-size: 1.3rem; color: var(--text-muted); }
.price .main-price { font-size: 2.5rem; color: var(--primary-green); font-weight: 800; margin-left: 8px; }
.ou-avista { margin: -10px 0 20px 0; font-size: 0.9rem; }
#offer .garantia { color: var(--text-muted); font-size: 0.8rem; margin-top: 15px; display: block; }

/* =======================================
   SOCIAL PROOF
   ======================================= */
#social-proof { padding: 80px 0; background: var(--dark-bg); overflow: hidden; }
.testimonials-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.testimonials-wrapper { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.testimonial-card { flex-shrink: 0; width: 300px; background: var(--card-bg); border: 1px solid var(--border-color); backdrop-filter: blur(10px); padding: 25px; border-radius: 10px; margin: 0 10px; text-align: center; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; font-style: italic; }
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--text-light); display: block; margin-top: 5px; }
.testimonial-card cite::before { content: '“'; font-size: 1.5rem; color: var(--primary-green); vertical-align: top; line-height: 1; margin-right: 5px; }
.testimonial-card cite::after { content: '”'; font-size: 1.5rem; color: var(--primary-green); vertical-align: bottom; line-height: 1; margin-left: 5px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-60%); } }

/* =======================================
   FAQ
   ======================================= */
#faq { padding-bottom: 80px; }
.faq-container { max-width: 650px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--border-color); }
summary { font-size: 1.1rem; font-weight: 600; color: var(--text-light); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 15px; max-width: 600px; }

/* =======================================
   FOOTER
   ======================================= */
footer {
    padding: var(--section-padding) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.legal-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
    opacity: 0.6;
}
footer p:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* =======================================
   NOVO ESPAÇADOR PARA MOBILE
   ======================================= */
.mobile-spacer {
    display: none; /* Escondido no desktop */
}

/* =======================================
   RESPONSIVENESS (CORREÇÕES APLICADAS AQUI)
   ======================================= */
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    /* Adiciona mais respiro no topo e abaixo da primeira seção */
    #hero {
        padding-top: 100px; /* Aumenta o espaço no topo */
        padding-bottom: 80px; /* Garante um espaço abaixo */
    }

    /* Aumenta o espaço entre o título e a descrição */
    #hero h1 {
        margin-bottom: 30px; 
    }
    
    section {
        padding: 60px 0; /* Diminui o padding geral das seções no mobile */
    }

    .section-title { font-size: 2rem; }
    
    #hero { padding: 60px 0; }
    #hero h1 {
        font-size: 2.3rem; /* Diminui a fonte para caber em 3 linhas */
        line-height: 1.25; /* Ajusta a altura da linha */
    }
    #hero .subheadline {
        font-size: 0.95rem;
        text-wrap: initial; /* Diminui a descrição proporcionalmente */
    }

    /* Regra para o espaçador invisível */
    .mobile-spacer {
        display: block;
        height: 60px; /* Cria a margem que você pediu */
    }

    #what-you-get {
        padding-top: 0; /* Remove o padding para não somar com o espaçador */
    }

    .grid-container {
        grid-template-columns: 1fr; /* Força o grid a ter uma coluna */
    }

    .get-box-visual {
        margin-top: 40px; /* Espaço quando o box vai para baixo da lista */
    }

    footer {
        padding-top: 60px; /* Adiciona espaçamento acima do rodapé */
        padding-bottom: 40px;
    }
}