:root {
    /* Colors */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --surface: #1e293b;
    --surface-glass: rgba(30, 41, 59, 0.7);
    --primary: #00a19c; /* EvoBI Teal */
    --primary-hover: #008f8a;
    --accent: #1863dc; /* Axe Corporate Blue */
    --cyan: #ffcc00; /* Logo Gold (renaming contextually if needed, but keeping var name for compatibility) */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --container-width: 1280px;
    --section-padding: 80px 0;
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, rgba(0, 161, 156, 0.1) 0%, rgba(24, 99, 220, 0.1) 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    width: 95%; /* Garante uso da largura em telas menores que o max-width */
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.highlight {
    color: var(--primary);
}

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

.glass {
    background: var(--surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.glass-border {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.8); /* Darker glass for nav */
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

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

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.15), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 700px; /* Mantém legibilidade em telas muito largas */
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

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

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-3-cols {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Solution Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--highlight);
}

.flow-diagram {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
}

.arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Benefits */
.benefit-card {
    text-align: center;
    padding: 20px;
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--cyan); /*#19A09C; /* Alterado para Teal do Logo. Use var(--cyan) para o Amarelo. */
    margin-bottom: 20px;
}

/* Modules */
.module-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.module-item.reverse {
    flex-direction: row-reverse;
}

.module-text {
    flex: 1;
    max-width: 650px; /* Evita linhas de texto muito longas */
}

.module-text h3 {
    font-size: 2rem;
    color: var(--primary);
}

.module-img {
    flex: 1;
}

.module-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* AI Highlight */
.ai-highlight {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(59, 130, 246, 0.05) 50%, var(--bg-dark) 100%);
}

.ai-container {
    width: 95%;
    max-width: 1600px; /* Expandido para "Cinema Mode" */
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.ai-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.badge-ai {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

.chat-demo {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chat-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.1);
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-message.bot {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-right: auto;
    border-bottom-left-radius: 2px;
}

/* Video Demo Window Style */
.video-window {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a; /* Cor de fundo da janela */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.window-bar {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #22c55e; }

.video-wrapper video {
    width: 100%;
    display: block;
}

.mini-chart {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-chart .bar {
    flex: 1;
    background: var(--cyan);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

/* Security */
.security-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.sec-item {
    text-align: center;
    width: 150px;
}

.sec-item i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    transition: color 0.3s;
}

.sec-item:hover i {
    color: var(--primary);
}

/* Personas */
.persona-card {
    padding: 30px;
}

.persona-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    color: var(--primary);
}

/* CTA Final */
.cta-box {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list li i {
    color: var(--primary);
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-list li strong {
    color: var(--text-main);
}

.contact-list li a {
    color: var(--text-muted); /* Reset default link color for contact items */
    margin-bottom: 0;
    display: inline;
}

.contact-list li a:hover {
    color: var(--primary);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .split-layout, .module-item, .module-item.reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-3, .steps-container {
        grid-template-columns: 1fr;
    }
    
    .steps-container::before {
        display: none;
    }

    .ai-container {
        padding: 30px; /* Reduz padding em mobile para dar mais espaço ao vídeo */
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
