@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Variáveis de Cores */
:root {
    --color-dark: #0a0a0f; /* Fundo principal e escuro (preto/cinza muito escuro) */
    --color-darker: #121218; /* Fundo de seção ligeiramente mais escura */
    --color-red: #c4192c; /* Vermelho de destaque */
    --color-white: #ffffff;
    --color-light-gray: #bdc3c7;
    --color-text: #f0f0f0;
}

/* ------------------- Reset e Estilos Globais ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-red);
}

.text-center {
    text-align: center;
}

/* Botões (CTAs) */
.btn-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-cta:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: var(--color-white);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Títulos das Seções */
.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2em;
    color: var(--color-light-gray);
    margin-bottom: 40px;
}

section {
    padding: 80px 0;
}

.dark-bg {
    background-color: var(--color-darker);
}


/* ------------------- 1. Cabeçalho/Navegação (Header) ------------------- */
header {
    background-color: var(--color-dark);
    padding: 15px 0;
    border-bottom: 1px solid #1f1f25;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-white);
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-right: 20px;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--color-light-gray);
    text-transform: uppercase;
}

.desktop-nav a.btn-suporte {
    color: var(--color-red);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5em;
    cursor: pointer;
    display: none;
}

/* Menu Mobile (Inicialmente oculto) */
.mobile-nav {
    display: none;
    width: 100%;
    background-color: var(--color-darker);
    border-top: 1px solid #1f1f25;
    position: absolute;
    left: 0;
    z-index: 10;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav li {
    text-align: center;
    padding: 10px 0;
}

.mobile-nav a {
    display: block;
    padding: 10px;
    font-weight: 600;
    font-size: 1em;
    color: var(--color-light-gray);
}

.mobile-nav a.btn-cta {
    margin: 15px auto;
}

/* ------------------- 2. Seção Principal (Hero) ------------------- */
.hero-section {
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 10px;
}

/* ------------------- 3. Seção Melhoria de Performance ------------------- */
.performance-section {
    padding: 100px 0;
    background-color: var(--color-darker);
}

.performance-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.features-list {
    flex: 1;
    max-width: 350px;
}

.feature-card {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #1f1f25;
    border-radius: 8px;
    border-left: 3px solid var(--color-red);
    height: 125px;
}

.feature-card h3 {
    font-size: 1.1em;
    color: var(--color-white);
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 0.9em;
    color: var(--color-light-gray);
}

.icon-placeholder {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 5px;
    background-color: var(--color-red);
    /* Icone real estaria aqui, mas estamos usando placeholder */
}

.image-showcase {
    flex: 1.5;
    position: relative;
    max-width: 500px;
}

.image-showcase img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.tag {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 5px;
    text-transform: uppercase;
}

.red-tag {
    background-color: var(--color-red);
    color: var(--color-white);
}

.overlay-text h4 {
    margin-top: 5px;
    font-size: 1.2em;
    color: var(--color-white);
}

.list-right {
    text-align: right;
}

.list-right .feature-card {
    border-left: none;
    border-right: 3px solid var(--color-red);
    flex-direction: row-reverse;
}

/* ------------------- 4. Seção Várias Ferramentas ------------------- */
.tools-section {
    padding: 80px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tool-item {
    background-color: #1f1f25;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid transparent;
    transition: border-top 0.3s;
}

.tool-item:hover {
    border-top-color: var(--color-red);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    color: var(--color-white);
}

.tool-icon.bg-red { background-color: var(--color-red); }
.tool-icon.bg-green { background-color: #27ae60; } /* Usando verde para o 4, 5 e 6 da imagem */


.tool-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--color-white);
}

.tool-item p {
    font-size: 0.9em;
    color: var(--color-light-gray);
}

/* ------------------- 5. Seção Como Funciona (Dashboard) ------------------- */
.dashboard-section {
    padding-bottom: 100px;
}

.dashboard-mockup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

/* ------------------- 6. Seção CTA / Depoimentos ------------------- */
.cta-testimonials {
    padding: 80px 0;
    background-color: var(--color-darker);
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #1f1f25;
    padding: 30px;
    border-radius: 8px;
    max-width: 45%;
    text-align: left;
    border-left: 3px solid var(--color-red);
}

.testimonial-card img {
    border-radius: 50%;
    float: left;
    margin-right: 15px;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--color-light-gray);
    overflow: hidden; /* Para que o texto flua ao lado da imagem */
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-red);
    display: block;
    clear: both;
}

