@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 {
    --black: #0f0f0f;
    --pure-black: #000000;
    --white: #ffffff;
    --cyan: #00ffff;
    --cobalt: #0007cd;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --charcoal: #2c2c2c;
    --ghost: rgba(255,255,255,0.6);
    --whisper: rgba(255,255,255,0.5);
    --phantom: rgba(255,255,255,0.2);
    --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', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--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: var(--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: 60px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    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);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.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(--white);
    border-radius: 1px;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--pure-black);
    border-top: 1px solid var(--border-08);
    padding: 16px 24px 24px;
    gap: 16px;
    list-style: none;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    font-size: 15px;
    color: var(--ghost);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-04);
}

/* HERO */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.06) 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(--cyan);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.97;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 18px;
    color: var(--ghost);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--white);
    color: #111;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.88;
    color: #111;
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--ghost);
    font-size: 15px;
    padding: 10px 24px;
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--signal-blue);
    color: var(--white);
}

/* SECTION */
section {
    padding: 80px 24px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--ghost);
    max-width: 600px;
    line-height: 1.6;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 28px;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--border-12);
}

.card-icon {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--ghost);
    line-height: 1.63;
}

/* ARTICLES GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(0,0,0,0.15) 4px 4px 0px 0px;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: rgba(0,150,255,0.4);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card-body {
    padding: 20px 24px 24px;
}

.article-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--ghost);
    line-height: 1.63;
    margin-bottom: 16px;
}

.article-link {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--signal-blue);
}

.article-link:hover {
    color: var(--cyan);
}

/* 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;
    overflow: hidden;
    margin-top: 48px;
}

.stat-item {
    background: var(--pure-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.0;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost);
    line-height: 1.5;
}

/* IMAGE SECTION */
.img-feature {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-10);
    object-fit: cover;
    max-height: 420px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

/* CONTACT FORM */
.contact-section {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 48px;
    max-width: 640px;
    margin: 48px auto 0;
}

.contact-section h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-section p {
    font-size: 15px;
    color: var(--ghost);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost);
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    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;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--whisper);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--signal-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 8px;
    width: 100%;
    background: var(--white);
    color: #111;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.form-submit:hover {
    opacity: 0.88;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-06);
    padding: 48px 24px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand span {
    color: var(--cyan);
}

.footer-desc {
    font-size: 13px;
    color: var(--ghost);
    line-height: 1.63;
    margin-bottom: 16px;
}

.footer-contact {
    font-size: 13px;
    color: var(--ghost);
    line-height: 1.8;
    font-family: var(--font-mono);
}

.footer-contact a {
    color: var(--signal-blue);
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--ghost);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ghost);
}

/* ARTICLE PAGE */
.article-header {
    padding: 80px 24px 48px;
    max-width: 800px;
    margin: 0 auto;
}

.article-header .article-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 16px;
}

.article-header .article-intro {
    font-size: 18px;
    color: var(--ghost);
    line-height: 1.5;
}

.article-image {
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-10);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--ghost);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-body ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.article-body ul li {
    font-size: 15px;
    color: var(--ghost);
    line-height: 1.63;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid var(--border-04);
    position: relative;
}

.article-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--signal-blue);
    font-family: var(--font-mono);
}

.article-body a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--cyan);
}

.article-related {
    border-top: 1px solid var(--border-08);
    padding: 48px 24px 80px;
    max-width: 960px;
    margin: 0 auto;
}

.article-related h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* PAGE (about/privacy/terms) */
.page-header {
    padding: 80px 24px 48px;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--ghost);
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    margin: 40px 0 14px;
    line-height: 1.2;
}

.page-body p {
    font-size: 15px;
    color: var(--ghost);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-body a {
    color: var(--signal-blue);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: var(--pure-black);
    border: 1px solid var(--border-12);
    border-radius: 4px;
    padding: 24px;
    z-index: 9999;
    box-shadow: rgba(0,0,0,0.5) 0px 8px 32px;
    display: none;
}

#cookie-banner p {
    font-size: 14px;
    color: var(--ghost);
    line-height: 1.63;
    margin-bottom: 16px;
}

#cookie-banner a {
    color: var(--signal-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-accept {
    background: var(--white);
    color: #111;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-accept:hover {
    opacity: 0.88;
}

.cookie-reject {
    background: transparent;
    color: var(--ghost);
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cookie-reject:hover {
    border-color: var(--signal-blue);
    color: var(--white);
}

/* BREADCRUMB */
.breadcrumb {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ghost);
    padding: 16px 24px;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: var(--signal-blue);
}

.breadcrumb span {
    color: var(--ghost);
}

/* DISCLAIMER */
.disclaimer {
    background: rgba(0,255,255,0.04);
    border: 1px solid rgba(0,255,255,0.12);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 13px;
    color: var(--ghost);
    line-height: 1.63;
    font-family: var(--font-mono);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .split-section {
        grid-template-columns: 1fr;
    }
    .split-section.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .cards-grid,
    .articles-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .hero {
        padding: 64px 24px 48px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 32px 24px;
    }
    #cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
