@charset "UTF-8";
/**
 * 价格套餐页样式
 * 依赖 main.css 中的 CSS 变量和公共组件
 * 
 * 注意: 「等级价格套餐区域」CSS 已迁移至 main.css（组件样式），
 *       在其他页面可直接调用 get_template_part('template-parts/pricing-plans-section')。
 *
 * @package RiaFlow_Theme
 * @version 2.0.0
 */
/* ==========================================
   配置详细说明区域
   ========================================== */
.config-detail-section {
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-5xl);
}

.config-detail-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* 大标题 */
.config-detail-title {
    color: var(--text-primary);
    font-size: 48px;
    font-weight: 600;
    line-height: 64px;
    text-align: center;
    margin-bottom: -48px; /* 与第一个 group 合并间距 */
}

/* ---- config-group（每个子块） ---- */
.config-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 子块标题行 */
.config-group__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.config-group__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.config-group__name {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

/* 备注说明 */
.config-group__note {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 20px;
    max-width: 800px;
    text-align: center;
    align-self: center;
}

/* ---- 能力卡片（能力说明） ---- */
.config-capability-cards {
    display: flex;
    gap: 40px;
    margin-top: 8px;
}

.config-cap-card {
    flex: 0 0 400px;
    width: 400px;
    height: 176px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* 右上角装饰圆 */
.config-cap-card-glow {
    position: absolute;
    top: -50px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    pointer-events: none;
}
.config-capability-cards .config-cap-card:nth-child(1) .config-cap-card-glow {
    background: #704FC0;
}
.config-capability-cards .config-cap-card:nth-child(2) .config-cap-card-glow {
    background: #3C6FDD;
}
.config-capability-cards .config-cap-card:nth-child(3) .config-cap-card-glow {
    background: #FAAD14;
}


/* 卡片正文 */
.config-cap-card__content {
    position: relative;
    z-index: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.config-cap-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-cap-card__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 8px;
}

.config-cap-card__name {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.config-cap-card__desc {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 24px;
}

/* ---- 品牌数量说明 ---- */
.config-brand-list {
    display: flex;
    gap: 40px;
    margin-top: 8px;
}

.config-brand-item {
    flex: 0 0 400px;
    width: 400px;
    min-height: 70px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.config-brand-item__plan {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    flex-shrink: 0;
}

.config-brand-item__desc {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 20px;
}

/* ---- Token 用量参考表格 ---- */
.config-token-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-top: 8px;
}

.config-token-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    table-layout: fixed;
}

/* 表头 */
.config-token-table thead tr {
    background: var(--bg-dark);
}

.config-token-table thead th {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    padding: 28px 24px;
    border-right: 1px solid rgba(200, 210, 230, 0.2);
}

.config-token-table thead th:last-child {
    border-right: none;
}

/* 操作列宽 */
.config-token-table .col-operation {
    width: 28%;
}

/* 平均消耗列宽 */
.config-token-table .col-cost {
    width: 24%;
}

/* 数据行 */
.config-token-table tbody tr {
    border-bottom: 1px solid var(--border-color-light);
}

.config-token-table tbody tr:last-child {
    border-bottom: none;
}

.config-token-table tbody td {
    padding: 20px 24px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 24px;
    border-right: 1px solid var(--border-color-light);
}

.config-token-table tbody td:last-child {
    border-right: none;
}

/* Token 数字高亮 */
.token-kw {
    font-weight: 600;
    /* color: var(--accent-color); */
}

/* 表格分组子标题行 */
.config-token-subheader td {
    background: rgba(60,111,221,0.06);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px 24px !important;
    border-bottom: 1px solid var(--border-color-light);
}


/* ==========================================
   响应式
   ========================================== */
@media (max-width: 960px) {
    /* 配置详细说明 响应式 */
    .config-detail-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .config-detail-container {
        gap: 48px;
    }

    .config-detail-title {
        font-size: 32px;
        line-height: 44px;
        margin-bottom: -24px;
    }

    .config-capability-cards,
    .config-brand-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .config-cap-card,
    .config-brand-item {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 160px;
    }

    .config-brand-item {
        min-height: 70px;
    }

    .config-token-table thead th,
    .config-token-table tbody td {
        padding: 14px 12px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {

    .config-token-table .col-operation {
        width: auto;
    }

    .config-token-table {
        font-size: 13px;
    }

    .config-token-table thead th,
    .config-token-table tbody td {
        padding: 10px 8px;
    }
}



/* ==========================================
   增值服务区域
   ========================================== */
.value-services-section {
    padding: var(--spacing-5xl) var(--spacing-md);
    
}

.value-services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* 标题区 */
.value-services-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.value-services-title {
    color: var(--text-primary);
    font-size: 56px;
    font-weight: 600;
    line-height: 74px;
    letter-spacing: 0.37px;
    margin: 0;
}

.value-services-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

/* 两栏面板 */
.value-services-panels {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* 面板基础 */
.vs-panel {
    flex: 1;
    background: #FDFBFF;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.04);
}

/* 背景光晕 */
.vs-panel__glow {
    position: absolute;
    right: -128px;
    top: -127px;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    pointer-events: none;
}

.vs-panel__glow--blue {
    background: rgba(60, 111, 221, 0.3);
    filter: blur(80px);
}

.vs-panel__glow--purple {
    background: #DDCDF6;
    filter: blur(80px);
    opacity: 0.7;
}

/* 面板头部 */
.vs-panel__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.vs-panel__name {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

/* 徽章 */
.vs-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.vs-badge--blue {
    background: rgba(60, 111, 221, 0.1);
    color: #3C6FDD;
}

.vs-badge--purple {
    background: rgba(125, 79, 192, 0.1);
    color: var(--accent-color);
}

/* 面板副标题 */
.vs-panel__note {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
}

/* 服务项列表 */
.vs-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* 单个服务项 */
.vs-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #FDFBFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    gap: 12px;
}

.vs-item__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vs-item__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vs-item__name {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.vs-item__type {
    display: inline-block;
    background: #F1F5F9;
    border-radius: 2px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #727272;
    line-height: 16px;
    white-space: nowrap;
}

.vs-item__desc {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

/* 价格徽章 */
.vs-price {
    flex-shrink: 0;
    min-width: 80px;
    height: 32px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    text-align: center;
}

.vs-price--blue {
    background: rgba(60, 111, 221, 0.1);
    color: #3C6FDD;
}

.vs-price--purple {
    background: rgba(125, 79, 192, 0.1);
    color: var(--accent-color);
}

/* 增值服务响应式 */
@media (max-width: 1280px) {
    .value-services-panels {
        gap: 16px;
    }
}

@media (max-width: 960px) {
    .value-services-title {
        font-size: 36px;
        line-height: 48px;
    }

    .value-services-panels {
        flex-direction: column;
    }

    .vs-panel {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .value-services-section {
        padding: 60px var(--spacing-md);
    }

    .value-services-title {
        font-size: 28px;
        line-height: 36px;
    }

    .vs-panel {
        padding: 24px 20px;
    }

    .vs-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vs-price {
        align-self: flex-start;
    }
}

