@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --void-black: #0f0f0f;
    --pure-black: #000000;
    --charcoal: #2c2c2c;
    --pure-white: #ffffff;
    --ghost-white: rgba(255,255,255,0.6);
    --whisper-white: rgba(255,255,255,0.5);
    --phantom-white: rgba(255,255,255,0.2);
    --electric-cyan: #00ffff;
    --cyan-glow: rgba(0,255,255,0.12);
    --signal-blue: #0089ff;
    --cobalt: #0007cd;
    --border-mist-12: rgba(255,255,255,0.12);
    --border-mist-10: rgba(255,255,255,0.10);
    --border-mist-08: rgba(255,255,255,0.08);
    --border-mist-06: rgba(255,255,255,0.06);
    --border-mist-04: rgba(255,255,255,0.04);
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--void-black);
    border-bottom: 1px solid var(--border-mist-08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.28px;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--electric-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--pure-white);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* HERO */
.hero {
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0,137,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.9;
    color: var(--pure-white);
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.hero-image {
    margin-top: 56px;
    border-radius: 4px;
    border: 1px solid var(--border-mist-10);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-height: 480px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION */
.section {
    padding: 80px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--electric-cyan);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 560px;
    margin-bottom: 48px;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* CARD */
.card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--border-mist-12);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 10px;
}

.card-title a:hover {
    color: var(--ghost-white);
}

.card-excerpt {
    font-size: 14px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.card-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

/* ARTICLE CARD */
.article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15);
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: var(--border-mist-12);
}

.article-card-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.article-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-mist-08);
    border: 1px solid var(--border-mist-08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 80px;
}

.stat-item {
    background: var(--void-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 400;
    color: var(--pure-white);
    line-height: 1.0;
    letter-spacing: -0.98px;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

/* DIVIDER */
.divider {
    height: 1px;
    background: var(--border-mist-08);
    margin: 0;
}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.breadcrumb a {
    color: var(--whisper-white);
}

.breadcrumb a:hover {
    color: var(--ghost-white);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.4;
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border-mist-08);
    margin-bottom: 56px;
}

.article-header .article-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--electric-cyan);
    margin-bottom: 16px;
    display: block;
}

.article-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 20px;
    max-width: 800px;
}

.article-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 640px;
    margin-bottom: 24px;
}

.article-byline {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.article-featured-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-mist-10);
    margin-bottom: 56px;
}

.article-body {
    max-width: 720px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 40px 0 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--electric-cyan);
}

.info-box {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-left: 3px solid var(--signal-blue);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 28px 0;
}

.info-box p {
    margin-bottom: 0;
    font-size: 15px;
}

/* RELATED */
.related-section {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--border-mist-08);
}

/* CONTACT FORM */
.contact-section {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--ghost-white);
}

.form-group input,
.form-group textarea {
    background: var(--void-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--pure-white);
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--signal-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    background: var(--pure-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.88;
}

/* PAGE CONTENT */
.page-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border-mist-08);
    margin-bottom: 56px;
}

.page-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.page-body {
    max-width: 760px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--pure-white);
    margin: 40px 0 14px;
    line-height: 1.2;
}

.page-body p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.page-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-body li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 6px;
}

.page-body a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* FOOTER */
.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--border-mist-08);
    padding: 56px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.footer-contact {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-mist-06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--whisper-white);
    font-family: var(--font-mono);
    letter-spacing: -0.28px;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--pure-black);
    border: 1px solid var(--border-mist-12);
    border-radius: 4px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

#cookie-banner a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept {
    background: var(--pure-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-accept:hover {
    opacity: 0.88;
}

.btn-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-reject:hover {
    border-color: var(--border-mist-12);
    color: var(--pure-white);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--void-black);
        border-bottom: 1px solid var(--border-mist-08);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px;
        gap: 16px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-burger {
        display: flex;
    }
    .site-nav {
        position: relative;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .article-card {
        grid-template-columns: 1fr;
    }
    .article-card-img {
        min-height: 220px;
        max-height: 220px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 56px 0 48px;
    }
    #cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
