/* 电商页面通用样式 */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 页面横幅样式优化 */
.page-banner {
    background: linear-gradient(135deg, #0057FF 0%, #0078FF 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.png') repeat;
    opacity: 0.1;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
}

.page-banner p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* 内容区域样式优化 */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 功能卡片样式优化 */
.feature-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0057FF;
    border-radius: 3px;
}

/* 功能网格样式优化 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.feature-item h3 {
    color: #0057FF;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-item h3::before {
    content: '•';
    margin-right: 10px;
    color: #0057FF;
    font-size: 24px;
}

.feature-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 步骤流程样式优化 */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #0057FF;
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,87,255,0.2);
}

.step-item h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.step-item p {
    color: #666;
    font-size: 15px;
}

/* 联系部分样式优化 */
.contact-section {
    background: linear-gradient(135deg, #0057FF 0%, #0078FF 100%);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin-top: 60px;
    color: white;
}

.contact-section h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.primary-button, .secondary-button {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-button {
    background: white;
    color: #0057FF;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 视频弹窗样式 */
.video-modal .modal-content {
    width: 700px;
    max-width: 90vw;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.video-modal .close-btn {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.1);
}

.video-modal .close-btn:hover {
    background: rgba(0,0,0,0.2);
    color: #333;
    transform: scale(1.1);
}

.video-modal #demo-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background: #000;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 32px;
    }

    .page-banner p {
        font-size: 18px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .step-item {
        margin-bottom: 30px;
    }

    .button-group {
        flex-direction: column;
    }

    .primary-button, .secondary-button {
        width: 100%;
    }
}