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

/* Block: headers_id */
/* 头部背景：深色渐变并支持毛玻璃 */
.h3-header {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 胶囊容器 */
.h3-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 导航链接：强制干掉蓝色 */
.h3-link {
    color: rgba(255, 255, 255, 0.85) !important; /* 强制覆盖 */
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* 悬停动画：底部线条绘制 */
.h3-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--matrix-primary);
    transition: width 0.3s ease;
}

.h3-link:hover {
    color: #ffffff !important;
}

.h3-link:hover::after {
    width: 100%;
}

/* 进入官网按钮 */
.h3-btn {
    background: var(--matrix-primary);
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.h3-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--matrix-primary-rgb), 0.4);
    filter: brightness(1.1);
}

/* Logo 简单优化 */
.main-logo {
    transition: opacity 0.3s;
}
.main-logo:hover {
    opacity: 0.8;
}

/* 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-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 */
.a4-step { border-top: 4px solid var(--matrix-primary); }
.a4-body-card { border-radius: 40px !important; }
.a4-text { font-size: 1.1rem; line-height: 2; text-align: justify; }

/* 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-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-s7-btn-main { background: #fff; color: #000; padding: 15px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 38px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-main:hover { transform: scale(1.05); }
.w-s7-btn-outline:hover { background: #fff; color: #000; }

/* 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-s3 { background: #0f172a !important; }
.app-s3-dl-box { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.05); padding: 20px 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); }
.app-s3-mockup { border: 10px solid #1e293b; border-radius: 40px; overflow: hidden; transform: rotate(5deg); }

/* Block: news_id */
.bg-dark-gradient { background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.n-s4-sublink:hover p { color: var(--matrix-primary); }

/* Block: faq_id */
.faq-s1-nav { background: #f8fafc; }
.nav-link-s1 { text-align: left; padding: 12px 20px; border-radius: 8px; border: none; background: #fff; font-weight: 700; color: #64748b; transition: 0.3s; }
.nav-link-s1.active { background: var(--matrix-primary); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.text-primary-s1 { color: var(--matrix-primary); }

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

