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

/* Block: headers_id */
.h2-brand-box { background: var(--matrix-primary); width: 220px; height: 80px; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.h2-logo { max-height: 40px; filter: brightness(0) invert(1); }
.h2-link { text-decoration: none; color: #1e293b; font-size: 15px; }
.h2-link:hover { color: var(--matrix-primary); }
.h2-btn { background: #000; color: #fff; padding: 10px 30px; border-radius: 4px; text-decoration: none; font-weight: 800; }
@media (max-width: 991px) { .h2-brand-box { width: 140px; clip-path: none; } }

/* 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-s1-wrapper { background: #0f172a; color: #fff; }
.f-s1-title { color: var(--matrix-primary); }
.f-s1-link { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; transition: 0.3s; }
.f-s1-link:hover { color: var(--matrix-primary); padding-left: 5px; }
.f-s1-bottom { border-color: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.4); }

/* 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-s3-img-circle { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; border: 10px solid #f8fafc; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.m-s3-img-circle img { width: 100%; height: 100%; object-fit: cover; }
.m-s3-tag { background: rgba(var(--matrix-primary-rgb), 0.1); color: var(--matrix-primary); font-size: 14px; font-weight: 700; }
.m-s3-quote { border-left: 5px solid var(--matrix-primary); padding-left: 25px; }

/* Block: why_us_id */
.w-s5-circle { width: 350px; height: 350px; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.w-s5-circle img { width: 100%; height: 100%; object-fit: cover; }
.w-s5-callout { border-left-color: var(--matrix-primary) !important; }

/* Block: departments_id */
.d-s2-img-box img { border-radius: var(--matrix-radius); border: 10px solid #fff; }
.d-s2-badge { position: absolute; top: 20px; left: -10px; background: var(--matrix-primary); color: #fff; font-weight: 800; font-size: 13px; }
.d-s2-list li { display: flex; align-items: center; margin-bottom: 15px; font-weight: 700; color: #1e293b; }
.d-s2-list li i { color: #198754; margin-right: 15px; font-size: 1.25rem; }

/* Block: security_id */
.sec-s2-img { border: 8px solid #fff; }
.sec-s2-badge { position: absolute; bottom: 30px; left: -10px; background: #dc3545; color: #fff; font-weight: 800; font-size: 12px; transform: rotate(-5deg); }
.sec-s2-check { width: 32px; height: 32px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* 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-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-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 7 - Pro Table */
.up-s7 .table { border-collapse: separate; border-spacing: 0; }
.up-s7 thead th { 
    background-color: #f8fafc; 
    border-bottom: 2px solid #e2e8f0; 
    color: #475569; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
}
.up-s7 tbody tr { transition: 0.2s; }
.up-s7 tbody tr:hover { background-color: rgba(var(--matrix-primary-rgb), 0.02); }
.up-s7 .text-dark { color: #0f172a !important; }
.up-s7 .text-secondary { color: #64748b !important; }

