/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #4b5563;
    --light-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* 导航栏 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn a {
    color: white;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* 主英雄区 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f9fafb 0%, #e5f2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-color);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-visual {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.comparison-container {
    display: flex;
    position: relative;
    margin-bottom: 24px;
}

.comparison-side {
    flex: 1;
    text-align: center;
}

.comparison-side .label {
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.video-placeholder {
    height: 200px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
}

.vs-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.challenge-text {
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
}

/* 痛点区 */
.pain-points {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pain-point-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pain-point-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.pain-point-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.pain-point-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 服务区 */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.tab-item {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-header {
    text-align: center;
    margin-bottom: 40px;
}

.tab-header h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.tab-header p {
    font-size: 18px;
    color: var(--text-color);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 优势区 */
.advantage {
    padding: 100px 0;
    background-color: white;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 24px;
    color: var(--primary-color);
}

.advantage-title {
    flex: 1;
}

.advantage-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.values {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.advantage-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 案例展示 */
.cases {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
    position: relative;
    height: 200px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-color);
}

.case-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.case-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-result {
    display: flex;
    gap: 16px;
}

.metric {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    background-color: var(--light-gray);
}

.metric strong {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
}

/* 承诺区 */
.commitment {
    padding: 100px 0;
    background-color: white;
}

.commitment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.commitment-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background-color: var(--light-gray);
    transition: var(--transition);
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commitment-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.commitment-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA区 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--light-color);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 联系区 */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: var(--primary-color);
}

.contact-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark-color);
}

.contact-text p, .contact-text a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    margin-top: 16px;
}

/* 侧边联系方式 */
.contact-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.contact-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.contact-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.contact-panel {
    position: absolute;
    right: 70px;
    top: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 280px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: var(--transition);
}

.contact-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.contact-panel::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.contact-panel h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-method-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--dark-color);
}

.contact-method-text p, .contact-method-text a {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
}

.contact-method-text a:hover {
    color: var(--primary-color);
}

.wechat-qr {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.wechat-qr-code {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 4px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-color);
}

.wechat-qr-text h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.wechat-qr-text p {
    font-size: 12px;
    color: var(--text-color);
}

/* 页脚 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .commitment-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    /* 侧边联系方式响应式 */
    .contact-sidebar {
        right: 5px;
    }
    
    .contact-toggle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-panel {
        width: 230px;
        right: 55px;
    }
}

/* 加载动画和过渡效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 表单提交成功消息样式 */
.form-success {
    padding: 16px;
    background-color: var(--success-color);
    color: white;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

/* 表单验证错误样式 */
.form-error {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
}

/* 图片加载占位符 */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}