/* =========================================
   1. CORES E TEMA (PREMIUM SAAS)
   ========================================= */
:root {
    --primary-color: #10b981; 
    --dark-solid: #0f172a;    
    --app-bg: #f8fafc;
    --text-muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--app-bg) !important;
    color: var(--dark-solid) !important;
}

/* =========================================
   2. LANDING PAGE (VIBRANTE)
   ========================================= */
#loginOverlay {
    display: flex; 
    flex-direction: column; 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; background: #ffffff; z-index: 1050;
}

/* O NOVO GRADIENTE VIBRANTE (Verde Esmeralda para Azul Oceano) */
.hero-section {
    background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
    padding-top: 5rem; padding-bottom: 7rem;
}

.hero-section p, .hero-section .text-dark-solid, .hero-section h3 {
    color: #ffffff !important;
}

.hero-section .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.hero-section .btn-black { background-color: #ffffff !important; color: #0284c7 !important; font-weight: 800; }
.hero-section .btn-black:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important; transform: translateY(-2px); }
.hero-section .btn-outline-black { border: 2px solid rgba(255, 255, 255, 0.5) !important; color: #ffffff !important; }
.hero-section .btn-outline-black:hover { background-color: #ffffff !important; color: #0284c7 !important; }

/* Card Flutuante */
.real-preview-card {
    background: #ffffff !important; border: none !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
    border-radius: 16px !important; transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); animation: floatCard 6s ease-in-out infinite; transition: transform 0.4s ease;
}
.real-preview-card:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03); }

@keyframes floatCard { 0% { transform: translateY(0px) perspective(1000px) rotateY(-5deg) rotateX(5deg); } 50% { transform: translateY(-20px) perspective(1000px) rotateY(-5deg) rotateX(5deg); } 100% { transform: translateY(0px) perspective(1000px) rotateY(-5deg) rotateX(5deg); } }

.rdc-badge { position: absolute; top: -15px; right: -15px; background: var(--dark-solid); color: white; padding: 6px 18px; border-radius: 30px; font-weight: 800; font-size: 0.85rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.anim-fade-up { opacity: 0; animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; transform: translateY(30px); }
.anim-delay-1 { animation-delay: 0.2s; } .anim-delay-2 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   3. SEÇÃO DE FEATURES E FAQ
   ========================================= */
.feature-box { padding: 2rem; background: #f8fafc; border-radius: 16px; border: 1px solid #e2e8f0; height: 100%; transition: all 0.3s ease; }
.feature-box:hover { background: #ffffff; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); transform: translateY(-5px); }
.feature-icon { width: 50px; height: 50px; background: #e0f2fe; color: #0284c7; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }

.accordion-item { border: 1px solid #e2e8f0; border-radius: 12px !important; margin-bottom: 1rem; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.accordion-button { font-weight: 700; color: var(--dark-solid); padding: 1.25rem 1.5rem; background-color: #ffffff; }
.accordion-button:not(.collapsed) { background-color: #f0fdf4; color: #166534; box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* Botões do Sistema e Modal */
.btn-black { background-color: var(--dark-solid) !important; color: #fff !important; border-radius: 10px !important; border: none !important; transition: all 0.3s ease; }
.btn-black:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(15,23,42,0.2) !important; }
.btn-outline-black { border: 2px solid var(--dark-solid) !important; border-radius: 10px !important; color: var(--dark-solid) !important; font-weight: 700; transition: all 0.2s; background: transparent; }
.btn-outline-black:hover { background-color: var(--dark-solid) !important; color: #fff !important; }

.modal-content { border-radius: 20px !important; border: none !important; overflow: hidden; }
.auth-left-pane { background: linear-gradient(135deg, #059669 0%, #0f172a 100%); color: white; }
.form-control { border-radius: 10px !important; padding: 0.75rem 1rem !important; border: 1px solid #cbd5e1 !important; background-color: #f8fafc !important; }
.form-control:focus { border-color: var(--primary-color) !important; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important; background-color: #fff !important; }

/* =========================================
   4. TABELA NUTRICIONAL E APP INTERNO
   ========================================= */
.rotulo-box { background: #fff !important; border: 1px solid #000 !important; padding: 15px !important; width: 100%; color: #000 !important; font-family: 'Arial', sans-serif; }
.table-nutri th { border-bottom: 2px solid #000 !important; font-weight: bold; }
.table-nutri td, .table-nutri th { color: #000 !important; padding: 4px 2px !important; }
.layout-vertical { max-width: 450px; margin: 0 auto; }
.layout-horizontal { max-width: 750px !important; }
.layout-horizontal .table-nutri { font-size: 0.95rem; }
.layout-horizontal .table-nutri td, .layout-horizontal .table-nutri th { padding: 6px 4px !important; }
.layout-agregado { max-width: 800px; display: flex; flex-direction: column; }
.layout-agregado table { width: 100%; font-size: 0.75rem !important; }
.layout-agregado .tn-title { font-size: 1rem; }
.layout-linear { max-width: 100% !important; border: none !important; padding: 0 !important; }
.layout-linear .tn-title { border-bottom: none !important; text-align: left !important; font-size: 1rem; margin-bottom: 0 !important; }

.glass-card { background: #fff; border-radius: 16px; padding: 1.5rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.section-title { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); margin-bottom: 1rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }

/* 🔥 EFEITO DE TEXTO GRADIENTE 🔥 */
.gradient-text {
    background: linear-gradient(to right, #ffffff 0%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}