:root {
    --primary-color: #4A6C6F;
    --secondary-color: #2D3A3B;
    --accent-1: #E0BBE4;
    --accent-2: #957DAD;
    --accent-3: #D3BCC0;
    --bg-light: #F8F8F8;
    --bg-muted: #E8E8E8;
    --text-main: #4A6C6F;
    --text-dark: #2D3A3B;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.4s ease;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: "Times New Roman", Georgia, serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; border-bottom: 1px solid var(--accent-3); padding-bottom: 10px; }
h3 { font-size: 1.5rem; color: var(--text-dark); font-weight: 600; }

p { margin-bottom: 1.2rem; font-size: 1.1rem; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    border-bottom: 1px solid var(--bg-muted);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 30px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

section { padding: 80px 0; }

.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 58, 59, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 { color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--bg-muted);
    transition: var(--transition);
}

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

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 15px 15px 0 var(--accent-3);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th, td {
    padding: 20px;
    border: 1px solid var(--bg-muted);
    text-align: left;
}

th { background: var(--bg-muted); color: var(--text-dark); }

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

.timeline-marker::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-1);
    border-radius: 50%;
}

footer {
    background: var(--secondary-color);
    color: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    display: block;
    color: var(--accent-3);
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    border-left: 5px solid var(--primary-color);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.side-rail {
    background: var(--bg-muted);
    padding: 30px;
    border-radius: 4px;
    height: fit-content;
}

.insight-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.matrix-item {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--accent-3);
}

@media (max-width: 768px) {
    .two-col, .grid-3, .footer-grid, .insight-matrix { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
    .hero { height: 60vh; }
}