:root {
    --bg-primary: #ffffff; /* Bright white background */
    --bg-secondary: rgba(248, 250, 252, 0.8); /* Light slate */
    --text-main: #1e293b; /* Dark slate text */
    --text-muted: #64748b; /* Muted text */
    --accent: #0284c7; /* Vibrant blue accent */
    --accent-hover: #0369a1;
    --gold: #b45309; /* Premium Amber/Gold for contrast on light bg */
    --border-color: rgba(0, 0, 0, 0.1);
    
    /* Alerts */
    --alert-info-bg: rgba(56, 189, 248, 0.15);
    --alert-info-border: #0284c7;
    --alert-warning-bg: rgba(250, 204, 21, 0.15);
    --alert-warning-border: #ca8a04;
    --alert-danger-bg: rgba(248, 113, 113, 0.15);
    --alert-danger-border: #dc2626;
    --alert-success-bg: rgba(74, 222, 128, 0.15);
    --alert-success-border: #16a34a;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* Glassmorphism Header */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo .highlight {
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
    font-family: var(--font-serif);
}

/* Navbar */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-primary);
    min-width: 280px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 10px 0;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding-left: 25px; /* micro animation */
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
}

.glass-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Grid Menu (Index) */
.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.grid-card h3 {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.grid-card ul {
    list-style: none;
}

.grid-card ul li {
    margin-bottom: 0.8rem;
}

.grid-card ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.grid-card ul li a:hover {
    color: var(--accent);
}

/* Article Styles */
.article-container {
    padding: 3rem 20px;
    max-width: 900px;
}

.premium-article {
    padding: 4rem;
}

.category-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    margin-top: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.author-name {
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.publish-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-image-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 3rem 0;
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.03);
}

.drop-cap::first-letter {
    float: left;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    color: var(--gold);
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.article-content ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.article-content ul li {
    margin-bottom: 0.5rem;
}

/* Premium Alerts */
.premium-alert {
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    background: rgba(2, 132, 199, 0.05); /* Match accent light theme */
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
}

.premium-alert.info {
    border-left-color: var(--alert-info-border);
    background: var(--alert-info-bg);
}

.premium-alert.warning {
    border-left-color: var(--alert-warning-border);
    background: var(--alert-warning-bg);
}

.premium-alert.danger {
    border-left-color: var(--alert-danger-border);
    background: var(--alert-danger-bg);
}

.premium-alert.success {
    border-left-color: var(--alert-success-border);
    background: var(--alert-success-bg);
}

/* Premium Tables */
.premium-table-container {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.02);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th, .premium-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.premium-table th {
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.premium-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

.premium-table tbody tr:last-child td {
    border-bottom: none;
}

.impact-critical {
    color: #f87171;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.impact-negative {
    color: #facc15;
    font-weight: 600;
}

/* Footer */
.premium-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        margin-top: 1rem;
    }
    
    .dropdown-content {
        position: relative;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .premium-article {
        padding: 2rem;
    }
    
    h1 { font-size: 2rem; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    z-index: 9999;
    transition: bottom 0.5s ease;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-main);
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.cookie-btn.accept {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.cookie-btn.accept:hover {
    background: var(--accent-hover);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--text-muted);
}

.cookie-btn.reject:hover {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Language Switcher */
.lang-switch {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 1.5rem;
}

.lang-switch:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 1rem;
        width: fit-content;
    }
}
