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

/* Block: headers_id */
.h4-nav { text-decoration: none; color: #334155; font-weight: 700; transition: 0.3s; }
.h4-nav:hover { color: var(--matrix-primary); }
.h4-btn { background: var(--matrix-primary); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 800; }

/* 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-s2-wrapper { position: relative; }
.f-s2-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.f-s2-logo { height: 45px; }
.f-s2-nav { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.f-s2-nav:hover { color: var(--matrix-primary); }

/* 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-s4-wrapper { border-radius: var(--matrix-radius) !important; }
.s-s4-icon { color: var(--matrix-primary); }
@media (max-width: 767px) { .border-end-sm { border-right: 1px solid #dee2e6; } }

/* Block: mission_id */
.bg-primary-s5 { background: var(--matrix-primary) !important; }
.text-primary-s5 { color: var(--matrix-primary) !important; }
.m-s5-side { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }

/* 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 */
.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-s3 { background: #0f172a; }
.sec-s3-accent { color: var(--matrix-primary); } /* 建议此处 Primary 为亮色如金或青 */
.sec-s3-box { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.1) !important; }
.sec-s3-box:hover { border-color: var(--matrix-primary) !important; background: rgba(255,255,255,0.06); transform: scale(1.03); }

/* Block: judge_id */
.j-s2-card { width: 320px; background: #f8f9fa; border-radius: var(--matrix-radius); white-space: normal; transition: 0.3s; }
.j-s2-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; transform: scale(1.02); }
.j-s2-avatar { width: 32px; height: 32px; filter: grayscale(100%); transition: 0.3s; }
.j-s2-card:hover .j-s2-avatar { filter: grayscale(0%); }
.j-s2-scroll-wrapper::-webkit-scrollbar { height: 4px; }
.j-s2-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--matrix-primary); border-radius: 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-s1-box { height: 420px; background: center/cover no-repeat; position: relative; }
.n-s1-content { position: absolute; bottom: 0; left: 0; width: 100%; p-4; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; padding: 30px; }
.n-s1-swiper .swiper-pagination-bullet-active { background: var(--matrix-primary) !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; }

