: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-s6 { min-height: 600px; background: url('{{ $site->hero_img_url }}') center/cover; position: relative; }
.hero-s6-card { background: #fff; max-width: 500px; border-radius: 30px; }
.hero-s6-title { color: var(--matrix-primary); font-weight: 800; font-size: 16px; border-left: 4px solid var(--matrix-primary); padding-left: 15px; }
.btn-s6-dark { background: #000; color: #fff; width: 100%; display: block; padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 700; }
.btn-s6-light { background: #f1f5f9; color: #000; width: 100%; display: block; padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 700; }

/* 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 */
.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-s4-wrapper { border-radius: var(--matrix-radius) !important; }
.s-s4-icon { color: var(--matrix-primary); }
@media (max-width: 767px) { .border-end-sm { border-right: 1px solid #dee2e6; } }

/* Block: mission_id */
.m-s3-img-circle { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; border: 10px solid #f8fafc; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.m-s3-img-circle img { width: 100%; height: 100%; object-fit: cover; }
.m-s3-tag { background: rgba(var(--matrix-primary-rgb), 0.1); color: var(--matrix-primary); font-size: 14px; font-weight: 700; }
.m-s3-quote { border-left: 5px solid var(--matrix-primary); padding-left: 25px; }

/* 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-s3-section { background: #0f172a; }
.d-s3-box { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.1) !important; }
.d-s3-box:hover { border-color: var(--matrix-primary) !important; background: rgba(255,255,255,0.05); }
.d-s3-icon-wrap { font-size: 3rem; color: var(--matrix-primary); text-shadow: 0 0 15px var(--matrix-primary); }

/* 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-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-s6-bg { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: var(--matrix-light); clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); }
.app-s6-btn { background: var(--matrix-primary); color: #fff; padding: 15px 50px; border-radius: 4px; text-decoration: none; font-weight: 900; box-shadow: 10px 10px 0 #000; }
.app-s6-img-stack { filter: drop-shadow(20px 20px 40px rgba(0,0,0,0.1)); }

/* Block: news_id */
.n-s6-box { border: 1px solid #f0f0f0; transition: 0.4s; }
.n-s6-box:hover img { transform: scale(1.05); transition: 0.6s; }

/* Block: faq_id */
.faq-s2-card { transition: 0.3s; border: 1px solid transparent; }
.faq-s2-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.faq-s2-num { width: 40px; height: 40px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0; }

/* Block: update_id */
/* Style 5 - Cross Layout */
.up-s5 .bg-light { background-color: #f8fafc !important; border: 1px solid transparent !important; }
.up-s5 .border-light { border-color: #e2e8f0 !important; }
.up-s5 h5 { font-size: 1.15rem; color: #0f172a !important; }
.up-s5 p { color: #475569 !important; }
.up-s5 .col-lg-6 > div { transition: 0.3s; }
.up-s5 .col-lg-6 > div:hover { background: #fff !important; border-color: var(--matrix-primary) !important; box-shadow: 0 8px 20px rgba(0,0,0,0.05); }

