* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
    font-size: 20px;
}

.nav-phone .phone-icon {
    font-size: 24px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 180px 0 120px;
    text-align: center;
    margin-top: 70px;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 24px;
    opacity: 0.9;
}

/* 板块通用样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* 板块1 */
.section-1 {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.feature-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-item .feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 5px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #333;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* 板块2 */
.section-2 {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* 主流地图全覆盖样式 */
.section-2 .service-item {
    background: transparent;
    color: #333;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-2 .service-item:hover {
    transform: translateY(-5px);
}

.section-2 .service-item .map-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.section-2 .service-item:hover .map-icon {
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.6), 0 8px 20px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.section-2 .service-item h4 {
    font-size: 14px;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.section-2 .service-item p {
    display: none;
}

/* 标注类型样式 */
.section-3 .service-item {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-3 .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5), 0 10px 30px rgba(0,0,0,0.15);
}

.section-3 .service-item .map-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.section-3 .service-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.section-3 .service-item p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-center {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.btn-small {
    padding: 12px 30px;
    font-size: 14px;
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white-banner {
    background: #fff;
    color: #667eea;
}

.btn-white-banner:hover {
    background: #f0f0f0;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* 板块3 */
.section-3 {
    background: #f8fafc;
}

/* 板块4 */
.section-4 {
    background: #fff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.problem-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.problem-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.problem-content {
    flex: 1;
}

.problem-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ef4444;
}

.problem-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.cta-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.cta-section .btn-white {
    background: #fff;
    color: #667eea;
}

.cta-section .btn-white:hover {
    background: #f0f0f0;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* 板块5 */
.section-5 {
    background: #f8fafc;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-item {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
}

/* 板块6 */
.section-6 {
    background: #fff;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.compare-table th,
.compare-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
    background: #f8fafc;
    font-weight: 600;
}

.compare-table th:nth-child(1) {
    background: #fef3c7;
    width: 25%;
}

.compare-table th:nth-child(2) {
    background: #fef2f2;
    width: 37.5%;
}

.compare-table th:nth-child(3) {
    background: #dbeafe;
    width: 37.5%;
}

.compare-table .cross {
    color: #ef4444;
    font-size: 24px;
}

.compare-table .check {
    color: #10b981;
    font-size: 24px;
}

/* 板块7 */
.section-7 {
    background: #f8fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    overflow: hidden;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.case-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.case-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.case-item .tag {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
}

/* 板块8 */
.section-8 {
    background: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.process-step p {
    font-size: 14px;
    color: #666;
}

/* 板块9 */
.section-9 {
    background: #f8fafc;
}

.tips-content {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tip-item {
    background: #f8fafc;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item h4 {
    font-size: 18px;
    color: #2563eb;
    margin: 0;
    min-width: 140px;
    font-weight: 600;
    flex-shrink: 0;
}

.tip-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* PC端右侧悬浮按钮 */
.float-buttons-pc {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* PC端 - 按钮内只显示tooltip文字 */
.float-btn span {
    display: none;
}

.float-btn:hover span {
    display: inline;
}

.float-btn .tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.float-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.float-btn .qrcode-popup {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    text-align: center;
    min-width: 150px;
}

.float-btn:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}

.float-btn .qrcode-popup img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

.float-btn .qrcode-popup p {
    font-size: 12px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* 移动端底部悬浮按钮 - 默认隐藏 */
.float-buttons-mobile {
    display: none;
}

/* 微信弹窗 */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wechat-modal-content img {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
}

.wechat-modal-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.wechat-number {
    background: #f0f0f0;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    margin: 15px 0;
    font-weight: 600;
    user-select: all;
    cursor: pointer;
    position: relative;
}

.wechat-number:hover {
    background: #e0e0e0;
}

.wechat-number:active {
    background: #d0d0d0;
}

.wechat-modal-content .close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* 移动端下拉菜单样式 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 5px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px 10px 30px;
        font-size: 14px;
    }

    .dropdown-toggle::after {
        transition: transform 0.3s;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-phone {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-item {
        flex-direction: column;
        text-align: center;
    }

    .problem-item img {
        width: 100%;
        max-width: 150px;
        margin: 0 auto 15px;
    }

    .feature-box {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-content {
        padding: 30px;
    }

    .tip-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

    .tip-item h4 {
        min-width: auto;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 5px;
        font-size: 12px;
    }

    .compare-table th:nth-child(1),
    .compare-table th:nth-child(2),
    .compare-table th:nth-child(3) {
        width: auto;
    }

    /* 移动端悬浮按钮 */
    .float-buttons-pc {
        display: none;
    }

    .float-buttons-mobile {
        display: flex;
        position: fixed;
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
        z-index: 999;
        flex-direction: row;
        background: #fff;
        padding: 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        width: 100%;
    }

    .float-btn-mobile {
        width: calc(100% / 3);
        height: auto;
        padding: 12px 10px;
        border-radius: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1;
        border-right: 1px solid rgba(255,255,255,0.2);
        cursor: pointer;
        transition: background 0.3s;
    }

    .float-btn-mobile:last-child {
        border-right: none;
    }

    .float-btn-mobile:hover {
        background: linear-gradient(135deg, #5568d3 0%, #6a4c93 100%);
    }

    .float-btn-mobile .icon {
        font-size: 20px;
    }

    .float-btn-mobile .text {
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 24px;
    }

    .banner p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .tips-content {
        padding: 20px;
    }

    .tip-item {
        padding: 15px;
    }

    .compare-table {
        display: block;
        overflow-x: auto;
    }

    .tips-content {
        padding: 20px;
    }

    /* 移动端悬浮按钮在480px下的样式 */
    .float-buttons-mobile .float-btn-mobile {
        gap: 6px;
        padding: 10px 8px;
    }

    .float-buttons-mobile .float-btn-mobile .icon {
        font-size: 18px;
    }

    .float-buttons-mobile .float-btn-mobile .text {
        font-size: 13px;
    }
}
