: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-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-s5-wrapper { border-top-color: var(--matrix-primary) !important; }
.f-s5-nav { color: #334155; text-decoration: none; font-weight: 800; font-size: 14px; }
.f-s5-nav:hover { color: var(--matrix-primary); }

/* 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-s3-vr { width: 1px; height: 40px; background: #eee; align-self: center; }
.s-s3-section .h3 { 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-s3-section { background: #0f172a; }
.w-s3-accent { color: var(--matrix-primary); }
.w-s3-pill { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1) !important; }
.w-s3-img { border-radius: var(--matrix-radius); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* 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-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-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-s1-nav { background: #f8fafc; }
.nav-link-s1 { text-align: left; padding: 12px 20px; border-radius: 8px; border: none; background: #fff; font-weight: 700; color: #64748b; transition: 0.3s; }
.nav-link-s1.active { background: var(--matrix-primary); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.text-primary-s1 { color: var(--matrix-primary); }

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

