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

:root {
    --bg-primary: #f0f0f0;
    --bg-secondary: #e5e5e5;
    --bg-card: #eaeaea;
    --text-primary: #1d1d1f;
    --text-secondary: #5c5c62;
    --text-muted: #8a8a8f;
    --accent: #1d1d1f;
    --accent-dim: #48484a;
    --border: #c7c7cc;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --hero-gradient-1: #e8e8ea;
    --hero-gradient-2: #dcdcdf;
    --bg-accent-soft: #f5f3f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation Bar */
.navbar {
    background: var(--bg-secondary);
    padding: 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    height: 100px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: inline-block;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link.active-link {
    border-bottom: 3px solid #fbbc04;
    color: var(--text-primary);
}

/* Hamburger Menu (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sections */
.section {
    display: none;
    padding: 4rem 0;
}

.section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: var(--accent);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 0;
}

.cta-button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Intro Cards */
.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.25s ease;
}

.card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Content Sections */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.content-section ul li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-section ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Type Cards Grid */
.types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.type-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.type-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.type-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Feature Lists */
.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.benefits-list li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-dim);
    font-size: 0.7rem;
}

.challenges-list li {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.challenges-list li::before {
    content: "△";
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Tables */
.cbdc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cbdc-table th,
.cbdc-table td {
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.cbdc-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--bg-card);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cbdc-table td {
    color: var(--text-secondary);
}

/* Insight Box */
.insight-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.25s ease;
}

.insight-box:hover {
    border-color: var(--accent-dim);
    box-shadow: var(--shadow);
}

.insight-box p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.insight-box p:last-child {
    margin-bottom: 0;
}

.insight-box strong {
    color: var(--text-primary);
}

/* Resource List */
.resource-list {
    list-style: none;
}

.resource-list li {
    color: var(--text-secondary);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    transition: padding-left 0.2s ease;
}

.resource-list li:hover {
    padding-left: 1.8rem;
}

.resource-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-dim);
    transition: transform 0.2s ease;
}

.resource-list li:hover::before {
    transform: translateX(3px);
}

/* Org Grid */
.org-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.org-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.org-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.org-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.org-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Glossary */
.glossary {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.glossary-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: padding-left 0.2s ease;
}

.glossary-item:hover {
    padding-left: 0.5rem;
}

.glossary-item:last-child {
    border-bottom: none;
}

.glossary-item strong {
    color: var(--text-primary);
}

/* Analysis Article Cards */
.analysis-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analysis-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.25s ease;
}

.analysis-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.analysis-card.featured {
    border-left: 4px solid var(--accent);
    background: var(--bg-accent-soft);
}

.analysis-card.featured .read-more {
    color: var(--accent);
    font-weight: 600;
}

.analysis-card .article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analysis-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.analysis-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.analysis-card .read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.analysis-card .read-more:hover {
    gap: 0.7rem;
}

/* Expandable Article Body */
.article-body {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.article-body.open {
    display: block;
    animation: fadeIn 0.4s ease;
}

.article-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.article-body ul {
    list-style: none;
    margin-bottom: 1rem;
}

.article-body ul li {
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.3rem;
    position: relative;
    font-size: 0.9rem;
}

.article-body ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Policy Ticker */
.policy-ticker {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
}

.policy-ticker-track {
    display: flex;
    gap: 0;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

.policy-ticker:hover .policy-ticker-track {
    animation-play-state: paused;
}

.policy-ticker-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    min-width: 280px;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.policy-ticker-item:last-child {
    border-right: none;
}

.policy-ticker-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.policy-ticker-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.policy-ticker-bank {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.policy-ticker-project {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.policy-ticker-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
}

.doc-link {
    color: var(--accent-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.doc-link:hover {
    gap: 0.5rem;
    text-decoration: underline;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-development {
    background: #fff3cd;
    color: #856404;
}

.status-research {
    background: #e2e3e5;
    color: #383d41;
}

.status-completed {
    background: #cce5ff;
    color: #004085;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Deep Dive Card */
.deep-dive-card {
    background: var(--bg-accent-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.25s ease;
}

.deep-dive-card:hover {
    border-color: var(--accent-dim);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.deep-dive-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.deep-dive-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.deep-dive-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.deep-dive-card ul {
    list-style: none;
    margin-bottom: 0.75rem;
}

.deep-dive-card ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    padding-left: 1.3rem;
    position: relative;
}

.deep-dive-card ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.deep-dive-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.deep-dive-timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.deep-dive-timeline-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 110px;
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.deep-dive-timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.25s ease;
}

.stat-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.stat-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Compare Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.compare-table th,
.compare-table td {
    text-align: left;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--bg-card);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compare-table td {
    color: var(--text-secondary);
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive tables */
@media (max-width: 768px) {
    .cbdc-table,
    .compare-table {
        font-size: 0.75rem;
    }
    .cbdc-table th,
    .cbdc-table td,
    .compare-table th,
    .compare-table td {
        padding: 0.5rem 0.4rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .deep-dive-card {
        padding: 1.25rem;
    }
    .deep-dive-timeline-date {
        min-width: 85px;
        font-size: 0.7rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .navbar {
        height: auto;
        padding: 0.75rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    .logo-img {
        height: 56px;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .intro-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .org-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.75rem;
        font-size: 0.95rem;
    }

    .logo-img {
        height: 64px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Hero Stats Banner */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 1.5rem 0 1.75rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #2563eb;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Featured Article Spotlight */
.featured-spotlight {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 0 2rem;
}

.featured-spotlight-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.featured-spotlight-card {
    background: var(--bg-accent-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    transition: all 0.25s ease;
}

.featured-spotlight-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.featured-spotlight-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-spotlight-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.featured-spotlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.featured-spotlight-card .read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.featured-spotlight-card .read-more:hover {
    gap: 0.7rem;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-number {
        font-size: 1.5rem;
    }
    .featured-spotlight {
        padding: 0 1rem;
    }
    .featured-spotlight-card {
        padding: 1.5rem;
    }
}

@media (max-width: 400px) {
    .logo-img {
        height: 52px;
    }
}
