@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;
    --electric-cyan: #00ffff;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --composio-cobalt: #0007cd;
    --charcoal: #2c2c2c;
    --ghost-white: rgba(255,255,255,0.6);
    --whisper-white: rgba(255,255,255,0.5);
    --phantom-white: rgba(255,255,255,0.2);
    --border-mist-12: rgba(255,255,255,0.12);
    --border-mist-10: rgba(255,255,255,0.10);
    --border-mist-08: rgba(255,255,255,0.08);
    --border-mist-06: rgba(255,255,255,0.06);
    --border-mist-04: rgba(255,255,255,0.04);
    --font-sans: 'abcDiatype', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

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-mist-08);
    padding: 0;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--pure-white);
    white-space: nowrap;
}

.nav-logo span {
    color: var(--electric-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    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: 24px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--pure-black);
    border-bottom: 1px solid var(--border-mist-08);
    padding: 16px 24px 24px;
    gap: 16px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    color: var(--ghost-white);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-mist-04);
}

/* HERO */
.hero {
    padding: 100px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,137,255,0.08) 0%, transparent 70%);
    text-align: center;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 2px;
    padding: 4px 12px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 400;
    line-height: 0.87;
    max-width: 900px;
    margin: 0 auto 28px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    color: var(--ghost-white);
    max-width: 620px;
    margin: 0 auto 0;
    line-height: 1.6;
}

/* SECTION TITLES */
.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--electric-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.0;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--ghost-white);
    max-width: 600px;
    line-height: 1.6;
}

/* CARDS */
.card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 28px;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--border-mist-12);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: var(--electric-cyan);
    margin-bottom: 14px;
}

.card h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    color: var(--signal-blue);
    font-family: var(--font-mono);
}

.card-link:hover {
    color: var(--electric-cyan);
}

/* ARTICLE CARD */
.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    border-color: var(--border-mist-12);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15);
}

.article-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 16px;
}

.article-card-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--signal-blue);
}

.article-card-link:hover {
    color: var(--electric-cyan);
}

/* SECTION SPACING */
.section {
    padding: 96px 0;
    border-top: 1px solid var(--border-mist-06);
}

.section:first-of-type {
    border-top: none;
}

/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-mist-08);
    border: 1px solid var(--border-mist-08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 64px;
}

.stat-item {
    background: var(--pure-black);
    padding: 32px 28px;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.4;
}

/* ARTICLE PAGE */
.article-hero {
    padding: 72px 0 0;
    border-bottom: 1px solid var(--border-mist-06);
}

.article-hero-inner {
    max-width: 800px;
}

.article-breadcrumb {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: var(--whisper-white);
}

.article-breadcrumb a:hover {
    color: var(--electric-cyan);
}

.article-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--whisper-white);
    margin-top: 24px;
    margin-bottom: 0;
    padding-bottom: 40px;
    letter-spacing: 0.3px;
}

.article-meta span {
    margin-right: 24px;
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.5px;
    max-width: 800px;
}

.article-lead {
    font-size: 18px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-top: 20px;
    max-width: 720px;
}

/* ARTICLE BODY */
.article-body {
    padding: 64px 0 96px;
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 56px;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 40px;
    margin-bottom: 14px;
}

.article-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.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-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--electric-cyan);
}

.article-img-block {
    margin: 40px 0;
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    overflow: hidden;
}

.article-img-block img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.article-img-caption {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    padding: 12px 16px;
    background: var(--pure-black);
    letter-spacing: 0.3px;
}

.fact-box {
    border: 1px solid rgba(0,255,255,0.15);
    border-left: 3px solid var(--electric-cyan);
    background: rgba(0,255,255,0.04);
    border-radius: 4px;
    padding: 24px 28px;
    margin: 32px 0;
}

.fact-box p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin: 0;
}

.fact-box strong {
    color: var(--pure-white);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 14px;
}

.info-table th {
    text-align: left;
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--whisper-white);
    border-bottom: 1px solid var(--border-mist-10);
    background: var(--pure-black);
}

.info-table td {
    padding: 14px 16px;
    color: var(--ghost-white);
    border-bottom: 1px solid var(--border-mist-06);
    vertical-align: top;
}

.info-table td:first-child {
    color: var(--pure-white);
    font-weight: 500;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* SIDEBAR */
.article-layout {
    display: grid;
    grid-template-columns: 760px 1fr;
    gap: 64px;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: 88px;
}

.sidebar-box {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-box h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--electric-cyan);
    margin-bottom: 16px;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    border-bottom: 1px solid var(--border-mist-04);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.4;
}

.sidebar-links a:hover {
    color: var(--pure-white);
}

/* CONTACT FORM */
.contact-form {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 40px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--whisper-white);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-mist-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;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--signal-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    display: inline-block;
    background: var(--pure-white);
    color: rgba(0,0,0,0.9);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.85;
    color: rgba(0,0,0,0.9);
}

.btn-cyan {
    display: inline-block;
    background: rgba(0,255,255,0.12);
    color: var(--pure-white);
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid var(--ocean-blue);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.2s;
}

.btn-cyan:hover {
    background: rgba(0,255,255,0.18);
    color: var(--pure-white);
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--border-mist-08);
    padding: 64px 0 40px;
    background: var(--void-black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--ghost-white);
}

.footer-col a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-mist-06);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--whisper-white);
}

.footer-bottom a {
    font-size: 13px;
    color: var(--whisper-white);
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--pure-white);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pure-black);
    border-top: 1px solid var(--border-mist-10);
    padding: 20px 24px;
    z-index: 999;
    display: none;
}

#cookie-banner.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 14px;
    color: var(--ghost-white);
    max-width: 700px;
    line-height: 1.5;
}

#cookie-banner a {
    color: var(--signal-blue);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--pure-white);
    color: rgba(0,0,0,0.9);
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* PAGE HERO */
.page-hero {
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--border-mist-06);
    background: radial-gradient(ellipse at 50% 0%, rgba(0,137,255,0.06) 0%, transparent 70%);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    color: var(--ghost-white);
    max-width: 620px;
    line-height: 1.6;
}

.page-content {
    padding: 72px 0 96px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 760px;
}

.page-content ul, .page-content ol {
    margin-left: 24px;
    margin-bottom: 18px;
    max-width: 760px;
}

.page-content li {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 8px;
}

.page-content a {
    color: var(--signal-blue);
}

.page-content a:hover {
    color: var(--electric-cyan);
}

/* DISCLAIMER */
.disclaimer-box {
    background: rgba(0,137,255,0.04);
    border: 1px solid rgba(0,137,255,0.15);
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 40px;
}

.disclaimer-box p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-banner.show {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }
}
