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

/* Block: headers_id */
.h1-header { background: var(--matrix-light); border-bottom: 1px solid rgba(0,0,0,0.05); }
.h1-logo { max-height: 50px; }
.h1-header .nav-link { color: #334155 !important; transition: 0.3s; }
.h1-header .nav-link:hover { color: var(--matrix-primary) !important; }
.h1-btn { background: var(--matrix-primary); color: #fff; padding: 8px 25px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 700; }

/* Block: heroes_id */
.hero-s1 { min-height: 100vh; background: url('{{ $site->hero_img_url }}') center/cover no-repeat fixed; }
.hero-s1-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8)); }
.hero-s1-badge { background: var(--matrix-primary); color: #fff; padding: 5px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; }
.hero-s1 h1 { letter-spacing: -2px; }
.hero-s1-desc { max-width: 650px; font-size: 1.25rem; }
.btn-s1-primary { background: var(--matrix-primary); color: #fff; padding: 15px 40px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 800; }
.btn-s1-outline { border: 2px solid #fff; color: #fff; padding: 13px 38px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 800; transition: 0.3s; }
.btn-s1-outline:hover { background: #fff; color: #000; }

/* 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 */
.a6-rich-body { font-size: 1.15rem; line-height: 2.2; color: #334155; }
.a6-header h2 { letter-spacing: 5px; color: var(--matrix-primary); }

/* 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 */
.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-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-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-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-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-s3-card { transition: 0.3s; }
.n-s3-card:hover { transform: translateY(-5px); border: 1px solid var(--matrix-primary); }

/* Block: faq_id */
.text-primary-s3 { color: var(--matrix-primary); letter-spacing: -0.5px; }
.faq-s3-row { transition: background 0.3s; }
.faq-s3-row:hover { background: #fcfcfc; }

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

