:root {
    --primary: #1a1a1a;
    --secondary: #2d3436;
    --accent: #0984e3;
    --background: #ffffff;
    --surface: #f9f9f9;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border: #dfe6e9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1100px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.heading {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-muted {
    color: var(--text-muted);
}

.font-bold {
    font-weight: 700;
}

/* Navbar */
header {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--surface);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    font-weight: 600;
}

.hero-img {
    width: 100%;
    height: 400px;
    background: #eee;
    border-radius: 12px;
    overflow: hidden;
}

/* Grid Layout */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-top: 80px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.article-card {
    background: white;
    border-radius: 10px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-desc {
    color: #a0a0a0;
    font-size: 14px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #777;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 25px 0;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--accent);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content {
    flex: 1;
}

.cookie-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.cookie-content p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #0873c4;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-content {
        max-width: 100%;
    }
}