/* ------------------- 7. Seção Produto Final/Destaque ------------------- */
.product-showcase {
    padding: 80px 0;
    background-color: var(--color-darker);
}

.product-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
}

.product-box img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: left;
}

.product-info h3 {
    color: var(--color-red);
    font-size: 1.5em;
    margin-bottom: 5px;
}

.product-info p {
    color: var(--color-light-gray);
    margin-bottom: 15px;
}

/* ------------------- 8. Seção Garantia ------------------- */
.guarantee-section {
    padding: 50px 0;
    background-color: var(--color-dark);
}

.guarantee-text {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-red);
    margin-bottom: 20px;
}

/* ------------------- 9. Rodapé (Footer) ------------------- */
footer {
    background-color: var(--color-darker);
    padding: 30px 0;
    border-top: 1px solid #1f1f25;
}

footer p {
    color: var(--color-light-gray);
    font-size: 0.9em;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-light-gray);
    font-size: 0.85em;
    margin: 0 5px;
}

.quote-footer {
    margin-top: 20px;
    font-style: italic;
    color: var(--color-red) !important;
}

/* ------------------- NOVO: Seção de Performance com Seletor ------------------- */
.performance-boost-section {
    padding: 80px 0;
    background: linear-gradient(145deg, var(--color-darker) 30%, #1f0a35 70%); /* Fundo escuro com gradiente */
    position: relative;
    overflow: hidden;
}

.performance-boost-section .section-title {
    font-size: 1.8em;
    max-width: 800px;
    margin: 0 auto 50px;
    text-transform: none; /* Deixar em maiúsculas e minúsculas como na imagem */
}

.performance-box-container {
    display: flex;
    justify-content: center;
}

.performance-box {
    background-color: #0d0d10; /* Fundo interno da caixa escura */
    border: 1px solid #1a1a20;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 900px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-selector-area {
    flex-shrink: 0;
    width: 300px;
    text-align: left;
    position: relative;
}

/* Estilização do Seletor de Jogo */
.game-select-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.game-select {
    width: 100%;
    padding: 10px 15px;
    background-color: #1f1f25;
    color: var(--color-white);
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1em;
    appearance: none; /* Remover estilo padrão em alguns navegadores */
    cursor: pointer;
}

.game-select-wrapper::after {
    content: '\25BC'; /* Seta para baixo */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-red);
    pointer-events: none;
    font-size: 0.8em;
}

/* Imagem Dinâmica do Jogo */
.game-image-placeholder {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

#game-image {
    width: 205px;
    height: 205px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-red);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

/* Resultados de Performance */
.performance-results {
    flex-grow: 1;
    text-align: left;
}

.performance-label {
    font-size: 1.1em;
    color: var(--color-light-gray);
    margin-bottom: 5px;
}

.boost-percentage {
    font-size: 3em;
    color: var(--color-red);
    font-weight: 800;
    margin-bottom: 30px;
}

.fps-comparison {
    margin-top: 20px;
}

.fps-line {
    margin-bottom: 15px;
}

.fps-line p {
    font-size: 1em;
    color: var(--color-white);
    margin-bottom: 5px;
}

.fps-line strong {
    font-size: 1.2em;
    color: var(--color-red);
    font-weight: 700;
}

.bar-container {
    background-color: #333;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.bar-with, .bar-without {
    height: 100%;
    transition: width 0.8s ease-out;
}

.bar-with {
    background-color: var(--color-red);
}

.bar-without {
    background-color: var(--color-light-gray);
}

