/**
 * =============================================
 * 解决方案页样式文件 solutions.css
 * 用途：解决方案页专属样式，包括行业Tab、解决方案列表
 * 作者：AI开发
 * 创建日期：2026-03-06
 * =============================================
 */

/* 页面容器 */
.page-wrapper {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--current-bg) 0%, var(--current-bg2) 100%);
    padding-bottom: 100px; /* 为底部导航留空间 */
}

/* ==================== 页面头部 ==================== */
/**
 * 页面头部容器
 */
.page-header {
    padding: 40px 0 var(--spacing-lg);
    text-align: center;
}

/**
 * 页面标题动画
 */
.animate-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--current-accent);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--current-primary) 0%, var(--current-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeInUp 0.6s ease forwards;
}

/**
 * 页面副标题动画
 */
.animate-subtitle {
    font-size: var(--font-sm);
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;

    opacity: 0;
    transform: translateY(20px);

    animation: fadeInUp 0.6s ease 0.2s forwards;
}

/**
 * 淡入上浮动画
 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/**
 * 页面副标题
 */
.page-subtitle {
    font-size: var(--font-sm);
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 0;
}

.page-header-btn {
    margin-top: 16px;
}

/* 行业Tab区域 */
.industry-tabs-section {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-tabs {
    position: relative;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    min-height: 44px;
}

.industry-tabs::-webkit-scrollbar {
    display: none;
}

.industry-tabs .tab-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-width: 80px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.industry-tabs .tab-item:hover {
    color: var(--current-primary);
    background: rgba(93, 207, 222, 0.1);
}

.industry-tabs .tab-item.active {
    color: #fff;
    background: linear-gradient(135deg, var(--current-primary) 0%, var(--current-light) 100%);
    font-weight: 600;
}

/* Tab指示器 - 已隐藏，仅保留选中背景色 */
/* .tab-indicator { display: none; } */

/* FAQ区域 */
.faq-section {
    padding: 24px 0 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.8);
}

.faq-question h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--current-accent);
}

.faq-icon {
    font-size: 12px;
    color: var(--current-primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 16px 16px;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 解决方案列表 */
.solutions-section {
    padding: 24px 0 32px;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-card {
    display: flex;
    align-items: center;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.solution-card.hidden {
    display: none;
}

.solution-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--current-primary);
    margin-right: 16px;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
}

.solution-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--current-accent);
    margin-bottom: 4px;
}

.solution-desc {
    flex: 1;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.solution-link {
    font-size: 11px;
    color: var(--current-primary);
    font-weight: 600;
    margin-left: 8px;
    flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 375px) {
    .industry-tabs .tab-item {
        min-width: 60px;
        padding: 8px 16px;
        font-size: 13px;
    }
}
