@charset "UTF-8";
/**
 * 应用场景特定样式
 * 依赖 main.css 中的 CSS 变量和公共组件
 *
 * @package RiaFlow_Theme
 * @version 2.0.0
 */

/* ── 公共容器 ─────────────────────────────────────── */
.scenes-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   场景卡片横向自动循环滚动
   ========================================== */
.scenes-types-section {
    padding: 0 0 var(--spacing-2xl);
    overflow: hidden;
}

/* 滚动轨道：由 JS 驱动 translateX */
.scenes-cards-track {
    display: flex;
    gap: 20px;
    padding: 0 0 20px;
    width: max-content;
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.scenes-cards-track.is-dragging {
    cursor: grabbing;
}

/* ── 卡片外层 wrapper（含顶部浮出图） ── */
.sc-card-wrap {
    flex: 0 0 400px;
    width: 400px;
    height: 580px;
    position: relative;
}

.sc-card-wrap.featured {
    flex: 0 0 460px;
    width: 460px;
    height: 580px;
}

/* ── 浮出插图（top-left，高于卡片顶部） ── */
.sc-card-illus {
    width: 160px;
    height: 160px;
    overflow: hidden;
    position: absolute;
    left: 20px;
    top: 0;
    z-index: 2;
}

.sc-card-illus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── 卡片主体（从 top:80 开始） ── */
.sc-card-body {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    z-index: 1;
}

/* ── 卡片内容区 ── */
.sc-card-inner {
    position: absolute;
    left: 40px;
    top: 90px;
    width: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sc-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sc-card-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 27px;
    margin: 0;
}

.sc-hot-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    height: 24px;
    background: var(--accent-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.sc-industry-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 18px;
}

/* ── 痛点框 ── */
.sc-pain-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--bg-card-highlight);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.sc-pain-label {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
}

.sc-pain-text {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 27px;
    margin: 0;
}

/* ── 睿晰如何帮 ── */
.sc-help-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sc-help-label {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
}

.sc-help-text {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    margin: 0;
    width: 320px;
    max-width: 100%;
}

/* ── 分割线 ── */
.sc-divider {
    height: 1px;
    background: var(--border-color);
}

/* ── 底部套餐 + 链接 ── */
.sc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.sc-plan {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.sc-plan-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: -0.15px;
}

.sc-plan-value {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

/* ==========================================
   真实案例
   ========================================== */
.scenes-cases-section {
    padding: var(--spacing-2xl) 0;
}

.cases-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 24px;
    background: rgba(125, 79, 192, 0.2);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    margin-bottom: 20px;
}


