:root {
    /* Paleta de Cores Tecnológica */
    --background-dark: #0A192F; /* Fundo principal escuro, com um toque azulado */
    --primary-color: #00A3FF; /* Azul vibrante para botões e destaques */
    --secondary-color: #61E68C; /* Verde neon para contrastes */
    --text-light: #E0E7F5; /* Cor de texto clara para o fundo escuro */
    --text-medium: #AAB7D1; /* Cor de texto secundária ou menos destacada */
    --card-background: #112240; /* Fundo dos cards */
    --border-color: #2D425E; /* Borda sutil para os cards */
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-light);
    background-color: var(--background-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* Header & Nav */
header {
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 5px rgba(0, 163, 255, 0.5));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(97, 230, 140, 0.7);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--background-dark);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 163, 255, 0.6);
}

/* Intro Section (Novo Hero) */
.intro-section {
    padding: 7rem 0;
    text-align: center;
}
.intro-section h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.section-subtitle {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Navigation Cards Section */
.nav-cards-section {
    padding: 0 0 6rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 163, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.cta-button-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: center;
}

.cta-button-outline:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 163, 255, 0.4);
}

/* Footer */
footer {
    background-color: var(--card-background);
    color: var(--text-medium);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

/* Animação de entrada */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ESTILOS DO POPUP (TEMA DARK) ========== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85); /* Fundo escuro do tema */
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-medium);
    transition: color 0.3s ease;
}
.close-button:hover {
    color: var(--secondary-color);
}

.popup-content h3 {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.8rem;
}

.popup-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.whatsapp-number {
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--background-dark);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: inline-block;
    margin-bottom: 2rem;
}

/* Classe para ativar o popup via JS */
.popup-overlay.active {
    display: flex;
}

/* ========== ESTILOS DO BOTÃO FLUTUANTE ========== */
.whatsapp-floating-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Mantendo a cor original do WhatsApp para reconhecimento */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(97, 230, 140, 0.4); /* Sombra com o verde neon do tema */
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-floating-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(97, 230, 140, 0.6);
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .intro-section h1 {
        font-size: 2.5rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}
