/**
 * MhSys SaaS - Central de Planos e Landing Page Principal
 * Design System Moderno, Glassmorphism, Dark/Light Mode e Alta Conversão
 */

/* ==========================================================================
   1. VARIÁVEIS E SISTEMA DE DESIGN (THEME TOKENS)
   ========================================================================== */

:root {
    /* Cores de Fundo e Superfície (Dark Mode Padrão) */
    --bg-page: #030712;
    --bg-surface: #0b0f19;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.7);
    --bg-panel: rgba(15, 23, 42, 0.75);
    --bg-panel-solid: #0f172a;
    --bg-input: rgba(15, 23, 42, 0.8);
    --bg-header: rgba(3, 7, 18, 0.75);
    
    /* Cores de Texto e Contraste */
    --text-title: #ffffff;
    --text-main: #f1f5f9;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    /* Bordas e Divisores */
    --border-sutil: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.1);
    --border-card-hover: rgba(99, 102, 241, 0.4);
    --border-highlight: rgba(99, 102, 241, 0.35);
    --border-glow: rgba(6, 182, 212, 0.4);

    /* Cores de Acento */
    --accent-brand: #6366f1;
    --accent-brand-hover: #4f46e5;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;

    /* Sombras e Blur */
    --backdrop-blur: 24px;
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --card-shadow-hover: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    --panel-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);

    /* Background Orbs */
    --orb-opacity: 0.85;
}

/* Modo Claro (Light Mode) */
body.light-mode {
    /* Cores de Fundo e Superfície */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #ffffff;
    --bg-panel: rgba(255, 255, 255, 0.98);
    --bg-panel-solid: #ffffff;
    --bg-input: #f1f5f9;
    --bg-header: rgba(255, 255, 255, 0.9);

    /* Cores de Texto e Contraste */
    --text-title: #0f172a;
    --text-main: #1e293b;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;

    /* Bordas e Divisores */
    --border-sutil: rgba(0, 0, 0, 0.08);
    --border-card: rgba(0, 0, 0, 0.08);
    --border-card-hover: rgba(99, 102, 241, 0.35);
    --border-highlight: rgba(99, 102, 241, 0.25);
    --border-glow: rgba(99, 102, 241, 0.2);

    /* Sombras e Blur */
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --card-shadow-hover: 0 20px 40px -10px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.2);
    --panel-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.07);

    /* Background Orbs */
    --orb-opacity: 0.3;
}

/* ==========================================================================
   2. ESTILOS BASE E TRANSIÇÕES GLOBAIS
   ========================================================================== */

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Suavização de elementos em transição de tema */
header,
main,
footer,
.glass-panel,
.glass-card,
.glass-feature-card,
.plan-card,
.nicho-tab-btn,
.resource-badge,
.cycle-btn,
#modal-box {
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Utilitários de Scrollbar */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Ajuste de Orbs de Iluminação de Fundo */
body > div.absolute[class*="blur-"] {
    opacity: var(--orb-opacity);
    transition: opacity 0.5s ease;
}

/* ==========================================================================
   3. HEADER / NAVBAR PRINCIPAL
   ========================================================================== */

header {
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-sutil);
}

body.light-mode header {
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

body.light-mode header nav a {
    color: #475569 !important;
}

body.light-mode header nav a:hover {
    color: #4f46e5 !important;
}

body.light-mode #theme-toggle {
    background-color: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #475569 !important;
}

body.light-mode #theme-toggle:hover {
    background-color: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #4f46e5 !important;
}

body.light-mode header a[href*="login"] {
    color: #334155 !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode header a[href*="login"]:hover {
    background-color: rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #4f46e5 !important;
}

/* ==========================================================================
   4. GLASSMORPHISM, CARDS E PAINÉIS
   ========================================================================== */

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(var(--backdrop-blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(150%);
    border: 1px solid var(--border-sutil);
    box-shadow: var(--panel-shadow);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--backdrop-blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--backdrop-blur)) saturate(140%);
    border: 1px solid var(--border-card);
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-card-hover);
    box-shadow: var(--card-shadow-hover);
}

.glass-feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 20px 40px -10px rgba(236, 72, 153, 0.15);
}

/* ==========================================================================
   5. GRADIENTES DE TEXTO E TIPOGRAFIA
   ========================================================================== */

