: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-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 */
.a4-step { border-top: 4px solid var(--matrix-primary); }
.a4-body-card { border-radius: 40px !important; }
.a4-text { font-size: 1.1rem; line-height: 2; text-align: justify; }

/* Block: stats_id */
.s-s7-section { background: var(--matrix-primary); }
.s-s7-section .display-4 { letter-spacing: -2px; }

/* Block: mission_id */
.m-s1-list li { display: flex; align-items: start; margin-bottom: 20px; }
.m-s1-list li i { color: var(--matrix-primary); margin-right: 15px; margin-top: 5px; font-size: 1.1rem; }
.m-s1-list li strong { color: #1e293b; display: block; margin-bottom: 2px; }
.m-s1-img-box img { border-radius: var(--matrix-radius) !important; }

/* 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-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-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-s2-card { width: 320px; background: #f8f9fa; border-radius: var(--matrix-radius); white-space: normal; transition: 0.3s; }
.j-s2-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; transform: scale(1.02); }
.j-s2-avatar { width: 32px; height: 32px; filter: grayscale(100%); transition: 0.3s; }
.j-s2-card:hover .j-s2-avatar { filter: grayscale(0%); }
.j-s2-scroll-wrapper::-webkit-scrollbar { height: 4px; }
.j-s2-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--matrix-primary); border-radius: 10px; }

/* 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-s5-wrapper .accordion-button:not(.collapsed) { background-color: var(--matrix-primary); color: #fff; }
.faq-s5-wrapper .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.1); }
.faq-s5-wrapper .accordion-item { border-radius: var(--matrix-radius) !important; }

/* Block: update_id */
/* Style 2 - Grid Cards */
.up-s2 { background: #f8fafc !important; }
.up-s2 .bg-white { 
    border: 1px solid #e2e8f0 !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.up-s2 .bg-white:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--matrix-primary) !important;
}
.up-s2 h6 { color: #0f172a !important; font-size: 1.1rem; }
.up-s2 p { color: #475569 !important; }

