/* ============================================
   证安存证书存证平台 - 全局样式
   版本: 1.0
   设计理念：官方、权威、可信、庄重
   配色系统：
     主色     #0A2463（深蓝）
     交互色   #1E429F
     烫金     #D4AF37（点缀色，不超过总面积5%）
     背景     #F5F7FA
     卡片背景 #FFFFFF
     边框     #E6E8EB
     正文     #1A1A1A
     次要文字 #666666
     成功     #009440
     错误     #CF1322
   ============================================ */

/* ===== 1. Reset & 基础 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #1A1A1A;
    background-color: #F5F7FA;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #0A2463;
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: #1E429F;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== 2. 容器 ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== 3. 排版系统 ===== */
h1 {
    font-size: 32px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.35;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.45;
}

h4 {
    font-size: 17px;
    font-weight: 600;
    color: #0A2463;
    line-height: 1.5;
}

p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

/* ===== 4. 按钮系统 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
}

.btn:hover {
    text-decoration: none;
}

/* 深蓝主按钮 */
.btn-primary {
    background-color: #0A2463;
    color: #ffffff;
    border-color: #0A2463;
}

.btn-primary:hover {
    background-color: #1E429F;
    border-color: #1E429F;
    color: #ffffff;
}

/* 白色描边按钮（用于深色背景） */
.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

/* 深蓝描边按钮 */
.btn-outline {
    background-color: transparent;
    color: #0A2463;
    border-color: #0A2463;
}

.btn-outline:hover {
    background-color: #0A2463;
    color: #ffffff;
}

/* 烫金按钮（仅用于重要转化按钮） */
.btn-gold {
    background-color: #D4AF37;
    color: #0A2463;
    font-weight: 600;
    border-color: #D4AF37;
}

.btn-gold:hover {
    background-color: #c5a232;
    border-color: #c5a232;
    color: #0A2463;
}

/* 微信登录按钮 */
.btn-wechat {
    background-color: #07C160;
    color: #ffffff;
    font-weight: 500;
    border-color: #07C160;
    min-height: 44px;
}

.btn-wechat:hover {
    background-color: #06ad56;
    border-color: #06ad56;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 16px;
    min-height: 50px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ===== 5. 表单控件 ===== */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1A1A1A;
    background-color: #ffffff;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: #0A2463;
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.08);
}

.form-control::placeholder {
    color: #999999;
}

.form-control.error {
    border-color: #CF1322;
}

.form-hint {
    font-size: 13px;
    color: #666666;
    margin-top: 4px;
}

/* ===== 6. 卡片系统 ===== */
.card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 32px;
}

/* ===== 7. 提示消息 ===== */
.alert {
    padding: 14px 18px;
    font-size: 14px;
    border: 1px solid;
    border-radius: 4px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.alert-error {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
    color: #CF1322;
}

.alert-success {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
    color: #009440;
}

.alert-info {
    background-color: #F0F5FF;
    border-color: #D0D8F0;
    color: #0A2463;
}

.alert-warning {
    background-color: #FFFDF0;
    border-color: #F0E6B8;
    color: #8A6D00;
}

/* ===== 8. 分区标题（公用） ===== */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #D4AF37;
}

