: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-s7-deco { width: 40px; height: 2px; background: #000; }
.hero-s7-h1 { font-weight: 200; font-size: 3.5rem; letter-spacing: 5px; color: #000; }
.hero-s7-p { max-width: 700px; color: #64748b; font-size: 1.2rem; line-height: 2; font-weight: 300; }
.btn-s7-main { border: 1px solid #000; color: #000; padding: 15px 50px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.btn-s7-main:hover { background: #000; color: #fff; }

/* Block: footers_id */
.f-s6-wrapper { background: #111 !important; }
.f-s6-link { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; }
.f-s6-link:hover { color: var(--matrix-primary); }

/* 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-s5-accent { color: var(--matrix-primary); font-size: 2.5rem; }
.s-s5-img-container { position: relative; }
.s-s5-img-container::after { content: ''; position: absolute; top: -10px; right: -10px; width: 100px; height: 100px; border: 5px solid var(--matrix-primary); border-left: 0; border-bottom: 0; border-radius: 0 var(--matrix-radius) 0 0; z-index: -1; }

/* Block: mission_id */
.m-s7-section { border-bottom: 4px solid var(--matrix-primary); }
.m-s7-capsules span { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.m-s7-capsules span:last-child { border-right: none; }

/* 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-s4-num { width: 64px; height: 64px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.sec-s4-row::before { content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 2px; background: #eee; z-index: 0; }
@media (max-width: 767px) { .sec-s4-row::before { display: none; } }

/* Block: judge_id */
.j-s1-section { background: #0f172a; }
.j-s1-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1) !important; border-radius: var(--matrix-radius); }
.j-s1-card:hover { border-color: var(--matrix-primary) !important; background: rgba(255, 255, 255, 0.06); transform: translateY(-5px); }
.j-s1-avatar { width: 45px; height: 45px; border: 2px solid var(--matrix-primary); }
.j-s1-date { font-size: 10px; }

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

