:root {
    --dark-bg: #02040a;
    --metallic-blue-dark: #0b1a33;
    --metallic-blue-light: #1a3a66;
    --accent-red: #E50914;
    --glow-blue: #00aaff;
    --text-light: #f0f0f0;
    --text-dark: #a0a0a0;
    --whatsapp-green: #25D366;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    background-image: linear-gradient(135deg, var(--dark-bg) 0%, var(--metallic-blue-dark) 70%, var(--metallic-blue-light) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* LOADING SCREEN */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--metallic-blue-dark) 70%, var(--metallic-blue-light) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-content {
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

/* --- ALTERAÇÃO 1: Estilo para a logo na tela de carregamento --- */
.loading-logo-img {
    width: 100px; /* Você pode ajustar este valor */
    height: auto;
    margin-bottom: 10px;
}

.loading-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--glow-blue);
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.8);
    margin-bottom: 10px;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.video-player-loading {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 170, 255, 0.3);
}

.player-frame {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--glow-blue);
    border-radius: 4px;
    width: 0%;
    animation: progressAnimation 3s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 0%; }
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    font-size: 0.9rem;
}

.loading-message {
    color: var(--glow-blue);
    font-size: 1rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.spinner-ring {
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top: 3px solid var(--glow-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) { animation-delay: 0.2s; }
.spinner-ring:nth-child(3) { animation-delay: 0.4s; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-progress {
    text-align: center;
}

.progress-text {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), var(--glow-blue));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* MAIN APP */
.main-app {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.main-app.hidden {
    opacity: 0;
    display: none;
}

/* PARTICLES */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

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

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* HEADER */
.header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
    position: relative;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    max-width: 120px;
    height: auto;
}

.logo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 10px var(--glow-blue);
}

.header-insta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--instagram-gradient);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-insta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(220, 39, 67, 0.7);
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 0 0 15px var(--glow-blue);
    margin-bottom: 20px;
}

.hero .slogan {
    font-size: 1.3rem;
    color: var(--glow-blue);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--glow-blue);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- ALTERAÇÃO 2: Centralização e responsividade dos botões --- */
.cta-buttons {
    display: flex;
    flex-direction: column; /* Mantém coluna por padrão para mobile-first */
    align-items: center;
    gap: 20px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-red), #ff3c46);
    color: white;
    padding: 16px 35px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px; /* Largura máxima para consistência */
    font-weight: 700;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.8);
}

.social-buttons {
    display: flex;
    flex-direction: column; /* Empilha os botões sociais em mobile */
    gap: 15px;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.btn-whatsapp, .btn-instagram {
    width: 100%;
    max-width: 320px; /* Mesma largura máxima do botão primário */
    justify-content: center; /* Centraliza o conteúdo (ícone e texto) */
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: white;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
}

.btn-instagram {
    background: var(--instagram-gradient);
    color: white;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(220, 39, 67, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-instagram:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.8);
}

/* CONTENT SECTIONS */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 170, 255, 0.1);
    position: relative;
    z-index: 2;
}

.image-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.image-section img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: transform 0.3s ease;
}

.image-section img:hover {
    transform: scale(1.02);
}

.image-section h2 {
    font-size: 2rem;
    color: var(--glow-blue);
    margin-bottom: 20px;
}

.image-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* PLANS SECTION */
.plans-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.plans-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-card {
    background-color: rgba(13, 37, 63, 0.5);
    border: 1px solid rgba(0, 170, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.3);
}

.plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--glow-blue);
    margin-bottom: 20px;
}

.price-new span {
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
}

.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 25px 0;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.plan-features svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.plan-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.plan-buttons .btn-primary {
    max-width: 100%;
}

.plan-buttons .btn-whatsapp,
.plan-buttons .btn-instagram {
    font-size: 0.85rem;
    padding: 10px 20px;
    justify-content: center;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.social-buttons-testimonials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-button.instagram {
    background: var(--instagram-gradient);
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.4);
}

.social-button.whatsapp {
    background: var(--whatsapp-green);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.social-button svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.text-content span {
    display: block;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.testimonial-grid img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    /* --- ALTERAÇÃO 3: Animação dos depoimentos aprimorada --- */
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2); /* Adiciona um brilho sutil */
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.4); /* Adiciona um brilho azulado */
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background-color: rgba(13, 37, 63, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 170, 255, 0.4);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-light);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 170, 255, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.4s ease;
    color: var(--text-dark);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-question .arrow {
    transition: transform 0.4s ease;
    color: var(--glow-blue);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

/* FOOTER */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-dark);
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer a {
    color: var(--glow-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .content-section {
        padding: 80px 0;
    }

    .logo {
        max-width: 150px;
    }

    .logo-title {
        font-size: 2rem;
    }

    .header-insta-button {
        width: 44px;
        height: 44px;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
        margin: 0 auto 50px;
    }

    .hero .slogan {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    /* --- ALTERAÇÃO 2 (continuação): Botões em linha no desktop --- */
    .cta-buttons {
        flex-direction: column; /* Mantém coluna para centralizar o bloco */
        align-items: center;
    }

    .social-buttons {
        flex-direction: row; /* Botões sociais ficam lado a lado */
        gap: 20px;
        width: auto; /* Permite que o container se ajuste ao conteúdo */
    }

    .btn-whatsapp, .btn-instagram {
        width: auto; /* Largura automática para se ajustar ao texto */
        max-width: none; /* Remove a largura máxima no desktop */
    }


    .image-section {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 60px;
    }

    .image-section.reverse .image-content {
        order: 2;
    }

    .image-section h2 {
        font-size: 2.5rem;
    }

    .image-section p {
        font-size: 1.1rem;
    }

    .plans-container {
        margin-top: 50px;
    }

    .plan-card {
        width: 320px;
        padding: 40px;
    }

    .plan-card h3 {
        font-size: 1.8rem;
    }

    .testimonials-section h2,
    .faq-section h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .testimonial-grid {
        margin-top: 50px;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .footer {
        padding: 50px 0;
    }
}

@media (min-width: 1024px) {
    .loading-logo {
        font-size: 3rem;
    }

    .loading-subtitle {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .image-section h2 {
        font-size: 3rem;
    }

    .plans-section h2,
    .testimonials-section h2,
    .faq-section h2 {
        font-size: 3rem;
    }
}
