/* 小程序开发页面专用样式 - 避免与其他页面冲突 */

/* 页面横幅 */
.mp-page-banner {
    background: var(--gradient-1);
    padding: 100px 20px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mp-page-banner::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -120px;
    left: -80px;
    animation: mp-float 10s ease-in-out infinite;
}

@keyframes mp-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.mp-banner-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.mp-banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.mp-banner-content h1 i {
    font-size: 42px;
}

.mp-banner-content > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: white;
}

/* 统计数据展示 */
.mp-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.mp-stats .stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.mp-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.mp-stats .stat-item i {
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
}

.mp-stats .stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 10px 0;
}

.mp-stats .stat-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 介绍区域 */
.mp-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.mp-intro-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.mp-intro-text p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 30px;
}

.mp-intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mp-feature-tag {
    background: linear-gradient(135deg, rgba(0, 169, 236, 0.08) 0%, rgba(0, 136, 194, 0.05) 100%);
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(0, 169, 236, 0.15);
}

.mp-feature-tag i {
    font-size: 16px;
}

.mp-intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.15;
}

/* 小程序类型 */
.mp-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mp-type-card {
    background: white;
    padding: 35px 30px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 169, 236, 0.1);
    box-shadow: var(--shadow-sm);
}

.mp-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 169, 236, 0.2);
    border-color: rgba(0, 169, 236, 0.2);
}

.mp-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.4s;
}

.mp-type-card:hover .mp-type-icon {
    transform: scale(1.15) rotate(-5deg);
}

.mp-type-card:nth-child(2) .mp-type-icon {
    background: var(--gradient-2);
}

.mp-type-card:nth-child(3) .mp-type-icon {
    background: var(--gradient-3);
}

.mp-type-card:nth-child(4) .mp-type-icon {
    background: var(--gradient-1);
}

.mp-type-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.mp-type-card > p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.mp-type-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.mp-type-list li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mp-type-list li:last-child {
    border-bottom: none;
}

/* 功能区域 */
.mp-functions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.mp-function-item {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(0, 169, 236, 0.08);
    box-shadow: var(--shadow-sm);
}

.mp-function-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 169, 236, 0.15);
}

.mp-function-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    transition: all 0.4s;
}

.mp-function-item:hover .mp-function-icon {
    transform: rotateY(360deg);
}

.mp-function-item:nth-child(2n) .mp-function-icon {
    background: var(--gradient-2);
}

.mp-function-item:nth-child(3n) .mp-function-icon {
    background: var(--gradient-3);
}

.mp-function-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.mp-function-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

/* 开发流程 */
.mp-process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mp-process-step {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid rgba(0, 169, 236, 0.1);
    position: relative;
}

.mp-process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 169, 236, 0.15);
    border-color: rgba(0, 169, 236, 0.3);
}

.mp-step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 169, 236, 0.3);
}

.mp-process-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.mp-process-step p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 14px;
}

/* 优势区域 */
.mp-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mp-advantage-box {
    background: white;
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid rgba(0, 169, 236, 0.08);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.mp-advantage-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.mp-advantage-box:hover::before {
    transform: scaleX(1);
}

.mp-advantage-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mp-advantage-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: white;
    transition: all 0.4s;
}

.mp-advantage-box:hover .mp-advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.mp-advantage-box:nth-child(2) .mp-advantage-icon {
    background: var(--gradient-2);
}

.mp-advantage-box:nth-child(3) .mp-advantage-icon {
    background: var(--gradient-3);
}

.mp-advantage-box:nth-child(4) .mp-advantage-icon {
    background: var(--gradient-1);
}

.mp-advantage-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.mp-advantage-box p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .mp-functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mp-banner-content h1 {
        font-size: 32px;
        flex-direction: column;
    }

    .mp-banner-content h1 i {
        font-size: 36px;
    }

    .mp-banner-content > p {
        font-size: 16px;
    }

    .mp-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .mp-stats .stat-item {
        padding: 15px 20px;
    }

    .mp-intro-content {
        grid-template-columns: 1fr;
    }

    .mp-intro-image {
        display: none;
    }

    .mp-functions-grid {
        grid-template-columns: 1fr;
    }

    .mp-process-steps {
        grid-template-columns: 1fr;
    }
}

