/* 
   Aleidani Eagle Security - Premium UI
   Theme: Nano-Banana (Dark Tech + Gold/Yellow Accents)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #f5d300; /* Nano Banana Yellow */
    --primary-glow: rgba(245, 211, 0, 0.4);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --accent-blue: #00f2ff;
    --danger: #ff4d4d;
    --success: #00ff88;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    font-family: 'Inter', sans-serif; /* Add Arabic fallback if needed */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-hover:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transition: all 0.3s ease;
}

/* Unified Modern Navigation */
nav, nav.glass {
    padding: 0;
    height: 80px;
    background: rgba(5, 5, 8, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(245, 211, 0, 0.15) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(245, 211, 0, 0.05), transparent);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

/* Cards Section */
.grid-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.app-card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: scale(1.02);
}

.app-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.app-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 60px 0;
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-dim);
}

/* PREMIUM NAVIGATION & UI ENHANCEMENTS */
nav.glass {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(245, 211, 0, 0.2);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(245, 211, 0, 0.05);
    border-color: rgba(245, 211, 0, 0.2);
}

.nav-links a.active {
    background: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 25px rgba(245, 211, 0, 0.4) !important;
    opacity: 1 !important;
}

.nav-links a:hover {
    color: var(--primary) !important;
    background: rgba(245, 211, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Premium Buttons - Syncing with Nav Pills */
.btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 211, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 211, 0, 0.5);
    background: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 211, 0, 0.05);
}

/* RESPONSIVE OVERHAUL */
@media (max-width: 992px) {
    .burger-menu {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        z-index: 1100;
    }
    
    .burger-menu div {
        width: 28px;
        height: 2px;
        background: var(--primary);
        transition: 0.4s;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 7, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.6s cubic-bezier(0.77,0,0.175,1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px;
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    .hero h1 { font-size: 2.5rem; }
    .stats-grid, .admin-grid { grid-template-columns: 1fr !important; }
}

/* PDF SOVEREIGN STYLE */
.cvss-score-box {
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid var(--primary);
    box-shadow: inset 0 0 15px rgba(245, 211, 0, 0.1), 0 0 20px rgba(0,0,0,0.8);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
