/* Estilos Globais */
body {
    font-family: 'Inter', sans-serif;
}

/* Estilo para Texto em Gradiente Laranja */
.gradient-text {
    background: linear-gradient(90deg, #fb5e37ff, #E67300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fix: ensure superscripts inside gradient-text are visible (not clipped by -webkit-text-fill-color)
   and align counters with their superscript asterisks. */
.gradient-text sup,
.gradient-text .text-brand-orange,
.gradient-text .counter-prefix {
    -webkit-text-fill-color: #fb5e37ff !important;
    color: #FF8200 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Make counter and its sup align neatly */
.counter {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
}
.counter sup {
    font-size: 0.45em;
    vertical-align: baseline;
    line-height: 1;
}

/* Prefixo + para contadores (ex: +10) */
.counter-prefix {
    font-size: 0.7em;
    line-height: 1;
    color: #fb5e37ff;
    font-weight: 700;
    display: inline-block;
    vertical-align: baseline;
}

/* Card com Efeito de Vidro (adaptável para light/dark) */
.glass-card {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    transition: all 0.3s ease;

    /* Estilos para MODO CLARO */
    background-color: rgba(255, 255, 255, 1); /* <--- Fundo branco e opaco */
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .glass-card {
    /* Estilos para MODO ESCURO */
    background-color: rgba(39, 39, 42, 0.5); /* zinc-800 com 50% de opacidade */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.dark .glass-card:hover {
    border-color: rgba(255, 130, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 130, 0, 0.1);
}

/* Badge de Seção */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    background-color: rgba(255, 130, 0, 0.1);
    border: 1px solid rgba(255, 130, 0, 0.2);
    color: #fb5e37ff;
}

.dark .section-badge {
    color: #fb5e37ff;
}

/* Fundo de Partículas Animado */
#neuron-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Estilos para o Modal */
.modal {
    transition: opacity 0.3s ease;
}
.modal-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Estilos para o Carrossel da Plataforma SAAS */
.saas-nav-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Modo Claro */
.saas-nav-item {
    background-color: rgba(228, 228, 231, 0.3); /* zinc-200/30 */
}
.saas-nav-item:hover {
    background-color: #ffffff;
    border-color: #d4d4d8; /* zinc-300 */
}
.saas-nav-item.active-nav {
    background-color: #ffffff;
    border-color: #fb5e37ff;
    box-shadow: 0 4px 14px rgba(255, 130, 0, 0.15);
}

/* Modo Escuro */
.dark .saas-nav-item {
    background-color: rgba(39, 39, 42, 0.3); /* zinc-800/30 */
}
.dark .saas-nav-item:hover {
    background-color: rgba(39, 39, 42, 0.8);
    border-color: #52525b; /* zinc-600 */
}
.dark .saas-nav-item.active-nav {
    background-color: #18181b; /* zinc-900 */
    border-color: #fb5e37ff;
    box-shadow: 0 4px 20px rgba(255, 130, 0, 0.2);
}

.saas-nav-item.active-nav h4 { color: #fb5e37ff; }
.dark .saas-nav-item.active-nav h4 { color: #fb5e37ff; }
.dark .saas-nav-item h4 { color: #f4f4f5; /* zinc-100 */ }

/* ===== NOVOS ESTILOS PARA O MENU DE IDIOMAS ===== */
#lang-menu a {
    transition: background-color 0.2s ease-in-out;
}

#lang-menu a.active-lang {
    font-weight: 600;
    color: #fb5e37ff;
}
.dark #lang-menu a.active-lang {
    background-color: rgba(255, 130, 0, 0.1);
}