.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-ecommerce {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-ai,
.mhax-gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 40%, #a855f7 70%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contraste aprimorado no Modo Claro para gradientes */
body.light-mode .gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 50%, #db2777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .gradient-text-ecommerce {
    background: linear-gradient(135deg, #db2777 0%, #9333ea 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .gradient-text-ai,
body.light-mode .mhax-gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 40%, #7c3aed 70%, #db2777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   6. BOTÕES, CTAS E INTERAÇÕES
   ========================================================================== */

.btn-premium {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 25px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp-cta:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. MOCKUPS REALISTAS (HERO)
   ========================================================================== */

.mockup-browser-window {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.15);
}

body.light-mode .mockup-browser-window {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .mockup-browser-window .bg-slate-900\/90 {
    background-color: #f1f5f9 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .mockup-browser-window .bg-slate-950\/80 {
    background-color: #f8fafc !important;
}

body.light-mode .mockup-browser-window .bg-slate-900\/60 {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .mockup-browser-window .bg-slate-900\/50 {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .mockup-browser-window .bg-slate-950\/60 {
    background-color: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .mockup-browser-window .bg-gradient-to-br {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.9) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

.mockup-mobile-overlay {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(236, 72, 153, 0.2);
    animation: floatPhone 4s ease-in-out infinite alternate;
}

body.light-mode .mockup-mobile-overlay {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.18), 0 0 25px rgba(236, 72, 153, 0.15) !important;
}

body.light-mode .mockup-mobile-overlay .bg-slate-600 {
    background-color: #cbd5e1 !important;
}

body.light-mode .mockup-mobile-overlay .bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

@keyframes floatPhone {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* ==========================================================================
   8. FILTROS, TABS E BADGES
   ========================================================================== */

/* Seletor de Ciclo */
.cycle-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .cycle-btn:not(.active) {
    color: #64748b !important;
    background-color: transparent !important;
}

body.light-mode .cycle-btn:not(.active):hover {
    color: #0f172a !important;
}

body.light-mode .cycle-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

/* Tabs de Nicho / Ramo */
.nicho-tab-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .nicho-tab-btn {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
}

body.light-mode .nicho-tab-btn:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}

body.light-mode .nicho-tab-btn.active {
    background-color: rgba(99, 102, 241, 0.12) !important;
    color: #4338ca !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 4px 10px -2px rgba(99, 102, 241, 0.15) !important;
    font-weight: 700 !important;
}

/* Badges de Recursos */
.resource-badge {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .resource-badge {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
    background-color: #f8fafc !important;
}

body.light-mode .resource-badge:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body.light-mode .resource-badge.bg-indigo-500\/20 {
    background-color: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #4338ca !important;
    font-weight: 700 !important;
}

/* Botões de Ação Rápida (Limpar / Compartilhar) */
body.light-mode #btn-reset-filters {
    color: #64748b !important;
    background-color: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode #btn-reset-filters:hover {
    color: #0f172a !important;
    background-color: #e2e8f0 !important;
}

body.light-mode #btn-share-link {
    background-color: rgba(6, 182, 212, 0.1) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
    color: #0891b2 !important;
}

body.light-mode #btn-share-link:hover {
    background-color: rgba(6, 182, 212, 0.18) !important;
    color: #0e7490 !important;
}

/* ==========================================================================
   9. CARDS DE PLANOS E PREÇOS
   ========================================================================== */

.plan-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease,
                background-color 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
}

body.light-mode .plan-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
}

body.light-mode .plan-card:hover {
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.18), 0 0 0 1px rgba(99, 102, 241, 0.25) !important;
}

/* Destaque do Plano Mais Escolhido */
body.light-mode .plan-card.border-pink-500\/40 {
    border: 2px solid rgba(236, 72, 153, 0.45) !important;
    box-shadow: 0 20px 45px -10px rgba(236, 72, 153, 0.18), 0 0 0 1px rgba(236, 72, 153, 0.2) !important;
}

body.light-mode .price-display {
    color: var(--text-title) !important;
}

body.light-mode .cycle-description {
    color: #64748b !important;
}

/* Pílulas de Módulos dentro do Card de Plano */
body.light-mode .plan-card button[onclick*="abrirModalMenusModulo"] {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #334155 !important;
}

body.light-mode .plan-card button[onclick*="abrirModalMenusModulo"]:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #4338ca !important;
}

/* Botão de CTA Secundário do Plano */
body.light-mode .cta-link:not(.bg-gradient-to-r) {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-weight: 700 !important;
}

body.light-mode .cta-link:not(.bg-gradient-to-r):hover {
    background-color: #e2e8f0 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   10. MODAL DINÂMICO DE DRILL-DOWN (MENUS DO MÓDULO)
   ========================================================================== */

#modal-box {
    background: var(--bg-panel-solid);
    border: 1px solid var(--border-highlight);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.2);
}

body.light-mode #modal-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode #modal-backdrop {
    background-color: rgba(15, 23, 42, 0.45) !important;
}

