@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;
    --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);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.63;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--electric-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pure-white);
}

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;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 16px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.32px;
    white-space: nowrap;
}

.nav-logo:hover {
    color: var(--electric-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--ghost-white);
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--pure-white);
    background: var(--border-04);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    border: 1px solid var(--border-08);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    margin-bottom: 28px;
    max-width: 800px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ghost-white);
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-meta {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.section {
    padding: 80px 0;
}

.section-label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 16px;
}

.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);
    max-width: 560px;
    margin-bottom: 48px;
}

.articles-grid {
    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.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--border-12);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.3);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    flex: 1;
    margin-bottom: 20px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    color: var(--signal-blue);
    letter-spacing: -0.28px;
    transition: gap 0.2s ease;
}

.article-link:hover {
    gap: 12px;
    color: var(--electric-cyan);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-06);
    border: 1px solid var(--border-06);
    border-radius: 4px;
    overflow: hidden;
    margin: 64px 0;
}

.stat-item {
    background: var(--void-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 8px;
    letter-spacing: -0.98px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.5;
}

.featured-section {
    background: var(--pure-black);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
    margin: 48px 0;
}

.featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-img-wrap {
    position: relative;
    overflow: hidden;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.featured-content {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .section-label {
    margin-bottom: 12px;
}

.featured-content h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.featured-content p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 28px;
}

.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 ease, border-color 0.2s ease;
    align-self: flex-start;
}

.btn-outline:hover {
    background: var(--border-06);
    color: var(--pure-white);
    border-color: var(--electric-cyan);
}

.contact-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-06);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: var(--ghost-white);
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--whisper-white);
}

.contact-detail-value {
    font-size: 15px;
    color: var(--ghost-white);
}

.contact-detail-value a {
    color: var(--ghost-white);
}

.contact-detail-value a:hover {
    color: var(--electric-cyan);
}

.contact-form {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--pure-white);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--signal-blue);
}

.form-input::placeholder {
    color: var(--whisper-white);
}

.form-submit {
    width: 100%;
    background: var(--pure-white);
    color: #0a0a0a;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: 8px;
}

.form-submit:hover {
    opacity: 0.9;
}

.form-note {
    font-size: 12px;
    color: var(--whisper-white);
    margin-top: 12px;
    text-align: center;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-06);
    margin: 80px 0;
}

.page-hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-06);
}

.page-hero .hero-tag {
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 17px;
    color: var(--ghost-white);
    max-width: 620px;
}

.page-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-meta-item {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.article-body {
    padding: 64px 0;
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 32px 0 12px;
}

.article-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin: 16px 0 20px 24px;
}

.article-content li {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 8px;
}

.article-content a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-decoration-color: var(--border-10);
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--electric-cyan);
    text-decoration-color: var(--electric-cyan);
}

.article-content strong {
    color: var(--pure-white);
    font-weight: 500;
}

.article-img-full {
    width: 100%;
    max-width: 760px;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-08);
    margin: 32px 0;
}

.article-img-caption {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--whisper-white);
    margin-top: -20px;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

.infobox {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-left: 3px solid var(--signal-blue);
    border-radius: 4px;
    padding: 24px 28px;
    margin: 32px 0;
}

.infobox p {
    font-size: 15px;
    color: var(--ghost-white);
    margin: 0;
}

.related-articles {
    padding: 64px 0;
    border-top: 1px solid var(--border-06);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.related-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.related-card:hover {
    border-color: var(--border-12);
}

.related-card h4 {
    font-size: 17px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-card p {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.6;
}

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 24px;
}

.sidebar-card h4 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 12px;
}

.sidebar-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
}

.sidebar-card a {
    color: var(--signal-blue);
}

.page-text {
    padding: 64px 0;
}

.page-text-content {
    max-width: 760px;
}

.page-text-content h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin: 48px 0 16px;
}

.page-text-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--pure-white);
    margin: 32px 0 12px;
}

.page-text-content p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 16px;
}

.page-text-content ul {
    margin: 12px 0 16px 24px;
}

.page-text-content li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 6px;
}

.page-text-content a {
    color: var(--signal-blue);
}

footer.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--border-06);
    padding: 48px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h5 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--ghost-white);
}

.footer-col ul a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    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);
}

.footer-legal a:hover {
    color: var(--pure-white);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--pure-black);
    border-top: 1px solid var(--border-10);
    padding: 20px 0;
    display: none;
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 14px;
    color: var(--ghost-white);
    max-width: 680px;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--signal-blue);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--pure-white);
    color: #0a0a0a;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-cookie-accept:hover {
    opacity: 0.9;
}

.btn-cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-cookie-reject:hover {
    border-color: var(--border-10);
    color: var(--pure-white);
}

.disclaimer-bar {
    background: var(--pure-black);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 32px 0;
}

.disclaimer-bar p {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    color: var(--whisper-white);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--void-black);
        border-bottom: 1px solid var(--border-08);
        padding: 16px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-hamburger {
        display: flex;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .featured-inner {
        grid-template-columns: 1fr;
    }
    .featured-img-wrap img {
        min-height: 240px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        line-height: 1.0;
    }
    .page-hero h1 {
        line-height: 1.0;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
    }
    .btn-cookie-accept, .btn-cookie-reject {
        flex: 1;
        text-align: center;
    }
}
