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

/* Block: headers_id */
.fw-black { font-weight: 900; }
.h6-header nav a { opacity: 0.5; transition: 0.3s; }
.h6-header nav a:hover { opacity: 1; color: var(--matrix-primary) !important; }

/* 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-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 */
.a2-tag-card { background: #f8fafc; border: 1px solid #eee; padding: 15px; text-align: center; font-weight: 800; color: var(--matrix-primary); border-radius: 8px; }
.a2-main-body { font-size: 1.05rem; }
.a2-section .text-primary { color: var(--matrix-primary) !important; }

/* Block: stats_id */
.s-s3-vr { width: 1px; height: 40px; background: #eee; align-self: center; }
.s-s3-section .h3 { color: var(--matrix-primary) !important; }

/* 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-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 */
.text-primary-s7 { color: var(--matrix-primary); }
.d-s7-icon { font-size: 2.2rem; color: var(--matrix-primary); opacity: 0.8; }

/* 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-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-s5-btn { background: #000; color: #fff; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; }
.app-s5-card { background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 20px; transition: 0.3s; }
.app-s5-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.app-s5-card .num { font-size: 30px; font-weight: 900; color: var(--matrix-primary); opacity: 0.2; display: block; margin-bottom: 10px; }
.app-s5-card h5 { font-weight: 800; color: #1e293b; }

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

