: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-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-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 */
.a5-section { background: #0f172a !important; }
.a5-accent-text { color: var(--matrix-primary); }
.a5-main-content { line-height: 1.8; letter-spacing: 0.5px; }

/* Block: stats_id */
.s-s6-circle { 
    width: 200px; height: 200px; 
    background: #fff; border: 2px solid #eee; 
    border-radius: 50%; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.s-s6-circle h3 { color: var(--matrix-primary); }
.s-s6-circle:hover { 
    border-color: var(--matrix-primary); 
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
}

/* 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-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-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-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-s1-section { background: #0f172a; }
.j-s1-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.1) !important; border-radius: var(--matrix-radius); }
.j-s1-card:hover { border-color: var(--matrix-primary) !important; background: rgba(255, 255, 255, 0.06); transform: translateY(-5px); }
.j-s1-avatar { width: 45px; height: 45px; border: 2px solid var(--matrix-primary); }
.j-s1-date { font-size: 10px; }

/* 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-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 1 - Timeline */
.up-s1 { background: #ffffff !important; }
.up-s1-header h2 { color: #0f172a !important; }
.up-s1-list { position: relative; }
.up-s1-item { transition: all 0.3s ease; border-bottom: 1px solid #f1f5f9 !important; }
.up-s1-item:hover { transform: translateX(8px); background: #fafafa; }
.up-s1-item .badge { font-weight: 600; padding: 6px 12px; border-radius: 4px; }
.up-s1-item h6 { color: #1e293b !important; margin-top: 5px; }
.up-s1-item p { color: #64748b !important; line-height: 1.6; }

