/* ============================================
   慧软企业官网 - 解决方案页面样式
   ============================================ */

/* 解决方案概览 */
.solutions-overview {
    padding: 100px 0;
}

.solutions-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-item {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.solution-icon-wrap {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.solution-icon-wrap.park {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.solution-icon-wrap.building {
    background: linear-gradient(135deg, #06b6d4, #10b981);
}

.solution-icon-wrap.meetingroom {
    background: linear-gradient(135deg, #10b981, #f59e0b);
}

.solution-icon-wrap.education {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.solution-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.solution-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 解决方案详情 */
.solution-detail {
    padding: 100px 0;
}

.solution-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-content-wrapper.reverse {
    direction: rtl;
}

.solution-content-wrapper.reverse > * {
    direction: ltr;
}

.solution-info .section-tag {
    margin-bottom: 20px;
}

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

.solution-summary {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.point {
    display: flex;
    gap: 16px;
}

.point-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.point-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.point-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 100%;
    max-width: 480px;
    height: 400px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-placeholder.park-bg {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.visual-placeholder.building-bg {
    background: linear-gradient(135deg, #06b6d4, #10b981);
}

.visual-placeholder.meetingroom-bg {
    background: linear-gradient(135deg, #10b981, #f59e0b);
}

.visual-placeholder.education-bg {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.visual-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 60px 60px;
}

.visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.visual-content svg {
    margin-bottom: 20px;
}

.visual-content h3 {
    font-size: 28px;
    font-weight: 700;
}

/* 解决方案场景图片 */
.solution-image-wrapper {
    width: 100%;
    max-width: 480px;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.solution-scene-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-image-wrapper:hover .solution-scene-img {
    transform: scale(1.05);
}

/* 实施流程 */
.implementation {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    min-width: 180px;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    opacity: 0.3;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.step-arrow {
    color: var(--primary-color);
    opacity: 0.5;
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 80px 80px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

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

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

    .solution-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .solution-content-wrapper.reverse {
        direction: ltr;
    }

    .solution-info {
        order: 2;
    }

    .solution-visual {
        order: 1;
    }

    .visual-placeholder {
        height: 300px;
    }

    .solution-image-wrapper {
        height: 300px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .solutions-cards {
        grid-template-columns: 1fr;
    }

    .solution-info h2 {
        font-size: 28px;
    }

    .visual-placeholder {
        height: 250px;
    }

    .solution-image-wrapper {
        height: 250px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}
