:root {
    --primary: #0A1128;
    --accent-gold: #C7923E;
    --accent-sage: #7F9A95;
    --accent-terracotta: #B25A4C;
    --light-gray: #E0E0E0;
    --white: #ffffff;
}

body {
    background-color: var(--primary);
    color: var(--light-gray);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 2rem; }
h2 { font-size: 2.2rem; margin-top: 3rem; margin-bottom: 1.5rem; border-left: 4px solid var(--accent-sage); padding-left: 15px; }
h3 { font-size: 1.5rem; color: var(--accent-sage); }

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

header {
    background-color: var(--primary);
    border-bottom: 1px solid rgba(199, 146, 62, 0.2);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
    border-bottom: 2px solid var(--accent-gold);
}

.hero-section {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 17, 40, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.module-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.1);
}

.light-bg {
    background-color: var(--light-gray);
    color: var(--primary);
}

.light-bg h2, .light-bg h3 {
    color: var(--primary);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.custom-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 146, 62, 0.3);
    padding: 30px;
    transition: all 0.3s;
}

.custom-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.img-fluid-custom {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--accent-gold);
    box-shadow: 10px 10px 0px var(--accent-terracotta);
}

.table-custom {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
}

.table-custom th, .table-custom td {
    padding: 15px;
    border: 1px solid rgba(199, 146, 62, 0.2);
    text-align: left;
}

.table-custom tr:nth-child(even) {
    background: rgba(127, 154, 149, 0.1);
}

.btn-wajexo {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-wajexo:hover {
    background: var(--accent-gold);
    color: var(--primary);
}

footer {
    background: #050814;
    padding: 60px 0;
    font-size: 0.85rem;
    border-top: 2px solid var(--accent-gold);
}

.footer-disclaimer {
    border: 1px solid var(--accent-terracotta);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-terracotta);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--primary);
    border-top: 2px solid var(--accent-gold);
    padding: 20px;
    z-index: 2000;
    display: none;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--accent-gold);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.glossary-rail {
    background: rgba(199, 146, 62, 0.05);
    padding: 20px;
    border-right: 4px solid var(--accent-gold);
}

.stat-strip {
    display: flex;
    justify-content: space-around;
    background: var(--accent-sage);
    color: var(--primary);
    padding: 30px;
    margin: 40px 0;
}

.stat-item { text-align: center; }
.stat-val { font-size: 2rem; font-weight: bold; display: block; }

.fade-in { opacity: 0; transition: opacity 1s ease-out; }
.fade-in.visible { opacity: 1; }