@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;
    --cobalt: #0007cd;
    --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);
    --muted-smoke: #444444;
    --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);
    --cyan-glow: rgba(0,255,255,0.12);
    --font-sans: 'abcDiatype', 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', ui-monospace, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: 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(--signal-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--cyan);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--void-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: 64px;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.32px;
    white-space: nowrap;
}

.nav-logo:hover {
    color: var(--pure-white);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--ghost-white);
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--pure-white);
}

.nav-cta {
    background: var(--pure-white);
    color: oklch(0.145 0 0) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgba(255,255,255,0.88);
    color: oklch(0.145 0 0) !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    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.active {
    display: flex;
}

.mobile-menu a {
    color: var(--ghost-white);
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-04);
}

.mobile-menu a:hover {
    color: var(--pure-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.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, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    max-width: 900px;
    margin: 0 auto 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--ghost-white);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    background: var(--pure-white);
    color: oklch(0.145 0 0);
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: rgba(255,255,255,0.88);
    color: oklch(0.145 0 0);
}

.btn-secondary {
    display: inline-block;
    background: var(--cyan-glow);
    color: var(--pure-white);
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--ocean-blue);
    transition: background 0.2s;
    margin-left: 12px;
}

.btn-secondary:hover {
    background: rgba(0,255,255,0.18);
    color: var(--pure-white);
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--ghost-white);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid var(--charcoal);
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
    border-color: var(--signal-blue);
    color: var(--pure-white);
}

section {
    padding: 80px 24px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    color: var(--ghost-white);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.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.6;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: rgba(0,0,0,0.15) 4px 4px 0px 0px;
}

.article-card:hover {
    border-color: var(--border-12);
    box-shadow: rgba(0,0,0,0.3) 4px 4px 0px 0px;
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.55px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 20px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-06);
    padding-top: 16px;
}

.article-card-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.article-card-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--signal-blue);
}

.article-card-link:hover {
    color: var(--cyan);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 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-number {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 400;
    color: var(--pure-white);
    line-height: 1.0;
    letter-spacing: -0.98px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--ghost-white);
    margin-top: 8px;
    display: block;
}

.info-block {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 32px;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.info-block h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.info-block p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 12px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.code-block {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 2px;
    padding: 20px 24px;
    margin: 20px 0;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--pure-white);
    line-height: 1.5;
    letter-spacing: -0.28px;
    overflow-x: auto;
}

.code-block .cyan { color: var(--cyan); }
.code-block .blue { color: var(--signal-blue); }
.code-block .muted { color: var(--ghost-white); }

.tax-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.tax-table th {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    padding: 12px 16px;
    text-align: left;
    color: var(--ghost-white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tax-table td {
    border: 1px solid var(--border-06);
    padding: 12px 16px;
    color: var(--pure-white);
}

.tax-table tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

.contact-section {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0,7,205,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost-white);
}

.form-group input,
.form-group textarea {
    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;
    transition: border-color 0.2s;
    outline: none;
}

.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;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-detail-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    color: var(--ghost-white);
    letter-spacing: 0.55px;
    text-transform: uppercase;
    min-width: 64px;
    padding-top: 2px;
}

.contact-detail-value {
    font-size: 14px;
    color: var(--pure-white);
    line-height: 1.5;
}

footer {
    border-top: 1px solid var(--border-06);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    font-size: 16px;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-04);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--whisper-white);
}

.footer-bottom a {
    color: var(--ghost-white);
    font-size: 13px;
}

.footer-bottom a:hover {
    color: var(--pure-white);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pure-black);
    border-top: 1px solid var(--border-10);
    padding: 20px 24px;
    z-index: 999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}

.cookie-inner p a {
    color: var(--signal-blue);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.article-hero {
    padding: 80px 24px 60px;
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 32px 0 12px;
}

.article-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-content strong {
    color: var(--pure-white);
    font-weight: 500;
}

.article-content a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-08);
    margin: 32px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-meta-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.article-meta-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--whisper-white);
    letter-spacing: -0.28px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--ghost-white);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--ghost-white);
}

.breadcrumb a:hover {
    color: var(--pure-white);
}

.breadcrumb span {
    color: var(--muted-smoke);
}

.related-articles {
    padding: 60px 24px 80px;
    border-top: 1px solid var(--border-06);
}

.related-articles-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.page-hero {
    padding: 80px 24px 60px;
    text-align: center;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    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;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-content li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.7;
    margin-bottom: 6px;
}

.page-content a {
    color: var(--signal-blue);
}

.disclaimer-box {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-left: 3px solid var(--signal-blue);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
}

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 60px 24px 50px; }
    .hero h1 { line-height: 1.0; }

    section { padding: 50px 24px; }

    .articles-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-section { padding: 32px 24px; }

    .article-featured-img { height: 220px; }
}
