/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    background-color: #f8f9fa;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.site-header {
    background-color: #0b0f19;
    color: #ffffff;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
    color: #ffffff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.hero-text h1 {
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h2 {
    font-size: 20px;
    font-weight: 400;
    color: #38bdf8;
    margin-bottom: 24px;
}

.hero-line {
    width: 48px;
    height: 3px;
    background-color: #38bdf8;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 16px;
    color: #94a3b8;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Archive Header */
.archive-header {
    background: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
    color: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.archive-header p {
    color: #94a3b8;
    max-width: 600px;
    font-size: 15px;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2563eb;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.featured-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}

/* Article Grid & Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #cbd5e1;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2563eb;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #0f172a;
    flex-grow: 1;
}

.card-content h3 a:hover {
    color: #2563eb;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
}

.card-archive {
    margin-left: auto;
    margin-right: 12px;
}

.card-archive a {
    color: #2563eb;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-archive a:hover {
    text-decoration: underline;
}

.archive-link-container {
    text-align: center;
    margin-top: 32px;
}

.archive-link {
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.archive-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #0b0f19;
    color: #ffffff;
    padding: 64px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-info p {
    font-size: 13px;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.footer-social a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-social .divider {
    color: #334155;
}

.copyright-container {
    padding-top: 32px;
    font-size: 12px;
    color: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
}