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

/* Block: headers_id */
.h7-capsule { background: rgba(255,255,255,0.85); backdrop-filter: blur(15px); border-radius: 100px; border: 1px solid rgba(255,255,255,0.4); }
.h7-link { color: #334155; text-decoration: none; font-size: 14px; }
.h7-link:hover { color: var(--matrix-primary); }
.h7-btn { background: var(--matrix-primary); color: #fff; border-radius: 100px; text-decoration: none; font-weight: 800; font-size: 13px; }

/* 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-s7-card { background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--matrix-radius); }
.f-s7-sub { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; margin-right: 15px; }
.f-s7-sub:hover { color: var(--matrix-primary); }
.f-s7-btn { background: var(--matrix-primary); color: #fff; padding: 12px 25px; border-radius: 100px; text-decoration: none; font-weight: 800; display: inline-block; }

/* Block: about_id */
.a2-tag-card { background: #f8fafc; border: 1px solid #eee; padding: 15px; text-align: center; font-weight: 800; color: var(--matrix-primary); border-radius: 8px; }
.a2-main-body { font-size: 1.05rem; }
.a2-section .text-primary { color: var(--matrix-primary) !important; }

/* 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-s2-card { border: 1px solid transparent; transition: 0.3s; }
.m-s2-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.m-s2-icon { font-size: 2.5rem; color: var(--matrix-primary); }

/* Block: why_us_id */
.w-s5-circle { width: 350px; height: 350px; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.w-s5-circle img { width: 100%; height: 100%; object-fit: cover; }
.w-s5-callout { border-left-color: var(--matrix-primary) !important; }

/* Block: departments_id */
.d-s4-circle-img { width: 380px; height: 380px; border-radius: 50%; overflow: hidden; border: 8px solid #f8fafc; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.d-s4-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.d-s4-callout { background: #f8fafc; border-left-color: var(--matrix-primary) !important; }

/* Block: security_id */
.sec-s4-num { width: 64px; height: 64px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.sec-s4-row::before { content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 2px; background: #eee; z-index: 0; }
@media (max-width: 767px) { .sec-s4-row::before { display: none; } }

/* Block: judge_id */
.j-s3-box { border-radius: var(--matrix-radius); }
.j-s3-box:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; border-top: 3px solid var(--matrix-primary) !important; }
.j-s3-avatar { width: 40px; height: 40px; object-fit: cover; }
.j-s3-section .border-primary { border-color: var(--matrix-primary) !important; }

/* Block: app_id */
.app-s5-btn { background: #000; color: #fff; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; }
.app-s5-card { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 20px; transition: 0.3s; }
.app-s5-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.app-s5-card .num { font-size: 30px; font-weight: 900; color: var(--matrix-primary); opacity: 0.2; display: block; margin-bottom: 10px; }
.app-s5-card h5 { font-weight: 800; color: #1e293b; }

/* Block: news_id */
.n-s1-box { height: 420px; background: center/cover no-repeat; position: relative; }
.n-s1-content { position: absolute; bottom: 0; left: 0; width: 100%; p-4; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; padding: 30px; }
.n-s1-swiper .swiper-pagination-bullet-active { background: var(--matrix-primary) !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; }

