@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;
    --cobalt: #0007cd;
    --cyan: #00ffff;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --charcoal: #2c2c2c;
    --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);
    --muted-smoke: #444444;
    --border-12: rgba(255,255,255,0.12);
    --border-10: rgba(255,255,255,0.10);
    --border-08: rgba(255,255,255,0.08);
    --border-06: rgba(255,255,255,0.06);
    --border-04: rgba(255,255,255,0.04);
    --font-sans: 'abcDiatype', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    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-06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.3px;
}

.nav-logo span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-06);
    gap: 4px;
}

.nav-mobile a {
    padding: 10px 0;
    font-size: 15px;
    color: var(--ghost-white);
    border-bottom: 1px solid var(--border-04);
}

.nav-mobile a:last-child {
    border-bottom: none;
}

.nav-mobile.open {
    display: flex;
}

/* HERO */
.hero {
    padding: 96px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.9;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 18px;
    color: var(--ghost-white);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 40px;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--ghost-white);
    max-width: 540px;
    line-height: 1.6;
}

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
    box-shadow: rgba(0,0,0,0.15) 4px 4px 0px 0px;
}

.article-card:hover {
    border-color: var(--border-12);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 20px;
}

.article-card-meta {
    font-size: 13px;
    color: var(--whisper-white);
    font-family: var(--font-mono);
}

.article-card a.read-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--signal-blue);
    border-bottom: 1px solid rgba(0,137,255,0.3);
    transition: border-color 0.2s;
}

.article-card a.read-more:hover {
    border-color: var(--signal-blue);
}

/* ARTICLE PAGE */
.article-page {
    padding: 64px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.article-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-08);
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--cyan);
}

.article-meta-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
}

.article-page h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 20px;
}

.article-page .intro {
    font-size: 18px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-06);
}

.article-body h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 40px 0 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin: 28px 0 12px;
}

.article-body p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 8px;
}

.article-body a {
    color: var(--signal-blue);
    border-bottom: 1px solid rgba(0,137,255,0.3);
    transition: border-color 0.2s;
}

.article-body a:hover {
    border-color: var(--signal-blue);
}

.article-sources {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-06);
}

.article-sources h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.article-sources ul {
    list-style: none;
    padding: 0;
}

.article-sources li {
    font-size: 13px;
    color: var(--ghost-white);
    margin-bottom: 8px;
}

.article-sources a {
    color: var(--signal-blue);
}

/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
    margin: 64px 0;
}

.stat-item {
    background: var(--pure-black);
    padding: 32px 24px;
    border-right: 1px solid var(--border-06);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.0;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

/* INFO SECTION */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 40px;
}

.info-block {
    background: var(--pure-black);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    padding: 32px;
}

.info-block h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 12px;
}

.info-block p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
}

/* CONTACT FORM */
.contact-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-06);
}

.form-wrapper {
    max-width: 560px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost-white);
    margin-bottom: 8px;
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--white);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus {
    border-color: var(--signal-blue);
}

.btn-submit {
    background: var(--white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 15px;
    font-family: var(--font-sans);
    cursor: pointer;
    font-weight: 400;
    transition: opacity 0.2s;
}

.btn-submit:hover {
    opacity: 0.88;
}

/* PAGE CONTENT (about, privacy, terms) */
.page-content {
    padding: 64px 0 80px;
    max-width: 760px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 40px 0 14px;
}

.page-content p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 18px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.page-content li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 6px;
}

.page-content a {
    color: var(--signal-blue);
}

.updated-note {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    margin-bottom: 40px;
}

/* FOOTER */
.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.footer-brand span {
    color: var(--cyan);
}

.footer-desc {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.75;
    font-family: var(--font-mono);
}

.footer-contact a {
    color: var(--signal-blue);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border-06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: var(--whisper-white);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--whisper-white);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 13px;
    color: var(--ghost-white);
    font-family: var(--font-mono);
    border-bottom: 1px solid var(--border-04);
    margin-bottom: 40px;
}

.breadcrumb a {
    color: var(--ghost-white);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: var(--charcoal);
}

/* DISCLAIMER BANNER */
.disclaimer-bar {
    background: rgba(0,7,205,0.15);
    border-bottom: 1px solid rgba(0,7,205,0.3);
    padding: 10px 24px;
    font-size: 12px;
    color: var(--ghost-white);
    text-align: center;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--pure-black);
    border: 1px solid var(--border-12);
    border-radius: 4px;
    padding: 20px 28px;
    max-width: 560px;
    width: calc(100% - 48px);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: rgba(0,0,0,0.5) 0px 8px 32px;
}

#cookie-banner p {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
}

#cookie-banner a {
    color: var(--signal-blue);
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* RELATED ARTICLES */
.related-section {
    padding: 56px 0;
    border-top: 1px solid var(--border-06);
}

.related-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    background: var(--pure-black);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    padding: 20px;
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--border-12);
}

.related-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.related-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
}

.related-card p {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .hero {
        padding: 64px 0 56px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-hero-img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}