.disclaimer {
    font-size: 0.8em;
    color: #555;
    margin-top: 30px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.features-showcase {
    position: relative;
}

.features-showcase .gameplay1, .features-showcase .gameplay2, .features-showcase .gameplay1-text, .features-showcase .gameplay2-text {
    position: absolute;
}

.features-showcase .gameplay1 {
    width: 70%!important;
    bottom: -8.5vh;
    left: -40px;
}

.features-showcase .gameplay2 {
    width: 50%!important;
    top: -62px;
    right: -50px;
}

.features-showcase .gameplay1-text {
    color: #FFF;
    top: -35px;
    bottom: auto;
    right: 38%;
    font-size: 15px;
}

.features-showcase .gameplay2-text {
    color: #FFF;
    bottom: -35px;
    right: 32%;
    font-size: 15px;
}

.icon {
    width: 35px;
    height: 35px;
    margin: 3px 0 0 2px;
}

.icon-logo {
    width: 200px;
    height: 200px;
}

.comentario-photo {
    width: 100px;
    height: 100px;
}

/* Responsividade para a seção */
/* ------------------- Mídia Queries para Responsividade (Mobile) ------------------- */
@media (max-width: 992px) {
    main, footer {
        max-width: 108%;
        overflow-x: hidden;
    }

    header ul li:first-child, header ul li:last-child, header button {
        display: none!important;
    }

    .performance-box {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .game-selector-area {
        width: 100%;
        text-align: center;
    }

    .performance-results {
        text-align: center;
    }

    .boost-percentage {
        font-size: 2.5em;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .performance-grid {
        flex-direction: column;
    }

    .features-list, .image-showcase {
        max-width: 100%;
        width: 100%;
    }

    .list-right .feature-card {
        text-align: left;
        flex-direction: row;
        border-right: none;
        border-left: 3px solid var(--color-red);
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-card {
        max-width: 100%;
    }

    .product-info {
        position: static;
        background: var(--color-darker);
    }
}

/* MODAL + FORMULARIO */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}


/* Modal */
.modal {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 16px;
}


.form-group {
    margin-bottom: 12px;
}


.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}


.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}


.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}


.btn {
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}


.btn-enviar {
    background-color: #c4192c;
}


.btn-cancelar {
    background-color: #121218;
}


.btn-open {
    padding: 10px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.modal h2, .modal label {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: var(--color-dark);
}

button, a {
    cursor: pointer;
}

@media (max-width: 992px) {
    .overlay {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
    }

    .modal {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }


    .modal #campos-otimizacao {
        display: block;
        overflow: auto;
        height: 100%;
        margin-bottom: 35px;
    }

    .actions {
        bottom: 0;
        background: #ffffff;
        padding: 15px 0;
        margin-top: 20px;
        z-index: 10;
        position: fixed;
        bottom: 0;
        right: 0;
        padding-left: 15px;
        padding-right: 20px;
        width: 100%;
        height: 75px;
    }
}

/* CARDS OPCOES */
.cards {
    color: #ff2a2a;
    margin-bottom: 20px;
    font-weight: bold;
    display: inline-block;
}

.cards .card{
    border-radius: 10px;
    float: left;
    width: 356px;
    border: 1px solid #FFF;
    padding-top: 15px;
}

.cards .card:nth-of-type(2) {
    margin: 0 66px;
}

.cards .title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: bold;
}


.cards .subtitle {
    text-align: center;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: inline-block;
    align-self: center;
}


.cards .green { color: #00ff6a; }
.cards .red { color: #ff2a2a; }
.cards .gray { color: #cfcfcf; }


.cards .bg-green { background: #00ff6a; color: #000; }
.cards .bg-gray { background: #777; }
.cards .bg-red { background: #ff2a2a; }


.cards ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 10px;
}


.cards li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    margin-bottom: 10px;
}


.cards .ok { color: #00ff6a; }
.cards .no { color: #ff2a2a; }


.cards .price {
    margin-top: auto;
    text-align: center;
}


.cards .old {
    text-decoration: line-through;
    font-size: 14px;
    color: #aaa;
}


.cards .new {
    font-size: 42px;
    font-weight: bold;
    margin-top: -18px;
}

@media (max-width: 992px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    
    .cards .card {
        width: 100%;
        margin-bottom: 20px;
        display: block;
    }

    .cards .card:nth-of-type(2) {
        margin: 0 0 20px 0;
    }
}

.whatsapp-icon {
    position:fixed;
    bottom: 0;
    right: 0;
    cursor: pointer;
    margin: 0 3px 3px;
}

/* ================= ANIMAÇÕES NO SCROLL ================= */

/* Estado inicial FORÇADO */
[data-animate] {
    opacity: 0 !important;
    transform: translateY(50px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

/* Ativo */
[data-animate].active {
    opacity: 1 !important;
    transform: translateY(0);
}

/* VARIAÇÕES */
.animate-left {
    transform: translateX(-60px);
}

.animate-right {
    transform: translateX(60px);
}

.animate-zoom {
    transform: scale(0.85);
}

.animate-fade {
    transform: none;
}

/* Corrige conflito quando ativo */
.animate-left.active,
.animate-right.active,
.animate-zoom.active,
.animate-fade.active {
    transform: none;
}