: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-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-s4-nav { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; }
.f-s4-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-s5-accent { color: var(--matrix-primary); font-size: 2.5rem; }
.s-s5-img-container { position: relative; }
.s-s5-img-container::after { content: ''; position: absolute; top: -10px; right: -10px; width: 100px; height: 100px; border: 5px solid var(--matrix-primary); border-left: 0; border-bottom: 0; border-radius: 0 var(--matrix-radius) 0 0; z-index: -1; }

/* 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-s7-btn-main { background: #fff; color: #000; padding: 15px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 38px; border-radius: 50px; text-decoration: none; font-weight: 800; transition: 0.3s; }
.w-s7-btn-main:hover { transform: scale(1.05); }
.w-s7-btn-outline:hover { background: #fff; color: #000; }

/* Block: departments_id */
.d-s5-tile { border-radius: var(--matrix-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.d-s5-tile:hover { background: var(--matrix-primary); }
.d-s5-tile:hover .d-s5-icon, .d-s5-tile:hover h6, .d-s5-tile:hover p { color: #fff !important; }
.d-s5-icon { font-size: 2rem; color: var(--matrix-primary); }

/* Block: security_id */
.sec-s4-num { width: 64px; height: 64px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.sec-s4-row::before { content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 2px; background: #eee; z-index: 0; }
@media (max-width: 767px) { .sec-s4-row::before { display: none; } }

/* 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-s5-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.n-s5-item:last-child { border-bottom: 0 !important; }

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

