/* Paleta inspirada na BotCity combinada com o arquivo "Logo empresa MVMB sem fundo.png" */
:root {
    --bg-dark: #06090E;
    --bg-card: #0D1117;
    --azul-marinho: #002855;
    --azul-royal: #0056B3;
    --azul-neon: #38BDF8;
    --cinza-tecnico: #4A4A4A;
    --texto-claro: #F3F4F6;
    --texto-mutado: #9CA3AF;
    --branco: #FFFFFF;
    --font-sans: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--texto-claro);
    background-color: var(--bg-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header com fundo branco, linha azul dobrada e logo maior */
header {
    background-color: var(--branco);
    padding: 8px 0;
    border-top: 8px solid var(--azul-royal);
    border-bottom: 1px solid rgba(0, 40, 85, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 110px; 
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.tag-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 86, 179, 0.2);
    border: 1px solid var(--azul-royal);
    color: var(--azul-neon);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    font-family: var(--font-code);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--branco);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--branco) 30%, var(--azul-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--texto-mutado);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background-color: var(--azul-royal);
    color: var(--branco);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: #004494;
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--texto-claro);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-header {
    background-color: var(--azul-marinho);
    color: var(--branco);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-header:hover {
    background-color: var(--azul-royal);
}

/* Container Interativo de Simulação (IDE Style) */
.ide-mockup {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    height: 420px;
    display: flex;
    flex-direction: column;
}

.ide-header {
    background-color: #090D13;
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 45px;
}

.ide-dots {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background-color: #EF4444; }
.dot-y { background-color: #F59E0B; }
.dot-g { background-color: #10B981; }

.tab-btn {
    background: transparent;
    border: none;
    color: var(--texto-mutado);
    font-family: var(--font-code);
    font-size: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    transition: all 0.2s;
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--texto-claro);
}

.tab-btn.active {
    background-color: var(--bg-card);
    color: var(--azul-neon);
    border-bottom: 2px solid var(--azul-neon);
}

.ide-body {
    padding: 24px;
    font-family: var(--font-code);
    font-size: 13px;
    color: #C9D1D9;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.sim-panel {
    display: none;
    height: 100%;
    width: 100%;
}

.sim-panel.active {
    display: block;
}

/* --- ANIMAÇÃO 1: ASSISTENTE VIRTUAL (WHATSAPP AI) --- */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
}

.chat-bubble.user {
    background-color: #0B5545;
    color: #E6F4F1;
    align-self: flex-end;
    animation: fadeInBubble 0.5s forwards 1s;
}

.chat-bubble.ai {
    background-color: #22272E;
    border: 1px solid rgba(255,255,255,0.05);
    color: #C9D1D9;
    align-self: flex-start;
    animation: fadeInBubble 0.5s forwards 3.5s;
}

.ai-typing {
    align-self: flex-start;
    background-color: #22272E;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--azul-neon);
    opacity: 0;
    animation: flashTyping 1.5s infinite 2s;
}

@keyframes fadeInBubble {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flashTyping {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* --- ANIMAÇÃO 2: AUTOMAÇÃO RPA --- */
.rpa-log-line {
    opacity: 0;
    margin-bottom: 6px;
    color: #A5D6FF;
}
.rpa-log-line.success { color: #56D364; }
.rpa-log-line.warn { color: #E3B341; }

.line-1 { animation: fadeInLog 0.2s forwards 0.5s; }
.line-2 { animation: fadeInLog 0.2s forwards 1.5s; }
.line-3 { animation: fadeInLog 0.2s forwards 2.5s; }
.line-4 { animation: fadeInLog 0.2s forwards 4.0s; }
.line-5 { animation: fadeInLog 0.2s forwards 5.0s; }

.rpa-progress-bar {
    width: 0%;
    height: 4px;
    background-color: var(--azul-neon);
    margin-top: 15px;
    border-radius: 2px;
    animation: loadBar 3s forwards 1.5s;
}

@keyframes fadeInLog {
    to { opacity: 1; }
}

@keyframes loadBar {
    to { width: 100%; }
}

/* Tech Stack / Features */
.features {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--texto-mutado);
    font-size: 16px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 86, 179, 0.4);
    transform: translateY(-2px);
}

.feature-icon {
    color: var(--azul-neon);
    font-family: var(--font-code);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--branco);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--texto-mutado);
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #020408;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer h2 {
    font-size: 36px;
    color: var(--branco);
    margin-bottom: 16px;
}

footer p {
    color: var(--texto-mutado);
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--texto-claro);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--azul-neon);
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .tag-live { justify-content: center; }
    .cta-group { justify-content: center; }
    .hero-text h1 { font-size: 36px; }
    header .container { flex-direction: column; gap: 16px; }
    .logo-container img { height: 70px; }
    .ide-mockup { height: 460px; }
}