/* 定价页面样式 */
.main-content {
    padding: 100px 20px 50px;
    min-height: calc(100vh - 60px);
    margin-top: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.navbar {
        padding: 15px 0px;
        flex-direction: column;
        gap: 15px;
    }
    .main-content {
        padding: 80px 15px 30px;
        margin-top: 20px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .platform-selector {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    
    .platform-btn {
        white-space: nowrap;
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 70px 10px 20px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 12px;
    }
}

/* 定价部分样式 */
.pricing-section {
    max-width: 1000px;
    margin: 0 auto;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 平台选择器样式 */
.platform-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0;
}

.platform-btn-wrapper {
    margin: 0 5px;
    position: relative;
}

.platform-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.platform-btn:hover {
    color: #007bff;
}

.platform-btn.active {
    color: #007bff;
}

.platform-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.platform-btn:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-btn:hover::after {
    transform: scaleX(1);
}

/* 平台内容样式 */
.platform-contents {
    position: relative;
    min-height: 300px;
}

.platform-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.platform-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 表格样式 */
.pricing-table-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

/* 移除表头固定效果 */
.pricing-table th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background-color: #f9f9f9;
}

/* 状态标签样式 */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-available {
    background-color: #e6f7ee;
    color: #27ae60;
}

.status-disabled {
    background-color: #feeaea;
    color: #e74c3c;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .pricing-table th,
    .pricing-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .pricing-table-wrapper {
        border-radius: 8px;
    }
    
    .status-badge {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* 添加横向滚动提示 */
.scroll-hint {
    display: none; /* 默认不显示 */
    padding: 8px;
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 5px;
    animation: fadeInOut 2s infinite;
}

@media (max-width: 576px) {
    .scroll-hint {
        display: block; /* 在移动端显示滚动提示 */
    }
    
    .pricing-table-wrapper {
        overflow-x: auto;
        display: block; /* 确保滚动正常工作 */
        width: 100%;
        position: relative;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 1; }
    }
    
    .pricing-table {
        min-width: 500px;
        width: 100%;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px;
        font-size: 12px;
    }
    
    .status-badge {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    /* 确保内容区域可滚动 */
    .platform-content {
        height: auto;
        min-height: 200px;
    }
}