:root {
    --primary-bg: #1A202C;
    --accent-purple: #8A2BE2;
    --accent-green: #4CAF50;
    --accent-gold: #FFD700;
    --text-light: #F5F5F5;
    --text-muted: #A0AEC0;
    --secondary-bg: #2A3342;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-serif: 'Georgia', serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.8;
    margin: 0;
    padding-top: 80px;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; border-left: 4px solid var(--accent-purple); padding-left: 1rem; }
h3 { font-size: 1.75rem; color: var(--accent-gold); }

.container-fluid { max-width: 1600px; }

.main-header {
    background-color: rgba(26, 32, 44, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-purple) !important;
    font-weight: bold;
}

.nav-link {
    color: var(--text-light) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-link:hover { color: var(--accent-purple) !important; }

.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(26, 32, 44, 0.9), transparent);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 5%; }

.section-padding { padding: 6rem 0; }

.knowledge-compass {
    background: var(--secondary-bg);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    margin: 4rem 0;
}

.compass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compass-item {
    padding: 2rem;
    background: rgba(26, 32, 44, 0.5);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.compass-item:hover { transform: translateY(-10px); }

.info-card {
    background: var(--secondary-bg);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.info-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.card-img-top { height: 250px; object-fit: cover; }

.btn-accent {
    background-color: var(--accent-purple);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover { background-color: #7224bc; color: white; transform: scale(1.05); }

.footer-nav a {
    color: var(--text-muted);
    margin: 0 15px;
    font-size: 0.85rem;
}

.main-footer {
    background-color: #0d1117;
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #2D3748;
    padding: 1.5rem 0;
    z-index: 2000;
    display: none;
    border-top: 2px solid var(--accent-purple);
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.matrix-table th { color: var(--accent-gold); padding: 1rem; border-bottom: 2px solid var(--secondary-bg); }
.matrix-table td { background: var(--secondary-bg); padding: 1.5rem; }

.timeline-container { position: relative; padding: 2rem 0; }
.timeline-item { border-bottom: 1px solid var(--secondary-bg); padding: 2rem 0; }

.disclaimer-box {
    border: 2px solid var(--accent-gold);
    padding: 3rem;
    margin: 2rem 0;
    background: rgba(255, 215, 0, 0.05);
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero-section { height: 60vh; }
}