/* AVIOS INTELLIGENCE Custom Stylesheet - V18.7 */
/* FIX: WYSIWYG POISONING IMMUNITY - Force font globally */

:root {
    --brand-blue: #005696;
    --brand-dark: #004070;
    --brand-sky: #0ea5e9;
    --brand-purple: #9333ea;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-slate: #f1f5f9;
}

body { 
    margin: 0; 
    padding: 0; 
    background-color: var(--bg-slate); 
    color: var(--text-main); 
    overflow-x: hidden;
}

#avios-app-container {
    all: initial; 
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 16px; 
    background-color: var(--bg-slate);
    background-image: radial-gradient(circle at 2px 2px, rgba(148, 163, 184, 0.35) 2px, transparent 0);
    background-size: 32px 32px;
    -webkit-font-smoothing: antialiased;
    color: var(--text-main);
    min-height: 100vh;
}

/* 🚨 THE WYSIWYG KILLER: Forces our font onto EVERY element, ignoring pasted code */
#avios-app-container * { 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* GLOBAL UTILITIES */
.transition-brand { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition: all 0.3s ease; }
.card-shadow { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01); }

/* NAVIGATION */
.nav-link { 
    color: rgba(255, 255, 255, 0.7); 
    font-weight: 600; 
    font-size: 11px; 
    letter-spacing: 0.12em; 
    transition: all 0.2s ease; 
    text-decoration: none; 
    cursor: pointer; 
    padding-bottom: 4px; 
    border-bottom: 2px solid transparent; 
    text-transform: uppercase;
}
.nav-link:hover { color: white; }
.nav-link.active { color: white; border-bottom-color: white; }

/* FORM ELEMENTS */
#avios-app-container select, 
#avios-app-container input, 
#avios-app-container textarea { 
    appearance: auto;
    -webkit-appearance: auto;
    border-radius: 0.75rem; 
    border: 1px solid #e2e8f0; 
    font-size: 14px;
    background: white;
}

/* APP VIEW ROUTING */
.app-view { display: none; opacity: 0; transition: opacity 0.4s ease; flex-grow: 1; }
.app-view.active-view { display: block; opacity: 1; }

/* FOUNDER SECTION STYLES */
.bio-card {
    background: white;
    border-radius: 3rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .bio-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}
.bio-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover; /* Fixed: Prevents distortion */
    border: 8px solid var(--bg-slate);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* FOOTER GRID */
footer h3 {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2em;
}

/* SCROLLBARS */
.plane-scroll::-webkit-scrollbar { width: 8px; }
.plane-scroll::-webkit-scrollbar-track { background: transparent; }
.plane-scroll::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.2); border-radius: 10px; }

/* RESPONSIVE */
@media (max-width: 1280px) {
    aside[id^="global-sidebar"] {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .bio-photo {
        width: 180px;
        height: 180px;
    }
}