@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;
    --composio-cobalt: #0007cd;
    --electric-cyan: #00ffff;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --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);
    --cyan-glow-bg: rgba(0,255,255,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--pure-white);
    text-decoration: none;
}

a:hover {
    color: var(--electric-cyan);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--void-black);
    border-bottom: 1px solid var(--border-mist-06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--pure-white);
    white-space: nowrap;
    flex-shrink: 0;
}

.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-cta {
    background: var(--pure-white);
    color: #111 !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.88;
    color: #111 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    border: 1px solid var(--border-mist-10);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.93;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    max-width: 760px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ghost-white);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.hero-image-wrap {
    margin-top: 56px;
    position: relative;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-image-wrap img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-mist-10);
    position: relative;
    z-index: 1;
}

.section {
    padding: 80px 0;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.7px;
    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;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--ghost-white);
    max-width: 560px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 48px;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-mist-08);
    margin: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s;
    box-shadow: rgba(0,0,0,0.15) 4px 4px 0px 0px;
}

.article-card:hover {
    border-color: var(--border-mist-12);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    margin-bottom: 12px;
}

.article-card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--pure-white);
}

.article-card-title a {
    color: inherit;
}

.article-card-title a:hover {
    color: var(--electric-cyan);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-08);
    border-radius: 4px;
    padding: 28px;
}

.info-card-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    color: var(--electric-cyan);
    margin-bottom: 16px;
    line-height: 1;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
}

.info-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
}

.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-bottom: 80px;
}

.stat-item {
    background: var(--pure-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px;
    font-weight: 400;
    color: var(--pure-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

.contact-section {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.0;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-details li {
    font-size: 14px;
    color: var(--ghost-white);
    display: flex;
    gap: 12px;
}

.contact-details li strong {
    color: var(--pure-white);
    min-width: 60px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-top: 1px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    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 14px;
    font-size: 15px;
    color: var(--pure-white);
    font-family: inherit;
    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: 100px;
}

.btn-primary {
    background: var(--pure-white);
    color: #111;
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}

.btn-primary:hover {
    opacity: 0.88;
}

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    padding: 10px 28px;
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--ghost-white);
    color: var(--pure-white);
}

footer {
    border-top: 1px solid var(--border-mist-08);
    padding: 48px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-mist-06);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--whisper-white);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--whisper-white);
}

.footer-bottom-links a:hover {
    color: var(--ghost-white);
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--pure-black);
    border-top: 1px solid var(--border-mist-10);
    padding: 20px 24px;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
}

.cookie-text a {
    color: var(--signal-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--pure-white);
    color: #111;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    padding: 8px 20px;
    border: 1px solid var(--charcoal);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.cookie-reject:hover {
    border-color: var(--ghost-white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.article-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border-mist-08);
    margin-bottom: 48px;
}

.article-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--electric-cyan);
    border: 1px solid var(--border-mist-10);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.article-h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.article-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
}

.article-featured-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-mist-10);
    margin-bottom: 40px;
}

.article-body {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
}

.article-body h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    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 {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--electric-cyan);
}

.article-body strong {
    color: var(--pure-white);
    font-weight: 500;
}

.article-body blockquote {
    border-left: 2px solid var(--electric-cyan);
    padding: 16px 20px;
    margin: 28px 0;
    background: var(--pure-black);
    border-radius: 0 4px 4px 0;
    font-size: 15px;
    color: var(--ghost-white);
}

.article-body .img-block {
    margin: 32px 0;
}

.article-body .img-block img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-mist-10);
}

.article-body .img-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--whisper-white);
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.article-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--whisper-white);
    margin-bottom: 16px;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-links li a {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.sidebar-links li a:hover {
    color: var(--pure-white);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    counter-reset: toc;
}

.toc-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.toc-list li::before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--whisper-white);
    min-width: 20px;
    padding-top: 2px;
}

.toc-list li a {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

.toc-list li a:hover {
    color: var(--pure-white);
}

.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--border-mist-08);
    margin-bottom: 56px;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 16px;
    color: var(--ghost-white);
    max-width: 560px;
    line-height: 1.6;
}

.page-body {
    max-width: 760px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    margin: 36px 0 12px;
    color: var(--pure-white);
}

.page-body p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-body ul li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin-bottom: 6px;
}

.disclaimer-box {
    background: var(--pure-black);
    border: 1px solid var(--border-mist-10);
    border-left: 2px solid var(--signal-blue);
    border-radius: 0 4px 4px 0;
    padding: 20px 24px;
    margin: 32px 0;
}

.disclaimer-box p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.6;
    margin: 0;
}

.breadcrumb {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--whisper-white);
}

.breadcrumb a:hover {
    color: var(--ghost-white);
}

.breadcrumb span {
    margin: 0 6px;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--pure-black);
        border-bottom: 1px solid var(--border-mist-08);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        align-items: flex-start;
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    .hero {
        padding: 60px 0 48px;
    }
    .hero h1 {
        font-size: 32px;
        line-height: 1.05;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-section {
        padding: 32px 24px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .stat-number {
        font-size: 28px;
    }
}
