@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);
    --cyan: #00ffff;
    --cobalt: #0007cd;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --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', 'Menlo', ui-monospace, monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: 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; }
ul { list-style: none; }

.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);
    padding: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--pure-white);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.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: 7px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.25s;
}

/* HERO */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    max-width: 820px;
    margin-bottom: 28px;
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
    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.3px;
}

/* SECTIONS */
.section { padding: 80px 0; }
.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--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;
    line-height: 1.63;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.card:hover { border-color: var(--border-12); }

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 24px;
}

.card-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--cyan);
    margin-bottom: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.card-text {
    font-size: 14px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--signal-blue);
    font-family: var(--font-mono);
    transition: color 0.2s;
}

.card-link:hover { color: var(--cyan); }

/* FEATURED */
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 48px;
}

.featured-img {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-10);
}

.featured-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-content { padding: 16px 0; }

.featured-content .card-cat { margin-bottom: 14px; }

.featured-content h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 18px;
}

.featured-content p {
    font-size: 15px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    background: var(--pure-white);
    color: #111;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--ghost-white);
    padding: 10px 28px;
    border-radius: 4px;
    border: 1px solid var(--charcoal);
    font-size: 15px;
    transition: border-color 0.2s, color 0.2s;
    margin-left: 12px;
}

.btn-secondary:hover { border-color: var(--signal-blue); color: var(--pure-white); }

/* STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-08);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    margin-top: 48px;
    overflow: hidden;
}

.stat-item {
    background: var(--pure-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 400;
    color: var(--pure-white);
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

/* DIVIDER */
.divider {
    border: none;
    border-top: 1px solid var(--border-06);
    margin: 0;
}

/* CONTACT FORM */
.contact-section {
    padding: 80px 0;
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    border-bottom: 1px solid var(--border-08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
    align-items: start;
}

.form-info p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 24px;
}

.contact-detail {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.contact-detail strong { color: var(--pure-white); }

.form-fields { display: flex; flex-direction: column; gap: 16px; }

.form-fields input, .form-fields textarea {
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--pure-white);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-fields input::placeholder, .form-fields textarea::placeholder {
    color: var(--whisper-white);
}

.form-fields input:focus, .form-fields textarea:focus {
    border-color: var(--signal-blue);
}

.form-fields textarea { resize: vertical; min-height: 100px; }

.form-submit {
    background: var(--pure-white);
    color: #111;
    border: none;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.form-submit:hover { opacity: 0.88; }

/* FOOTER */
.site-footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-08);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    max-width: 320px;
    margin-top: 14px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-06);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--whisper-white);
}

/* ARTICLE PAGE */
.article-hero {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border-06);
}

.article-hero .breadcrumb {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.article-hero .breadcrumb a { color: var(--ghost-white); }
.article-hero .breadcrumb a:hover { color: var(--pure-white); }

.article-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    max-width: 800px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.article-meta .tag {
    background: rgba(0,255,255,0.1);
    border: 1px solid rgba(0,150,255,0.4);
    color: var(--cyan);
    padding: 2px 10px;
    border-radius: 37px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.article-cover {
    margin: 40px 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-08);
}

.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 48px 0 80px;
    align-items: start;
}

.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: 28px 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 {
    margin: 16px 0 20px 20px;
    list-style: disc;
}

.article-body li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--signal-blue);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.article-body a:hover { border-color: var(--signal-blue); }

.article-body blockquote {
    border-left: 2px solid var(--signal-blue);
    margin: 28px 0;
    padding: 16px 24px;
    background: rgba(0,137,255,0.06);
    border-radius: 0 4px 4px 0;
}

.article-body blockquote p {
    font-size: 17px;
    color: var(--pure-white);
    font-style: italic;
    margin: 0;
}

.article-sidebar { position: sticky; top: 80px; }

.sidebar-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.sidebar-card ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-06);
}

.sidebar-card ul li:last-child { border: none; margin: 0; padding: 0; }

.sidebar-card ul li a {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
    transition: color 0.2s;
}

.sidebar-card ul li a:hover { color: var(--pure-white); }

/* ABOUT, POLICY PAGES */
.page-hero {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border-06);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: var(--ghost-white);
    max-width: 560px;
    line-height: 1.5;
}

.page-content {
    max-width: 760px;
    padding: 56px 0 80px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 40px 0 14px;
}

.page-content p, .page-content li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.page-content ul { margin-left: 20px; list-style: disc; }
.page-content a { color: var(--signal-blue); }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #111;
    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-inner p {
    font-size: 14px;
    color: var(--ghost-white);
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.cookie-inner a { color: var(--signal-blue); }

.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie-accept {
    background: var(--pure-white);
    color: #111;
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-cookie-accept:hover { opacity: 0.88; }

.btn-cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid var(--charcoal);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-cookie-reject:hover { border-color: var(--signal-blue); color: var(--pure-white); }

/* MISC */
.text-cyan { color: var(--cyan); }
.text-mono { font-family: var(--font-mono); }
.updated-date { font-family: var(--font-mono); font-size: 12px; color: var(--whisper-white); letter-spacing: 0.3px; }

/* MOBILE NAV */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #111;
    border-top: 1px solid var(--border-08);
    padding: 20px 24px 24px;
    gap: 4px;
}

.mobile-nav a {
    font-size: 16px;
    color: var(--ghost-white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-06);
    display: block;
    transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--pure-white); }
.mobile-nav a:last-child { border: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .cards-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-img img { height: 260px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero { padding: 60px 0 48px; }
    .section { padding: 56px 0; }
}
