/* ================= 全局样式 ================= */
:root{
    --c: #1E4050;
    --bgc: #efeff4;
    --hc: #fe5729;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; background: #f4f6f9; color: #3d4d61; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
ul { list-style: none; }

/* ================= 核心修复：绝对固定吸顶导航且不出圈 ================= */
.header-bar { 
    background: #1b3350; 
    position: fixed; /* 改为绝对固定 */
    top: 0; 
    left: 0;
    width: 100%; /* 宽度占满，但里面限制了1200，所以不出圈 */
    z-index: 10000; /* 确保在最顶层 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    height: 70px; /* 固定高度 */
}
.header-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    height: 100%;
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.header-logo { color: #fff; font-size: 22px; font-weight: bold;  }
.header-logo h1{font-size: 20px;}
.header-logo span { color: #e0a53c; font-size: 14px; margin-left: 12px; font-weight: normal; border-left: 1px solid #5a6b80; padding-left: 12px; }
.header-logo p{
    font-size: 12px;
    color: #e0a53c;
}
.header-tel { color: #e0a53c; font-size: 20px; font-weight: bold; display: flex; align-items: center; gap: 8px; }

/* 因为头部 fixed，给下方留出 70px 的位置 */
.banner { 
    margin-top: 70px; /* 占据头部高度 */
    background: linear-gradient(135deg, #0a192f, #1b3350); 
    color: #fff; text-align: center; padding: 60px 20px; position: relative; overflow: hidden; 
}
.banner h1 { font-size: 42px; margin-bottom: 15px; letter-spacing: 2px; line-height: 1.3; font-weight: 900; }
.banner h1 span { color: #e0a53c; }
.banner p { font-size: 16px; color: #c3d0e0; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.banner-btn { display: inline-block; background: #e0a53c; color: #1b3350; padding: 15px 45px; font-size: 20px; font-weight: bold; border-radius: 8px; transition: 0.3s; box-shadow: 0 4px 15px rgba(224,165,60,0.4); }
.banner-btn:hover { background: #f0b84d; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(224,165,60,0.5); }

/* 通用容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }
.bg-white { background: #fff; }
.section-title { text-align: center; font-size: 30px; color: #c0392b; font-weight: 900; margin-bottom: 10px; letter-spacing: 1px; }
.section-desc { text-align: center; font-size: 15px; color: #8393a6; margin-bottom: 40px; }

/* 核心优势网格 */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { background: #fff; padding: 25px 20px; border-radius: 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border-top: 4px solid #1b3350; transition: 0.3s; }
.feature-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.feature-icon { font-size: 32px; margin-bottom: 10px; color: #1b3350; }
.feature-item h3 { color: #1b3350; font-size: 18px; margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: #5a6b80; }

/* 品牌矩阵 */
.auth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.auth-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; padding: 25px 20px; text-align: center; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.auth-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(28,51,80,0.1); }
.auth-card.top { border: 2px solid #e0a53c; background: linear-gradient(to bottom, #fffdfa, #fff); }
.auth-card.top::before { content: "👑 顶级旗舰"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #c0392b; color: #fff; padding: 2px 15px; border-radius: 20px; font-size: 12px; font-weight: bold; white-space: nowrap; }
.auth-card h3 { font-size: 24px; color: #1b3350; margin-bottom: 5px; font-weight: 900; }
.auth-card.top h3 { color: #c0392b; }
.auth-card .tag { font-size: 12px; color: #8393a6; margin-bottom: 15px; display: block; }
.auth-card .money { font-size: 20px; color: #e0a53c; font-weight: bold; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; padding: 12px 0; margin-bottom: 15px; }
.auth-card .money span { font-size: 13px; color: #666; display: block; margin-top: 3px; font-weight: normal; }
.auth-card ul { text-align: left; font-size: 13px; margin-bottom: 20px; flex-grow: 1; padding: 0; }
.auth-card ul li { margin-bottom: 8px; color: #3d4d61; }
.auth-card ul li i { color: #27ae60; margin-right: 6px; font-size: 12px; }
.auth-btn { display: block; width: 100%; padding: 10px 0; background: #f4f6f9; color: #1b3350; font-weight: bold; border-radius: 6px; border: 1px solid #dce3ed; transition: 0.2s; cursor: pointer; font-size: 14px; }
.auth-btn:hover { background: #1b3350; color: #fff; }
.auth-card.top .auth-btn { background: #e0a53c; color: #1b3350; border: none; }
.auth-card.top .auth-btn:hover { background: #c99334; }

/* 表格通用 */
table { width: 100%; border-collapse: collapse; background: #fff; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-radius: 10px; overflow: hidden; }
th { background: #1b3350; color: #fff; padding: 15px; font-size: 15px; }
td { padding: 15px; border-bottom: 1px solid #eee; font-size: 14px; }
tr:last-child td { border-bottom: none; }

/* 警示与分流区 */
.notice-box { background: #fff8e8; border: 2px dashed #e0a53c; border-radius: 10px; padding: 30px; box-shadow: 0 10px 30px rgba(224,165,60,0.1); margin-bottom: 25px;}
.notice-box h2 { text-align: center; color: #c0392b; font-size: 24px; font-weight: 900; margin-bottom: 15px; }
.notice-box p { font-size: 14px; color: #3d4d61; line-height: 1.8; margin-bottom: 10px; }

.branch-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.branch-item { background: #fff; padding: 25px; border-radius: 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-top: 5px solid #1b3350; }
.branch-item.ad { border-top-color: #c0392b; }
.branch-item h3 { font-size: 20px; margin-bottom: 10px; color: #1b3350; }
.branch-item.ad h3 { color: #c0392b; }
.branch-item p { font-size: 14px; color: #5a6b80; margin-bottom: 15px; }
.branch-btn { display: inline-block; padding: 10px 25px; border-radius: 6px; font-weight: bold; transition: 0.2s; font-size: 14px; cursor: pointer; border: none; }
.branch-item .branch-btn { background: #1b3350; color: #fff; }
.branch-item.ad .branch-btn { background: #c0392b; color: #fff; }
.branch-item .branch-btn:hover, .branch-item.ad .branch-btn:hover { opacity: 0.8; }

/* 保障承诺 */
.promise-box { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-left: 6px solid #27ae60; margin-bottom: 30px;}
.promise-box h3 { color: #1b3350; font-size: 22px; margin-bottom: 15px; font-weight: bold;}
.promise-box ul { padding-left: 20px; }
.promise-box li { font-size: 15px; color: #5a6b80; margin-bottom: 10px; }
.promise-box b { color: #27ae60; }

.finance-box { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-left: 6px solid #c0392b; }
.finance-box h3 { color: #c0392b; font-size: 22px; margin-bottom: 15px; font-weight: bold;}
.finance-box p { font-size: 14px; color: #5a6b80; margin-bottom: 10px; }

/*验证页面*/

 /* 核心查询区 */
    .hero { 
        margin-top: 70px;
        background: linear-gradient(135deg, #0a192f, #1b3350); 
        color: #fff; text-align: center; padding: 50px 20px; 
    }
    .hero h2 { font-size: 32px; margin-bottom: 10px; letter-spacing: 2px; }
    .hero p { font-size: 15px; color: #c3d0e0; margin-bottom: 20px; }

    .search-container { max-width: 700px; margin: 0 auto; display: flex; gap: 10px; }
    .search-input { flex: 1; padding: 15px 20px; font-size: 16px; border: 2px solid #e0a53c; border-radius: 8px; outline: none; }
    .search-btn { background: #e0a53c; color: #1b3350; font-size: 18px; font-weight: bold; padding: 0 35px; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s; white-space: nowrap; }
    .search-btn:hover { background: #f0b84d; }

    /* 演示提示 */
    .demo-tip { font-size: 13px; color: #8393a6; margin-top: 15px; background: rgba(255,255,255,0.1); display: inline-block; padding: 6px 15px; border-radius: 20px; }
    .demo-tip span { color: #e0a53c; font-weight: bold; cursor: pointer; text-decoration: underline; }

    /* 查询结果展示区 */
    .result-box { max-width: 800px; margin: -20px auto 40px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 30px; display: none; position: relative; z-index: 10;}
    
    .result-success { border-left: 6px solid #27ae60; background: #f1f8f2; padding: 25px; border-radius: 8px; }
    .result-success h3 { color: #27ae60; font-size: 20px; margin-bottom: 15px; }
    
    .result-empty { border-left: 6px solid #e0a53c; background: #fff8e8; padding: 25px; border-radius: 8px; }
    .result-empty h3 { color: #c0392b; font-size: 20px; margin-bottom: 10px; }
    .result-empty p { font-size: 15px; color: #6b5320; margin-bottom: 15px; }
    
    .action-btn { display: inline-block; background: #c0392b; color: #fff; padding: 12px 25px; border-radius: 6px; font-weight: bold; text-decoration: none; transition: 0.2s; font-size: 16px; margin-right: 10px; margin-bottom: 10px;}
    .action-btn:hover { background: #e74c3c; transform: translateY(-2px); }

    .res-badge { display: inline-block; background: #27ae60; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 13px; margin-bottom: 15px; }
    .res-grid { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
    .res-label { color: #8393a6; }
    .res-value { color: #1b3350; font-weight: bold; }
    
    .phone-highlight { color: #c0392b; font-size: 22px; font-weight: bold; letter-spacing: 0.5px; }

    /* 代理商展示墙 */
    .wall-section { margin: 50px auto 50px; padding: 0 20px; }
    .section-title { text-align: center; font-size: 28px; color: #1b3350; margin-bottom: 25px; font-weight: bold; }
    .agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .agent-card { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #e6ebf2; text-align: center; transition: 0.3s; }
    .agent-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); border-color: #e0a53c; }
    .agent-city { font-size: 18px; color: #1b3350; font-weight: bold; margin-bottom: 5px; }
    .agent-brand { font-size: 14px; color: #e0a53c; margin-bottom: 10px; font-weight: bold; }
    .agent-code { font-size: 12px; color: #999; background: #f4f6f9; padding: 3px 8px; border-radius: 4px; display: inline-block; }
    
    /* 分页控件 */
    .pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 30px; }
    .page-btn { padding: 8px 16px; border: 1px solid #dce3ed; background: #fff; border-radius: 6px; cursor: pointer; transition: 0.2s; font-weight: bold; color: #1b3350; }
    .page-btn:hover { background: #1b3350; color: #fff; }

    /* 底部战报与CTA */
    .bottom-cta { background: #1b3350; padding: 50px 20px; text-align: center; color: #fff; position: relative; overflow: hidden; }
    .bottom-cta h3{color: #e0a53c; margin-bottom: 30px; font-size: 28px;}
    .war-report-box { max-width: 600px; margin: 0 auto 30px; background: rgba(255,255,255,0.1); border: 1px solid rgba(224,165,60,0.3); border-radius: 8px; height: 120px; overflow: hidden; position: relative; }
    .war-report-list { list-style: none; animation: scrollUp 12s linear infinite; padding: 0; margin: 0; }
    .war-report-list li { padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 14px; color: #e0a53c; }
    .war-report-list span { color: #fff; margin-right: 10px; font-weight: bold; }
    .war-report-list b { color: #27ae60; margin-left: 10px; }
    @keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
    
    .cta-btn { display: inline-block; background: #e0a53c; color: #1b3350; padding: 15px 50px; font-size: 20px; font-weight: bold; border-radius: 8px; transition: 0.3s; box-shadow: 0 4px 15px rgba(224,165,60,0.4); }
    .cta-btn:hover { background: #f0b84d; transform: translateY(-3px); }

    /* ================= 左侧悬浮：签约战报 ================= */
    .join-board { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); width: 220px; z-index: 9990; background: #fff; border: 1px solid #e2e7ee; border-radius: 8px; box-shadow: 0 8px 28px rgba(28,51,80,.14); box-sizing: border-box; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
    .join-title { position: relative; height: 34px; line-height: 34px; padding: 0 12px; font-size: 13px; letter-spacing: 1px; color: #fff; background: linear-gradient(135deg, #c0392b, #e74c3c); border-radius: 7px 7px 0 0;}
    .join-title i { display: inline-block; width: 4px; height: 13px; margin-right: 7px; background: #fff; border-radius: 2px; vertical-align: -1px; }
    .join-close { position: absolute; right: 8px; top: 0; width: 22px; height: 34px; line-height: 34px; text-align: center; font-size: 16px; color: #ffd2d2; cursor: pointer; }
    .join-pic { display: block; width: 100%; height: 80px; background: #1b3350; padding: 12px; text-align: center; }
    .join-pic h4 { color: #e0a53c; font-size: 15px; margin: 0 0 3px; font-weight: bold; }
    .join-pic p { color: #c3d0e0; font-size: 12px; margin: 0; }
    .join-list { margin: 6px 0 0; padding: 0; list-style: none; }
    .join-list li { margin: 0 10px; border-bottom: 1px dashed #f4f6f9; }
    .join-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; color: #3d4d61; text-decoration: none; }
    .join-list .city { font-weight: bold; color: #1b3350; }
    .join-list .brand { font-size: 11px; color: #c0392b; background: #fdf1f1; padding: 2px 6px; border-radius: 4px; }
    .join-btn { display: flex; align-items: center; justify-content: center; margin: 8px 10px 10px; height: 32px; border-radius: 4px; background: linear-gradient(180deg, #e0a53c, #c99334); color: #1b3350; font-size: 13px; font-weight: bold; text-decoration: none; }
    
    .join-mini { display: none; position: fixed; left: 0; top: 50%; transform: translateY(-50%); width: 26px; padding: 15px 0; z-index: 9990; writing-mode: vertical-rl; background: linear-gradient(135deg, #c0392b, #e74c3c); color: #fff; font-size: 13px; text-align: center; letter-spacing: 2px; border-radius: 0 6px 6px 0; text-decoration: none; box-shadow: 2px 4px 14px rgba(192,57,43,0.3); cursor: pointer; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }

    /*验证结束*/

/* 底部 */
.footer { background: #0a192f; color: #8393a6; text-align: center; padding: 30px 20px; font-size: 13px; }

/* ================= 左侧：全国签约战报 ================= */
.join-board { position: fixed; left: 12px; top: 50%; transform: translateY(-50%); width: 220px; z-index: 9990; background: #fff; border: 1px solid #e2e7ee; border-radius: 8px; box-shadow: 0 8px 28px rgba(28,51,80,.14); box-sizing: border-box; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
.join-title { position: relative; height: 34px; line-height: 34px; padding: 0 12px; font-size: 13px; letter-spacing: 1px; color: #fff; background: linear-gradient(135deg, #c0392b, #e74c3c); border-radius: 7px 7px 0 0;}
.join-title i { display: inline-block; width: 4px; height: 13px; margin-right: 7px; background: #fff; border-radius: 2px; vertical-align: -1px; }
.join-close { position: absolute; right: 8px; top: 0; width: 22px; height: 34px; line-height: 34px; text-align: center; font-size: 16px; color: #ffd2d2; cursor: pointer; }
.join-pic { display: block; width: 100%; height: 90px; background: #1b3350; padding: 15px; text-align: center; }
.join-pic h4 { color: #e0a53c; font-size: 16px; margin: 0 0 5px; font-weight: bold; }
.join-pic p { color: #c3d0e0; font-size: 12px; margin: 0; }
.join-list { margin: 6px 0 0; padding: 0; list-style: none; }
.join-list li { margin: 0 10px; border-bottom: 1px dashed #f4f6f9; }
.join-list li:last-child { border-bottom: 0; }
.join-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; color: #3d4d61; text-decoration: none; }
.join-list .city { font-weight: bold; color: #1b3350; }
.join-list .brand { font-size: 11px; color: #c0392b; background: #fdf1f1; padding: 2px 6px; border-radius: 4px; }
.join-btn { display: flex; align-items: center; justify-content: center; margin: 8px 10px 10px; height: 34px; border-radius: 4px; background: linear-gradient(180deg, #e0a53c, #c99334); color: #1b3350; font-size: 13px; font-weight: bold; text-decoration: none; transition: all .2s; }

/* 收起后的小标签 */
.join-mini { display: none; position: fixed; left: 0; top: 50%; transform: translateY(-50%); width: 26px; padding: 15px 0; z-index: 9990; writing-mode: vertical-rl; background: linear-gradient(135deg, #c0392b, #e74c3c); color: #fff; font-size: 13px; text-align: center; letter-spacing: 2px; border-radius: 0 6px 6px 0; text-decoration: none; box-shadow: 2px 4px 14px rgba(192,57,43,0.3); cursor: pointer; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }

/* ================= 弹窗样式 ================= */
.modal-mask { display: none; position: fixed; inset: 0; background: rgba(10,25,47,0.65); z-index: 20000; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.show { display: flex; }
.modal-box { background: #fff; border-radius: 14px; padding: 30px 28px; max-width: 380px; width: 100%; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: popIn .25s ease; }
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 24px; color: #b0b8c4; cursor: pointer; line-height: 1; transition: color .2s; }
.modal-close:hover { color: #c0392b; }
.modal-box h3 { color: #1b3350; font-size: 20px; margin-bottom: 8px; font-weight: 900; }
.modal-box .sub { font-size: 13px; color: #8393a6; margin-bottom: 18px; }
.modal-qr { width: 220px; height: 220px; margin: 0 auto 15px; border: 1px solid #e6ebf2; border-radius: 10px; background: #f4f6f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modal-box .tip { font-size: 14px; color: #5a6b80; margin-bottom: 6px; }
.modal-box .tip b { color: #c0392b; }
.modal-box .tel-big { font-size: 26px; font-weight: 900; color: #1b3350; letter-spacing: 1px; margin: 6px 0 14px; }
.modal-box .tel-big i { color: #e0a53c; margin-right: 6px; font-size: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.modal-actions a, .modal-actions button { flex: 1; padding: 10px 0; border-radius: 8px; font-size: 14px; font-weight: bold; cursor: pointer; border: none; transition: 0.2s; text-align: center; }
.modal-actions .m-primary { background: #c0392b; color: #fff; }
.modal-actions .m-primary:hover { background: #a93226; }
.modal-actions .m-ghost { background: #f4f6f9; color: #1b3350; border: 1px solid #dce3ed; }
.modal-actions .m-ghost:hover { background: #e6ebf2; }

/* 响应式 */
@media (max-width: 1439px) {
    .join-board, .join-mini { display: none !important; }
}
@media (max-width: 1024px) {
    .features-grid, .auth-grid { grid-template-columns: repeat(2, 1fr); }

    .header-tel .text{display: flex;flex-direction: column;align-items: flex-end;line-height: 1.4;}
    .header-tel .text .t1{color: #fff;}
    .header-tel i{display: none;}
}
@media (max-width: 768px) {
    .header-bar { height: 70px; } /* 手机端导航变高 */
    .header-inner { justify-content: space-between; gap: 5px; padding: 5px 15px; }
    .header-logo{font-size: 20px;}
    .header-logo span { display: none; } /* 手机端隐藏副标题省空间 */
    .header-tel { font-size: 16px; }
    .header-tel .text .t1{font-size: 14px;}
    .banner { margin-top: 90px; padding: 40px 20px; }
    
    .features-grid, .auth-grid{ grid-template-columns: repeat(2, 1fr); }
    .branch-box { grid-template-columns: 1fr;}
    .banner h1 { font-size: 22px; }
    .hero h2{font-size: 22px;}
    .hero p{font-size: 13px;}
    .search-input{padding: 10px;font-size: 14px;}
    .banner-btn{padding: 10px 30px;font-size: 16px;}
    .banner p{font-size: 14px;}
    table { display: block; overflow-x: auto; }

    .search-container { flex-direction: column; }
    .search-btn { padding: 12px 0; font-size: 16px;}
    .agent-grid { grid-template-columns: repeat(2, 1fr); }
    .res-grid { grid-template-columns: 1fr; gap: 5px; }

    .wall-section{margin: 25px auto;}

    .header-logo h1{font-size: 14px;}
    .header-logo p{font-size: 11px;color: #d6d6d6;}

    .section-title,.bottom-cta h3{font-size: 20px;}
    .bottom-cta{padding: 25px 20px;}
    .cta-btn{font-size: 18px;}
}

@media (max-width: 480px) {
    /*.agent-grid { grid-template-columns: 1fr; }*/
}