/* ========== 全局基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
}
a {
    text-decoration: none;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 顶部合规提示条 ========== */
.top-notice {
    background-color: #f0f2f5;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

/* ========== 头部导航 ========== */
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #165DFF;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-list a {
    font-size: 15px;
    transition: color 0.3s;
}
.nav-list a:hover,
.nav-list a.active {
    color: #165DFF;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
}

.header-phone:hover {
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 18px;
    color: #FF4757;
}

.phone-text {
    color: #FF4757;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

/* 移动端汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #165DFF;
    border-radius: 2px;
    transition: all 0.3s;
}
/* 激活状态：三条线变叉号 */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* ========== 首屏Banner ========== */
.banner {
    background: url("/template/pc/images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
}
.banner h1 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 600;
}
.banner p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}
.banner-btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: #fff;
    color: #165DFF;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}
.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========== 通用区块样式 ========== */
.section {
    padding: 60px 0;
    background-color: #fff;
}
.section-gray {
    background-color: #f5f7fa;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h3 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}
.section-title p {
    color: #666;
    font-size: 14px;
}

/* ========== 核心服务板块 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}
.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #165DFF;
}
.service-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
}
.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========== 入驻流程板块 ========== */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}
.step-num {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #165DFF;
    color: #fff;
    font-size: 20px;
    margin: 0 auto 16px;
}
.process-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.process-step p {
    font-size: 13px;
    color: #666;
}

/* ========== FAQ常见问题 ========== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: #165DFF;
}
.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    position: relative;
    padding-right: 30px;
}
.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #999;
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #165DFF;
}
.faq-answer {
    font-size: 14px;
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 10px;
}
.faq-tip {
    font-size: 12px;
    color: #999;
    margin-top: 16px;
    text-align: center;
}

/* ========== 资讯与指南双栏 ========== */
.news-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.news-block h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #165DFF;
    display: inline-block;
}
.news-item {
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
    height: 95px;
    box-sizing: border-box;
}
.news-item:last-child {
    border-bottom: none;
}
.news-title {
    font-size: 15px;
    margin-bottom: 6px;
    transition: color 0.3s;
}
.news-title:hover {
    color: #165DFF;
}
.news-meta {
    font-size: 12px;
    color: #999;
}
.more-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    color: #165DFF;
}

/* ========== 关于我们板块 ========== */
.about-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-contact {
    background-color: #f5f7fa;
    padding: 30px;
    border-radius: 8px;
}
.about-contact h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #222;
}
.about-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

/* ========== 咨询表单板块 ========== */
.form-section {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6efff 100%);
}
.form-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.form-left h3 {
    font-size: 28px;
    color: #222;
    margin-bottom: 16px;
}
.form-left p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}
.form-left ul {
    list-style: none;
    margin-top: 20px;
}
.form-left li {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}
.form-left li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #165DFF;
    font-weight: bold;
}

.form-box {
    background-color: #fff;
    padding: 36px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(22, 93, 255, 0.1);
}
.form-item {
    margin-bottom: 18px;
}
.form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.form-item input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.form-item input:focus {
    border-color: #165DFF;
}
.form-tip {
    font-size: 12px;
    color: #f56c6c;
    margin-top: 4px;
    display: none;
}
.form-item.error .form-tip {
    display: block;
}
.form-item.error input {
    border-color: #f56c6c;
}

.form-agree {
    font-size: 12px;
    color: #666;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.form-agree input {
    margin-top: 2px;
}
.form-agree a {
    color: #165DFF;
}

.submit-btn {
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background-color: #165DFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: #0E42B3;
}
.submit-btn:disabled {
    background-color: #a0cfff;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 30px 0;
    display: none;
}
.form-success .success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #67c23a;
    color: #fff;
    font-size: 30px;
    margin: 0 auto 16px;
}
.form-success h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 8px;
}
.form-success p {
    font-size: 14px;
    color: #666;
}

/* ========== 页脚 ========== */
footer {
    background-color: #2c3e50;
    color: #b0b8c1;
    padding: 50px 0 20px;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer-col p {
    line-height: 1.8;
    margin-bottom: 10px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #b0b8c1;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #fff;
}
.friend-links {
    padding-top: 20px;
    border-top: 1px solid #3d4f63;
    margin-bottom: 20px;
}
.friend-links h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}
.friend-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.friend-links a {
    color: #b0b8c1;
    font-size: 13px;
    transition: color 0.3s;
}
.friend-links a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #3d4f63;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #b0b8c1;
}
.footer-bottom a {
    color: #b0b8c1;
}

/* ========== 内页通用样式 ========== */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}
.page-content h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}
.page-content h3 {
    font-size: 20px;
    color: #222;
    margin: 30px 0 15px;
}
.page-content p {
    margin-bottom: 12px;
    font-size: 15px;
}
.page-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}
.page-content li {
    margin-bottom: 8px;
}

/* ========== 文章/资讯列表 ========== */
.article-list, .news-list {
    max-width: 900px;
    margin: 0 auto;
}
.article-item, .news-item {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}
.article-item:last-child, .news-item:last-child {
    border-bottom: none;
}
.article-item h3, .news-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 500;
}
.article-item h3 a, .news-item h3 a {
    color: #222;
    transition: color 0.3s;
}
.article-item h3 a:hover, .news-item h3 a:hover {
    color: #165DFF;
}
.article-meta, .news-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* ========== 分页 ========== */
.pagination {
    text-align: center;
    margin-top: 40px;
}
.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination li {
    display: inline-block;
    padding: 0;
    margin: 0 4px;
}
.pagination li a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}
.pagination li a:hover,
.pagination li.active a {
    background-color: #165DFF;
    border-color: #165DFF;
    color: #fff;
}

