/* ============================================
   微信小程序页面样式
   ============================================ */

/* 主展示区 */
.section-wechat-main {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    padding: 0;
}

.wechat-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 2rem;
}

.wechat-qr-main {
    display: flex;
    justify-content: center;
}

.qr-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 320px;
    width: 100%;
}

.qr-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f0ed, #e8e0da);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border: 2px dashed var(--border);
}

.qr-placeholder span {
    font-size: 4rem;
    color: var(--accent-green);
}

.qr-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.qr-placeholder small {
    font-size: 0.85rem;
    color: var(--text-light);
}

.qr-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.qr-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.wechat-intro {
    color: white;
}

.wechat-intro .tag {
    background: rgba(242, 90, 0, 0.2);
    color: #ff5722;
}

.wechat-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.wechat-intro p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.wechat-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.step-num {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-gold), #ff3b30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
}

.step-arrow {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* 功能亮点 */
.wechat-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.wechat-feature {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.wechat-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffeee6, #ffc7a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    color: var(--accent-gold);
}

.wechat-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.wechat-feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 使用场景 */
.section-wechat-scenarios {
    background: var(--bg-light);
}

.scenario-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scenario-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.scenario-tl-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.tl-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-gold), #ff3b30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.tl-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tl-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 响应式 */
@media (max-width: 1024px) {
    .wechat-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wechat-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .wechat-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
    .wechat-features-grid {
        grid-template-columns: 1fr;
    }
    .scenario-tl-item:hover {
        transform: translateY(-4px);
    }
}
