: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-s7-deco { width: 40px; height: 2px; background: #000; }
.hero-s7-h1 { font-weight: 200; font-size: 3.5rem; letter-spacing: 5px; color: #000; }
.hero-s7-p { max-width: 700px; color: #64748b; font-size: 1.2rem; line-height: 2; font-weight: 300; }
.btn-s7-main { border: 1px solid #000; color: #000; padding: 15px 50px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.btn-s7-main:hover { background: #000; color: #fff; }

/* 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 */
.a3-wing { position: absolute; top: 0; left: 0; width: 45%; height: 100%; background: var(--matrix-primary); opacity: 0.05; clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }
.a3-img-holder { border: 1px solid rgba(0,0,0,0.05); }
.a3-rich-text { font-size: 1.1rem; line-height: 1.9; }

/* 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-s3-img-circle { width: 320px; height: 320px; border-radius: 50%; overflow: hidden; border: 10px solid #f8fafc; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.m-s3-img-circle img { width: 100%; height: 100%; object-fit: cover; }
.m-s3-tag { background: rgba(var(--matrix-primary-rgb), 0.1); color: var(--matrix-primary); font-size: 14px; font-weight: 700; }
.m-s3-quote { border-left: 5px solid var(--matrix-primary); padding-left: 25px; }

/* Block: why_us_id */
.w-s5-circle { width: 350px; height: 350px; border-radius: 50%; overflow: hidden; border: 8px solid #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.w-s5-circle img { width: 100%; height: 100%; object-fit: cover; }
.w-s5-callout { border-left-color: var(--matrix-primary) !important; }

/* Block: departments_id */
.d-s2-img-box img { border-radius: var(--matrix-radius); border: 10px solid #fff; }
.d-s2-badge { position: absolute; top: 20px; left: -10px; background: var(--matrix-primary); color: #fff; font-weight: 800; font-size: 13px; }
.d-s2-list li { display: flex; align-items: center; margin-bottom: 15px; font-weight: 700; color: #1e293b; }
.d-s2-list li i { color: #198754; margin-right: 15px; font-size: 1.25rem; }

/* Block: security_id */
.sec-s5-inner { max-width: 850px; border-radius: 40px !important; }
.sec-s5-icon { font-size: 5rem; color: #198754; }
.sec-s5-inner h2 { letter-spacing: -1px; }

/* 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-s2 { background: #f8fafc; }
.app-s2-deco { position: absolute; width: 400px; height: 400px; background: var(--matrix-primary); filter: blur(150px); opacity: 0.1; top: -100px; right: -100px; }
.app-s2-glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.4); border-radius: 40px; }
.app-s2-feature { padding: 20px; background: #fff; border-radius: 20px; transition: 0.3s; }
.app-s2-feature i { font-size: 24px; color: var(--matrix-primary); margin-bottom: 10px; }
.app-s2-feature h6 { margin: 0; font-weight: 800; color: #334155; }
.app-s2-cta { background: #000; color: #fff; padding: 15px 50px; border-radius: 100px; text-decoration: none; font-weight: 800; display: inline-block; }

/* 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 */
.text-primary-s3 { color: var(--matrix-primary); letter-spacing: -0.5px; }
.faq-s3-row { transition: background 0.3s; }
.faq-s3-row:hover { background: #fcfcfc; }

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

