:root {
    --matrix-primary: #3b82f6;
    --matrix-primary-rgb: 59, 130, 246;
    --matrix-radius: 12px;
}

/* Block: headers_id */
.h2-brand-box { background: var(--matrix-primary); width: 220px; height: 80px; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.h2-logo { max-height: 40px; filter: brightness(0) invert(1); }
.h2-link { text-decoration: none; color: #1e293b; font-size: 15px; }
.h2-link:hover { color: var(--matrix-primary); }
.h2-btn { background: #000; color: #fff; padding: 10px 30px; border-radius: 4px; text-decoration: none; font-weight: 800; }
@media (max-width: 991px) { .h2-brand-box { width: 140px; clip-path: none; } }

/* Block: heroes_id */
.hero-s7-deco { width: 40px; height: 2px; background: #000; }
.hero-s7-h1 { font-weight: 200; font-size: 3.5rem; letter-spacing: 5px; color: #000; }
.hero-s7-p { max-width: 700px; color: #64748b; font-size: 1.2rem; line-height: 2; font-weight: 300; }
.btn-s7-main { border: 1px solid #000; color: #000; padding: 15px 50px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.btn-s7-main:hover { background: #000; color: #fff; }

/* Block: footers_id */
.f-s3-icon { width: 60px; height: 60px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.f-s3-link { color: #1e293b; text-decoration: none; font-weight: 600; }
.f-s3-link:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a1-hero { height: 350px; background: center/cover no-repeat; position: relative; }
.a1-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.a1-hero-title { position: relative; z-index: 2; border-left: 5px solid var(--matrix-primary); padding-left: 20px; }
.a1-content-box { margin-top: -80px; position: relative; z-index: 3; border-radius: var(--matrix-radius); }
.a1-body-content { line-height: 2; font-size: 1.15rem; }

/* Block: stats_id */
.s-s1-card { background: #f8fafc; border-radius: var(--matrix-radius); }
.s-s1-num { color: var(--matrix-primary); letter-spacing: -1px; }
.s-s1-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; }

/* Block: mission_id */
.m-s6-icon { font-size: 3rem; color: var(--matrix-primary); }
@media (min-width: 768px) {
    .m-s6-border { border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
}

/* Block: why_us_id */
.w-s6-icon { font-size: 2.2rem; color: var(--matrix-primary); opacity: 0.8; }

/* Block: departments_id */
.d-s6-accent { color: #1e293b; letter-spacing: -2px; }
.d-s6-btn { background: var(--matrix-primary); color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; transition: 0.3s; display: inline-block; }
.d-s6-btn:hover { opacity: 0.9; transform: scale(1.05); color: #fff; }

/* Block: security_id */
.sec-s7 .display-4 { letter-spacing: -2px; }
.sec-s7-pill { background: rgba(var(--matrix-primary-rgb), 0.05); }
.tracking-widest { letter-spacing: 0.2rem; font-size: 0.8rem; }

/* Block: judge_id */
.j-s7-img-box { width: 100px; height: 100px; padding: 5px; border: 2px dashed var(--matrix-primary); border-radius: 50%; }
.j-s7-item h6 { letter-spacing: 1px; }
.italic-style { font-style: italic; opacity: 0.8; line-height: 1.6; }

/* Block: app_id */
.app-s3 { background: #0f172a !important; }
.app-s3-dl-box { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.05); padding: 20px 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); }
.app-s3-mockup { border: 10px solid #1e293b; border-radius: 40px; overflow: hidden; transform: rotate(5deg); }

/* Block: news_id */
.n-s5-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.n-s5-item:last-child { border-bottom: 0 !important; }

/* Block: faq_id */
/* 容器背景改为纯白，符合您的设计偏好 */
.faq-s6-wrapper { background: #ffffff !important; }

/* 卡片样式：浅灰色描边 + 悬浮阴影 */
.bg-card-s6 { 
    background: #ffffff; 
    border: 1px solid #f1f5f9 !important; 
    transition: all 0.3s ease;
}

/* 标题：强制使用您的主色调 */
.text-accent-s6 { color: var(--matrix-primary) !important; font-size: 1.05rem; }

/* 正文：深灰色，确保高可读性 */
.text-muted { color: #475569 !important; }

/* 交互：悬停时边框变色并轻微浮起 */
.bg-card-s6:hover { 
    border-color: var(--matrix-primary) !important; 
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(var(--matrix-primary-rgb), 0.1) !important;
}

/* Block: update_id */
/* Style 3 - Terminal Mode */
.up-s3 .terminal-box { 
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}
.up-s3 .terminal-body { 
    font-family: 'Fira Code', 'Courier New', monospace; 
    line-height: 1.8;
}
.up-s3 .text-primary { color: var(--matrix-primary) !important; }
.up-s3 .text-success { color: #10b981 !important; }
.up-s3 p { margin-bottom: 0.5rem; }

