: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-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-s7-card { background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--matrix-radius); }
.f-s7-sub { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; margin-right: 15px; }
.f-s7-sub:hover { color: var(--matrix-primary); }
.f-s7-btn { background: var(--matrix-primary); color: #fff; padding: 12px 25px; border-radius: 100px; text-decoration: none; font-weight: 800; display: inline-block; }

/* 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-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 */
.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-s1-img-wrap img { border-radius: var(--matrix-radius); }
.w-s1-title { letter-spacing: -1px; }
.w-s1-icon { color: var(--matrix-primary); font-size: 1.5rem; }

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

/* 标签样式：使用主色调点缀 */
.app-s1-tag { 
    color: var(--matrix-primary) !important; 
    font-weight: 800; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* 标题与描述：使用深冷色调，确保清晰度 */
.text-dark { color: #0f172a !important; }
.text-secondary { color: #475569 !important; }

/* 认证标签：白底黑字，提升专业感 */
.app-s1-badge { 
    position: absolute; 
    top: 20px; 
    left: 20px; 
    background: #ffffff; 
    color: #1e293b; 
    padding: 12px 24px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 13px; 
    border: 1px solid #f1f5f9;
}

/* 按钮重构：仿 App Store 风格 */
.app-s1-btn { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 10px 28px; 
    border-radius: 12px; 
    text-decoration: none !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.primary-btn { background: var(--matrix-primary); color: #ffffff !important; }
.dark-btn { background: #0f172a; color: #ffffff !important; }

.app-s1-btn:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 15px 30px rgba(var(--matrix-primary-rgb), 0.2);
    filter: brightness(1.1);
}

/* 图片阴影增强 */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Block: news_id */
.n-s2-img { width: 180px; height: 110px; }
.n-s2-item:hover { transform: translateX(8px); border-color: var(--matrix-primary) !important; }
@media (max-width: 576px) { .n-s2-img { width: 100px; height: 75px; } }

/* Block: faq_id */
.faq-s2-card { transition: 0.3s; border: 1px solid transparent; }
.faq-s2-card:hover { border-color: var(--matrix-primary); transform: translateY(-5px); }
.faq-s2-num { width: 40px; height: 40px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0; }

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

