@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;
    --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);
    --cobalt: #0007cd;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --charcoal: #2c2c2c;
    --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, 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(--pure-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--electric-cyan);
}

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-06);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.32px;
    color: var(--pure-white);
    white-space: nowrap;
    flex-shrink: 0;
}

.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-cta {
    background: var(--pure-white);
    color: #111 !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.88;
    color: #111 !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--void-black);
    border-top: 1px solid var(--border-06);
    padding: 12px 0 16px;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 10px 24px;
    font-size: 15px;
    color: var(--ghost-white);
    border-bottom: 1px solid var(--border-04);
}

.nav-mobile a:last-child {
    border-bottom: none;
}

/* HERO */
.hero {
    padding: 96px 24px 80px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,255,255,0.06) 0%, transparent 70%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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: inline-block;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -1px;
    color: var(--pure-white);
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--ghost-white);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

/* SECTION TITLES */
.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.6;
    max-width: 560px;
}

/* ARTICLES GRID */
.articles-section {
    padding: 80px 24px;
}

.articles-header {
    max-width: 1200px;
    margin: 0 auto 48px;
}

.articles-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--border-12);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.4);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-08);
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.article-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
}

.article-card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    flex: 1;
}

.article-card-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    margin-top: 4px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--signal-blue);
    font-family: var(--font-mono);
    transition: color 0.2s;
    margin-top: 4px;
}

.read-more:hover {
    color: var(--electric-cyan);
}

/* FEATURED */
.featured-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,7,205,0.04) 50%, transparent 100%);
    border-top: 1px solid var(--border-06);
    border-bottom: 1px solid var(--border-06);
}

.featured-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.featured-img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-10);
}

.featured-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.featured-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-content h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
}

.featured-content p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--signal-blue);
    border-radius: 4px;
    font-size: 15px;
    color: var(--pure-white);
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
    width: fit-content;
}

.btn-outline:hover {
    background: rgba(0,137,255,0.12);
    border-color: var(--ocean-blue);
    color: var(--pure-white);
}

/* STATS */
.stats-section {
    padding: 64px 24px;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
}

.stat-item {
    padding: 32px 24px;
    background: var(--pure-black);
    border-right: 1px solid var(--border-08);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

.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;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

/* CONTACT FORM */
.contact-section {
    padding: 80px 24px;
    border-top: 1px solid var(--border-06);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
}

.contact-info p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-detail-item {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--ghost-white);
    letter-spacing: -0.28px;
}

.contact-detail-item strong {
    color: var(--pure-white);
    margin-right: 8px;
}

.contact-form {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost-white);
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
}

.form-group input {
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--pure-white);
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus {
    border-color: var(--signal-blue);
}

.form-submit {
    background: var(--pure-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    font-family: var(--font-sans);
}

.form-submit:hover {
    opacity: 0.88;
}

.form-success {
    display: none;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--electric-cyan);
    text-align: center;
    padding: 8px 0;
}

/* ARTICLE PAGE */
.article-page {
    padding: 80px 24px;
}

.article-inner {
    max-width: 760px;
    margin: 0 auto;
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    margin-bottom: 32px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: var(--whisper-white);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--electric-cyan);
}

.breadcrumb span {
    color: var(--border-12);
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.article-meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-08);
}

.article-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-10);
    margin-bottom: 40px;
}

.article-body {
    color: var(--ghost-white);
    font-size: 16px;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--pure-white);
    margin: 48px 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 {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 24px;
}

.article-body li {
    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);
}

.article-body blockquote {
    border-left: 2px solid var(--signal-blue);
    padding: 12px 24px;
    margin: 24px 0;
    background: rgba(0,137,255,0.04);
    border-radius: 0 4px 4px 0;
    font-size: 17px;
    color: var(--pure-white);
    font-style: italic;
}

.article-note {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 32px 0;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ghost-white);
    letter-spacing: -0.28px;
}

.related-articles {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border-08);
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.related-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--border-12);
}

.related-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--electric-cyan);
}

.related-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--pure-white);
    line-height: 1.3;
}

/* GENERAL PAGE */
.general-page {
    padding: 80px 24px;
}

.general-inner {
    max-width: 760px;
    margin: 0 auto;
}

.general-page h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.general-page .page-updated {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-08);
}

.general-page h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--pure-white);
    margin: 40px 0 14px;
    line-height: 1.1;
}

.general-page h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--pure-white);
    margin: 28px 0 10px;
}

.general-page p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 18px;
}

.general-page ul {
    margin: 0 0 18px 24px;
}

.general-page li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 6px;
}

/* FOOTER */
.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-06);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.32px;
}

.footer-logo span {
    color: var(--electric-cyan);
}

.footer-tagline {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    max-width: 600px;
    line-height: 1.5;
    text-align: right;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 760px;
    background: var(--pure-black);
    border: 1px solid var(--border-12);
    border-radius: 4px;
    padding: 20px 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0px 8px 32px rgba(0,0,0,0.5);
}

.cookie-text {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--pure-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: opacity 0.2s;
}

.cookie-accept:hover {
    opacity: 0.88;
}

.cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: border-color 0.2s, color 0.2s;
}

.cookie-reject:hover {
    border-color: var(--border-12);
    color: var(--pure-white);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(3) {
        border-top: 1px solid var(--border-08);
    }
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--border-08);
        border-right: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .featured-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-disclaimer {
        text-align: left;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 16px;
        width: calc(100% - 32px);
    }
    .hero {
        padding: 64px 16px 56px;
    }
}

@media (max-width: 480px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-08);
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}
