@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: #0f0f0f;
    --black: #000000;
    --cobalt: #0007cd;
    --cyan: #00ffff;
    --signal: #0089ff;
    --ocean: #0096ff;
    --charcoal: #2c2c2c;
    --white: #ffffff;
    --ghost: rgba(255,255,255,0.6);
    --whisper: rgba(255,255,255,0.5);
    --phantom: rgba(255,255,255,0.2);
    --mist12: rgba(255,255,255,0.12);
    --mist10: rgba(255,255,255,0.10);
    --mist08: rgba(255,255,255,0.08);
    --mist06: rgba(255,255,255,0.06);
    --mist04: rgba(255,255,255,0.04);
    --cyan-glow: rgba(0,255,255,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background-color: var(--void);
    color: var(--white);
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--void);
    border-bottom: 1px solid var(--mist08);
    padding: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.32px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo span { color: var(--cyan); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--ghost);
    transition: color 0.15s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-contact {
    font-size: 0.875rem;
    color: var(--ghost);
    white-space: nowrap;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.2s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border-top: 1px solid var(--mist08);
    padding: 8px 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    padding: 12px 24px;
    font-size: 0.9375rem;
    color: var(--ghost);
    border-bottom: 1px solid var(--mist04);
    transition: color 0.15s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }

.hero {
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-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 {
    display: inline-block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--mist10);
    padding: 4px 10px;
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.5px;
    color: var(--white);
    max-width: 760px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--ghost);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-meta {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.3px;
}

.section { padding: 80px 0; }

.section-label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--ghost);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card {
    background: var(--black);
    border: 1px solid var(--mist10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.card:hover { border-color: var(--mist12); }

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-body { padding: 24px; }

.card-tag {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.69rem;
    font-weight: 400;
    color: var(--cyan);
    letter-spacing: 0.55px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 10px;
}

.card-title a:hover { color: var(--ghost); }

.card-excerpt {
    font-size: 0.875rem;
    color: var(--ghost);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-date {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.3px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--signal);
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
    margin-top: 8px;
}

.read-more:hover { border-color: var(--signal); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--mist08);
    border: 1px solid var(--mist08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 80px;
}

.stat-item {
    background: var(--black);
    padding: 32px 24px;
    text-align: center;
}

.stat-num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--ghost);
    line-height: 1.4;
}

.divider {
    border: none;
    border-top: 1px solid var(--mist08);
    margin: 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--black);
    border: 1px solid var(--mist10);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(0,0,0,0.15) 4px 4px 0px 0px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.featured-card:hover { border-color: var(--mist12); }

.featured-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.featured-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 14px;
}

.featured-title a:hover { color: var(--ghost); }

.contact-section {
    background: var(--black);
    border: 1px solid var(--mist10);
    border-radius: 4px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info p {
    font-size: 0.9375rem;
    color: var(--ghost);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-detail span {
    font-size: 0.875rem;
    color: var(--ghost);
}

.contact-detail strong {
    color: var(--white);
    font-weight: 400;
    margin-right: 6px;
}

.form-group { margin-bottom: 16px; }

.form-label {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--ghost);
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--mist10);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

.form-input::placeholder { color: var(--whisper); }
.form-input:focus { border-color: var(--signal); }

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: #0d0d0d;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

.btn-primary:hover { opacity: 0.88; }

footer {
    border-top: 1px solid var(--mist08);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-name {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.28px;
    margin-bottom: 12px;
}

.footer-brand-name span { color: var(--cyan); }

.footer-desc {
    font-size: 0.875rem;
    color: var(--ghost);
    line-height: 1.65;
    margin-bottom: 16px;
}

.footer-contact-info {
    font-size: 0.8125rem;
    color: var(--whisper);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--ghost);
    transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid var(--mist06);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--whisper);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: var(--whisper);
    transition: color 0.15s;
}

.footer-legal a:hover { color: var(--white); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--black);
    border-top: 1px solid var(--mist10);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--ghost);
    flex: 1;
    min-width: 240px;
    line-height: 1.5;
}

.cookie-text a { color: var(--signal); border-bottom: 1px solid transparent; }
.cookie-text a:hover { border-color: var(--signal); }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-accept {
    background: var(--white);
    color: #0d0d0d;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-accept:hover { opacity: 0.85; }

.btn-reject {
    background: transparent;
    color: var(--ghost);
    font-size: 0.875rem;
    padding: 8px 20px;
    border-radius: 4px;
    border: 1px solid var(--charcoal);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.btn-reject:hover { color: var(--white); border-color: var(--mist10); }

.page-hero {
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--mist08);
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.0625rem;
    color: var(--ghost);
    max-width: 600px;
    line-height: 1.65;
}

.prose {
    max-width: 740px;
    margin: 0 auto;
    padding: 56px 0 80px;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-top: 48px;
    margin-bottom: 16px;
}

.prose h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    margin-top: 32px;
    margin-bottom: 12px;
}

.prose p {
    font-size: 0.9375rem;
    color: var(--ghost);
    line-height: 1.75;
    margin-bottom: 20px;
}

.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.prose ul li {
    font-size: 0.9375rem;
    color: var(--ghost);
    line-height: 1.7;
    margin-bottom: 6px;
}

.prose a { color: var(--signal); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.prose a:hover { border-color: var(--signal); }

.article-header {
    padding: 72px 0 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.article-meta span {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.3px;
}

.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--mist08);
    margin-bottom: 56px;
}

.article-body {
    max-width: 740px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 0.9375rem;
    color: var(--ghost);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 20px;
}

.article-body ul li {
    font-size: 0.9375rem;
    color: var(--ghost);
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-body a { color: var(--signal); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.article-body a:hover { border-color: var(--signal); }

.related-articles { padding: 56px 0 80px; border-top: 1px solid var(--mist08); }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.breadcrumb a, .breadcrumb span {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.3px;
}

.breadcrumb a:hover { color: var(--ghost); }
.breadcrumb .sep { color: var(--mist12); }
.breadcrumb .current { color: var(--ghost); }

.disclaimer-box {
    background: var(--black);
    border: 1px solid var(--mist08);
    border-left: 3px solid var(--charcoal);
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 48px;
}

.disclaimer-box p {
    font-size: 0.8125rem;
    color: var(--whisper);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-contact { display: none; }
    .hamburger { display: flex; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .featured-card { grid-template-columns: 1fr; }
    .featured-img { height: 220px; min-height: unset; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 56px 0 48px; }
    .section { padding: 56px 0; }
    .contact-section { padding: 36px 24px; }
    .article-img { height: 240px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 1.875rem; }
    .featured-body { padding: 24px 20px; }
}
