: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-s1 { min-height: 100vh; background: url('{{ $site->hero_img_url }}') center/cover no-repeat fixed; }
.hero-s1-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8)); }
.hero-s1-badge { background: var(--matrix-primary); color: #fff; padding: 5px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; }
.hero-s1 h1 { letter-spacing: -2px; }
.hero-s1-desc { max-width: 650px; font-size: 1.25rem; }
.btn-s1-primary { background: var(--matrix-primary); color: #fff; padding: 15px 40px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 800; }
.btn-s1-outline { border: 2px solid #fff; color: #fff; padding: 13px 38px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 800; transition: 0.3s; }
.btn-s1-outline:hover { background: #fff; color: #000; }

/* 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 */
.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-s2-section { background: #0f172a; }
.s-s2-title { color: var(--matrix-primary); }
.s-s2-box { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1) !important; }
.s-s2-accent { color: var(--matrix-primary); }
.s-s2-box:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--matrix-primary) !important; }

/* 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-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 */
.text-primary-s7 { color: var(--matrix-primary); }
.d-s7-icon { font-size: 2.2rem; color: var(--matrix-primary); opacity: 0.8; }

/* 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-s5-tile { width: 300px; border-radius: var(--matrix-radius); }
.j-s5-icon { color: var(--matrix-primary); opacity: 0.2; font-size: 1.5rem; }
.j-s5-img { width: 30px; height: 30px; }
.text-truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 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-s5-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.n-s5-item:last-child { border-bottom: 0 !important; }

/* Block: faq_id */
.faq-icon-s7 { font-size: 32px; color: var(--matrix-primary); }
.faq-s7-wrapper h5 { letter-spacing: -0.5px; }

/* Block: update_id */
/* Style 6 - Icon Blocks */
.up-s6 .bg-light { 
    background-color: #f1f5f9 !important; 
    transition: 0.3s; 
    border: 1px solid transparent !important;
}
.up-s6 .bg-light:hover { 
    background-color: #ffffff !important; 
    border-color: var(--matrix-primary) !important; 
    transform: scale(1.02);
}
.up-s6 .bg-primary { background-color: var(--matrix-primary) !important; }
.up-s6 h6 { font-size: 1rem; color: #0f172a !important; }
.up-s6 .text-muted { color: #64748b !important; }