.section-head p {
    color: #666666;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ===== 9. 导航栏 ===== */
.topbar {
    background-color: #0A2463;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo 区 */
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.topbar-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.brand-seal {
    width: 30px;
    height: 30px;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #D4AF37;
    font-weight: 700;
    flex-shrink: 0;
}

/* 主导航 - 桌面端 */
.topbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.topbar-nav a {
    color: #ffffff;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
    transition: color 0.15s;
}

.topbar-nav a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #D4AF37;
    transform: scaleX(0);
    transition: transform 0.15s;
}

.topbar-nav a:hover {
    color: #D4AF37;
    text-decoration: none;
}

.topbar-nav a:hover::before {
    transform: scaleX(1);
}

.topbar-nav a.active {
    color: #D4AF37;
}

.topbar-nav a.active::before {
    transform: scaleX(1);
}

/* 右侧用户区 */
.topbar-side {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.topbar-side a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 4px;
    transition: background-color 0.15s;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.topbar-side a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
}

.topbar-side .btn-login {
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.topbar-side .btn-register {
    background-color: #D4AF37;
    color: #0A2463;
    font-weight: 600;
}

.topbar-side .btn-register:hover {
    background-color: #c5a232;
    color: #0A2463;
}

/* 退出按钮 */
.topbar-side .btn-logout {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: background-color 0.15s, color 0.15s;
    min-height: 34px;
    display: flex;
    align-items: center;
}

.topbar-side .btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* 汉堡按钮 - 移动端 */
.topbar-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.topbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.topbar-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.topbar-toggle.open span:nth-child(2) {
    opacity: 0;
}

.topbar-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 页面预留导航高度 */
.page-body {
    padding-top: 60px;
    min-height: 100vh;
}

/* ===== 10. Hero 横幅 ===== */
.hero {
    background-color: #0A2463;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero .hero-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.hero .hero-acts {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 11. 数据统计栏 ===== */
.statbar {
    background-color: #ffffff;
    border-bottom: 1px solid #E6E8EB;
    padding: 20px 0;
}

.statbar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.statbar-item {
    text-align: center;
    padding: 10px 16px;
    border-right: 1px solid #E6E8EB;
}

.statbar-item:last-child {
    border-right: none;
}

.statbar-num {
    font-size: 28px;
    font-weight: 700;
    color: #0A2463;
    line-height: 1.3;
    margin-bottom: 2px;
}

.statbar-lbl {
    font-size: 13px;
    color: #666666;
}

/* ===== 12. 服务板块 ===== */
.section-block {
    padding: 80px 0;
}

.section-block.bg-white {
    background-color: #ffffff;
}

.section-block.bg-subtle {
    background-color: #FAFBFC;
}

/* 服务卡片网格 */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 44px 28px 36px;
    text-align: center;
    transition: box-shadow 0.15s;
}

.svc-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.svc-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #0A2463;
    border: 2px solid #0A2463;
    border-radius: 4px;
}

.svc-icon.accent {
    color: #D4AF37;
    border-color: #D4AF37;
}

.svc-card h3 {
    font-size: 18px;
    color: #0A2463;
    margin-bottom: 12px;
}

.svc-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===== 13. 流程步骤 ===== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.step-item {
    text-align: center;
    padding: 0 28px;
    position: relative;
}

/* 步骤之间的连线 */
.step-item + .step-item::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -2px;
    right: calc(100% - 28px);
    height: 1px;
    background-color: #D4AF37;
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background-color: #0A2463;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-item h3 {
    font-size: 18px;
    color: #0A2463;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===== 14. 安全保障 ===== */
.sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sec-item {
    text-align: center;
    padding: 36px 20px 28px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sec-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background-color: #E8EDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0A2463;
    font-weight: 700;
}

.sec-item h4 {
    font-size: 16px;
    color: #0A2463;
    margin-bottom: 8px;
}

.sec-item p {
    font-size: 14px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== 15. CTA引导区 ===== */
.cta-box {
    background-color: #F0F2F5;
    padding: 64px 20px;
    text-align: center;
}

.cta-box h2 {
    color: #0A2463;
    margin-bottom: 10px;
}

.cta-box p {
    color: #666666;
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ===== 16. 页脚 ===== */
.footer {
    background-color: #0A2463;
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-about h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 10px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 4px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: #D4AF37;
    text-decoration: none;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.8;
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.footer-copy a:hover {
    color: #D4AF37;
}

/* ===== 17. 认证页面样式 ===== */
.auth-wrap {
    padding: 60px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 32px 28px;
}

.auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.auth-head h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.auth-head p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 0;
}

.auth-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666666;
}

.auth-foot a {
    color: #0A2463;
    font-weight: 500;
}

/* ===== 认证页 - 验证码布局 ===== */
.captcha-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.captcha-wrap .form-control {
    flex: 1;
}

.captcha-img {
    width: 110px;
    height: 44px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    display: block;
}

/* ===== 认证页 - 协议勾选框 ===== */
.auth-agree {
    font-size: 13px;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth-agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-agree a {
    color: #1E429F;
    font-weight: 500;
}

.auth-agree a:hover {
    text-decoration: underline;
}

/* ===== 认证页 - 分隔线 ===== */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px;
    font-size: 13px;
    color: #999999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #E6E8EB;
}

/* ===== 认证页 - 其他登录方式 ===== */
.auth-other {
    text-align: center;
    margin-bottom: 16px;
}

.auth-other-box {
    width: 140px;
    height: 100px;
    margin: 0 auto;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F7FA;
    font-size: 12px;
    color: #999999;
    line-height: 1.6;
}

/* ===== 认证页 - 右侧链接 ===== */
.auth-link-right {
    text-align: right;
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-link-right a {
    color: #888888;
}

.auth-link-right a:hover {
    color: #1E429F;
}


/* ===== 18. 双因子查验页 ===== */
.vfy-wrap {
    padding: 60px 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vfy-card {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 36px 32px;
}

.vfy-head {
    text-align: center;
    margin-bottom: 28px;
}

.vfy-head h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.vfy-head p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 0;
}

/* ===== 19. 查验结果页 ===== */
.rslt-wrap {
    padding: 48px 20px;
    background-color: #F5F7FA;
    min-height: calc(100vh - 60px);
}

.rslt-container {
    max-width: 780px;
    margin: 0 auto;
}

.rslt-paper {
    background-color: #ffffff;
    border: 2px solid #0A2463;
    border-radius: 4px;
    padding: 40px 36px;
    position: relative;
}

.rslt-goldbar {
    height: 3px;
    background-color: #D4AF37;
    margin-bottom: 24px;
}

.rslt-title {
    text-align: center;
    margin-bottom: 28px;
}

.rslt-title h2 {
    font-size: 22px;
    letter-spacing: 2px;
}

.rslt-title p {
    font-size: 14px;
    color: #666666;
    margin-top: 6px;
    margin-bottom: 0;
}

.rslt-table {
    width: 100%;
    border-collapse: collapse;
}

.rslt-table tr {
    border-bottom: 1px solid #E6E8EB;
}

.rslt-table tr:last-child {
    border-bottom: none;
}

.rslt-table td {
    padding: 12px 10px;
    font-size: 14px;
    vertical-align: top;
}

.rslt-table td:first-child {
    width: 100px;
    color: #666666;
    font-weight: 500;
}

.rslt-seal {
    text-align: center;
    padding: 18px 0 8px;
    border-top: 2px dashed #D4AF37;
    margin-top: 18px;
}

.rslt-seal .seal-lbl {
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
}

.rslt-seal .seal-code {
    font-size: 20px;
    color: #0A2463;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: "Courier New", "Consolas", monospace;
}

/* 查验结果状态块 */
.rslt-status {
    text-align: center;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
}

.rslt-status.genuine {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
}

.rslt-status.fake {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
}

.rslt-status .status-icon {
    font-size: 36px;
    margin-bottom: 6px;
}

.rslt-status .status-label {
    font-size: 18px;
    font-weight: 600;
}

.rslt-status.genuine .status-label {
    color: #009440;
}

.rslt-status.fake .status-label {
    color: #CF1322;
}

/* ===== 20. 辅助工具类 ===== */
.txt-center {
    text-align: center;
}

.txt-muted {
    color: #666666;
}

.txt-primary {
    color: #0A2463;
}

.txt-success {
    color: #009440;
}

.txt-error {
    color: #CF1322;
}

.hidden {
    display: none !important;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

/* ===== 21. 表格通用 ===== */
.tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tbl th {
    background-color: #F5F7FA;
    color: #0A2463;
    font-weight: 600;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 2px solid #0A2463;
}

.tbl td {
    padding: 10px 14px;
    border-bottom: 1px solid #E6E8EB;
}

/* ===== 22. 徽章标签 ===== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    line-height: 1.5;
}

.tag-green {
    background-color: #F0FFF5;
    color: #009440;
    border: 1px solid #B8EBC8;
}

.tag-red {
    background-color: #FFF5F5;
    color: #CF1322;
    border: 1px solid #FFCCCC;
}

.tag-blue {
    background-color: #F0F5FF;
    color: #0A2463;
    border: 1px solid #D0D8F0;
}

/* ===== 23. 分割线 ===== */
hr {
    border: none;
    height: 1px;
    background-color: #E6E8EB;
    margin: 40px 0;
}

/* ===== 24. 平板适配 ===== */
@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== 25. 移动端适配（≤768px） ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* 导航栏 */
    .topbar {
        height: 50px;
    }

    .topbar-brand {
        font-size: 17px;
    }

    .brand-seal {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .topbar-nav {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background-color: #0A2463;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 4px 0;
    }

    .topbar-nav.open {
        display: flex;
    }

    .topbar-nav a {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .topbar-nav a::before {
        display: none;
    }

    .topbar-nav a.active {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .topbar-nav a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .topbar-side {
        display: none;
    }

    .topbar-side.open {
        display: flex;
        padding: 8px 16px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .topbar-side.open a {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .topbar-toggle {
        display: flex;
    }

    .page-body {
        padding-top: 50px;
    }

    /* Hero */
    .hero {
        padding: 48px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero .hero-desc {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .hero .hero-acts {
        flex-direction: column;
        align-items: center;
    }

    .hero .hero-acts .btn {
        width: 100%;
        max-width: 260px;
    }

    /* 统计栏 */
    .statbar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .statbar-item:nth-child(2) {
        border-right: none;
    }

    .statbar-item:nth-child(1),
    .statbar-item:nth-child(2) {
        border-bottom: 1px solid #E6E8EB;
        padding: 14px 8px;
    }

    .statbar-num {
        font-size: 22px;
    }

    .statbar-lbl {
        font-size: 12px;
    }

    /* 板块 */
    .section-block {
        padding: 48px 0;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    /* 服务卡片 */
    .svc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .svc-card {
        padding: 32px 24px 28px;
    }

    .svc-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    /* 流程步骤 */
    .step-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-item {
        padding: 0 16px;
    }

    .step-item + .step-item::before {
        display: none;
    }

    .step-num {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* 安全保障 */
    .sec-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sec-item {
        padding: 28px 20px 24px;
    }

    /* CTA */
    .cta-box {
        padding: 40px 16px;
    }

    .cta-box h2 {
        font-size: 20px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .cta-box .btn {
        width: 100%;
        max-width: 260px;
    }

    /* 页脚 */
    .footer {
        padding: 36px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-copy {
        font-size: 11px;
    }

    /* 认证/查验卡片 */
    .auth-card,
    .vfy-card {
        padding: 28px 20px;
    }

    /* 查验结果 */
    .rslt-paper {
        padding: 24px 16px;
    }

    .rslt-title h2 {
        font-size: 18px;
    }

    .rslt-table td {
        font-size: 13px;
        padding: 10px 6px;
    }

    .rslt-table td:first-child {
        width: 80px;
    }

    .rslt-seal .seal-code {
        font-size: 17px;
    }

    /* 按钮全宽 */
    .btn-lg {
        padding: 14px 24px;
    }
}

/* ===== 26. 小屏手机（≤400px） ===== */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 24px;
    }

    .statbar-num {
        font-size: 18px;
    }

    .section-head h2 {
        font-size: 20px;
    }

    .section-head h2::after {
        width: 30px;
    }
}

/* ===== 27. 打印样式 ===== */
@media print {
    .topbar,
    .topbar-toggle,
    .footer {
        display: none;
    }

    .page-body {
        padding-top: 0;
    }

    .rslt-paper {
        border: 2px solid #000;
    }
}

/* ===== 查验页 - 图标区 ===== */
.vfy-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background-color: #E8EDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0A2463;
    font-weight: 700;
}

.vfy-icon.invalid {
    background-color: #FFF5F5;
    color: #CF1322;
}

.vfy-icon.valid {
    background-color: #F0FFF5;
    color: #009440;
}

/* 查验提示条 */
.vfy-notice {
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 13px;
    color: #0A2463;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ===== 查验结果页 - 顶栏信息 ===== */
.rslt-bar {
    text-align: center;
    margin-bottom: 28px;
}

.rslt-bar h2 {
    font-size: 22px;
    color: #0A2463;
    margin-bottom: 6px;
}

.rslt-bar .rslt-meta {
    color: #666666;
    font-size: 13px;
}

.rslt-bar .rslt-meta .sep {
    margin: 0 8px;
    color: #D0D5DD;
}

/* ===== 证书纸张头部 ===== */
.rslt-paper-head {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.rslt-paper-head .gold-seal {
    width: 54px;
    height: 72px;
    border: 2px solid #D4AF37;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #D4AF37;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 auto 18px;
    padding: 4px;
    letter-spacing: 1px;
}

.rslt-paper-head h2 {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 6px;
}

.rslt-paper-head .paper-num {
    font-size: 14px;
    color: #666666;
}

/* ===== 证书图片区域 ===== */
.cert-image-wrap {
    margin: 24px 0;
    text-align: center;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 16px;
    background-color: #FAFBFC;
}

.cert-image-wrap img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.cert-image-wrap .image-locked {
    padding: 36px 16px 32px;
}

.cert-image-wrap .image-locked .lock-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0A2463;
    font-weight: 700;
}

.cert-image-wrap .image-locked p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== 证书底部脚注 ===== */
.rslt-paper-foot {
    text-align: center;
    font-size: 12px;
    color: #999999;
    line-height: 1.8;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #E6E8EB;
}

/* ===== 官方声明 ===== */
.rslt-declare {
    background-color: #FAFBFC;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 28px;
    font-size: 13px;
    color: #666666;
    line-height: 1.8;
}

.rslt-declare strong {
    color: #333333;
}

/* ===== 结果页底部操作栏 ===== */
.rslt-actions {
    text-align: center;
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 结果状态横幅 ===== */
.rslt-banner {
    text-align: center;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
}

.rslt-banner.pass {
    background-color: #F0FFF5;
    border-color: #B8EBC8;
}

.rslt-banner.fail {
    background-color: #FFF5F5;
    border-color: #FFCCCC;
}

.rslt-banner .banner-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.rslt-banner .banner-text {
    font-size: 18px;
    font-weight: 600;
}

.rslt-banner.pass .banner-text {
    color: #009440;
}

.rslt-banner.fail .banner-text {
    color: #CF1322;
}

/* ============================================
   证安存证书存证平台 - 管理后台样式
   ============================================ */

/* ----- 表格 ----- */
.tbl-wrap { overflow-x: auto; margin-bottom: 20px; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; overflow: hidden; }
.tbl th { background: #F5F7FA; color: #0A2463; font-weight: 600; padding: 12px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid #E6E8EB; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid #F0F2F5; font-size: 14px; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #FAFBFC; }

/* ----- 管理后台布局 ----- */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; min-height: 100vh; background: #0A2463; color: #fff; position: fixed; left: 0; top: 0; overflow-y: auto; z-index: 100; }
.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-brand a { color: #fff; text-decoration: none; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sidebar-brand .brand-icon { width: 36px; height: 36px; border: 2px solid #D4AF37; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #D4AF37; font-weight: 700; flex-shrink: 0; }
.sidebar-nav { padding: 12px 0; }
.sidebar-nav .nav-section { padding: 8px 20px 4px; font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; transition: all 0.2s; border-left: 3px solid transparent; }
.sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav a.active { background: rgba(255,255,255,0.12); color: #fff; border-left-color: #D4AF37; font-weight: 600; }
.sidebar-nav a .nav-icon { display: inline-block; width: 20px; text-align: center; font-size: 14px; }

.admin-main { margin-left: 220px; flex: 1; min-height: 100vh; }
.admin-topbar { background: #fff; padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: flex-end; border-bottom: 1px solid #E6E8EB; gap: 20px; }
.admin-topbar .admin-user { font-size: 14px; color: #666; }
.admin-topbar .admin-logout { font-size: 13px; color: #1E429F; text-decoration: none; }
.admin-topbar .admin-logout:hover { text-decoration: underline; }

.admin-content { padding: 24px 32px; }
.page-title { font-size: 22px; color: #0A2463; font-weight: 600; margin-bottom: 24px; }

/* ----- 统计卡片 ----- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.stat-card .stat-num { font-size: 28px; font-weight: 700; color: #0A2463; }
.stat-card .stat-lbl { font-size: 13px; color: #999; margin-top: 4px; }

/* ----- 筛选栏 ----- */
.filter-bar { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 16px 20px; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filter-bar .filter-group { display: flex; align-items: center; gap: 8px; }
.filter-bar label { font-size: 13px; color: #666; white-space: nowrap; }
.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="date"] { height: 36px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; outline: none; min-width: 120px; background: #fff; }
.filter-bar select:focus,
.filter-bar input:focus { border-color: #1E429F; }
.filter-bar .btn { padding: 0 16px; height: 36px; font-size: 13px; line-height: 36px; border-radius: 4px; cursor: pointer; }

/* ----- 管理后台按钮（覆盖前台按钮样式以适应管理后台） ----- */
.admin-content .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; height: 36px; font-size: 13px; border-radius: 4px; cursor: pointer; border: none; text-decoration: none; gap: 4px; }
.admin-content .btn-primary { background: #1E429F; color: #fff; }
.admin-content .btn-primary:hover { background: #16357a; }
.admin-content .btn-outline { background: #fff; color: #1E429F; border: 1px solid #1E429F; }
.admin-content .btn-outline:hover { background: #F5F7FA; }
.admin-content .btn-danger { background: #CF1322; color: #fff; }
.admin-content .btn-danger:hover { background: #a8101a; }
.admin-content .btn-success { background: #009440; color: #fff; }
.admin-content .btn-success:hover { background: #007a34; }
.admin-content .btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }

/* ----- 搜索框 ----- */
.search-box { display: flex; gap: 8px; }
.search-box input { height: 36px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; outline: none; min-width: 200px; }
.search-box input:focus { border-color: #1E429F; }

/* ----- 分页 ----- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a,
.pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 13px; color: #333; text-decoration: none; background: #fff; }
.pagination a:hover { border-color: #1E429F; color: #1E429F; }
.pagination .current { background: #1E429F; color: #fff; border-color: #1E429F; }

/* ----- 弹窗 ----- */
.modal-overlay { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: 6px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,0.15); padding: 32px; position: relative; }
.modal-box h3 { font-size: 18px; color: #0A2463; margin-bottom: 20px; font-weight: 600; }
.modal-box .modal-close { position: absolute; right: 20px; top: 20px; background: none; border: none; font-size: 22px; color: #999; cursor: pointer; }
.modal-box .modal-close:hover { color: #333; }
.modal-box .modal-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: flex-end; }
.modal-box .detail-row { display: flex; padding: 8px 0; border-bottom: 1px solid #F0F2F5; font-size: 14px; }
.modal-box .detail-row .detail-lbl { width: 120px; color: #999; flex-shrink: 0; }
.modal-box .detail-row .detail-val { color: #333; flex: 1; }
.modal-box .form-group { margin-bottom: 16px; }
.modal-box .form-label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.modal-box .form-control { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 14px; outline: none; background: #fff; }
.modal-box .form-control:focus { border-color: #1E429F; }
.modal-box textarea.form-control { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }

/* ----- 配置区块 ----- */
.config-section { background: #fff; border: 1px solid #E6E8EB; border-radius: 6px; padding: 24px; margin-bottom: 20px; }
.config-section h3 { font-size: 16px; color: #0A2463; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #E6E8EB; }
.config-section .form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.config-section .form-group { flex: 1; min-width: 200px; }
.config-section .form-label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.config-section .form-control { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #E6E8EB; border-radius: 4px; font-size: 14px; outline: none; background: #fff; }
.config-section .form-control:focus { border-color: #1E429F; }
.config-section textarea.form-control { height: 100px; padding: 10px 12px; resize: vertical; }
.config-section .form-hint { font-size: 12px; color: #999; margin-top: 4px; }

/* ----- 表单操作区 ----- */
.form-actions { margin-top: 24px; text-align: center; }
.form-actions .btn { height: 44px; padding: 0 40px; font-size: 15px; }

/* ----- 管理后台响应式 ----- */
@media (max-width: 992px) {
    .admin-sidebar { width: 60px; }
    .sidebar-brand a span,
    .sidebar-nav a span,
    .sidebar-nav .nav-section { display: none; }
    .sidebar-nav a { justify-content: center; padding: 12px; border-left: none; }
    .sidebar-nav a.active { border-left: none; background: rgba(255,255,255,0.15); }
    .admin-main { margin-left: 60px; }
    .admin-content { padding: 16px; }
    .stat-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 768px) {
    .admin-sidebar { width: 50px; }
    .admin-main { margin-left: 50px; }
    .admin-topbar { padding: 0 12px; }
    .admin-content { padding: 12px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-bar .filter-group { flex-wrap: wrap; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .config-section .form-row { flex-direction: column; }
    .config-section .form-group { min-width: auto; }
}
@media (max-width: 400px) {
    .stat-cards { grid-template-columns: 1fr; }
}
/* ============================================
   版本切换栏
   ============================================ */
.v-switch-bar {
    max-width: 780px;
    margin: 0 auto 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.v-switch-label {
    font-size: 13px;
    color: #888;
    margin-right: 4px;
}

.v-switch-btn {
    padding: 6px 16px;
    font-size: 13px;
    color: #666;
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    min-height: 34px;
}

.v-switch-btn:hover {
    border-color: #0A2463;
    color: #0A2463;
}

.v-switch-btn.active {
    background-color: #0A2463;
    color: #ffffff;
    border-color: #0A2463;
}

/* ============================================
   版本A：学信网风格
   ============================================ */

/* 蓝色标题栏 */
.vxa-header {
    background-color: #0A2463;
    padding: 20px 28px;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.vxa-header h2 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.vxa-meta {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.vxa-meta .sep {
    margin: 0 10px;
    color: rgba(255,255,255,0.35);
}

/* 证书信息卡片 */
.vxa-card {
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.vxa-card-inner {
    padding: 36px 32px;
    position: relative;
}

/* 电子印章 */
.vxa-stamp {
    position: absolute;
    top: 28px;
    right: 32px;
    z-index: 1;
}

.vxa-stamp-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #CF1322;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CF1322;
    opacity: 0.75;
    transform: rotate(-8deg);
}

.vxa-stamp-star { font-size: 16px; line-height: 1; }
.vxa-stamp-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.vxa-stamp-sub { font-size: 9px; line-height: 1; letter-spacing: 1px; }

/* 学信网表格 */
.vxa-table {
    width: 100%;
    border-collapse: collapse;
}

.vxa-table tr {
    border-bottom: 1px solid #e8eaed;
}

.vxa-table tr:last-child {
    border-bottom: 2px solid #0A2463;
}

.vxa-label {
    width: 130px;
    padding: 14px 16px;
    background-color: #F5F7FA;
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    vertical-align: top;
}

.vxa-value {
    padding: 14px 20px;
    color: #1A1A1A;
    font-size: 15px;
    line-height: 1.7;
}

/* 持证人照片 */
.vxa-photo {
    position: absolute;
    top: 120px;
    right: 40px;
    width: 90px;
    height: 120px;
    border: 1px solid #d0d5dd;
    background-color: #F5F7FA;
    overflow: hidden;
    z-index: 0;
}

.vxa-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 防伪验证条 */
.vxa-fakestrip {
    margin-top: 24px;
    background-color: #F0F5FF;
    border: 1px solid #D0D8F0;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.vxa-fs-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vxa-fs-label {
    font-size: 13px;
    color: #666;
}

.vxa-fs-code {
    font-size: 18px;
    color: #0A2463;
    font-weight: 700;
    font-family: "Courier New", Consolas, monospace;
    letter-spacing: 3px;
}

.vxa-fs-right {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

.vxa-fs-right strong {
    color: #0A2463;
}

/* ============================================
   版本B：纸质证书风格
   ============================================ */

/* 查验信息条 */
.vxb-meta-strip {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 证书主容器 */
.vxb-paper {
    position: relative;
    margin-bottom: 24px;
}

/* 防伪底纹 */
.vxb-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image:
        repeating-linear-gradient(45deg, #0A2463 0px, #0A2463 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(-45deg, #D4AF37 0px, #D4AF37 1px, transparent 1px, transparent 40px);
}

/* 外框 */
.vxb-border {
    position: relative;
    z-index: 1;
    background-color: #FFFEFA;
    border: 3px solid #D4AF37;
    padding: 28px;
}

/* 四角装饰 */
.vxb-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    z-index: 2;
}

.vxb-corner::before, .vxb-corner::after {
    content: '';
    position: absolute;
    background-color: #D4AF37;
}

.vxb-corner::before { width: 100%; height: 2px; }
.vxb-corner::after  { width: 2px; height: 100%; }

.vxb-corner-tl { top: -1px; left: -1px; }
.vxb-corner-tl::before { top: 0; left: 0; }
.vxb-corner-tl::after  { top: 0; left: 0; }

.vxb-corner-tr { top: -1px; right: -1px; }
.vxb-corner-tr::before { top: 0; right: 0; }
.vxb-corner-tr::after  { top: 0; right: 0; }

.vxb-corner-bl { bottom: -1px; left: -1px; }
.vxb-corner-bl::before { bottom: 0; left: 0; }
.vxb-corner-bl::after  { bottom: 0; left: 0; }

.vxb-corner-br { bottom: -1px; right: -1px; }
.vxb-corner-br::before { bottom: 0; right: 0; }
.vxb-corner-br::after  { bottom: 0; right: 0; }

/* 内框 */
.vxb-inner {
    border: 1px solid #D4AF37;
    padding: 48px 40px 40px;
    position: relative;
    min-height: 500px;
}

/* 国徽标识 */
.vxb-emblem {
    text-align: center;
    margin-bottom: 20px;
}

.vxb-emblem-seal {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 2px solid #CF1322;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #CF1322;
}

/* 主标题 */
.vxb-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #0A2463;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

/* 证书编号 */
.vxb-serial {
    text-align: center;
    font-size: 14px;
    color: #888;
    font-family: "Courier New", Consolas, monospace;
    margin-bottom: 32px;
}

/* 正文 */
.vxb-body {
    max-width: 480px;
    margin: 0 auto 36px;
}

.vxb-line {
    display: flex;
    align-items: baseline;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
}

.vxb-field {
    flex-shrink: 0;
    width: 80px;
    text-align: justify;
    text-align-last: justify;
    color: #555;
    font-weight: 500;
}

.vxb-colon {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: #555;
}

.vxb-text {
    flex: 1;
    color: #1A1A1A;
    border-bottom: 1px solid #d0d5dd;
    padding-bottom: 2px;
    min-height: 24px;
}

.vxb-name { font-size: 18px; font-weight: 600; color: #0A2463; }
.vxb-level { font-weight: 600; color: #0A2463; }

/* 颁发机构 */
.vxb-issuer {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
}

.vxb-issuer-name { font-size: 16px; font-weight: 600; color: #0A2463; margin-bottom: 6px; }
.vxb-issuer-date { font-size: 13px; color: #888; }

/* 印章 */
.vxb-cert-stamp {
    position: absolute;
    bottom: 50px;
    left: 60px;
}

.vxb-cert-stamp-inner {
    width: 90px;
    height: 90px;
    border: 3px solid #CF1322;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #CF1322;
    transform: rotate(-10deg);
    opacity: 0.8;
}

.vxb-cs-top { font-size: 16px; font-weight: 700; line-height: 1.2; }
.vxb-cs-mid { font-size: 9px; line-height: 1.2; }
.vxb-cs-bot { font-size: 10px; font-weight: 600; line-height: 1.2; }

/* 照片 */
.vxb-photo {
    position: absolute;
    bottom: 50px;
    right: 60px;
    width: 80px;
    height: 100px;
    border: 1px solid #d0d5dd;
    background-color: #F5F7FA;
}

.vxb-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部防伪签 */
.vxb-fakestrip {
    background-color: #FFFEFA;
    border: 2px dashed #D4AF37;
    border-radius: 4px;
    padding: 14px 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.vxb-fakestrip code {
    font-size: 16px;
    font-weight: 700;
    color: #0A2463;
    letter-spacing: 3px;
    background-color: #F0F5FF;
    padding: 4px 12px;
    border-radius: 3px;
}

/* ============================================
   版本C：政务平台风格
   ============================================ */

/* 政务蓝标题栏 */
.vxc-header {
    background-color: #0A2463;
    padding: 20px 28px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.vxc-header-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.vxc-header h2 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 2px;
    letter-spacing: 1px;
    font-weight: 600;
}

.vxc-header-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-family: "Courier New", Consolas, monospace;
}

/* 水印 */
.vxc-watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 60px;
    opacity: 0.018;
    font-size: 48px;
    font-weight: 700;
    color: #0A2463;
    transform: rotate(-20deg) scale(1.5);
    overflow: hidden;
}

.vxc-watermark span {
    white-space: nowrap;
    letter-spacing: 20px;
}

/* 信息网格 */
.vxc-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: #FAFBFC;
    border: 1px solid #d0d5dd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 24px;
    margin-bottom: 24px;
}

/* 政务卡片 */
.vxc-card {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    overflow: hidden;
}

.vxc-card-head {
    background-color: #F0F2F5;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0A2463;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #E6E8EB;
}

.vxc-card-icon {
    width: 26px;
    height: 26px;
    background-color: #0A2463;
    color: #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.vxc-card-body {
    padding: 12px 16px;
}

/* 政务表格 */
.vxc-table {
    width: 100%;
    border-collapse: collapse;
}

.vxc-table tr {
    border-bottom: 1px dotted #e8eaed;
}

.vxc-table tr:last-child {
    border-bottom: none;
}

.vxc-label {
    width: 80px;
    padding: 10px 8px 10px 0;
    color: #888;
    font-size: 13px;
    vertical-align: top;
    white-space: nowrap;
}

.vxc-value {
    padding: 10px 0;
    font-size: 14px;
    color: #1A1A1A;
    word-break: break-all;
}

.vxc-name { font-size: 16px; font-weight: 600; color: #0A2463; }
.vxc-level { font-weight: 600; color: #D4AF37; }
.vxc-mono { font-family: "Courier New", Consolas, monospace; font-size: 13px; }

/* 防伪横条 */
.vxc-verify {
    background-color: #ffffff;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.vxc-verify-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vxc-verify-label {
    font-size: 13px;
    color: #888;
}

.vxc-verify-code {
    font-size: 18px;
    font-weight: 700;
    color: #0A2463;
    font-family: "Courier New", Consolas, monospace;
    letter-spacing: 3px;
}

.vxc-verify-val {
    font-size: 14px;
    color: #1A1A1A;
    font-family: "Courier New", Consolas, monospace;
}

.vxc-verify-div {
    width: 1px;
    height: 28px;
    background-color: #D4AF37;
}

/* 政务声明 */
.vxc-declare {
    background-color: #ffffff;
    border: 1px solid #E6E8EB;
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.vxc-declare-title {
    font-size: 16px;
    font-weight: 600;
    color: #0A2463;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D4AF37;
}

.vxc-declare ol {
    padding-left: 20px;
    font-size: 13px;
    color: #666;
    line-height: 2;
}

.vxc-declare-sign {
    text-align: right;
    font-size: 13px;
    color: #888;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #E6E8EB;
    line-height: 1.6;
}

/* ============================================
   三版本移动端适配
   ============================================ */
@media (max-width: 768px) {

    /* 切换栏 */
    .v-switch-bar {
        padding: 8px 4px;
        gap: 6px;
    }
    .v-switch-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-height: 32px;
    }

    /* 版本A */
    .vxa-card-inner { padding: 20px 16px; }
    .vxa-label { width: 80px; padding: 12px 10px; font-size: 13px; }
    .vxa-value { padding: 12px 12px; font-size: 14px; }
    .vxa-stamp { top: 16px; right: 12px; }
    .vxa-stamp-circle { width: 60px; height: 60px; }
    .vxa-stamp-title { font-size: 12px; }
    .vxa-stamp-sub { font-size: 7px; }
    .vxa-photo { position: relative; top: auto; right: auto; margin: 16px auto; }
    .vxa-fakestrip { flex-direction: column; text-align: center; padding: 14px 16px; }

    /* 版本B */
    .vxb-border { padding: 12px; }
    .vxb-inner { padding: 32px 16px 24px; min-height: auto; }
    .vxb-title { font-size: 20px; letter-spacing: 2px; }
    .vxb-line { font-size: 14px; }
    .vxb-field { width: 64px; }
    .vxb-name { font-size: 16px; }
    .vxb-cert-stamp { position: relative; bottom: auto; left: auto; margin: 24px auto 0; display: flex; justify-content: center; }
    .vxb-photo { position: relative; bottom: auto; right: auto; margin: 16px auto; }
    .vxb-fakestrip { font-size: 12px; gap: 8px; }
    .vxb-fakestrip code { font-size: 14px; }

    /* 版本C */
    .vxc-header { flex-direction: column; text-align: center; padding: 18px 16px; gap: 10px; }
    .vxc-header-meta { justify-content: center; font-size: 11px; gap: 10px; }
    .vxc-grid { grid-template-columns: 1fr; padding: 16px; }
    .vxc-label { width: 64px; font-size: 12px; }
    .vxc-value { font-size: 13px; }
    .vxc-verify { flex-direction: column; gap: 12px; padding: 14px 16px; }
    .vxc-verify-div { width: 100%; height: 1px; }
    .vxc-declare { padding: 16px; }
}


/* ============================================
   首页 — 方案二：金融质证 Financial Evidence
   ============================================ */

/* ===== 首页 CSS 变量 ===== */
:root {
    --home-primary-dark: #061840;
    --home-gold: #D4AF37;
    --home-gold-dim: #b8942f;
    --home-shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
    --home-shadow-md: 0 8px 32px rgba(10,36,99,0.10);
    --home-shadow-lg: 0 16px 48px rgba(10,36,99,0.12);
}

/* ===== Hero 横幅 ===== */
.hero-v2 {
    background: linear-gradient(160deg, #061840 0%, #0A2463 35%, #0f2d72 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-v2-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-v2 .container {
    position: relative;
    z-index: 2;
}

.hero-v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid rgba(212,175,55,0.30);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #D4AF37;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-v2-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #D4AF37;
    border-radius: 50%;
}

.hero-v2 h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 4px;
    margin: 0 0 16px;
    line-height: 1.3;
}

.hero-v2-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.60);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ===== Hero 印章式入口卡片 ===== */
.hero-seal-group {
    margin-top: 0;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-seal:hover {
    text-decoration: none;
    transform: translateY(-4px);
}

.hero-seal-ring {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-seal-ring .hero-seal-icon {
    display: block;
    width: 108px;
    height: 106px;
    object-fit: contain;
    border-radius: 50%;
}

.hero-seal-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 14px;
    line-height: 1.3;
    color: #ffffff;
}

.hero-seal-sub {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-top: 4px;
    line-height: 1.3;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

/* 上传证书：深蓝 + 白 */
.hero-seal-upload .hero-seal-ring {
    background: rgba(255,255,255,0.10);
    border: 3px solid #ffffff;
}
.hero-seal-upload .hero-seal-ring::after {
    border: 2px solid rgba(255,255,255,0.20);
}
.hero-seal-upload .hero-seal-icon {
    color: #ffffff;
}
.hero-seal-upload .hero-seal-label {
    color: #ffffff;
}
.hero-seal-upload .hero-seal-sub {
    color: rgba(255,255,255,0.6);
}
.hero-seal-upload:hover .hero-seal-ring {
    box-shadow: 0 0 0 6px rgba(255,255,255,0.08), 0 0 30px rgba(255,255,255,0.06);
}

/* 证书查验：烫金 */
.hero-seal-verify .hero-seal-ring {
    background: rgba(212,175,55,0.12);
    border: 3px solid #D4AF37;
}
.hero-seal-verify .hero-seal-ring::after {
    border: 2px solid rgba(212,175,55,0.20);
}
.hero-seal-verify .hero-seal-icon {
    color: #D4AF37;
}
.hero-seal-verify .hero-seal-label {
    color: #ffffff;
}
.hero-seal-verify .hero-seal-sub {
    color: rgba(255,255,255,0.6);
}
.hero-seal-verify:hover .hero-seal-ring {
    box-shadow: 0 0 0 6px rgba(212,175,55,0.08), 0 0 30px rgba(212,175,55,0.06);
}

/* ===== 数据统计悬浮卡片 ===== */
.statbar-v2-wrap {
    position: relative;
    margin-top: -36px;
    z-index: 10;
}

.statbar-v2 {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(10,36,99,0.10);
    padding: 8px 0;
    margin: 0 auto;
    max-width: 860px;
}

.statbar-v2-inner {
    display: flex;
}

.statbar-v2-item {
    flex: 1;
    text-align: center;
    padding: 22px 16px;
    position: relative;
}

.statbar-v2-item + .statbar-v2-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #eef0f4;
}

.statbar-v2-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0A2463;
    letter-spacing: 1px;
}

.statbar-v2-lbl {
    font-size: 0.78rem;
    color: #888888;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* ===== 通用板块标题 ===== */
.section-v2 {
    padding: 60px 0;
}

.section-head-v2 {
    text-align: center;
    margin-bottom: 44px;
}

.section-head-v2 h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #061840;
    letter-spacing: 3px;
    margin: 0 0 10px;
}

.section-head-v2 .head-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #b8942f, #D4AF37);
    margin: 0 auto;
    border-radius: 2px;
}

.section-head-v2 p {
    font-size: 0.9rem;
    color: #888888;
    margin-top: 12px;
}

/* ===== 核心产品三栏卡片 ===== */
.products-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.product-card-v2 {
    background: #ffffff;
    border: 1px solid #e0e4ea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    box-shadow: 0 16px 48px rgba(10,36,99,0.12);
    transform: translateY(-4px);
}

.product-card-v2-header {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f2f5;
}

.product-card-v2-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #0A2463 0%, #061840 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
}

.product-card-v2-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin: 0;
}

.product-card-v2-body {
    padding: 20px 24px;
    flex: 1;
}

.product-card-v2-body p {
    font-size: 0.86rem;
    color: #5a5a5a;
    line-height: 1.75;
    margin: 0 0 18px;
}

.product-card-v2-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card-v2-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: #5a5a5a;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 0;
}

.product-card-v2-features li .feat-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: #D4AF37;
    border-radius: 50%;
    margin-top: 6px;
}

/* 函件预留图片 */
.product-card-v2-image {
    padding: 0 24px 20px;
}

.product-card-v2-image .placeholder-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #f8f9fb 0%, #eef0f5 100%);
    border: 2px dashed #d5d9e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.78rem;
    letter-spacing: 1px;
    flex-direction: column;
    gap: 8px;
}

.product-card-v2-image .placeholder-img::before {
    content: '📷';
    font-size: 2rem;
    opacity: 0.3;
}

/* 期限文字 */
.product-card-v2-term {
    text-align: center;
    font-size: 0.76rem;
    color: #888888;
    margin-top: 4px;
    padding-bottom: 24px;
}

/* ===== 技术保障网格 ===== */
.tech-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item-v2 {
    text-align: center;
    padding: 28px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid transparent;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.tech-item-v2:hover {
    border-color: #D4AF37;
    box-shadow: 0 8px 32px rgba(10,36,99,0.10);
}

.tech-icon-v2 {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.04) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tech-item-v2 h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #061840;
    margin: 0 0 6px;
    letter-spacing: 1px;
}

.tech-item-v2 p {
    font-size: 0.8rem;
    color: #888888;
    line-height: 1.5;
    margin: 0;
}

/* ===== 办理流程时间轴 ===== */
.steps-v2-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.steps-v2-wrap::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background: linear-gradient(90deg, #b8942f, #D4AF37, #b8942f);
    z-index: 0;
}

.step-card-v2 {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.step-dot-v2 {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: #ffffff;
    border: 3px solid #0A2463;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0A2463;
    position: relative;
}

.step-dot-v2::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(10,36,99,0.10);
    pointer-events: none;
}

.step-card-v2 h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.step-card-v2 p {
    font-size: 0.84rem;
    color: #888888;
    margin: 0;
    line-height: 1.5;
}

/* ===== CTA 底部引导 ===== */
.cta-v2 {
    background: linear-gradient(160deg, #061840 0%, #0A2463 100%);
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #D4AF37;
}

.cta-v2::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.cta-v2 .container {
    position: relative;
    z-index: 2;
}

.cta-v2 h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.cta-v2 p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.60);
    margin: 0 0 28px;
}

.btn-v2-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 50px;
    padding: 0 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #c49b2a 100%);
    color: #061840;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212,175,55,0.25);
    transition: all 0.25s ease;
}

.btn-v2-primary:hover {
    box-shadow: 0 6px 28px rgba(212,175,55,0.40);
    transform: translateY(-1px);
    color: #061840;
    text-decoration: none;
}

/* ============================================
   首页 — 响应式
   ============================================ */
@media (max-width: 991px) {
    .products-v2 { grid-template-columns: 1fr 1fr; }
    .tech-grid-v2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .hero-v2 { padding: 44px 0 56px; }
    .hero-v2 h1 { font-size: 1.85rem; letter-spacing: 2px; }
    .hero-v2-sub { font-size: 0.88rem; }

    .hero-seal-group { gap: 28px; }
    .hero-seal-ring .hero-seal-icon { width: 76px; height: 76px; }
    .hero-seal-label { font-size: 0.95rem; letter-spacing: 2px; margin-top: 10px; }
    .hero-seal-sub { font-size: 0.7rem; }

    .statbar-v2-wrap { margin-top: -28px; }
    .statbar-v2-inner { flex-wrap: wrap; }
    .statbar-v2-item { flex: 0 0 50%; }
    .statbar-v2-item + .statbar-v2-item::before { display: none; }

    .products-v2 { grid-template-columns: 1fr; }
    .tech-grid-v2 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .steps-v2-wrap { grid-template-columns: 1fr; gap: 28px; }
    .steps-v2-wrap::after { display: none; }
    .section-v2 { padding: 40px 0; }
}

@media (max-width: 400px) {
    .tech-grid-v2 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tech-item-v2 { padding: 20px 10px; }
    .hero-seal-ring .hero-seal-icon { width: 66px; height: 66px; }
    .hero-seal-label { font-size: 0.85rem; }
}


/* ============================================
   导航栏 v2 — 简化版（仅 Logo + 登录/注册）
   替代原 .topbar-nav / .topbar-toggle 逻辑
   ============================================ */

/* 桌面端：flex 自然撑开，Logo 左，按钮右 */
.topbar-v2 .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* 保留原有 topbar、brand、side 样式不变，
   以下仅覆盖可能冲突的项 */

/* 确保右侧按钮在移动端不换行 */
.topbar-v2 .topbar-side {
    flex-shrink: 0;
}

/* 微信内置浏览器适配：触摸友好 */
@media (max-width: 767px) {
    .topbar-v2 .topbar-brand span:last-child {
        /* 小屏隐藏文字，仅保留"证"印章 */
        display: none;
    }
    .topbar-v2 .topbar-side a {
        padding: 6px 12px;
        font-size: 13px;
    }
    .topbar-v2 .topbar-side .btn-register {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* 极小屏（微信浮窗等场景） */
@media (max-width: 360px) {
    .topbar-v2 .topbar-side {
        gap: 4px;
    }
    .topbar-v2 .topbar-side a {
        padding: 5px 10px;
        font-size: 12px;
    }
}


/* ============================================
   导航栏 — 移动端 + 微信适配
   ============================================ */

/* 品牌文字：桌面显示，手机隐藏 */
.brand-text {
    display: inline;
}

/* 确保按钮区域始终可见 */
.topbar .topbar-side {
    display: flex !important;
    flex-shrink: 0;
    gap: 6px;
}

/* 手机端 */
@media (max-width: 767px) {

    /* 容器不换行 */
    .topbar .container {
        flex-wrap: nowrap;
    }

    /* 登录按钮：窄边框描边 */
    .topbar-side .btn-login {
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
        min-height: 36px;
        display: flex;
        align-items: center;
    }

    /* 注册按钮：保持金色醒目 */
    .topbar-side .btn-register {
        padding: 6px 14px;
        font-size: 13px;
        white-space: nowrap;
        min-height: 36px;
        display: flex;
        align-items: center;
    }
}

/* 微信内置浏览器典型宽度 375px */
@media (max-width: 380px) {
    .topbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .topbar-side {
        gap: 4px;
    }

    .topbar-side .btn-login {
        padding: 5px 10px;
        font-size: 12px;
    }

    .topbar-side .btn-register {
        padding: 5px 10px;
        font-size: 12px;
    }

    .topbar-brand {
        font-size: 17px;
    }

    .brand-seal {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}


/* ===== 导航栏移动端修复：始终显示登录/注册 ===== */
@media (max-width: 768px) {
    .topbar-side {
        display: flex !important;
    }
    .topbar-toggle {
        display: none !important;
    }
}


/* ============================================
   用户中心通用卡片/列表/输入框 — 方案二统一
   影响范围：user/cert_list, order_list, messages,
            voucher_list, partner_apply
   ============================================ */

/* 所有用户区卡片 */
.page-body .card,
.page-body .cert-list-item,
.page-body .order-list-item,
.page-body .voucher-list-item,
.page-body .msg-list-item,
.page-body .apply-status-box,
.page-body .buy-card {
    border-radius: 10px !important;
}

/* 所有阴影统一 */
.page-body .cert-list-item,
.page-body .order-list-item,
.page-body .voucher-list-item,
.page-body .msg-list-item,
.page-body .apply-status-box {
    box-shadow: 0 2px 12px rgba(10,36,99,0.06) !important;
}

.page-body .cert-list-item:hover,
.page-body .order-list-item:hover,
.page-body .voucher-list-item:hover,
.page-body .msg-list-item:hover {
    box-shadow: 0 8px 32px rgba(10,36,99,0.10) !important;
    border-color: #0A2463 !important;
}

/* 用户区输入框 */
.page-body .form-control {
    border-radius: 8px !important;
    border: 1.5px solid #dce0e6 !important;
    font-size: 16px !important;
}

.page-body .form-control:focus {
    border-color: #0A2463 !important;
    box-shadow: 0 0 0 3px rgba(10,36,99,0.06) !important;
}

/* 筛选标签 */
.page-body .cert-filter-bar .filter-link,
.page-body .filter-link {
    border-radius: 8px !important;
}

/* 分页 */
.page-body .pagination a,
.page-body .pagination span {
    border-radius: 8px !important;
}

/* 标签 */
.page-body .tag {
    border-radius: 6px !important;
}

/* 购买卡片 */
.page-body .buy-card {
    box-shadow: 0 4px 20px rgba(10,36,99,0.08) !important;
    border-color: #0A2463 !important;
}

/* 消息详情 */
.page-body .voucher-detail-wrap,
.page-body .order-detail-wrap {
    border-radius: 0 0 10px 10px !important;
}

/* 微信适配：移动端列表项 */
@media (max-width: 767px) {
    .page-body .cert-list-item,
    .page-body .order-list-item,
    .page-body .voucher-list-item,
    .page-body .msg-list-item {
        border-radius: 8px !important;
    }
}


/* ============================================
   数据统计栏 — 移至流程区下方（取消负margin上浮）
   ============================================ */
.statbar-bottom {
    margin-top: 0;
    padding-bottom: 40px;
    background: #F5F7FA;
}

.statbar-bottom .statbar-v2 {
    box-shadow: 0 2px 16px rgba(10,36,99,0.06);
}


/* ============================================
   导航栏 v3 — PC导航居中 + 移动端折叠菜单
   ============================================ */

/* ===== 容器 ===== */
.topbar .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* ===== PC导航：居中显示 ===== */
.topbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 32px;
    margin: 0 auto;
}

.topbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
    position: relative;
    white-space: nowrap;
}

.topbar-nav .nav-link:hover {
    color: #D4AF37;
    text-decoration: none;
}

.topbar-nav .nav-link.active {
    color: #D4AF37;
}

.topbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: #D4AF37;
    border-radius: 1px;
}

/* 右侧按钮推到最右 */
.topbar-side {
    margin-left: auto !important;
    flex-shrink: 0;
}

/* 折叠按钮：PC 隐藏 */
.topbar-toggle {
    display: none !important;
}

/* ===== 移动端：折叠菜单 ===== */
@media (max-width: 768px) {
    .topbar .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .topbar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.20);
        border-radius: 6px;
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        flex-shrink: 0;
        margin-left: 8px;
        transition: background 0.2s;
    }

    .topbar-toggle:hover {
        background: rgba(255,255,255,0.14);
    }

    .topbar-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0A2463;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0;
        padding: 0 16px 12px;
        margin: 0;
        z-index: 100;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .topbar-nav.open {
        display: flex !important;
    }

    .topbar-nav .nav-link {
        width: 100%;
        font-size: 0.95rem;
        letter-spacing: 1px;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        min-height: 44px;
    }

    .topbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .topbar-nav .nav-link.active {
        color: #D4AF37;
        background: none;
    }

    .topbar-nav .nav-link.active::after {
        display: none;
    }

    .brand-text {
        font-size: 0.85rem;
    }

    .topbar-side .btn-login,
    .topbar-side .btn-register {
        font-size: 0.78rem !important;
        padding: 5px 10px !important;
        min-height: 32px;
        letter-spacing: 0;
    }
}

/* 微信极小屏 */
@media (max-width: 380px) {
    .topbar .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .topbar-toggle {
        width: 32px;
        height: 32px;
        margin-left: 4px;
    }

    .topbar-side .btn-login,
    .topbar-side .btn-register {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }

    .topbar-nav {
        padding: 0 8px 8px;
    }

    .topbar-nav .nav-link {
        font-size: 0.88rem;
        padding: 10px 4px;
    }
}


/* ============================================
   首页 — 证书准入（官方公告栏风格）
   ============================================ */
.cert-entrance-card {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d5d9e0;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 顶部红色标题栏 */
.cert-entrance-header {
    background: linear-gradient(180deg, #0A2463 0%, #061840 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    border-bottom: 2px solid #D4AF37;
}

/* 公章图标 */
.cert-entrance-seal {
    width: 48px;
    height: 48px;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #D4AF37;
    background: rgba(212,175,55,0.08);
    flex-shrink: 0;
    font-family: "SimSun","宋体",serif;
    position: relative;
}

.cert-entrance-seal::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.30);
}

.cert-entrance-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    margin: 0;
    font-family: "SimSun","宋体","Noto Serif SC",serif;
}

/* 正文区域 */
.cert-entrance-body {
    padding: 28px 32px;
}

.cert-entrance-body p {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 2;
    margin: 0;
    text-indent: 2em;
    font-family: "FangSong","仿宋","Noto Serif SC",serif;
    letter-spacing: 0.5px;
}

/* 底部链接 */
.cert-entrance-footer {
    padding: 0 32px 24px;
    text-align: right;
}

.cert-entrance-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    color: #0A2463;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.cert-entrance-link:hover {
    color: #D4AF37;
    text-decoration: none;
}

/* 移动端 */
@media (max-width: 767px) {
    .cert-entrance-header {
        padding: 18px 18px;
        gap: 10px;
    }
    .cert-entrance-seal {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .cert-entrance-header h2 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .cert-entrance-body {
        padding: 20px 18px;
    }
    .cert-entrance-body p {
        font-size: 0.84rem;
        text-indent: 2em;
    }
    .cert-entrance-footer {
        padding: 0 18px 18px;
    }
}


/* ===== 彻底清除 hero-seal 残留边框 ===== */
.hero-seal-ring,
.hero-seal-ring img {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}


/* ============================================
   产品卡片 — 费用公示栏
   ============================================ */
.product-card-v2-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #F8F9FB;
    border-top: 1px solid #eef0f3;
    margin: 0 20px 20px;
    border-radius: 6px;
}

.pricing-label {
    font-size: 0.72rem;
    color: #aaa;
    letter-spacing: 2px;
}

.pricing-value {
    font-size: 0.82rem;
    color: #555;
    font-weight: 600;
    letter-spacing: 0.5px;
}
