: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-s3 { background: #0f172a; border-bottom: 5px solid var(--matrix-primary); }
.hero-s3-icon { font-size: 60px; color: var(--matrix-primary); }
.hero-s3-text { max-width: 750px; font-size: 1.1rem; line-height: 1.8; }
.badge-s3 { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 25px; border-radius: 100px; font-size: 14px; }
.btn-s3 { background: var(--matrix-primary); color: #fff; padding: 16px 50px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Block: footers_id */
.f-s5-wrapper { border-top-color: var(--matrix-primary) !important; }
.f-s5-nav { color: #334155; text-decoration: none; font-weight: 800; font-size: 14px; }
.f-s5-nav:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a1-hero { height: 350px; background: center/cover no-repeat; position: relative; }
.a1-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.a1-hero-title { position: relative; z-index: 2; border-left: 5px solid var(--matrix-primary); padding-left: 20px; }
.a1-content-box { margin-top: -80px; position: relative; z-index: 3; border-radius: var(--matrix-radius); }
.a1-body-content { line-height: 2; font-size: 1.15rem; }

/* 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-s2-card { border: 1px solid transparent; transition: 0.3s; }
.m-s2-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.m-s2-icon { font-size: 2.5rem; color: var(--matrix-primary); }

/* 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-s5-tile { border-radius: var(--matrix-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.d-s5-tile:hover { background: var(--matrix-primary); }
.d-s5-tile:hover .d-s5-icon, .d-s5-tile:hover h6, .d-s5-tile:hover p { color: #fff !important; }
.d-s5-icon { font-size: 2rem; color: var(--matrix-primary); }

/* Block: security_id */
.sec-s6-circle { width: 85px; height: 85px; line-height: 85px; background: #f8fafc; color: var(--matrix-primary); border-radius: 50%; display: inline-block; font-size: 2rem; transition: 0.3s; }
.sec-s6-item:hover .sec-s6-circle { background: var(--matrix-primary); color: #fff; transform: rotateY(180deg); }

/* Block: judge_id */
.j-s7-img-box { width: 100px; height: 100px; padding: 5px; border: 2px dashed var(--matrix-primary); border-radius: 50%; }
.j-s7-item h6 { letter-spacing: 1px; }
.italic-style { font-style: italic; opacity: 0.8; line-height: 1.6; }

/* Block: app_id */
.app-s2 { background: #f8fafc; }
.app-s2-deco { position: absolute; width: 400px; height: 400px; background: var(--matrix-primary); filter: blur(150px); opacity: 0.1; top: -100px; right: -100px; }
.app-s2-glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.4); border-radius: 40px; }
.app-s2-feature { padding: 20px; background: #fff; border-radius: 20px; transition: 0.3s; }
.app-s2-feature i { font-size: 24px; color: var(--matrix-primary); margin-bottom: 10px; }
.app-s2-feature h6 { margin: 0; font-weight: 800; color: #334155; }
.app-s2-cta { background: #000; color: #fff; padding: 15px 50px; border-radius: 100px; text-decoration: none; font-weight: 800; display: inline-block; }

/* 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-s6-wrapper { background: #ffffff !important; }

/* 卡片样式：浅灰色描边 + 悬浮阴影 */
.bg-card-s6 { 
    background: #ffffff; 
    border: 1px solid #f1f5f9 !important; 
    transition: all 0.3s ease;
}

/* 标题：强制使用您的主色调 */
.text-accent-s6 { color: var(--matrix-primary) !important; font-size: 1.05rem; }

/* 正文：深灰色，确保高可读性 */
.text-muted { color: #475569 !important; }

/* 交互：悬停时边框变色并轻微浮起 */
.bg-card-s6:hover { 
    border-color: var(--matrix-primary) !important; 
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(var(--matrix-primary-rgb), 0.1) !important;
}

/* Block: update_id */
/* Style 3 - Terminal Mode */
.up-s3 .terminal-box { 
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}
.up-s3 .terminal-body { 
    font-family: 'Fira Code', 'Courier New', monospace; 
    line-height: 1.8;
}
.up-s3 .text-primary { color: var(--matrix-primary) !important; }
.up-s3 .text-success { color: #10b981 !important; }
.up-s3 p { margin-bottom: 0.5rem; }

