/**
 * 融媒体通路（营销 + 案例）专属样式
 * MEDIA-01 标杆案例、MEDIA-02 三渠道投放、MEDIA-03 区域合伙人 5 路径
 * 复用 common.css 全局变量（--brand-blue/--brand-purple 等）与 navbar/footer 通用类
 *
 * UI 规范（HP-11 同步）：
 *   - 输入框高度 36px，8px 圆角
 *   - 主按钮 44px 高，8px 圆角
 *   - 卡片 12px 圆角，shadow-sm/hover:shadow-md
 *   - 页面顶 banner：渐变 135deg 深蓝 → 紫（营销）· 深绿 → 青（案例）
 */

/* 品牌蓝变量：此前全站从未定义，导致 .btn-primary 等背景透明（白卡上白字"隐形按钮"） */
:root {
    --brand-blue: var(--color-primary);        /* #1976D2，与全站品牌色一致 */
    --brand-blue-deep: var(--color-primary-dark); /* #0D47A1 */
}

/* ====== 页面顶 banner 通用 ====== */
.page-banner {
    padding: 72px 0 90px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -160px; right: -100px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -200px; left: 8%;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.page-banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.page-banner h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: .5px;
}
.page-banner p {
    font-size: 16px;
    line-height: 1.8;
    opacity: .95;
    margin: 0;
}
.page-banner .tabs {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.page-banner .tab {
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background .2s, transform .2s, box-shadow .2s;
    border: 1px solid rgba(255,255,255,0.15);
}
.page-banner .tab:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}
.page-banner .tab.active {
    background: rgba(255,255,255,0.28);
    color: #fff;
    font-weight: 600;
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.banner-marketing { background: linear-gradient(135deg, #2A1D76 0%, #5E3BBA 55%, #8C5CE0 100%); }
.banner-cases { background: linear-gradient(135deg, #0C5950 0%, #108978 55%, #22B38D 100%); }
.banner-fission { background: linear-gradient(135deg, #4A1D2F 0%, #8E2D61 55%, #D06B7F 100%); }

/* ====== section 通用 ====== */
.section {
    padding: 64px 0;
}
.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.section-head p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}
.section-gray { background: #F7F8FA; }

/* ====== 三渠道卡片（/marketing） ====== */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 991px) {
    .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .channel-grid { grid-template-columns: 1fr; }
}
.channel-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #ECEEF3;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.channel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--channel-color, var(--brand-blue));
}
.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(23, 31, 56, 0.08);
}
.channel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.channel-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--channel-color, var(--brand-blue));
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.channel-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}
.channel-tagline {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 2px;
}
.channel-block {
    margin-top: 18px;
}
.channel-block h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.channel-block p, .channel-block li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-primary);
}
.channel-block ol, .channel-block ul {
    padding-left: 18px;
    margin: 0;
}
.channel-kpis {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #E6E8EF;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.channel-kpi {
    background: #F7F8FA;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}
.channel-kpi-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.channel-kpi-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--channel-color, var(--brand-blue));
}

/* ====== 案例列表筛选条 ====== */
.filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #ECEEF3;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 32px;
}
@media (max-width: 991px) {
    .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .filter-bar { grid-template-columns: 1fr; }
}
.filter-item label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.filter-item input, .filter-item select {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #D9DCE6;
    background: #fff;
    font-size: 14px;
    color: var(--text-primary);
    box-sizing: border-box;
}
.filter-item input:focus, .filter-item select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(78,103,245,0.12);
}
.filter-btn {
    height: 36px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}
.filter-btn:hover { background: var(--brand-blue-deep); }

