/* ========================================
   增值服务页面 (value-added-service)
   前缀: .vas-
   ======================================== */

/* ===== 通用工具类 (.xw- 前缀) ===== */
.xw-section-mt { margin-top: 40px; }

/* 骨架屏 */
.xw-skeleton-line {
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}
.xw-skeleton-block {
    height: 30px;
    background: #e2e8f0;
    border-radius: 20px;
    width: 60px;
    animation: pulse 1.5s infinite;
}

/* 错误状态 */
.xw-error-state {
    text-align: center;
    padding: 40px 0;
    color: #94a3b8;
}
.xw-error-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}
.xw-retry-btn {
    margin-top: 10px;
    padding: 6px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

/* 空状态 */
.xw-empty-state {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
}

/* 删除线价格 */
.xw-price-strike {
    text-decoration: line-through;
    margin-left: 6px;
}

/* ===== 页面专用样式 ===== */
.vas-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
}

.vas-banner {
    background: linear-gradient(135deg, #e8f4ff 0%, #d4e9ff 100%);
    border-radius: 0 0 30px 30px;
    padding: 110px 20px 60px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.vas-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
}

.vas-banner::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
}

.vas-banner>.vas-container {
    position: relative;
    z-index: 1;
}

.vas-banner h1 {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(120deg, #0b2b5c, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.vas-banner h1 i {
    margin-right: 12px;
}

.vas-banner p {
    font-size: 1.2rem;
    color: #1e466e;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.vas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.vas-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.vas-section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a2b4e;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.vas-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #0066ff;
    border-radius: 3px;
}

.vas-section-title p {
    color: #4a627a;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Desc */
.vas-desc {
    text-align: center;
    font-size: 1.05rem;
    color: #2c4b74;
    margin: 0 auto 40px;
    background: #f8fafc;
    padding: 14px 24px;
    border-radius: 60px;
    max-width: 900px;
}

.vas-desc i {
    margin-right: 8px;
    color: #0066ff;
}

/* Service Cards - 大卡片横向布局 */
.vas-service-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.vas-service-item {
    flex: 1 1 calc(50% - 30px);
    margin: 0 15px 30px;
    background: #fff;
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f2f5;
    cursor: pointer;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.vas-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.2);
}

.vas-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8f4ff, #d4e9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0066ff;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vas-service-item:hover .vas-service-icon {
    background: linear-gradient(135deg, #0066ff, #3399ff);
    color: #fff;
}

.vas-service-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0a2b4e;
    margin-bottom: 8px;
}

.vas-service-info p {
    color: #5a6e8a;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.vas-service-tag {
    display: inline-block;
    background: #e8f4ff;
    color: #0066ff;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    margin-right: 6px;
}

/* Pricing Table */
.vas-pricing-wrapper {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    margin-bottom: 40px;
}

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

.vas-pricing-table thead {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.vas-pricing-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vas-pricing-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    color: #4b5563;
}

.vas-pricing-table tbody tr {
    transition: background-color 0.2s ease;
}

.vas-pricing-table tbody tr:hover {
    background-color: #eff6ff;
}

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

/* 骨架屏表格列宽度 */
.vas-pricing-table .xw-skeleton-body td:nth-child(1) .xw-skeleton-line { width: 70%; }
.vas-pricing-table .xw-skeleton-body td:nth-child(2) .xw-skeleton-line { width: 50%; }
.vas-pricing-table .xw-skeleton-body td:nth-child(3) .xw-skeleton-line { width: 60%; }

.vas-price {
    font-weight: 700;
    color: #0066ff;
    font-size: 1.05rem;
}

.vas-note {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* 小按钮（表格内购买按钮） */
.vas-btn-sm {
    padding: 8px 24px !important;
    font-size: 0.9rem !important;
}

/* CTA */
.vas-cta-card {
    background: linear-gradient(115deg, #f0f7ff 0%, #e9f2fa 100%);
    border-radius: 32px;
    padding: 42px 35px;
    text-align: center;
    margin: 40px 0 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.vas-cta-card h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0a2b4e;
    margin-bottom: 16px;
}

.vas-cta-card p {
    font-size: 1.05rem;
    color: #2c4b74;
    max-width: 650px;
    margin: 0 auto 24px;
}

.vas-btn-primary {
    display: inline-block;
    background: #0066ff;
    color: white;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 12px rgba(0, 102, 255, 0.3);
}

.vas-btn-primary:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(0, 102, 255, 0.5);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .vas-banner {
        padding: 90px 15px 45px;
    }

    .vas-banner h1 {
        font-size: 1.8rem;
    }

    .vas-service-item {
        flex: 1 1 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vas-pricing-table {
        display: block;
        overflow-x: auto;
    }
}
