@import "/css/public-7b3882c692b83def71b51c549f3f4343.css";
.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.solution-tab {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.solution-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.solution-tab.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ================= 加载动画 ================= */
.loading-wrapper {
    position: relative;
}
.loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    z-index: 2;
    transition: opacity 0.4s ease;
}
.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e8ecf4;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-text {
    margin-top: 20px;
    font-size: 15px;
    color: #999;
    letter-spacing: 2px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.solution-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f5;
}

.solution-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.solution-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8eaff, #f5f0ff);
    flex-shrink: 0;
    position: relative;
}

.solution-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.solution-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    background: rgba(102, 126, 234, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1.6;
}

.solution-card-body {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.solution-card-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 6px 0 0;
}

@media (max-width: 900px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-grid { grid-template-columns: 1fr; gap: 16px; }
    .solution-card-img { height: 130px; }
    .solution-card-body { padding: 10px; }
    .solution-card-title { font-size: 15px; }
    .solution-card-desc { font-size: 12px; }
}
