/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器样式 */
.container {
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

/* 头部样式 */
.header {
    padding: 60px 20px 40px;
    text-align: center;
    background-color: #fff;
}

.app-name {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.app-desc {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.download-app-btn {
    display: block;
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    padding: 18px 30px;
    background: linear-gradient(135deg, #3ddc84 0%, #2ecc71 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.4);
    letter-spacing: 0.5px;
    text-align: center;
}

.download-app-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.4);
}

.download-app-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(61, 220, 132, 0.3);
}

/* 轮播图样式（单张展示） */
.banner {
    background-color: transparent;
    padding: 0 20px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner:hover .slide-image {
    transform: scale(1.02);
}

/* 功能模块样式 */
.features {
    padding: 40px 20px 50px;
    background-color: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #3ddc84 0%, #2ecc71 100%);
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 580px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(61, 220, 132, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 32px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 微信浏览器提示样式 */
.wechat-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.wechat-tip.show {
    display: flex;
}

.wechat-tip-content {
    text-align: center;
    color: #fff;
    padding: 0 30px;
    max-width: 400px;
}

.wechat-tip-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-tip-icon svg {
    width: 60px;
    height: 60px;
    color: #fff;
}

.wechat-tip-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.wechat-tip-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.wechat-tip-arrow {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 80px;
    height: 80px;
    color: #fff;
    animation: pulse 2s infinite;
}

.wechat-tip-arrow svg {
    width: 100%;
    height: 100%;
    transform: rotate(-45deg);
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(-45deg);
    }
}

/* 功能图标颜色 */
.feature-icon.customer-followup {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ff9800;
}

.feature-icon.private-customers {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2196f3;
}

.feature-icon.number-cleaning {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #4caf50;
}

.feature-icon.moments-anti-folding {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ff9800;
}

.feature-icon.wechat-link {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #4caf50;
}

.feature-icon.amount-to-uppercase {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #4caf50;
}

.feature-icon.short-link {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ff9800;
}

.feature-icon.ai-copywriting {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #ff9800;
}

.feature-icon.more-features {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2196f3;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 下载区域样式 */
.download-section {
    padding: 30px 20px;
    background-color: #fff;
    margin-top: 20px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-btn:active {
    transform: translateY(0);
}

.ios-btn {
    background-color: #000;
    color: #fff;
}

.android-btn {
    background-color: #3ddc84;
    color: #fff;
}

.btn-icon {
    width: 32px;
    height: 32px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 18px;
    font-weight: bold;
}

.btn-subtitle {
    font-size: 12px;
    opacity: 0.8;
    font-weight: normal;
}

/* 底部样式 */
.footer {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.copyright {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .header {
        padding: 30px 20px 20px;
    }
    
    .app-name {
        font-size: 22px;
    }
    
    .banner {
        padding: 40px 20px;
    }
    
    .features {
        padding: 0 15px 20px;
    }
    
    .download-section {
        padding: 20px 15px;
    }
}

@media (max-width: 360px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .feature-item {
        padding: 15px 8px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-name {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 11px;
    }
}