.cases-cards {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* 案例卡片：400x380px */
.cases-card {
    flex: 0 0 400px;
    width: 400px;
    height: 380px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* 右上角版本角标（ribbon 效果） */
.cases-badge {
    position: absolute;
    right: 0;
    top: 0;
    padding: 6px 16px 6px 24px;
    border-bottom-left-radius: var(--border-radius-lg);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    z-index: 1;
}

.cases-badge.flagship {
    background: var(--primary-gradient);
}

.cases-badge.pro {
    background: var(--accent-color);
}

.cases-badge.basic {
    background: var(--bg-dark);
}

.cases-card-inner {
    position: absolute;
    left: 30px;
    top: 40px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cases-card-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cases-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin: 0;
}

.cases-sub {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

/* 统计框（渐变背景） */
.cases-stats-box {
    width: 340px;
    display: flex;
    gap: 4px;
    padding: 20px;
    background: linear-gradient(180deg, #E2E9FF 0%, #F9F5FF 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.cases-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cases-stat .stat-num {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    margin: 0;
}

.cases-stat .stat-desc {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
    margin: 0;
}

.cases-desc {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
    width: 340px;
}

.cases-desc strong {
    color: var(--accent-color);
    font-weight: 500;
}

.cases-quote {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin: 0;
    width: 340px;
}

.cases-footnote {
    text-align: center;
    color: #99A1AF;
    font-size: 12px;
    line-height: 16px;
    margin-top: 24px;
}

/* ── 卡片底部链接 ── */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.card-link:hover {
    opacity: 0.75;
}
/* ==========================================
   响应式 - 平板 (769px - 1200px)
   ========================================== */
@media (min-width: 769px) and (max-width: 1200px) {
    /* 场景卡片 */
    .scenes-types-section {
        padding: 0 0 var(--spacing-xl);
    }

    .sc-card-wrap {
        flex: 0 0 340px;
        width: 340px;
    }

    .sc-card-wrap.featured {
        flex: 0 0 380px;
        width: 380px;
    }

    .sc-card-inner {
        left: 28px;
        width: calc(100% - 56px);
        gap: 20px;
    }

    .sc-help-text {
        width: auto;
    }


    /* 案例卡片 */
    .cases-cards {
        gap: 20px;
    }

    .cases-card {
        flex: 1;
        width: auto;
        min-width: 0;
        height: auto;
        min-height: 320px;
    }

    .cases-card-inner,
    .cases-stats-box,
    .cases-desc,
    .cases-quote {
        width: auto;
        max-width: 100%;
    }

    .cases-card-inner {
        position: static;
        padding: 40px var(--spacing-md) var(--spacing-md);
    }

}

/* ==========================================
   响应式 - 手机 (≤768px)
   ========================================== */
@media (max-width: 768px) {

    /* 公共容器 */
    .scenes-container {
        padding: 0 var(--spacing-sm);
    }

    /* 场景卡片区域 */
    .scenes-types-section {
        padding: 0 0 var(--spacing-xl);
    }

    .scenes-cards-track {
        padding: 0 0 16px;
        gap: 12px;
    }

    .sc-card-wrap {
        flex: 0 0 272px;
        width: 272px;
        height: 480px;
    }

    .sc-card-wrap.featured {
        flex: 0 0 296px;
        width: 296px;
        height: 480px;
    }

    .sc-card-illus {
        width: 100px;
        height: 100px;
        left: 16px;
    }

    .sc-card-body {
        top: 50px;
        height: 430px;
    }

    .sc-card-inner {
        left: 16px;
        top: 60px;
        width: calc(100% - 32px);
        gap: 10px;
    }

    .sc-card-title {
        font-size: 17px;
        line-height: 23px;
    }

    .sc-hot-badge {
        font-size: 10px;
        padding: 3px 8px;
        height: 20px;
        border-radius: var(--border-radius-lg-sm);
    }

    .sc-pain-label,
    .sc-help-label {
        font-size: 13px;
        line-height: 18px;
    }

    .sc-pain-text,
    .sc-help-text {
        font-size: 14px;
        line-height: 20px;
    }

    .sc-help-text {
        width: auto;
    }

    .sc-pain-box {
        padding: 12px;
        gap: 4px;
        border-radius: 10px;
    }

    .sc-plan-label {
        font-size: 12px;
    }

    .sc-plan-value {
        font-size: 13px;
    }

    /* 案例区域 */
    .scenes-cases-section {
        padding: var(--spacing-xl) 0;
    }

    .scenes-cases-section .section-header {
        align-items: center;
        margin-bottom: var(--spacing-md);
    }


    .cases-eyebrow-badge {
        font-size: 12px;
        padding: 4px 16px;
        margin-bottom: 12px;
    }

    .cases-cards {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cases-card {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .cases-card-inner {
        position: static;
        width: 100%;
        padding: 40px var(--spacing-sm) var(--spacing-sm);
        gap: 12px;
    }

    .cases-stats-box,
    .cases-desc,
    .cases-quote {
        width: auto;
    }

    .cases-stats-box {
        padding: 12px;
        gap: 2px;
        border-radius: 10px;
    }

    .cases-title {
        font-size: 18px;
        line-height: 26px;
    }

    .cases-sub {
        font-size: 13px;
        line-height: 18px;
    }

    .cases-stat .stat-num {
        font-size: 18px;
        line-height: 24px;
    }

    .cases-stat .stat-desc {
        font-size: 12px;
        line-height: 16px;
    }

    .cases-desc {
        font-size: 13px;
        line-height: 19px;
    }

    .cases-quote {
        font-size: 12px;
        line-height: 16px;
    }

    .cases-footnote {
        font-size: 11px;
        margin-top: 16px;
    }

}