/* ====== 案例卡片网格 ====== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 1100px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .case-grid { grid-template-columns: 1fr; }
}
.case-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #ECEEF3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(23, 31, 56, 0.08);
}
.case-card-cover {
    height: 180px;
    background: linear-gradient(135deg, #108978 0%, #22B38D 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    color: #fff;
}
.case-card-cover.tag-education { background: linear-gradient(135deg, #0C5950 0%, #108978 100%); }
.case-card-info {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.case-card-tag {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.case-card-tag span {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #E8EEFF;
    color: var(--brand-blue);
    font-weight: 600;
}
.case-card-tag span.prov {
    background: #E6F8F1;
    color: #108978;
}
.case-card-tag span.customer {
    background: #FFF4E5;
    color: #B5651D;
}
.case-card h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 2px 0 0;
}
.case-card-summary {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.case-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #ECEEF3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}
.case-card-footer .base { color: #108978; font-weight: 700; }

/* ====== 详情页 ====== */
.case-detail-hero {
    background: #fff;
    border-radius: 14px;
    padding: 32px 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #ECEEF3;
    margin-bottom: 28px;
}
.case-detail-hero h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.case-detail-hero .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.case-detail-hero .meta span b { color: var(--text-primary); margin-right: 4px; }
.case-detail-hero .summary {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    background: #F7F8FA;
    padding: 14px 18px;
    border-left: 3px solid #108978;
    border-radius: 6px;
}
.case-detail-hero .base-badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #E6F8F1;
    color: #108978;
    font-weight: 700;
}
.case-detail-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}
@media (max-width: 991px) {
    .case-detail-body { grid-template-columns: 1fr; }
}
.case-block {
    background: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    border: 1px solid #ECEEF3;
    margin-bottom: 20px;
}
.case-block h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.case-block h3::before {
    content: '';
    width: 4px; height: 16px; border-radius: 2px; background: var(--brand-blue);
}
.case-block p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}
.case-block ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.case-block ul li {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-primary);
    padding: 8px 14px 8px 34px;
    position: relative;
    margin-bottom: 6px;
    background: #F7F8FA;
    border-radius: 8px;
}
.case-block ul li::before {
    content: '✓';
    position: absolute;
    left: 12px; top: 8px;
    color: #108978;
    font-weight: 800;
}
.case-quote {
    border: 1px solid #E6F8F1;
    background: #F1FBF6;
    padding: 22px 26px;
    border-radius: 12px;
    font-size: 14px;
    color: #0C5950;
    line-height: 1.8;
    margin: 0 0 20px;
    position: relative;
}
.case-quote::before {
    content: '"';
    position: absolute;
    top: 6px; left: 14px;
    font-size: 42px;
    line-height: 1;
    opacity: .3;
}
.case-quote-text { padding-left: 18px; }
.case-quote-author {
    margin-top: 10px;
    padding-left: 18px;
    font-weight: 700;
    font-size: 13px;
    opacity: .9;
}
.case-sidebar {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.case-apps-card, .case-video-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    border: 1px solid #ECEEF3;
}
.case-apps-card h4, .case-video-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 14px;
}
.case-app-item {
    display: flex;
    padding: 10px 0;
    border-top: 1px dashed #ECEEF3;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary);
    text-decoration: none;
}
.case-app-item:first-of-type { border-top: none; padding-top: 0; }
.case-app-icon {
    width: 38px; height: 38px; border-radius: 8px;
    background: linear-gradient(135deg, #5E3BBA, #8C5CE0);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; flex-shrink: 0;
    overflow: hidden;
}
.case-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}
.case-app-name { font-size: 14px; font-weight: 700; }
.case-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}
.case-empty .big {
    font-size: 42px;
    display: block;
    margin-bottom: 6px;
}