body.light-mode #modal-module-icon-container {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-mode #modal-box button[onclick*="fecharModalMenusModulo"][aria-label="Fechar modal"] {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
}

body.light-mode #modal-box button[onclick*="fecharModalMenusModulo"][aria-label="Fechar modal"]:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.modal-item-menu {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
}

body.light-mode .modal-item-menu {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .modal-item-menu:hover {
    background: #f1f5f9 !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
}

/* ==========================================================================
   11. ACCORDION FAQ, TESTEMUNHOS E GARANTIA
   ========================================================================== */

.faq-accordion-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

body.light-mode #faq .glass-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .faq-accordion-btn {
    color: #0f172a !important;
}

body.light-mode .faq-content {
    color: #334155 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Box de Garantia */
body.light-mode #faq .border-emerald-500\/30 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(240, 253, 244, 0.95) 100%) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.1) !important;
}

/* Depoimentos */
body.light-mode #faq .glass-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode #faq .glass-card p {
    color: #334155 !important;
}

/* ==========================================================================
   12. NOTIFICAÇÃO TOAST
   ========================================================================== */

.toast-notification {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

body.light-mode #toast-share {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-left: 4px solid #06b6d4 !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15) !important;
    color: #1e293b !important;
}

/* ==========================================================================
   13. FOOTER INSTITUCIONAL
   ========================================================================== */

body.light-mode footer {
    background-color: #f1f5f9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
}

body.light-mode footer p {
    color: #64748b !important;
}

/* ==========================================================================
   14. OVERRIDES GLOBAIS PARA LIGHT MODE
   ========================================================================== */

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode .text-white {
    color: var(--text-title) !important;
}

body.light-mode p,
body.light-mode span.text-slate-300,
body.light-mode span.text-slate-400,
body.light-mode .text-slate-300,
body.light-mode .text-slate-400,
body.light-mode .text-slate-500 {
    color: var(--text-muted) !important;
}

body.light-mode strong,
body.light-mode b {
    color: var(--text-title);
}

body.light-mode section {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

body.light-mode hr,
body.light-mode .border-white\/5,
body.light-mode .border-white\/10 {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .bg-slate-950\/60,
body.light-mode .bg-slate-950\/40,
body.light-mode .bg-slate-900\/80,
body.light-mode .bg-slate-900\/90,
body.light-mode .bg-slate-900\/95,
body.light-mode .bg-slate-900,
body.light-mode .bg-slate-950\/80,
body.light-mode .bg-slate-950\/90,
body.light-mode .bg-slate-950 {
    background-color: #f1f5f9 !important;
}

/* ==========================================================================
   15. ESTILOS DAS SEÇÕES ERP COMPLETO & MHAX COPILOT
   ========================================================================== */

.mockup-browser-window {
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-card);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-browser-window:hover {
    box-shadow: 0 30px 70px -15px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.3);
}

.mhax-copilot-section .mockup-browser-window {
    border-color: rgba(6, 182, 212, 0.25);
}

.mhax-copilot-section .mockup-browser-window:hover {
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 30px 80px -15px rgba(6, 182, 212, 0.25);
}

/* Light Mode Overrides para Mockups e Chat do Mhax */
body.light-mode .mockup-browser-window {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .mockup-browser-window .bg-slate-900\/90,
body.light-mode .mockup-browser-window .bg-slate-900\/95 {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .mhax-copilot-section input[readonly] {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .mhax-copilot-section .bg-slate-950\/60,
body.light-mode .mhax-copilot-section .bg-slate-950\/80,
body.light-mode .mhax-copilot-section .bg-slate-950\/90 {
    background-color: #f8fafc !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .mhax-copilot-section .bg-slate-900\/90 {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .mhax-copilot-section .bg-indigo-600\/30 {
    background-color: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #1e293b !important;
}

body.light-mode .mhax-copilot-section .bg-indigo-600\/30 p {
    color: #1e293b !important;
}

body.light-mode .mhax-copilot-section .bg-amber-500\/10 p {
    color: #92400e !important;
}

/* ==========================================================================
   16. BLINDAGEM MOBILE & ANTI-ZOOM INVOLUNTÁRIO NO IPHONE (iOS SAFARI)
   ========================================================================== */
html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media screen and (max-width: 768px) {
    input, 
    select, 
    textarea, 
    .form-control,
    .cycle-btn,
    .nicho-tab-btn,
    .resource-badge {
        font-size: 16px !important;
    }
    
    button, 
    a, 
    .cycle-btn, 
    .nicho-tab-btn, 
    .resource-badge {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

