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

/* Block: headers_id */
/* 核心修复：彻底禁止链接下划线和默认蓝色 */
.h5-link {
    text-decoration: none !important; /* 强制取消下划线 */
    color: #334155 !important;       /* 强制使用深灰色，拒绝默认蓝 */
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* 悬停状态：颜色变为主色，且依然不准有下划线 */
.h5-link:hover {
    color: var(--matrix-primary) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* 进场按钮优化：增加一点阴影和缩放感 */
.h5-btn {
    background: #0f172a;
    color: #ffffff !important;
    padding: 8px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.h5-btn:hover {
    background: var(--matrix-primary);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(var(--matrix-primary-rgb), 0.3);
}

/* 兼容性处理：防止点击后出现蓝色轮廓 */
.h5-link:focus, .h5-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Block: heroes_id */
.hero-s2-tag { color: var(--matrix-primary); font-weight: 800; font-size: 16px; letter-spacing: 2px; }
.text-primary-s2 { color: var(--matrix-primary); }
.btn-s2 { background: #000; color: #fff; padding: 14px 35px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.hero-s2-img-box { position: relative; padding-left: 20px; }
.hero-s2-img-box img { border-radius: 40px 0 40px 0; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }
.hero-s2-float-card { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 15px 25px; border-radius: 12px; font-weight: 700; }

/* Block: footers_id */
.f-s1-wrapper { background: #0f172a; color: #fff; }
.f-s1-title { color: var(--matrix-primary); }
.f-s1-link { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; transition: 0.3s; }
.f-s1-link:hover { color: var(--matrix-primary); padding-left: 5px; }
.f-s1-bottom { border-color: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.4); }

/* Block: about_id */
.a3-wing { position: absolute; top: 0; left: 0; width: 45%; height: 100%; background: var(--matrix-primary); opacity: 0.05; clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }
.a3-img-holder { border: 1px solid rgba(0,0,0,0.05); }
.a3-rich-text { font-size: 1.1rem; line-height: 1.9; }

/* Block: stats_id */
.s-s3-vr { width: 1px; height: 40px; background: #eee; align-self: center; }
.s-s3-section .h3 { color: var(--matrix-primary) !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-s4-box { border-radius: var(--matrix-radius); }
.w-s4-box:hover { border-color: var(--matrix-primary) !important; background: #fafafa; }
.w-s4-num { font-size: 1.5rem; font-weight: 900; color: var(--matrix-primary); opacity: 0.3; }

/* Block: departments_id */
.d-s5-tile { border-radius: var(--matrix-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.d-s5-tile:hover { background: var(--matrix-primary); }
.d-s5-tile:hover .d-s5-icon, .d-s5-tile:hover h6, .d-s5-tile:hover p { color: #fff !important; }
.d-s5-icon { font-size: 2rem; color: var(--matrix-primary); }

/* Block: security_id */
.sec-s2-img { border: 8px solid #fff; }
.sec-s2-badge { position: absolute; bottom: 30px; left: -10px; background: #dc3545; color: #fff; font-weight: 800; font-size: 12px; transform: rotate(-5deg); }
.sec-s2-check { width: 32px; height: 32px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* Block: judge_id */
.j-s6-section { background: var(--matrix-primary); }
.j-s6-card { border-radius: var(--matrix-radius); box-shadow: 10px 10px 0 rgba(0,0,0,0.1); }
.j-s6-card:hover { transform: translate(-3px, -3px); box-shadow: 15px 15px 0 rgba(0,0,0,0.15); }
.j-s6-avatar { width: 40px; height: 40px; border: 2px solid #eee; }

/* 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-s3-card { transition: 0.3s; }
.n-s3-card:hover { transform: translateY(-5px); border: 1px solid var(--matrix-primary); }

/* 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 7 - Pro Table */
.up-s7 .table { border-collapse: separate; border-spacing: 0; }
.up-s7 thead th { 
    background-color: #f8fafc; 
    border-bottom: 2px solid #e2e8f0; 
    color: #475569; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
}
.up-s7 tbody tr { transition: 0.2s; }
.up-s7 tbody tr:hover { background-color: rgba(var(--matrix-primary-rgb), 0.02); }
.up-s7 .text-dark { color: #0f172a !important; }
.up-s7 .text-secondary { color: #64748b !important; }