/* ====== 五路径卡片（/marketing/fission） ====== */
.path-timeline {
    position: relative;
    padding-left: 0;
}
.path-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.path-index {
    width: 68px; height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, #8E2D61, #D06B7F);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(142, 45, 97, 0.25);
    font-size: 26px;
    align-self: start;
}
.path-index span {
    font-size: 11px;
    font-weight: 700;
    opacity: .9;
    letter-spacing: 0.5px;
}
.path-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 26px;
    border: 1px solid #ECEEF3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.path-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(23,31,56,0.08);
}
.path-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.path-head h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}
.path-sub {
    font-size: 13px;
    color: #8E2D61;
    font-weight: 700;
}
.path-card p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-primary);
    margin: 0 0 14px;
}
.path-delivery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.path-delivery span {
    background: #FDF0F4;
    color: #8E2D61;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}
/* 修复：/about 页的竖版卡片网格（.path-timeline .path-card，56px 1fr 两列）
   会误伤本页 JS 渲染的 .path-row > .path-card 结构，导致标题/副标题/交付物
   被压进 56px 窄列变成竖排文字。用更高优先级选择器恢复本页卡片块级布局。 */
.path-timeline .path-row .path-card {
    display: block;
    padding: 24px 26px;
    margin-bottom: 0;
}

/* ====== 两栏表单区（投放咨询 + 合伙人申请） ====== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
@media (max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; }
}
.contact-info {
    background: linear-gradient(135deg, #2A1D76 0%, #5E3BBA 100%);
    color: #fff;
    border-radius: 14px;
    padding: 32px 32px;
    position: relative;
    overflow: hidden;
}
.contact-info.c-info-fission { background: linear-gradient(135deg, #4A1D2F 0%, #8E2D61 100%); }
.contact-info::before {
    content: '';
    position: absolute;
    right: -60px; bottom: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.contact-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
    position: relative;
}
.contact-info .desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: .95;
    position: relative;
    margin-bottom: 24px;
}
.contact-info ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-info ul li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
}
.contact-info ul li .ico {
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; flex-shrink: 0;
}
.contact-form {
    background: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    border: 1px solid #ECEEF3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.contact-form h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 18px;
}
/* 复用 apps/auth 表单 36px 输入 / 44px 按钮的通用样式（UI 规范） */
.form-row {
    margin-bottom: 16px;
}
.form-row .lbl {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 600;
}
.form-row .lbl .req { color: #E74C3C; margin-left: 2px; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #D9DCE6;
    border-radius: 8px;
    background: #fff;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-row input, .form-row select { height: 36px; }
.form-row textarea {
    min-height: 88px;
    padding: 10px 12px;
    resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(78,103,245,0.12);
}
.form-row .err {
    color: #E74C3C;
    font-size: 12px;
    margin-top: 6px;
    min-height: 14px;
}
.form-row.row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 560px) {
    .form-row.row-double { grid-template-columns: 1fr; }
}
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}
.btn-primary {
    height: 44px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--brand-blue);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--brand-blue-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled {
    background: #9EB1FF;
    cursor: not-allowed;
}

