/* ========================================
   Information Page CSS - 平台资讯页面专用样式
   基于现有内联样式进行美化和优化
   ======================================== */

/* ===== 信息容器增强 ===== */
.info-container {
    padding: 32px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.info-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 50%, #69c0ff 100%);
}

/* ===== 标签页增强样式 ===== */
.info-tabs {
    margin-bottom: 32px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-tabs::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

.info-tabs .tab-item {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    margin-right: 0;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border: 2px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.info-tabs .tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 144, 255, 0.05) 0%, rgba(24, 144, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.info-tabs .tab-item:hover::before {
    opacity: 1;
}

.info-tabs .tab-item:hover {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.info-tabs .tab-item.active {
    color: #1890ff;
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    border-color: #1890ff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.2);
    transform: translateY(-2px);
}

.info-tabs .tab-item.active::before {
    opacity: 1;
}

/* ===== 内容区域增强 ===== */
.info-content {
    min-height: 500px;
    position: relative;
}

.info-content h4 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #262626;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.info-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 100%);
    border-radius: 2px;
}

.info-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #595959;
    font-size: 15px;
    text-align: justify;
}

.info-content h5 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #434343;
    font-weight: 600;
    position: relative;
    padding-left: 16px;
}

.info-content h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    border-radius: 2px;
}

.info-content strong {
    font-weight: 600;
    color: #262626;
}

.info-content ul {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.info-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #595959;
}

.info-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(82, 196, 26, 0.3);
}

/* ===== 小程序二维码区域增强 ===== */
.qrcode-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.qrcode-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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e8e8e8" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.qrcode-item {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.qrcode-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 100%);
}

.qrcode-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.qrcode-item img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.qrcode-item:hover img {
    transform: scale(1.05);
}

.qrcode-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 0;
    position: relative;
}

.qrcode-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 100%);
    border-radius: 1px;
}

/* ===== 关于我们内容增强 ===== */
.about-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.feature-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-item h6 {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-item h6::before {
    content: '★';
    margin-right: 8px;
    color: #faad14;
    font-size: 18px;
}

.feature-item p {
    color: #595959;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .info-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .info-tabs {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-tabs .tab-item {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 4px;
    }
    
    .qrcode-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .qrcode-item {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-content h4 {
        font-size: 20px;
    }
    
    .info-content h5 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .info-container {
        padding: 16px;
        margin: 0 5px;
    }
    
    .qrcode-item {
        padding: 16px;
    }
    
    .qrcode-item img {
        max-width: 150px;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.qrcode-item {
    animation: slideInRight 0.6s ease-out;
}

.qrcode-item:nth-child(2) {
    animation-delay: 0.2s;
}

/* ===== 加载状态 ===== */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    height: 20px;
    margin-bottom: 16px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== 滚动条美化 ===== */
.info-content::-webkit-scrollbar {
    width: 6px;
}

.info-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    border-radius: 3px;
}

.info-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
}
