@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-bg: 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', 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', ui-monospace, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background: 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%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--void-black);
    border-bottom: 1px solid var(--border-06);
}

.nav-inner {
    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.3px;
    color: var(--pure-white);
    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-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    padding: 16px 24px;
    gap: 16px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 15px;
    color: var(--ghost-white);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-04);
}

/* HERO */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.07) 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: inline-block;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    margin-bottom: 28px;
    max-width: 820px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 620px;
    margin-bottom: 40px;
}

.hero-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    letter-spacing: -0.2px;
}

/* SECTION */
.section {
    padding: 80px 0;
    border-top: 1px solid var(--border-04);
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.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;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 28px;
    transition: border-color 0.2s;
    position: relative;
}

.card:hover {
    border-color: var(--border-12);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 12px;
}

.card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 20px;
}

.card-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--signal-blue);
    letter-spacing: -0.2px;
    border-bottom: 1px solid var(--border-06);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.card-link:hover {
    color: var(--electric-cyan);
    border-color: var(--electric-cyan);
}

/* ARTICLES GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    border-color: var(--border-12);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--pure-white);
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ghost-white);
    margin-bottom: 18px;
}

.article-card-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.2px;
}

/* INFO BLOCK */
.info-block {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.info-block h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.info-block p {
    font-size: 15px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

/* TWO COL */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* FEATURE LIST */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ghost-white);
}

.feature-list li::before {
    content: '→';
    font-family: var(--font-mono);
    color: var(--electric-cyan);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
}

.stat-cell {
    background: var(--pure-black);
    padding: 28px 24px;
    border-right: 1px solid var(--border-08);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 400;
    color: var(--pure-white);
    line-height: 1.0;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--whisper-white);
    line-height: 1.4;
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--whisper-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--pure-white);
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--signal-blue);
}

.form-group select option {
    background: var(--void-black);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background: var(--pure-white);
    color: #0f0f0f;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
    width: fit-content;
}

.btn-primary:hover {
    opacity: 0.88;
}

.btn-cyan {
    background: var(--cyan-bg);
    color: var(--pure-white);
    border: 1px solid var(--ocean-blue);
    border-radius: 4px;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-cyan:hover {
    background: rgba(0,255,255,0.18);
    color: var(--pure-white);
}

/* ARTICLE PAGE */
.article-header {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border-06);
}

.article-header h1 {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 20px;
    max-width: 880px;
}

.article-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    letter-spacing: -0.2px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.article-body {
    padding: 56px 0 80px;
    max-width: 780px;
}

.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 {
    font-size: 15px;
    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: 15px;
    line-height: 1.7;
    color: var(--ghost-white);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--signal-blue);
    border-bottom: 1px solid var(--border-06);
    transition: color 0.2s, border-color 0.2s;
}

.article-body a:hover {
    color: var(--electric-cyan);
    border-color: var(--electric-cyan);
}

.article-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-08);
    margin: 32px 0;
}

.info-box {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-left: 3px solid var(--electric-cyan);
    border-radius: 4px;
    padding: 24px;
    margin: 32px 0;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: var(--ghost-white);
}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-04);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
}

.breadcrumb-list li a {
    color: var(--whisper-white);
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: var(--pure-white);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--border-12);
}

/* RELATED */
.related-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-04);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* FOOTER */
.site-footer {
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--whisper-white);
    margin-top: 12px;
    max-width: 280px;
}

.footer-brand .brand-name {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    color: var(--pure-white);
}

.footer-brand .brand-name span {
    color: var(--electric-cyan);
}

.footer-col h4 {
    font-family: var(--font-mono);
    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: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-04);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-bottom-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--pure-white);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--pure-black);
    border-top: 1px solid var(--border-10);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 14px;
    color: var(--ghost-white);
    max-width: 700px;
    line-height: 1.5;
}

#cookie-banner p a {
    color: var(--signal-blue);
    border-bottom: 1px solid var(--border-06);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--pure-white);
    color: #0f0f0f;
    border: none;
    border-radius: 4px;
    padding: 9px 20px;
    font-size: 14px;
    cursor: pointer;
    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: 9px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.cookie-reject:hover {
    border-color: var(--border-12);
    color: var(--pure-white);
}

/* DISCLAIMER */
.disclaimer {
    background: var(--pure-black);
    border: 1px solid var(--border-06);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 32px 0;
}

.disclaimer p {
    font-size: 13px;
    color: var(--whisper-white);
    line-height: 1.5;
}

/* PAGE HEADER */
.page-header {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border-06);
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 560px;
}

.page-content {
    padding: 60px 0 80px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--pure-white);
    margin: 40px 0 14px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--pure-white);
    margin: 28px 0 10px;
}

.page-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 18px;
}

.page-content ul, .page-content ol {
    padding-left: 20px;
    margin-bottom: 18px;
}

.page-content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ghost-white);
    margin-bottom: 6px;
}

.page-content a {
    color: var(--signal-blue);
}

.page-content a:hover {
    color: var(--electric-cyan);
}

/* FORM SUCCESS */
.form-success {
    display: none;
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-left: 3px solid var(--electric-cyan);
    border-radius: 4px;
    padding: 20px 24px;
}

.form-success p {
    font-size: 15px;
    color: var(--ghost-white);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-cell:nth-child(2) {
        border-right: none;
    }

    .stat-cell:nth-child(3) {
        border-right: 1px solid var(--border-08);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 0 48px;
    }

    .hero h1 {
        line-height: 0.95;
    }

    .cards-grid,
    .articles-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
