: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-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 */
.a5-section { background: #0f172a !important; }
.a5-accent-text { color: var(--matrix-primary); }
.a5-main-content { line-height: 1.8; letter-spacing: 0.5px; }

/* Block: stats_id */
.s-s7-section { background: var(--matrix-primary); }
.s-s7-section .display-4 { letter-spacing: -2px; }

/* 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-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 */
.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-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-s4-bubble { width: 340px; background: #fafafa; border-radius: var(--matrix-radius); position: relative; }
.j-s4-bubble:hover { background: #fff; border-color: var(--matrix-primary) !important; box-shadow: 0 8px 15px rgba(0,0,0,0.05); }
.j-s4-avatar { width: 40px; height: 40px; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.j-s4-scroll::-webkit-scrollbar { display: none; }

/* 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 */
.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 1 - Timeline */
.up-s1 { background: #ffffff !important; }
.up-s1-header h2 { color: #0f172a !important; }
.up-s1-list { position: relative; }
.up-s1-item { transition: all 0.3s ease; border-bottom: 1px solid #f1f5f9 !important; }
.up-s1-item:hover { transform: translateX(8px); background: #fafafa; }
.up-s1-item .badge { font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.up-s1-item h6 { color: #1e293b !important; margin-top: 5px; }
.up-s1-item p { color: #64748b !important; line-height: 1.6; }

