/* cbdc.bar */
/* Colors: #c44040, #f0ead6, #33ff88, #0a0a0f, #12121a, #1a1a2a, #2a2a3a, #8a8a9a, #4a4a5a, #e0d8c8 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    background: #0a0a0f;
    color: #f0ead6;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(51,255,136,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(51,255,136,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, #12121a 0%, #0a0a0f 70%);
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #33ff88;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #33ff88;
    letter-spacing: 0.15em;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 7rem);
    color: #f0ead6;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.hero-sub {
    font-weight: 300;
    font-size: 16px;
    color: #8a8a9a;
    margin-top: 16px;
    max-width: 500px;
    opacity: 0;
    animation: fadeIn 1s 0.8s ease forwards;
}

.section {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #0a0a0f;
}

.section-dark { background: #12121a; }

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #f0ead6;
    margin-bottom: 20px;
}

.section-title.light { color: #e0d8c8; }

.section-text {
    font-weight: 300;
    font-size: 17px;
    color: #8a8a9a;
    max-width: 600px;
    margin-bottom: 40px;
}

.section-text.light { color: #8a8a9a; }

/* Stats */
.stat-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    border: 1px solid #2a2a3a;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    transition: border-color 0.3s ease;
}

.stat-card:hover { border-color: #33ff88; }

.stat-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 32px;
    color: #33ff88;
    font-weight: 400;
}

.stat-label {
    font-size: 12px;
    color: #4a4a5a;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Architecture */
.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.arch-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.layer-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: #8a8a9a;
    letter-spacing: 0.08em;
}

.layer-bar {
    width: 200px;
    height: 8px;
    background: #c44040;
    border-radius: 2px;
}

.layer-bar.secondary { width: 300px; background: #33ff88; opacity: 0.6; }
.layer-bar.tertiary { width: 400px; background: #f0ead6; opacity: 0.3; }

.arch-connector {
    width: 1px;
    height: 20px;
    background: #4a4a5a;
}

.site-footer {
    text-align: center;
    padding: 40px;
    background: #0a0a0f;
    color: #2a2a3a;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .section { padding: 60px 24px; }
    .stat-row { flex-direction: column; align-items: center; }
    .layer-bar.secondary { width: 200px; }
    .layer-bar.tertiary { width: 250px; }
}
