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

/* Block: headers_id */
.fw-black { font-weight: 900; }
.h6-header nav a { opacity: 0.5; transition: 0.3s; }
.h6-header nav a:hover { opacity: 1; color: var(--matrix-primary) !important; }

/* Block: heroes_id */
.hero-s4 { background-image: radial-gradient(#ddd 1px, transparent 1px); background-size: 30px 30px; }
.hero-s4-search-box { max-width: 700px; background: #fff; border-radius: 100px; }
.btn-s4-search { background: var(--matrix-primary); color: #fff; border: none; padding: 10px 40px; border-radius: 100px; font-weight: 800; }
.hero-s4-item { font-weight: 700; color: #475569; }
.hero-s4-item i { color: var(--matrix-primary) !important; }

/* 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 */
.a6-rich-body { font-size: 1.15rem; line-height: 2.2; color: #334155; }
.a6-header h2 { letter-spacing: 5px; color: var(--matrix-primary); }

/* 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-s7-section { border-bottom: 4px solid var(--matrix-primary); }
.m-s7-capsules span { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.m-s7-capsules span:last-child { border-right: none; }

/* Block: why_us_id */
.w-s3-section { background: #0f172a; }
.w-s3-accent { color: var(--matrix-primary); }
.w-s3-pill { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1) !important; }
.w-s3-img { border-radius: var(--matrix-radius); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* 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-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-s4-bubble { width: 340px; background: #fafafa; border-radius: var(--matrix-radius); position: relative; }
.j-s4-bubble:hover { background: #fff; border-color: var(--matrix-primary) !important; box-shadow: 0 8px 15px rgba(0,0,0,0.05); }
.j-s4-avatar { width: 40px; height: 40px; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.j-s4-scroll::-webkit-scrollbar { display: none; }

/* Block: app_id */
/* 容器强制白底 */
.app-s1 { background: #ffffff !important; }

/* 标签样式：使用主色调点缀 */
.app-s1-tag { 
    color: var(--matrix-primary) !important; 
    font-weight: 800; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* 标题与描述：使用深冷色调，确保清晰度 */
.text-dark { color: #0f172a !important; }
.text-secondary { color: #475569 !important; }

/* 认证标签：白底黑字，提升专业感 */
.app-s1-badge { 
    position: absolute; 
    top: 20px; 
    left: 20px; 
    background: #ffffff; 
    color: #1e293b; 
    padding: 12px 24px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 13px; 
    border: 1px solid #f1f5f9;
}

/* 按钮重构：仿 App Store 风格 */
.app-s1-btn { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 10px 28px; 
    border-radius: 12px; 
    text-decoration: none !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.primary-btn { background: var(--matrix-primary); color: #ffffff !important; }
.dark-btn { background: #0f172a; color: #ffffff !important; }

.app-s1-btn:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 15px 30px rgba(var(--matrix-primary-rgb), 0.2);
    filter: brightness(1.1);
}

/* 图片阴影增强 */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Block: news_id */
.n-s2-img { width: 180px; height: 110px; }
.n-s2-item:hover { transform: translateX(8px); border-color: var(--matrix-primary) !important; }
@media (max-width: 576px) { .n-s2-img { width: 100px; height: 75px; } }

/* Block: faq_id */
.border-primary-s4 { border-color: var(--matrix-primary) !important; }
.faq-timeline-box { position: relative; }
.faq-dot { position: absolute; left: -11px; top: 5px; width: 18px; height: 18px; background: var(--matrix-primary); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.1); }

/* Block: update_id */
/* Style 2 - Grid Cards */
.up-s2 { background: #f8fafc !important; }
.up-s2 .bg-white { 
    border: 1px solid #e2e8f0 !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.up-s2 .bg-white:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--matrix-primary) !important;
}
.up-s2 h6 { color: #0f172a !important; font-size: 1.1rem; }
.up-s2 p { color: #475569 !important; }

