/* ── matchanalytics.eu – Blog Stylesheet ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg:       #0a0b0f;
    --card:     #111318;
    --border:   #1e2130;
    --blue:     #2563eb;
    --text:     #e2e8f0;
    --muted:    #6b7280;
    --green:    #22c55e;
    --red:      #ef4444;
    --radius:   12px;
}
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
}

/* ── Navigation ───────────────────────────────────────────────────── */
nav {
    background: rgba(10,11,15,.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo svg { width: 30px; height: 30px; }
.logo-wordmark { font-size: 1.05rem; font-weight: 700; line-height: 1; }
.logo-wordmark .match    { color: #f1f5f9; }
.logo-wordmark .analytics{ color: var(--blue); font-weight: 300; }
.logo-wordmark .tld      { color: var(--muted); font-size: .8em; font-weight: 400; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    transition: background .15s;
}
.nav-cta:hover { background: #1d4ed8; }

/* ── Blog Index ───────────────────────────────────────────────────── */
.blog-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 32px 48px;
    text-align: center;
}
.blog-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.blog-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}
.blog-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .18s, transform .18s;
}
.blog-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}
.blog-card-tag {
    display: inline-block;
    background: #2563eb18;
    color: var(--blue);
    border: 1px solid #2563eb33;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content;
}
.blog-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}
.blog-card p {
    color: var(--muted);
    font-size: .875rem;
    flex: 1;
}
.blog-card-meta {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 4px;
}
.blog-card-arrow {
    font-size: .85rem;
    color: var(--blue);
    font-weight: 600;
    margin-top: 4px;
}

/* ── Article ──────────────────────────────────────────────────────── */
.article-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 60px 32px 80px;
}
.article-breadcrumb {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 32px;
}
.article-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}
.article-breadcrumb a:hover { color: var(--text); }
.article-tag {
    display: inline-block;
    background: #2563eb18;
    color: var(--blue);
    border: 1px solid #2563eb33;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.article-meta {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.article-body { font-size: .975rem; line-height: 1.8; }
.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 40px 0 14px;
    color: var(--text);
}
.article-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--text);
}
.article-body p { margin-bottom: 18px; color: #c9d1dc; }
.article-body ul, .article-body ol {
    margin: 0 0 18px 20px;
    color: #c9d1dc;
}
.article-body li { margin-bottom: 7px; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body a:hover { color: #60a5fa; }

.info-box {
    background: #2563eb12;
    border: 1px solid #2563eb33;
    border-left: 4px solid var(--blue);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 24px 0;
    font-size: .9rem;
    color: #93c5fd;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.stat-card .stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}
.stat-card .stat-label {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 6px;
}

/* ── CTA Box ──────────────────────────────────────────────────────── */
.article-cta {
    background: linear-gradient(135deg, #2563eb18 0%, #1e2130 100%);
    border: 1px solid #2563eb44;
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 48px;
    text-align: center;
}
.article-cta h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.article-cta p {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 20px;
}
.article-cta .cta-btn {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 11px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    transition: background .15s;
}
.article-cta .cta-btn:hover { background: #1d4ed8; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 32px;
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; margin: 0 10px; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
    .blog-hero h1 { font-size: 1.7rem; }
    .blog-grid { grid-template-columns: 1fr; padding: 0 16px 60px; }
    .article-wrap { padding: 40px 16px 60px; }
    .article-title { font-size: 1.5rem; }
    nav { padding: 0 16px; }
    .nav-right .nav-link { display: none; }
}
