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

/* Block: headers_id */
/* 头部背景：深色渐变并支持毛玻璃 */
.h3-header {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 胶囊容器 */
.h3-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 导航链接：强制干掉蓝色 */
.h3-link {
    color: rgba(255, 255, 255, 0.85) !important; /* 强制覆盖 */
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* 悬停动画：底部线条绘制 */
.h3-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--matrix-primary);
    transition: width 0.3s ease;
}

.h3-link:hover {
    color: #ffffff !important;
}

.h3-link:hover::after {
    width: 100%;
}

/* 进入官网按钮 */
.h3-btn {
    background: var(--matrix-primary);
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.h3-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--matrix-primary-rgb), 0.4);
    filter: brightness(1.1);
}

/* Logo 简单优化 */
.main-logo {
    transition: opacity 0.3s;
}
.main-logo:hover {
    opacity: 0.8;
}

/* 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-s2-wrapper { position: relative; }
.f-s2-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.f-s2-logo { height: 45px; }
.f-s2-nav { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.f-s2-nav:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a6-rich-body { font-size: 1.15rem; line-height: 2.2; color: #334155; }
.a6-header h2 { letter-spacing: 5px; color: var(--matrix-primary); }

/* 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-s6-icon { font-size: 3rem; color: var(--matrix-primary); }
@media (min-width: 768px) {
    .m-s6-border { border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
}

/* Block: why_us_id */
.w-s6-icon { font-size: 2.2rem; color: var(--matrix-primary); opacity: 0.8; }

/* 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-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-s1-box { height: 420px; background: center/cover no-repeat; position: relative; }
.n-s1-content { position: absolute; bottom: 0; left: 0; width: 100%; p-4; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; padding: 30px; }
.n-s1-swiper .swiper-pagination-bullet-active { background: var(--matrix-primary) !important; }

/* Block: faq_id */
.faq-icon-s7 { font-size: 32px; color: var(--matrix-primary); }
.faq-s7-wrapper h5 { letter-spacing: -0.5px; }

/* Block: update_id */
/* Style 4 - Clean List */
.up-s4 { background: #ffffff !important; }
.up-s4 .border-bottom { border-color: #f1f5f9 !important; }
.up-s4 .text-primary { color: var(--matrix-primary) !important; font-variant-numeric: tabular-nums; }
.up-s4 h6 { color: #1e293b !important; transition: 0.2s; }
.up-s4 .row:hover h6 { color: var(--matrix-primary) !important; }
.up-s4 p { color: #64748b !important; }

