: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-s5-line { width: 80px; height: 6px; background: var(--matrix-primary); }
.btn-s5 { background: var(--matrix-primary); color: #fff; padding: 18px 45px; font-weight: 900; text-decoration: none; display: inline-block; box-shadow: 10px 10px 0 #000; transition: 0.3s; }
.btn-s5:hover { transform: translate(5px, 5px); box-shadow: 0 0 0 #000; }
.hero-s5-img { background: url('{{ $site->hero_img_url }}') center/cover; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); min-height: 650px; }

/* 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 */
.a7-brand-pillar { background: var(--matrix-primary); min-height: 300px; }
.a7-text-content { line-height: 2.1; font-size: 1.1rem; color: #475569; border-left: 1px solid #eee; padding-left: 30px; }
@media (max-width: 991px) { .a7-text-content { border-left: 0; padding-left: 0; } }

/* Block: stats_id */
.s-s6-circle { 
    width: 200px; height: 200px; 
    background: #fff; border: 2px solid #eee; 
    border-radius: 50%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.s-s6-circle h3 { color: var(--matrix-primary); }
.s-s6-circle:hover { 
    border-color: var(--matrix-primary); 
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
}

/* 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-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-s5-inner { max-width: 850px; border-radius: 40px !important; }
.sec-s5-icon { font-size: 5rem; color: #198754; }
.sec-s5-inner h2 { letter-spacing: -1px; }

/* 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 */
.bg-primary-s7 { background: var(--matrix-primary); }
.app-s7-btn-main { background: #000; color: #fff; padding: 15px 45px; border-radius: 4px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.app-s7-btn-main:hover { background: var(--matrix-primary); }

/* 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 */
.text-primary-s3 { color: var(--matrix-primary); letter-spacing: -0.5px; }
.faq-s3-row { transition: background 0.3s; }
.faq-s3-row:hover { background: #fcfcfc; }

/* 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; }