/* 通用 Toast（与 auth 页保持一致视觉） */
.marketing-toast {
    position: fixed;
    bottom: 40px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 22px;
    background: rgba(23, 31, 56, 0.92);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all .28s ease;
    z-index: 9999;
    box-shadow: 0 10px 28px rgba(23, 31, 56, 0.28);
    max-width: 92vw;
}
.marketing-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.marketing-toast.success { background: #108978; }
.marketing-toast.error { background: #C0392B; }

/* =========================================================
 * About 平台介绍页（新增）
 * =======================================================*/

/* Banner 渐变（品牌蓝系，与 fission 的玫红系区分） */
.banner-about {
    background: linear-gradient(135deg, #0F172A 0%, #1E40AF 50%, #3B82F6 100%);
}
.banner-about h1, .banner-about p { color: #fff; }
.banner-about .tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.banner-about .tags span {
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(4px);
}

/* path-card：竖版能力点卡片 */
.path-timeline .path-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #EEF1F7;
    background: #fff;
    transition: all .2s;
    margin-bottom: 14px;
}
.path-timeline .path-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 6px 20px rgba(59,130,246,0.08);
}
.path-timeline .path-num {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    color: #fff; font-weight: 700; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: -0.5px;
}
.path-timeline .path-title {
    font-size: 17px; font-weight: 600; color: #0F172A; margin-bottom: 6px;
}
.path-timeline .path-desc {
    font-size: 14px; color: #5A6482; line-height: 1.7;
}

/* cmp-table：技术底座表格 */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 24px;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #EEF1F7;
}
.cmp-table th {
    background: #F1F5F9;
    color: #0F172A;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #EEF1F7;
}
.cmp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    line-height: 1.6;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table td:first-child { font-weight: 600; color: #1E40AF; white-space: nowrap; }

/* vision-quote：愿景引用块 */
.vision-quote {
    position: relative;
    padding: 28px 32px;
    margin: 18px 0 26px;
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    border-left: 4px solid #3B82F6;
    border-radius: 0 12px 12px 0;
    font-size: 17px;
    font-weight: 500;
    color: #1E3A8A;
    line-height: 1.8;
}

/* bullet-list：愿景后四个 bullet */
.bullet-list { padding-left: 22px; margin: 10px 0 20px; }
.bullet-list li { margin: 6px 0; color: #334155; line-height: 1.8; font-size: 14px; }
.bullet-list b { color: #0F172A; }

/* contact-grid：联系我们六格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.contact-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid #EEF1F7;
    border-radius: 10px;
    transition: all .2s;
}
.contact-item:hover { border-color: #3B82F6; box-shadow: 0 4px 14px rgba(59,130,246,0.08); }
.contact-ic {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-title { font-size: 13px; color: #8B96B5; margin-bottom: 2px; }
.contact-val { font-size: 14px; color: #0F172A; font-weight: 500; line-height: 1.5; }
.contact-val a { color: #1E40AF; text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }

/* side-links：侧栏链接列表 */
.side-links { list-style: none; padding: 0; margin: 0 0 16px; }
.side-links li { margin: 6px 0; }
.side-links a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    transition: all .15s;
}
.side-links a:hover {
    background: #EFF6FF;
    color: #1E40AF;
}

/* ============================================================
   新闻动态 /news/* 页面（参考案例页结构，纯列表+详情渲染）
   ============================================================ */
.banner-news {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 45%, #8B5CF6 100%);
    color: #fff;
    padding: 80px 0 72px;
}
.banner-news .page-banner-inner { text-align: left; }
.banner-news h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.banner-news p { font-size: 15px; opacity: .9; line-height: 1.7; max-width: 760px; margin: 0; }
.banner-news .tabs { margin-top: 24px; }

/* 新闻卡片：列表页新闻 2 列（移动端 1 列） */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 900px)  { .news-grid { grid-template-columns: 1fr; } }

.news-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ECEEF3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 24px 26px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(23, 31, 56, 0.09);
    border-color: #C7D2FE;
}
.news-card .nc-sticky {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    background: #DC2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    align-self: flex-start;
}
.news-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
    margin: 0;
}
.news-card .nc-sub {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}
.news-card .nc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.news-card .nc-tags span {
    font-size: 12px;
    padding: 2px 9px;
    background: #EFF6FF;
    color: #1D4ED8;
    border-radius: 999px;
}
.news-card .nc-tags .type { background: #FEF3C7; color: #92400E; }
.news-card .nc-tags .cat  { background: #FCE7F3; color: #9D174D; }
.news-card .nc-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #E5E7EB;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #6B7280;
}
.news-card .nc-meta .src { color: #0F172A; font-weight: 600; }
.news-card .nc-meta .eye { color: #2563EB; }

/* 详情页正文样式 */
.news-detail {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ECEEF3;
    padding: 40px 56px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
@media (max-width: 760px) {
    .news-detail { padding: 24px 20px; }
}
.news-detail h1.title {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
    margin: 0 0 12px;
}
.news-detail .subtitle {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 20px;
}
.news-detail .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E5E7EB;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 28px;
}
.news-detail .meta .b {
    display: inline-block;
    padding: 3px 10px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 6px;
    font-weight: 600;
}
.news-detail .meta .c {
    display: inline-block;
    padding: 3px 10px;
    background: #FCE7F3;
    color: #9D174D;
    border-radius: 6px;
    font-weight: 600;
}
.news-detail .content {
    font-size: 16px;
    color: #1F2937;
    line-height: 1.9;
}
.news-detail .content h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin: 36px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #3B82F6;
}
.news-detail .content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1E3A8A;
    margin: 24px 0 10px;
}
.news-detail .content p {
    margin: 0 0 16px;
    text-align: justify;
    text-indent: 2em;
}
.news-detail .content ul {
    margin: 0 0 16px;
    padding-left: 1.2em;
}
.news-detail .content ul li {
    line-height: 2;
    margin-bottom: 4px;
    list-style-type: disc;
}
.news-detail .content ul li::marker { color: #3B82F6; }
.news-detail .content .quote {
    margin: 20px 0 24px;
    padding: 16px 22px;
    background: #FFF8E5;
    border-left: 4px solid #F59E0B;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #92400E;
    line-height: 1.8;
}
.news-detail .content .quote .auth {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    text-align: right;
    font-style: normal;
}
.news-detail .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
    background: #fff;
    font-size: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.news-detail .content table th,
.news-detail .content table td {
    padding: 10px 14px;
    border-bottom: 1px solid #E5E7EB;
    text-align: left;
    line-height: 1.6;
}
.news-detail .content table th {
    background: #EFF6FF;
    color: #1E40AF;
    font-weight: 700;
}
.news-detail .content table tr:last-child td { border-bottom: none; }
.news-detail .content table td:first-child,
.news-detail .content table th:first-child {
    font-weight: 600;
    color: #0F172A;
    background: #FAFBFF;
}
.news-detail .back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #3B82F6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.news-detail .back-link:hover { text-decoration: underline; }

/* ====== 引流奖励系统 v1 样式 ====== */

/* Banner */
.banner-referral,
.banner-referral-admin {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB344 100%);
    color: #fff;
}
.banner-referral .page-banner-inner h1,
.banner-referral-admin .page-banner-inner h1 { color: #fff; }
.banner-referral .page-banner-inner p,
.banner-referral-admin .page-banner-inner p { color: rgba(255,255,255,0.92); margin-top: 8px; line-height: 1.7; }
.banner-referral .tabs,
.banner-referral-admin .tabs { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.banner-referral .tab,
.banner-referral-admin .tab {
    padding: 8px 18px; background: rgba(255,255,255,0.18); color: #fff;
    border-radius: 20px; font-size: 14px; text-decoration: none;
    transition: background 0.2s;
}
.banner-referral .tab:hover,
.banner-referral-admin .tab:hover { background: rgba(255,255,255,0.30); }
.banner-referral .tab.active,
.banner-referral-admin .tab.active { background: #fff; color: #FF8C42; font-weight: 600; }

/* 卡片 */
.referral-card {
    background: #fff; border-radius: 12px; padding: 28px 32px;
    margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.referral-card .card-title { font-size: 20px; font-weight: 600; color: #1F2937; margin: 0 0 8px; }
.referral-card .card-desc { color: #6B7280; font-size: 14px; margin: 0 0 16px; line-height: 1.6; }

/* 登录提示 */
.login-tip { background: #fff; border-radius: 12px; padding: 60px 32px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.login-tip-inner h3 { color: #1F2937; margin: 0 0 8px; font-size: 20px; }
.login-tip-inner p { color: #6B7280; margin: 0 0 20px; }

/* 余额卡片 */
.balance-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 768px) { .balance-row { grid-template-columns: 1fr; } }
.balance-item {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-radius: 10px; padding: 20px 24px; text-align: left;
}
.balance-available { background: linear-gradient(135deg, #FEF3F2 0%, #FEE4E2 100%); }
.balance-frozen { background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%); }
.balance-pending { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); }
.balance-label { color: #6B7280; font-size: 13px; margin-bottom: 8px; }
.balance-amount { color: #1F2937; font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.balance-available .balance-amount { color: #DC2626; }
.balance-frozen .balance-amount { color: #D97706; }
.balance-pending .balance-amount { color: #2563EB; }
.balance-actions { margin-top: 4px; }
.balance-sub { color: #9CA3AF; font-size: 12px; margin-top: 4px; }
.balance-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 24px; background: #F9FAFB; border-radius: 8px; }
@media (max-width: 768px) { .balance-summary { grid-template-columns: repeat(2, 1fr); } }
.summary-item { font-size: 13px; color: #6B7280; }
.summary-val { color: #1F2937; font-weight: 600; margin-left: 4px; }

/* 提交表单 */
.submit-form { display: flex; gap: 12px; margin: 16px 0; max-width: 460px; }
.submit-form .form-input { flex: 1; padding: 10px 14px; border: 1px solid #D1D5DB; border-radius: 6px; font-size: 14px; }
.submit-form .form-input:focus { outline: none; border-color: #3B82F6; }
.form-msg { margin-top: 8px; font-size: 13px; min-height: 18px; }
.msg-success { color: #16A34A; }
.msg-error { color: #DC2626; }
.msg-info { color: #2563EB; }
.policy-hint { margin-top: 16px; padding: 12px 16px; background: #FEFCE8; border-left: 4px solid #D97706; border-radius: 4px; font-size: 13px; color: #92400E; }

/* 表格通用 */
.list-filter { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.list-filter label { color: #6B7280; font-size: 14px; }
.list-filter select { padding: 6px 12px; border: 1px solid #D1D5DB; border-radius: 6px; font-size: 14px; background: #fff; }
.rewards-table { width: 100%; overflow-x: auto; }
.rewards-row { display: grid; grid-template-columns: 80px 1fr 100px 100px 100px 140px 160px; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #F3F4F6; font-size: 13px; align-items: center; }
.rewards-row:nth-child(even) { background: #FAFBFC; }
.rewards-header-row { background: #F9FAFB; font-weight: 600; color: #4B5563; border-bottom: 2px solid #E5E7EB; }
.rewards-row .amt { color: #DC2626; font-weight: 600; }
.rewards-row > div { word-break: break-all; }
.rewards-empty { padding: 40px; text-align: center; color: #9CA3AF; font-size: 14px; }

/* 状态标签 */
.reward-status { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; display: inline-block; }
.st-pending { background: #DBEAFE; color: #1E40AF; }
.st-frozen { background: #FEF3C7; color: #92400E; }
.st-released { background: #D1FAE5; color: #065F46; }
.st-rollback { background: #FEE2E2; color: #991B1B; }

/* 管理后台表格 */
.admin-table { width: 100%; overflow-x: auto; }
.admin-row { display: grid; grid-template-columns: 70px 100px 140px 80px 90px 100px 160px; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #F3F4F6; font-size: 13px; align-items: center; }
.admin-row:nth-child(even) { background: #FAFBFC; }
.admin-header-row { background: #F9FAFB; font-weight: 600; color: #4B5563; border-bottom: 2px solid #E5E7EB; }
.admin-row .amt { color: #DC2626; font-weight: 600; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* 统计卡片 */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-item { background: #F9FAFB; border-radius: 8px; padding: 20px 24px; }
.stat-label { color: #6B7280; font-size: 13px; margin-bottom: 6px; }
.stat-val { color: #1F2937; font-size: 22px; font-weight: 700; }

/* 按钮通用 */
.btn-primary {
    background: #3B82F6; color: #fff; padding: 8px 16px; border: none; border-radius: 6px;
    font-size: 14px; cursor: pointer; transition: background 0.2s;
}
.btn-primary:hover { background: #2563EB; }
.btn-secondary {
    background: #fff; color: #374151; padding: 8px 16px; border: 1px solid #D1D5DB; border-radius: 6px;
    font-size: 14px; cursor: pointer; transition: background 0.2s;
}
.btn-secondary:hover { background: #F9FAFB; }
.btn-danger {
    background: #DC2626; color: #fff; padding: 8px 16px; border: none; border-radius: 6px;
    font-size: 14px; cursor: pointer; transition: background 0.2s;
}
.btn-danger:hover { background: #B91C1C; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

/* 弹框 */
.modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: #fff; border-radius: 12px; max-width: 500px; width: 90%;
    max-height: 90vh; overflow-y: auto;
}
.modal-header { padding: 16px 24px; border-bottom: 1px solid #E5E7EB; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 18px; color: #1F2937; }
.modal-close { font-size: 28px; cursor: pointer; color: #6B7280; line-height: 1; }
.modal-close:hover { color: #1F2937; }
.modal-body { padding: 20px 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #E5E7EB; display: flex; justify-content: flex-end; gap: 12px; }
.modal-form-row { margin-bottom: 14px; }
.modal-form-row label { display: block; font-size: 13px; color: #6B7280; margin-bottom: 6px; }
.modal-form-row input, .modal-form-row select, .modal-form-row textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #D1D5DB; border-radius: 6px; font-size: 14px; box-sizing: border-box;
}
.modal-form-row textarea { resize: vertical; }
.modal-info-row { font-size: 14px; color: #374151; margin-bottom: 10px; }
.modal-info-row strong { color: #1F2937; }

/* 分页 */
.pagination { margin-top: 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.page-btn {
    padding: 6px 14px; background: #fff; border: 1px solid #D1D5DB; border-radius: 6px;
    color: #374151; font-size: 13px; cursor: pointer; text-decoration: none;
}
.page-btn:hover { background: #F9FAFB; border-color: #3B82F6; }
.page-cur { color: #6B7280; font-size: 13px; }

/* ============================================================
 * 引流奖励页 移动端适配（卡片化 + 表单堆叠）
 * ============================================================ */
@media (max-width: 768px) {
    .referral-card { padding: 18px 16px; }
    .referral-card .card-title { font-size: 17px; }

    /* 提交推荐表单：纵向堆叠 */
    .submit-form { flex-direction: column; max-width: 100%; }
    .submit-form .form-input { width: 100%; box-sizing: border-box; height: 44px; }
    .submit-form .btn-primary { width: 100%; min-height: 44px; }

    /* 推荐明细：表头隐藏，每行转为卡片 */
    .rewards-header-row { display: none; }
    .rewards-row {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        padding: 14px 16px;
        margin-bottom: 10px;
        border: 1px solid #F3F4F6;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .rewards-row:nth-child(even) { background: #fff; }
    .rewards-row > div { word-break: break-all; font-size: 13px; }
    .rewards-row > div::before { color: #9CA3AF; font-size: 11px; margin-right: 4px; }
    .rewards-row > div:nth-child(1)::before { content: 'ID'; }
    .rewards-row > div:nth-child(2)::before { content: '被推荐人'; }
    .rewards-row > div:nth-child(3)::before { content: '层级'; }
    .rewards-row > div:nth-child(4)::before { content: '金额'; }
    .rewards-row > div:nth-child(5)::before { content: '状态'; }
    .rewards-row > div:nth-child(6)::before { content: '付费时间'; }
    .rewards-row > div:nth-child(7)::before { content: '释放时间'; }

    /* 管理后台表格行同样卡片化 */
    .admin-header-row { display: none; }
    .admin-row {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        padding: 14px 16px;
        margin-bottom: 10px;
        border: 1px solid #F3F4F6;
        border-radius: 10px;
    }
    .admin-row:nth-child(even) { background: #fff; }

    /* 筛选栏 */
    .list-filter { gap: 8px; }
    .list-filter select { height: 38px; }

    /* ── 融媒体线索表单移动端 ── */
    .contact-wrap { gap: 16px; }
    .contact-info, .contact-form { padding: 20px 16px; }
    .contact-info h3, .contact-form h3 { font-size: 18px; }
    /* 双列表单行在手机端堆叠（原阈值 560px 提升到 768px） */
    .form-row.row-double { grid-template-columns: 1fr; gap: 0; }
    /* 输入框触控高度 44px，字号 16px 防 iOS 聚焦缩放 */
    .form-row input, .form-row select { height: 44px; font-size: 16px; }
    .form-row textarea { font-size: 16px; min-height: 100px; }
    /* 渠道单选项：换行 + 加大触控区 */
    .form-row label[style*="display:flex"] {
        min-height: 40px;
        padding: 8px 4px;
        font-size: 14px;
    }
    .form-row label[style*="display:flex"] input[type="radio"] { width: 20px !important; height: 20px !important; }
    /* 提交按钮全宽触控 */
    .form-actions { justify-content: stretch; }
    .form-actions .btn-primary { width: 100%; min-height: 44px; }
    /* 三渠道卡片网格堆叠 */
    .channel-grid { grid-template-columns: 1fr !important; gap: 12px; }

    /* ── .modal 弹窗 → bottom-sheet（.modal 为全屏遮罩，.modal-content 为对话框） ── */
    .modal { align-items: flex-end; }
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        border-radius: 16px 16px 0 0;
    }
    .modal-header { padding: 14px 16px; }
    .modal-body { padding: 16px; }
    .modal-footer {
        padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
        flex-direction: column;
        gap: 8px;
    }
    .modal-footer .btn, .modal-footer button { width: 100%; min-height: 44px; }
    .modal-form-row input, .modal-form-row select { height: 44px; font-size: 16px; }
}


