/* ==========================================================================
   不蠢不蠢的技术小站 - 统一设计系统 (SupernovAI 风格深墨绿 + 质感卡片)
   ========================================================================== */

:root {
    /* 核心调色板 */
    --bg-hero: #0c1812;
    --bg-hero-deep: #08120d;
    --bg-card-dark: #12241b;
    --bg-body: #f8faf8;
    --surface-card: #ffffff;
    --surface-muted: #f2f5f3;
    --border-card: #e4ebe6;
    --border-dark: rgba(255, 255, 255, 0.08);

    --accent-green: #69db7c;
    --accent-green-hover: #51cf66;
    --accent-green-dim: rgba(105, 219, 124, 0.12);
    --accent-green-border: rgba(105, 219, 124, 0.35);

    --text-hero-main: #f1f7f3;
    --text-hero-muted: #9eb5a8;
    --text-body-main: #1c2822;
    --text-body-muted: #5e6f65;

    --shadow-subtle: 0 4px 20px -4px rgba(12, 24, 18, 0.06), 0 2px 8px -2px rgba(12, 24, 18, 0.04);
    --shadow-elevated: 0 16px 36px -8px rgba(12, 24, 18, 0.12), 0 4px 16px -2px rgba(12, 24, 18, 0.06);
    --shadow-glow: 0 0 32px -6px rgba(105, 219, 124, 0.25);
    
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 导航栏 */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(12, 24, 18, 0.88);
    border-bottom: 1px solid var(--border-dark);
    transition: all 0.25s ease;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #69db7c, #2b8a3e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1812;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 16px rgba(105, 219, 124, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: var(--text-hero-main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.2px;
}

.brand-tag {
    color: var(--text-hero-muted);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--text-hero-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-badge {
    background: var(--accent-green-dim);
    border: 1px solid var(--accent-green-border);
    color: var(--accent-green);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-badge:hover {
    background: rgba(105, 219, 124, 0.2);
    border-color: var(--accent-green);
    transform: translateY(-1px);
}

/* 按钮样式体系 */
.btn-primary {
    background: var(--accent-green);
    color: #0c1812;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(105, 219, 124, 0.3);
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 219, 124, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-hero-main);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline-green {
    background: #ffffff;
    border: 1px solid #c3e6cb;
    color: #2b8a3e;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-outline-green:hover {
    background: #ebfbee;
    border-color: #2b8a3e;
    transform: translateY(-1px);
}

/* 标签与徽章 */
.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.tag-green {
    background: #ebfbee;
    color: #2b8a3e;
    border: 1px solid #c3e6cb;
}

.tag-blue {
    background: #e7f5ff;
    color: #1971c2;
    border: 1px solid #d0ebff;
}

.tag-orange {
    background: #fff4e6;
    color: #d9480f;
    border: 1px solid #ffe8cc;
}

.tag-gray {
    background: var(--surface-muted);
    color: #495057;
    border: 1px solid #dee2e6;
}

.tag-dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(105, 219, 124, 0.25);
}

/* 面板与标题通则 */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2b8a3e;
    background: #ebfbee;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-body-main);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-body-muted);
    line-height: 1.6;
}

/* 底部双备案与页脚 */
.footer-section {
    background: #08120d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8fa598;
    padding: 48px 24px 36px;
    font-size: 13px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-brand {
    font-size: 16px;
    font-weight: 700;
    color: #f1f7f3;
}

.beian-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    line-height: 1.8;
}

.beian-link {
    color: #8fa598;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.beian-link:hover {
    color: var(--accent-green);
}

.police-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.beian-divider {
    color: rgba(255, 255, 255, 0.15);
}

.footer-copy {
    color: #5c7064;
    font-size: 12px;
    margin-top: 6px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .main-container {
        padding: 40px 16px;
    }
    .section-title {
        font-size: 26px;
    }
}
