:root {
    --brand-green: #3A7543;
    --brand-red: #E52421;
    --brand-amber: #FFB000;
    --brand-black: #030712;
    --brand-surface: #0B1121;
    --brand-outline: #1E293B;
    --brand-text: #F8FAFC;
}

* { 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    background-color: var(--brand-black); 
    color: var(--brand-text); 
    margin: 0; 
    padding: 0; 
    overscroll-behavior-y: none;
}

/* --- GLASS & GERAL --- */
.glass-panel {
    background: rgba(11, 17, 33, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--brand-outline);
}
.primary-glow { 
    box-shadow: 0 0 25px rgba(58, 117, 67, 0.3); 
}
.red-glow { 
    box-shadow: 0 0 20px rgba(229, 36, 33, 0.3); 
}
.secondary-glow { 
    box-shadow: 0 0 25px rgba(255, 176, 0, 0.3); 
}

.metallic-text {
    background: linear-gradient(180deg, #e5e2e1 0%, #a9bea5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BOTÕES TÁTICOS --- */
.btn-primary-tactical {
    background: linear-gradient(135deg, var(--brand-green) 0%, #2A5430 100%);
    box-shadow: 0 4px 15px rgba(58, 117, 67, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}
.btn-primary-tactical:active { 
    transform: scale(0.98); 
}

.glass-btn-green {
    background: linear-gradient(135deg, rgba(58, 117, 67, 0.8), rgba(42, 84, 48, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 117, 67, 0.4);
    box-shadow: 0 0 15px rgba(58, 117, 67, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Toggle Switch Customizado */
.toggle-checkbox:checked {
    right: 0;
    border-color: #3A7543;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #3A7543;
}
.toggle-checkbox {
    right: 0;
    z-index: 1;
    border-color: #1E293B;
    transition: all 0.3s;
}
.toggle-label {
    width: 3rem;
    height: 1.5rem;
    background-color: #1E293B;
    border-radius: 9999px;
    transition: all 0.3s;
}

/* --- BOTTOM NAV --- */
.bottom-nav-fixed {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    border-top: 1px solid var(--brand-outline);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.nav-item { 
    position: relative; 
    transition: all 0.2s ease; 
    color: #717171; 
}

.nav-item.active { 
    color: var(--brand-green); 
}
.nav-item.active .material-symbols-outlined { 
    filter: drop-shadow(0 0 10px var(--brand-green)); 
    font-variation-settings: 'FILL' 1; 
}
.nav-item.active::before {
    content: ''; 
    position: absolute; 
    top: 40%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 45px; 
    height: 45px;
    background: radial-gradient(circle, rgba(58, 117, 67, 0.15) 0%, transparent 70%);
    z-index: 0;
}
.nav-item.active::after {
    content: ''; 
    position: absolute; 
    bottom: -8px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 28px; 
    height: 4px; 
    background-color: var(--brand-green); 
    border-radius: 10px;
}

/* --- CHAT FEED --- */
.message-incoming {
    background: linear-gradient(145deg, rgba(58, 117, 67, 0.3) 0%, rgba(42, 84, 48, 0.5) 100%);
    border: 1px solid rgba(58, 117, 67, 0.3);
}

/* --- RADAR TÁTICO --- */
.radar-container {
    width: 200px; 
    height: 200px; 
    border-radius: 50%;
    border: 1px solid rgba(58, 117, 67, 0.3);
    position: relative;
    background: radial-gradient(circle, rgba(58, 117, 67, 0.08) 0%, transparent 70%);
}
.radar-sweep {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 50%; 
    height: 2px;
    background: linear-gradient(90deg, var(--brand-green), transparent);
    transform-origin: left center;
    animation: rotate 2s linear infinite;
}
@keyframes rotate { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}
.radar-circle {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    border-radius: 50%; 
    border: 1px solid rgba(58, 117, 67, 0.2);
}

/* --- SCREENS --- */
.screen { 
    display: none !important; 
}
.screen.active { 
    display: flex !important; 
    flex-direction: column; 
    animation: slideFade 0.3s ease-out; 
}
@keyframes slideFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animação para itens do FAQ */
.faq-item input:checked ~ .faq-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}
.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item input:checked ~ label .icon-rotate { 
    transform: rotate(180deg); 
}
