/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 600; color: #1a1a1a; }

/* ========== 通用容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    margin-bottom: 12px;
}
.section-title p {
    color: #666;
    font-size: 16px;
}
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #165DFF;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background .3s;
}
.btn:hover { background: #0E42CC; }
.btn-outline {
    background: transparent;
    border: 1px solid #165DFF;
    color: #165DFF;
}
.btn-outline:hover {
    background: #165DFF;
    color: #fff;
}

/* ========== 头部导航 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #165DFF;
}
.nav-list {
    display: flex;
    gap: 36px;
}
.nav-list a {
    font-size: 16px;
    color: #333;
    transition: color .3s;
}
.nav-list a:hover,
.nav-list a.active {
    color: #165DFF;
}
.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ========== Banner轮播 ========== */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #fff;
}
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #165DFF 0%, #0E2C7A 100%);
    opacity: 0;
    transition: opacity .8s;
}
.banner-slide.active { opacity: 1; }
.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.banner h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 16px;
}
.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: .9;
}
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.banner-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}
.banner-dots span.active { background: #fff; }

/* ========== 痛点板块 ========== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.pain-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid #165DFF;
}
.pain-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #d93025;
}
.pain-card .solution {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
    color: #165DFF;
    font-weight: 500;
}

/* ========== 优势板块 ========== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    transition: all .3s;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(22,93,255,.1);
    border-color: #165DFF;
}
.advantage-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #165DFF;
}
.advantage-card p {
    font-size: 14px;
    color: #666;
    text-align: left;
}

/* ========== 服务流程 ========== */
.process-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.process-item {
    flex: 1;
    text-align: center;
    position: relative;
}
.process-item .step-num {
    width: 50px; height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #165DFF;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 15px;
}
.process-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.process-item p {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}
.process-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    right: -30%;
    width: 60%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

/* ========== 售后保障 ========== */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.guarantee-item {
    padding: 25px;
    background: #f0f7ff;
    border-radius: 8px;
    text-align: center;
}
.guarantee-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #165DFF;
}
.guarantee-item p {
    font-size: 14px;
    color: #555;
}

/* ========== 服务项目卡片 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    overflow: hidden;
    transition: all .3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.service-card-body {
    padding: 24px;
}
.service-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    min-height: 60px;
}
.service-card .more {
    color: #165DFF;
    font-size: 14px;
}

/* ========== 案例卡片 ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf2;
}
.case-card-body {
    padding: 20px;
}
.case-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}
.case-card .tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e8f0ff;
    color: #165DFF;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.case-card p {
    font-size: 14px;
    color: #666;
}

/* ========== CTA区块 ========== */
.cta-section {
    background: linear-gradient(135deg, #165DFF 0%, #0E2C7A 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.cta-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}
.cta-section p {
    margin-bottom: 25px;
    opacity: .9;
}
.cta-section .btn {
    background: #fff;
    color: #165DFF;
    font-weight: 600;
}

/* ========== 服务详情页 ========== */
.service-detail-item {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}
.service-detail-item:last-child { border-bottom: none; }
.service-detail-item h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #165DFF;
}
.service-detail-item h3 {
    font-size: 18px;
    margin: 15px 0 8px;
}
.service-detail-item p {
    margin-bottom: 10px;
    color: #555;
}

/* ========== 案例详情页 ========== */
.case-detail-item {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}
.case-detail-item h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #165DFF;
}
.case-detail-item h4 {
    font-size: 17px;
    margin: 20px 0 10px;
    color: #165DFF;
}
.case-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
}
.case-data div {
    text-align: center;
}
.case-data .num {
    font-size: 24px;
    font-weight: 700;
    color: #165DFF;
}
.case-data .label {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* ========== 关于我们 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-intro h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.about-intro p {
    color: #555;
    margin-bottom: 15px;
}
.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.culture-item {
    padding: 30px;
    background: #f8fafc;
    border-radius: 8px;
}
.culture-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #165DFF;
}
.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.brand-list span {
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

/* ========== 联系我们 + 表单 ========== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}
.contact-info-item {
    margin-bottom: 20px;
}
.contact-info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #165DFF;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #e8ecf2;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    background: #f8fafc;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
    color: #666;
}
.faq-item.open .faq-answer {
    padding: 15px 20px;
    max-height: 300px;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a2332;
    color: #aab2bd;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
}
.footer li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer a:hover { color: #fff; }
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    font-size: 13px;
}

/* ========== 面包屑 ========== */
.breadcrumb {
    background: #f5f7fa;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}
.breadcrumb a:hover { color: #165DFF; }

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .advantage-grid, .service-grid, .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .pain-grid { grid-template-columns: 1fr; }
    .process-wrap { flex-wrap: wrap; gap: 30px; }
    .process-item { flex: 0 0 50%; }
    .process-item:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro, .contact-wrap { grid-template-columns: 1fr; }
    .case-data { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 70px; left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,.05);
    }
    .nav-list.open { display: flex; }
    .nav-toggle { display: block; }
    .banner h1 { font-size: 28px; }
    .banner { height: 380px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 24px; }
    .advantage-grid, .service-grid, .case-grid, .guarantee-grid { grid-template-columns: 1fr; }
    .process-item { flex: 0 0 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .culture-grid { grid-template-columns: 1fr; }
}

/* ========== 微信悬浮弹窗 ========== */
.wechat-float {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 62px;
    height: 62px;
    background: #165DFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 93, 255, 0.35);
    z-index: 998;
    transition: all .3s ease;
    user-select: none;
}
.wechat-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.45);
}

.wechat-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.wechat-modal.show {
    display: block;
}
.wechat-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.wechat-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 32px 26px 24px;
    width: 320px;
    text-align: center;
    animation: modalFadeIn .3s ease;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.wechat-close {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 26px;
    color: #bbb;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}
.wechat-close:hover {
    color: #333;
}
.wechat-modal-box h4 {
    font-size: 19px;
    margin-bottom: 20px;
    color: #165DFF;
    font-weight: 600;
}
.wechat-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
}
.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wechat-modal-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}
.wechat-id {
    color: #165DFF;
    font-weight: 500;
    margin-top: 10px;
    font-size: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .wechat-float {
        width: 52px;
        height: 52px;
        font-size: 12px;
        right: 14px;
        bottom: 65px;
    }
    .wechat-modal-box {
        width: 280px;
        padding: 26px 20px 20px;
    }
    .wechat-qrcode {
        width: 180px;
        height: 180px;
    }
}

/* ========== 移动端一键拨号悬浮按钮 ========== */
.phone-float {
    position: fixed;
    right: 20px;
    bottom: 155px;
    width: 52px;
    height: 52px;
    background: #07C160;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(7, 193, 96, 0.35);
    z-index: 998;
    transition: all .3s ease;
    user-select: none;
}
.phone-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.45);
}

/* 移动端显示 */
@media (max-width: 768px) {
    .phone-float {
        display: flex;
        right: 14px;
        bottom: 130px;
    }
}