/* ========== 服务详情页 ========== */
.service-detail-item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
}
.service-detail-item h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 12px;
}
.service-detail-item h4 {
    font-size: 16px;
    color: #333;
    margin: 16px 0 10px;
}
.service-detail-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}
.service-detail-item ul {
    margin-left: 20px;
    color: #666;
}
.service-detail-item li {
    margin-bottom: 6px;
    line-height: 1.7;
}

/* ========== FAQ分类 ========== */
.faq-category {
    margin-bottom: 40px;
}
.faq-category h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #165DFF;
}

/* ========== 数据展示 ========== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.data-item {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
}
.data-num {
    font-size: 36px;
    font-weight: bold;
    color: #165DFF;
    margin-bottom: 8px;
}
.data-text {
    font-size: 14px;
    color: #666;
}

/* ========== 联系我们页 ========== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 24px;
}
.contact-item {
    margin-bottom: 24px;
}
.contact-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}
.contact-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ========== 文章详情页 ========== */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #165DFF;
}

.article-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

/* 主内容区 */
.article-main {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}
.article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.article-header h1 {
    font-size: 26px;
    color: #222;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
}
.article-meta {
    font-size: 12px;
    color: #999;
}
.article-meta span {
    margin-right: 16px;
}
.article-meta a {
    color: #165DFF;
}

.article-content {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}
.article-content p {
    margin-bottom: 16px;
}
.article-content h3 {
    font-size: 20px;
    color: #222;
    margin: 30px 0 14px;
    font-weight: 600;
}
.article-content h4 {
    font-size: 17px;
    color: #333;
    margin: 24px 0 12px;
    font-weight: 600;
}
.article-content ul,
.article-content ol {
    margin: 0 0 16px 24px;
}
.article-content li {
    margin-bottom: 8px;
}
.article-content strong {
    color: #222;
}

.article-tip {
    background-color: #f0f7ff;
    border-left: 4px solid #165DFF;
    padding: 14px 18px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #555;
}

.article-copyright {
    margin-top: 40px;
    padding: 16px 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* 上一篇下一篇 */
.article-prenext {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.article-prenext .prenext-item {
    margin-bottom: 15px;
}
.article-prenext .prenext-item:last-child {
    margin-bottom: 0;
}
.article-prenext span:first-child {
    color: #999;
    font-size: 14px;
}
.article-prenext a {
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
}

.related-article {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.related-article h4 {
    font-size: 18px;
    color: #222;
    margin-bottom: 16px;
}
.related-article ul {
    list-style: none;
    margin: 0;
}
.related-article li {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}
.related-article li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #165DFF;
}
.related-article a {
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
}
.related-article a:hover {
    color: #165DFF;
}

/* 侧边栏 */
.sidebar-box {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}
.sidebar-box h4 {
    font-size: 17px;
    color: #222;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #165DFF;
    display: inline-block;
}
.hot-list {
    list-style: none;
    margin: 0;
    counter-reset: hot;
}
.hot-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}
.hot-list li::before {
    counter-increment: hot;
    content: counter(hot);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #e8e8e8;
    color: #999;
    font-size: 12px;
    border-radius: 2px;
}
.hot-list li:nth-child(1)::before,
.hot-list li:nth-child(2)::before,
.hot-list li:nth-child(3)::before {
    background-color: #165DFF;
    color: #fff;
}
.hot-list a {
    font-size: 14px;
    color: #555;
    transition: color 0.3s;
}
.hot-list a:hover {
    color: #165DFF;
}

.sidebar-consult {
    background: linear-gradient(135deg, #165DFF 0%, #0E42B3 100%);
    color: #fff;
    text-align: center;
}
.sidebar-consult h4 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}
.sidebar-consult p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.6;
}
.sidebar-btn {
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    color: #165DFF;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========== 统一响应式断点 ========== */
/* 第一档：平板/小屏电脑 992px */
@media (max-width: 992px) {
    /* 网格布局：四列变两列、多栏变单栏 */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-wrap,
    .about-wrap,
    .footer-grid,
    .article-wrap {
        grid-template-columns: 1fr;
    }

    /* 导航与标题适配 */
    .nav-list {
        gap: 16px;
    }
    .header-phone {
        padding: 8px 15px;
    }
    .phone-text {
        font-size: 14px;
    }
    .banner h1 {
        font-size: 28px;
    }

    /* 侧边栏移到内容上方 */
    .article-sidebar {
        order: -1;
    }
}

/* 第二档：大手机/平板竖屏 768px */
@media (max-width: 768px) {
    /* 双栏布局全部变单列 */
    .form-wrap,
    .contact-wrap,
    .data-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 第三档：普通手机 576px */
@media (max-width: 576px) {
    /* 隐藏电话按钮 */
    .header-phone {
        display: none;
    }
    /* 移动端导航菜单 */
    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }
    .nav-list.active {
        display: flex;
    }
    .nav-list li {
        width: 100%;
    }
    .nav-list a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .menu-toggle {
        display: flex;
    }

    /* 流程步骤纵向排列 */
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    /* 网格全部变单列 */
    .service-grid,
    .data-grid {
        grid-template-columns: 1fr;
    }

    /* Banner 压缩 */
    .banner {
        padding: 50px 0;
    }
    .banner h1 {
        font-size: 24px;
    }

    /* 文章详情内边距、字号压缩 */
    .article-main {
        padding: 20px;
    }
    .article-header h1 {
        font-size: 20px;
    }

    /* 内页大标题字号缩小 */
    .page-content h1 {
        font-size: 22px;
    }
}