/* ========================================
   JBK Agency — Main Stylesheet
   ======================================== */

/* --- Fonts --- */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains-mono.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

/* --- Skip link (accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: #7C3AED;
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f172a;
    color: #f1f5f9;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

code, pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

a {
    color: #7C3AED;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: #a78bfa; }

img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #f1f5f9;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 48px;
    max-width: 640px;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    transition: background 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
}
.logo:hover { color: #f1f5f9; }
.logo svg { width: 32px; height: 32px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: #f1f5f9; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #7C3AED;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
}
.nav-cta:hover { background: #6d28d9; color: #fff !important; }

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #f1f5f9;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* --- Hero --- */
.hero {
    padding: 160px 0 96px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    background: linear-gradient(135deg, #7C3AED 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #7C3AED;
    color: #fff;
}
.btn-primary:hover { background: #6d28d9; color: #fff; }

.btn-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.btn-secondary:hover { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }

.btn-cta {
    background: #047857;
    color: #fff;
}
.btn-cta:hover { background: #065f46; color: #fff; }

/* --- Cards --- */
.card {
    background: #1e293b;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #7C3AED;
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Grid layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- Expertise section --- */
.expertise-grid { margin-top: 48px; }

.card-features {
    list-style: none;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.875rem;
}
.card-features li svg {
    width: 16px;
    height: 16px;
    color: #10B981;
    flex-shrink: 0;
}

/* --- Orilyt section --- */
.orilyt-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.orilyt-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.orilyt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10B981;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.orilyt-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.orilyt-text p {
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.8;
}

.orilyt-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.orilyt-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}
.orilyt-features li svg {
    width: 20px;
    height: 20px;
    color: #7C3AED;
    flex-shrink: 0;
    margin-top: 2px;
}

.orilyt-visual {
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    text-align: center;
}

.orilyt-score-circle {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    position: relative;
}
.orilyt-score-circle svg { width: 100%; height: 100%; }
.orilyt-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #10B981;
}

.orilyt-score-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.orilyt-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
}
.orilyt-bar-label { width: 100px; text-align: right; }
.orilyt-bar-track {
    flex: 1;
    height: 6px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.orilyt-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}
.orilyt-bar-fill.perf { background: #10B981; }
.orilyt-bar-fill.secu { background: #7C3AED; }
.orilyt-bar-fill.seo  { background: #3b82f6; }
.orilyt-bar-fill.ux   { background: #f59e0b; }

/* --- Approche section --- */
.approche-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.approche-text p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 16px;
}

.approche-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border-left: 3px solid #7C3AED;
}

.pillar h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.pillar p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Stats --- */
.stats-section {
    background: #1e293b;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7C3AED, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Blog preview --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.blog-card {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    width: fit-content;
}
.blog-card-category.securite {
    background: rgba(124, 58, 237, 0.12);
    color: #a78bfa;
}
.blog-card-category.business {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card h3 a { color: #f1f5f9; }
.blog-card h3 a:hover { color: #a78bfa; }

.blog-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.blog-card-date {
    color: #94a3b8;
    font-size: 0.8rem;
}

.blog-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-card-link:hover { color: #c4b5fd; }

/* --- CTA section --- */
.cta-section {
    text-align: center;
}
.cta-section .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.site-footer {
    background: #0b1120;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 16px;
}
.footer-brand p a {
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-brand p a:hover { color: #c4b5fd; }

.footer-col h3 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
    text-decoration: underline;
    text-decoration-color: rgba(148, 163, 184, 0.3);
    text-underline-offset: 2px;
}
.footer-col a:hover { color: #f1f5f9; text-decoration-color: #f1f5f9; }

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* --- Blog listing page --- */
.blog-hero {
    padding: 140px 0 48px;
    text-align: center;
}

.blog-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: transparent;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
    border-color: #7C3AED;
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.08);
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

/* --- Article page --- */
.article-hero {
    padding: 140px 0 32px;
    text-align: center;
}

.article-category {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.article-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #f1f5f9;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #e2e8f0;
}

.article-content p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    color: #94a3b8;
    margin-bottom: 20px;
    padding-left: 24px;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content code {
    background: rgba(124, 58, 237, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.875em;
    color: #a78bfa;
}

.article-content pre {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid rgba(148, 163, 184, 0.08);
}
.article-content pre code {
    background: none;
    padding: 0;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.article-content blockquote {
    border-left: 3px solid #7C3AED;
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 0 8px 8px 0;
    color: #cbd5e1;
    font-style: italic;
}

.article-content strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* Orilyt callout in articles */
.orilyt-callout {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(16, 185, 129, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}
.orilyt-callout h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #a78bfa;
}
.orilyt-callout p {
    color: #94a3b8;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.orilyt-callout .btn { font-size: 0.85rem; padding: 10px 20px; }

/* Article navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}
.article-nav a {
    color: #94a3b8;
    font-size: 0.875rem;
    max-width: 45%;
}
.article-nav a:hover { color: #a78bfa; }
.article-nav .nav-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 4px;
}

/* --- Contact page --- */
.contact-hero {
    padding: 140px 0 48px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 96px;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.contact-detail svg {
    width: 20px;
    height: 20px;
    color: #7C3AED;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #cbd5e1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 10px;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7C3AED;
}
.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* --- Legal page --- */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 140px 24px 96px;
}
.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
}
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: #e2e8f0;
}
.legal-content p {
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.8;
}

/* --- 404 page --- */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}
.page-404 h1 {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7C3AED, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.page-404 p {
    color: #94a3b8;
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-3, .blog-grid, .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .orilyt-content, .approche-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .hero { padding: 120px 0 64px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 1.5rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }

    .grid-3, .grid-2, .blog-grid, .blog-listing-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .article-hero h1 {
        font-size: 1.75rem;
    }
    .article-nav {
        flex-direction: column;
    }
    .article-nav a {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .stat-number { font-size: 2rem; }
    .container { padding: 0 16px; }
}

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #1e293b;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.is-visible {
    transform: translateY(0);
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}
.cookie-banner-text a {
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s;
}
.cookie-btn-accept {
    background: #7C3AED;
    color: #fff;
}
.cookie-btn-accept:hover { background: #6d28d9; }
.cookie-btn-refuse {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.15);
}
.cookie-btn-refuse:hover {
    border-color: rgba(148, 163, 184, 0.3);
    color: #f1f5f9;
}

@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; text-align: center; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
}
