/* ============================================
   讯灵寰宇 - 新增板块样式
   中国晨报合作页 + 新闻中心页
   依赖：assets/css/main.css（CSS 变量与基础组件）
   ============================================ */

/* --------------------------------------------
   通用工具
   -------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 滚动显现（若 main.css 未提供 visible 规则则此处兜底） */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 表单错误态 */
.cmp-form input.is-invalid,
.cmp-form textarea.is-invalid,
.cmp-form select.is-invalid,
.news-subscribe-form input.is-invalid {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.04);
}

/* 修复：main.css 的 nav 元素选择器会把页内 nav 固定到顶部，这里重置 */
nav.page-breadcrumb,
nav.news-pagination {
    position: static;
    z-index: auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
    transition: none;
}

/* 修复：display:flex 覆盖 hidden 属性导致成功提示常显 */
.cmp-form-success[hidden],
.cmp-form-error[hidden] {
    display: none;
}

.cmp-form-error {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cmp-form-submit.is-loading,
.cmp-form-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* ============================================
   一、中国晨报合作页
   ============================================ */

/* ---------- 合作概述 ---------- */
.page-cmp .section {
    padding: 3rem 0;
}

.page-cmp .section-header {
    margin-bottom: 1.75rem;
}

.cmp-overview-section {
    padding-top: 2.5rem;
}

.page-cmp .team-cta-section {
    padding-top: 0.5rem;
    padding-bottom: 3.25rem;
}

.cmp-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: center;
}

.cmp-overview-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    height: 100%;
    padding: 1.75rem;
    background: linear-gradient(150deg, rgba(99, 102, 241, 0.07) 0%, rgba(6, 182, 212, 0.07) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.cmp-logo-pair {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
}

.cmp-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 1rem 0.85rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cmp-logo-img {
    width: 100%;
    max-width: 132px;
    height: auto;
    object-fit: contain;
}

.cmp-logo-box-media {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    border-color: transparent;
}

.cmp-media-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.cmp-logo-box-media small {
    margin-top: 0.25rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

.cmp-logo-x {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cmp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.28);
}

.cmp-badge i {
    font-size: 1.05rem;
}

.cmp-overview-text h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.35;
    margin-bottom: 1.25rem;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cmp-overview-text p {
    color: var(--text-subtle);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.cmp-overview-text p strong {
    color: var(--text-light);
    font-weight: 600;
}

.cmp-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 1.75rem;
}

/* ---------- 数据条 ---------- */
.cmp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 4rem;
}

.cmp-stat {
    padding: 1.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.cmp-stat:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.cmp-stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cmp-stat-value span {
    font-size: 1rem;
    margin-left: 0.1rem;
}

.cmp-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---------- 合作价值 ---------- */
.cmp-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.cmp-value-card {
    padding: 2rem 1.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cmp-value-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cmp-value-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.cmp-value-card:hover::before {
    transform: scaleX(1);
}

.cmp-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.26);
}

.cmp-value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.cmp-value-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* ---------- 合作模式 ---------- */
.cmp-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.cmp-model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 1.9rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.cmp-model-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.cmp-model-card-featured {
    border-color: rgba(99, 102, 241, 0.42);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.16);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, #ffffff 42%);
}

.cmp-model-ribbon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.28rem 0.8rem;
    border-radius: 50px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.cmp-model-label {
    display: inline-block;
    align-self: flex-start;
    padding: 0.28rem 0.75rem;
    border-radius: 6px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.cmp-model-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.7rem;
}

.cmp-model-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.cmp-model-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex: 1;
}

.cmp-model-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-subtle);
    font-size: 0.92rem;
    line-height: 1.6;
}

.cmp-model-list li i {
    color: var(--secondary);
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.cmp-model-btn {
    width: 100%;
    justify-content: center;
}

/* ---------- 合作流程 ---------- */
.cmp-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: flow;
}

.cmp-flow-item {
    position: relative;
    padding: 1.75rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.cmp-flow-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

/* 连接箭头 */
.cmp-flow-item::after {
    content: '';
    position: absolute;
    top: 3.6rem;
    right: -0.85rem;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    transform: rotate(45deg);
    opacity: 0.9;
}

.cmp-flow-item:last-child::after {
    display: none;
}

.cmp-flow-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.9rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cmp-flow-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.cmp-flow-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ---------- 资源位 ---------- */
.cmp-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.cmp-resource-card {
    padding: 2.25rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.cmp-resource-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.cmp-resource-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.cmp-resource-head i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cmp-resource-head h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.cmp-resource-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cmp-resource-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-subtle);
    font-size: 0.94rem;
    line-height: 1.65;
}

.cmp-resource-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient-2);
}

/* ---------- 舆情监控系统通栏卡 ---------- */
.cmp-resource-card-wide {
    grid-column: 1 / -1;
    background:
        linear-gradient(160deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%),
        var(--card-bg);
}

.cmp-resource-head-wide {
    flex-wrap: wrap;
}

.cmp-resource-badge {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.cmp-resource-desc {
    margin: 0 0 1.5rem;
    color: var(--text-subtle);
    font-size: 0.96rem;
    line-height: 1.85;
}

.cmp-resource-list-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.75rem;
}

@media (max-width: 680px) {
    .cmp-resource-list-cols {
        grid-template-columns: 1fr;
    }
}

/* 移动端横幅：面包屑与栏目标签分行，避免同行超宽撑破画布 */
@media (max-width: 680px) {
    .page-banner .page-breadcrumb {
        display: flex;
        justify-content: center;
    }

    .page-banner .section-tag {
        display: block;
    }

    /* 顶部导航：压缩 CTA 与 Logo，确保汉堡菜单键在 375px 下可见 */
    .nav-container .nav-cta {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
        gap: 0.3rem;
    }

    .nav-container .nav-cta i {
        display: none;
    }

    .nav-container .logo-img {
        max-width: 132px;
        height: auto;
    }
}

/* 小屏保险：375px 及以下进一步压缩导航，确保 Logo + CTA + 汉堡键一行放下 */
@media (max-width: 480px) {
    .nav-container .nav-cta {
        font-size: 0.8rem;
        padding: 0.5rem 0.85rem;
    }

    .nav-container .logo-img {
        max-width: 118px;
    }

    .nav-container {
        gap: 0.5rem;
    }
}

/* FAQ 与首页共用 main.css，不再单独覆盖 */

/* ---------- 合作咨询表单 ---------- */
.cmp-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(150deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 26px;
}

.cmp-form-intro h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.35;
    margin: 0.75rem 0 1rem;
    color: var(--text-light);
}

.cmp-form-intro > p {
    color: var(--text-subtle);
    font-size: 1rem;
    line-height: 1.85;
}

.cmp-form-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.75rem 0;
}

.cmp-form-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.6;
}

.cmp-form-points li i {
    color: var(--secondary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.cmp-form-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.cmp-form-contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.5;
    transition: var(--transition);
}

.cmp-form-contact-item i {
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.cmp-form-contact-item:hover {
    color: var(--primary-dark);
}

.cmp-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 2.25rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.cmp-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.cmp-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cmp-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
}

.cmp-field label span {
    color: #ef4444;
}

.cmp-field input,
.cmp-field select,
.cmp-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.94rem;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.cmp-field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cmp-field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

.cmp-field input::placeholder,
.cmp-field textarea::placeholder {
    color: #94a3b8;
}

.cmp-field input:focus,
.cmp-field select:focus,
.cmp-field textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.cmp-form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
}

.cmp-form-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.cmp-form-note i {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.cmp-form-success {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.32);
    color: #0e7490;
    font-size: 0.92rem;
    font-weight: 500;
}

.cmp-form-success i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================
   二、新闻中心页
   ============================================ */

/* ---------- 头条 ---------- */
.news-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;

    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.09);
    margin-bottom: 3.5rem;
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: 0 22px 60px rgba(99, 102, 241, 0.14);
    border-color: var(--border-color);
}

.news-featured-media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: linear-gradient(140deg, #6366f1 0%, #06b6d4 100%);
}

.news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-featured:hover .news-featured-media img {
    transform: scale(1.04);
}

.news-featured-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

.news-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.5rem;
}

.news-featured-body h2 {
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    line-height: 1.45;
    color: var(--text-light);
    margin: 0.9rem 0 1rem;
}

.news-featured-body p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
}

/* ---------- 元信息 ---------- */
.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.news-cat {
    display: inline-block;
    padding: 0.24rem 0.7rem;
    border-radius: 6px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.news-meta time {
    color: var(--text-muted);
}

/* ---------- 链接 ---------- */
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.news-link i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-link:hover {
    color: var(--secondary);
}

.news-link:hover i {
    transform: translateX(4px);
}

/* ---------- 工具栏 ---------- */
.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.news-filter {
    padding: 0.55rem 1.25rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.news-filter:hover {
    color: var(--primary-dark);
    border-color: var(--border-color);
    background: var(--glass);
}

.news-filter.is-active {
    color: #ffffff;
    background: var(--gradient-2);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.26);
}

.news-search {
    position: relative;
    flex-shrink: 0;
    width: min(280px, 100%);
}

.news-search i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.05rem;
    pointer-events: none;
}

.news-search input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.news-search input::placeholder {
    color: #94a3b8;
}

.news-search input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* ---------- 新闻网格 ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.news-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.85) 0%, rgba(6, 182, 212, 0.85) 100%);
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-media img {
    transform: scale(1.06);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.65rem;
    flex: 1;
}

.news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--text-light);
    margin: 0.85rem 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body .news-link {
    margin-top: auto;
    font-size: 0.88rem;
}

/* 空状态（须配合 [hidden]，否则 display:flex 会盖掉浏览器默认隐藏） */
.news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    text-align: center;
}

.news-empty[hidden] {
    display: none !important;
}

.news-empty i {
    font-size: 2.25rem;
    color: var(--border-color);
}

/* ---------- 分页 ---------- */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3.25rem;
}

.news-pagination[hidden],
.news-featured[hidden] {
    display: none !important;
}

.news-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.7rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.news-page-btn:hover:not(:disabled):not(.is-active) {
    color: var(--primary-dark);
    border-color: var(--border-color);
    background: var(--glass);
}

.news-page-btn.is-active {
    color: #ffffff;
    background: var(--gradient-2);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.26);
}

.news-page-btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.news-page-dots {
    color: var(--text-muted);
    padding: 0 0.25rem;
}

/* ---------- 订阅 ---------- */
.news-subscribe-section {
    padding-top: 0;
}

.news-subscribe {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.75rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(79, 70, 229, 0.24);
}

.news-subscribe-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 1.85rem;
    flex-shrink: 0;
}

.news-subscribe-text h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.news-subscribe-text p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.7;
}

.news-subscribe-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-subscribe-form input {
    flex: 1;
    min-width: 180px;
    padding: 0.85rem 1.15rem;
    font-family: inherit;
    font-size: 0.94rem;
    color: var(--text-light);
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.news-subscribe-form input::placeholder {
    color: #94a3b8;
}

.news-subscribe-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.32);
}

.news-subscribe-form .btn-primary {
    background: #0f172a;
    box-shadow: none;
    flex-shrink: 0;
}

.news-subscribe-form .btn-primary:hover {
    background: #1e293b;
}

.news-subscribe-msg {
    width: 100%;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 1.2em;
}

.news-subscribe-msg.is-success {
    color: #d1fae5;
}

.news-subscribe-msg.is-error {
    color: #fecaca;
}

/* ============================================
   三、新闻详情页
   ============================================ */

.news-detail-section {
    position: relative;
    padding-top: 9rem;
    padding-bottom: 5rem;
    background: var(--bg-subtle);
    overflow: hidden;
}

/* 背景氛围光斑 */
.news-detail-section::before,
.news-detail-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.news-detail-section::before {
    top: -140px;
    left: -140px;
    background: rgba(99, 102, 241, 0.16);
}

.news-detail-section::after {
    right: -120px;
    bottom: -160px;
    background: rgba(6, 182, 212, 0.14);
}

.news-detail-section .container {
    position: relative;
    z-index: 1;
}

.news-detail-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 2.75rem 3rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

/* ---------- 面包屑 ---------- */
.news-detail-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.84rem;
}

.news-detail-crumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.news-detail-crumb a:hover {
    color: var(--primary-dark);
}

.news-detail-crumb i {
    color: var(--border-color);
    font-size: 0.75rem;
}

.news-detail-crumb span {
    color: var(--text-light);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 34em;
}

/* ---------- 状态区（加载 / 错误） ---------- */
.news-detail-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.news-detail-state[hidden] {
    display: none;
}

.news-detail-state > i {
    font-size: 3rem;
    color: var(--border-color);
}

.news-detail-state h2 {
    font-size: 1.35rem;
    color: var(--text-light);
    margin: 0;
}

.news-detail-state p {
    font-size: 0.95rem;
    margin: 0;
    max-width: 32em;
    line-height: 1.75;
}

.news-detail-state .btn {
    margin-top: 0.75rem;
}

.news-detail-spinner {
    font-size: 2.5rem !important;
    color: var(--primary) !important;
    animation: news-spin 0.9s linear infinite;
}

@keyframes news-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-detail-spinner {
        animation: none;
    }
}

/* ---------- 沉浸式头部 ---------- */
.news-detail-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    padding: 2.5rem 2.6rem 2.3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
    color: #ffffff;
}

.news-detail-hero::before,
.news-detail-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    pointer-events: none;
}

.news-detail-hero::before {
    right: -90px;
    top: -120px;
    width: 300px;
    height: 300px;
}

.news-detail-hero::after {
    left: -70px;
    bottom: -110px;
    width: 230px;
    height: 230px;
    background: rgba(255, 255, 255, 0.09);
}

.news-detail-hero > * {
    position: relative;
    z-index: 1;
}

.news-detail-head {
    margin-bottom: 0;
}

.news-detail-head .news-meta {
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
}

.news-detail-hero .news-cat {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.38);
    color: #ffffff;
}

.news-meta-item,
.news-detail-views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}

.news-detail-hero .news-meta time,
.news-detail-hero .news-meta-item,
.news-detail-hero .news-detail-views {
    color: #ffffff;
}

.news-detail-views[hidden] {
    display: none;
}

.news-detail-hero .news-meta i {
    font-size: 0.95rem;
    color: #ffffff;
}

.news-detail-hero h1 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.45;
    color: #ffffff;
    margin: 1.15rem 0 0;
    letter-spacing: -0.01em;
}

.news-detail-hero .news-detail-summary {
    margin: 1.15rem 0 0;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 0 12px 12px 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.8;
}

.news-detail-summary[hidden] {
    display: none;
}

/* ---------- 封面 ---------- */
.news-detail-cover {
    margin: 0 0 2.25rem;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.85) 0%, rgba(6, 182, 212, 0.85) 100%);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

.news-detail-cover[hidden] {
    display: none;
}

.news-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- 正文 ---------- */
.news-detail-body {
    color: var(--text-subtle);
    font-size: 1rem;
    line-height: 1.95;
}

.news-detail-body > *:first-child {
    margin-top: 0;
}

.news-detail-body p {
    margin: 0 0 1.35rem;
}

.news-detail-body h2 {
    position: relative;
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2.4rem 0 1.1rem;
    padding-left: 0.95rem;
    line-height: 1.5;
}

.news-detail-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 4px;
    height: 1.05em;
    border-radius: 4px;
    background: var(--gradient-2);
}

.news-detail-body ul {
    margin: 0 0 1.35rem;
    padding-left: 0;
    list-style: none;
}

.news-detail-body ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    line-height: 1.85;
}

.news-detail-body ul li::before {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient-2);
}

.news-detail-body strong {
    color: var(--text-light);
    font-weight: 700;
}

.news-detail-body img {
    max-width: 100%;
    border-radius: 14px;
    margin: 0.25rem 0 1.5rem;
}

.news-detail-body blockquote {
    margin: 0 0 1.5rem;
    padding: 1.05rem 1.35rem;
    background: var(--glass);
    border-left: 3px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.news-detail-body blockquote p:last-child {
    margin-bottom: 0;
}

.news-detail-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.news-detail-body ol li {
    margin-bottom: 0.6rem;
    line-height: 1.85;
}

.news-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5rem;
    font-size: 0.92rem;
}

.news-detail-body th,
.news-detail-body td {
    border: 1px solid var(--border-light);
    padding: 0.7rem 0.9rem;
    text-align: left;
    vertical-align: top;
}

.news-detail-body th {
    background: var(--glass);
    color: var(--text-light);
    font-weight: 600;
}

/* ---------- 标签 ---------- */
.news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
}

.news-detail-tags[hidden] {
    display: none;
}

.news-detail-tag {
    display: inline-block;
    padding: 0.36rem 0.85rem;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.news-detail-tag:hover {
    background: var(--gradient-2);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.24);
}

/* ---------- 阅读原文（外链，低调文本链） ---------- */
.news-detail-source {
    margin: 1.35rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.news-detail-source[hidden] {
    display: none !important;
}

.news-detail-source a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.news-detail-source a:hover {
    color: var(--text-light, #334155);
    border-bottom-color: currentColor;
}

.news-detail-source i {
    font-size: 0.95rem;
    opacity: 0.75;
}

.news-detail-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
}

.news-detail-foot .news-link {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--card-bg);
}

.news-detail-foot .news-link:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: var(--glass);
}

/* ---------- 延伸阅读 CTA（后台 link 字段，正文下方内嵌，不整页跳转） ---------- */
.news-detail-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
    padding: 1.1rem 1.35rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.10), rgba(99, 102, 241, 0.10));
    border: 1px solid rgba(99, 102, 241, 0.20);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.10);
}

.news-detail-cta[hidden] {
    display: none;
}

.news-detail-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #6366f1;
}

.news-detail-cta-label i {
    font-size: 1rem;
}

.news-detail-cta-link {
    margin-left: auto;
    text-decoration: none;
}

/* ---------- 相关阅读 ---------- */
.news-related {
    max-width: 1100px;
    margin: 3.5rem auto 0;
}

.news-related[hidden] {
    display: none;
}

.news-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
}

.news-related-head h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    padding-left: 0.95rem;
    position: relative;
}

.news-related-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 4px;
    height: 1.05em;
    border-radius: 4px;
    background: var(--gradient-2);
}

/* 无封面卡片的浅色兜底（替代高饱和渐变色块） */
.news-card-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(130% 130% at 85% 12%, rgba(6, 182, 212, 0.14) 0%, rgba(6, 182, 212, 0) 55%),
        radial-gradient(130% 130% at 12% 88%, rgba(99, 102, 241, 0.16) 0%, rgba(99, 102, 241, 0) 55%),
        var(--glass);
}

.news-card-media-fallback i {
    font-size: 2.6rem;
    color: rgba(99, 102, 241, 0.38);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-media-fallback i {
    transform: scale(1.12);
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

/* ============================================
   响应式
   ============================================ */

@media (max-width: 900px) {
    .page-cmp .section {
        padding: 2.25rem 0;
    }

    .page-cmp .section-header {
        margin-bottom: 1.35rem;
    }

    .page-cmp .team-cta-section {
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 1100px) {
    .cmp-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cmp-flow-item:nth-child(3)::after {
        display: none;
    }

    .cmp-value-grid,
    .cmp-model-grid,
    .news-grid,
    .news-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-detail-card {
        padding: 2.25rem 2rem 2.5rem;
    }

    .news-subscribe {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .news-subscribe-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .cmp-overview {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cmp-overview-brand {
        align-items: center;
        text-align: center;
        height: auto;
        padding: 1.5rem 1.25rem;
    }

    .cmp-logo-pair {
        justify-content: stretch;
        flex-wrap: nowrap;
    }

    .cmp-form-wrap {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 2rem;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-media {
        min-height: 240px;
    }

    .news-featured-body {
        padding: 2rem 1.75rem;
    }

    .cmp-resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .cmp-value-grid,
    .cmp-model-grid,
    .news-grid,
    .news-related-grid,
    .cmp-flow,
    .cmp-form-row,
    .cmp-stats {
        grid-template-columns: 1fr;
    }

    .news-detail-section {
        padding-top: 7.5rem;
        padding-bottom: 3.5rem;
    }

    .news-detail-card {
        padding: 1.75rem 1.35rem 2rem;
        border-radius: 18px;
    }

    .news-detail-hero {
        padding: 1.75rem 1.35rem 1.6rem;
        border-radius: 16px;
    }

    .news-detail-hero h1 {
        font-size: 1.28rem;
    }

    .news-detail-hero .news-detail-summary {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .news-detail-body {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .news-detail-state {
        padding: 3rem 1rem;
    }

    .cmp-flow-item::after {
        display: none;
    }

    .cmp-overview-brand {
        padding: 1.25rem 1rem;
        height: auto;
    }

    .cmp-logo-box {
        min-width: 0;
        flex: 1 1 0;
        padding: 0.75rem 0.55rem;
    }

    .cmp-logo-x {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .cmp-logo-box-media .cmp-media-name {
        font-size: 1.05rem;
    }

    .cmp-form {
        padding: 1.5rem 1.25rem;
    }

    .news-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .news-search {
        width: 100%;
    }

    .news-subscribe {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
        justify-items: center;
    }

    .news-subscribe-text {
        text-align: center;
    }

    .news-subscribe-form {
        justify-content: center;
    }
}


/* ============================================
   企业 AI 服务套餐（首页 index.html · 服务方案 6 卡）
   ============================================ */

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem 1.6rem 1.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition);
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
    opacity: 0;
    transition: var(--transition);
}

.pkg-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.pkg-card:hover::before {
    opacity: 1;
}

.pkg-card.is-featured {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.16);
}

.pkg-card.is-featured::before {
    opacity: 1;
}

.pkg-flag {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0 20px 0 14px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pkg-card-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pkg-badge {
    align-self: flex-start;
    padding: 0.22rem 0.7rem;
    border-radius: 6px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pkg-card-head h3 {
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-light);
}

.pkg-tagline {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.6;
}

.pkg-summary {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

.pkg-kpis {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.9rem;
    padding: 1rem;
    border-radius: 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
}

.pkg-kpi {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pkg-kpi-val {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.pkg-kpi-val em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pkg-kpi-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.4;
}

.pkg-mods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pkg-mod {
    padding: 0.22rem 0.6rem;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.22);
    color: #0e7490;
    font-size: 0.72rem;
    line-height: 1.6;
}

.pkg-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.pkg-more i {
    transition: var(--transition);
}

.pkg-card:hover .pkg-more i {
    transform: translateX(4px);
}

/* ============================================
   套餐详情页（package-detail.html）
   ============================================ */

.pkg-switch-bar {
    padding: 1.1rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
}

.pkg-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.pkg-switch-chip {
    padding: 0.5rem 1.05rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pkg-switch-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pkg-switch-chip.is-active {
    background: var(--gradient-2);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.pkg-hero-section {
    background: var(--bg);
    padding-top: 3.5rem;
}

.pkg-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid var(--border-color);
}

.pkg-hero-main {
    min-width: 0;
}

.pkg-hero-badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pkg-hero-title {
    margin-top: 0.9rem;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-light);
}

.pkg-hero-tagline {
    margin-top: 0.55rem;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.7;
}

.pkg-hero-pos {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 1rem;
    color: var(--text-subtle);
    font-size: 0.9rem;
    line-height: 1.7;
}

.pkg-hero-pos i {
    margin-top: 0.2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.pkg-hero-summary {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.pkg-hero-upgrade {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #b45309;
    font-size: 0.85rem;
    line-height: 1.7;
}

.pkg-hero-upgrade i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pkg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.pkg-hero-kpis {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    align-content: start;
}

.pkg-hero-kpis .pkg-kpi {
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.pkg-hero-kpis .pkg-kpi-val {
    font-size: 1.3rem;
}

.pkg-spec-section {
    background: var(--bg-subtle);
}

.pkg-spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pkg-spec-module {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.pkg-spec-module-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.05rem 1.5rem;
    background: var(--gradient-2);
    color: #ffffff;
}

.pkg-spec-module-head i {
    font-size: 1.15rem;
}

.pkg-spec-module-head h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.pkg-spec-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border-light);
}

.pkg-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    min-width: 0;
}

.pkg-spec-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.pkg-spec-item-name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.pkg-spec-item-name i {
    color: var(--secondary);
    flex-shrink: 0;
}

.pkg-spec-item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.78;
}

.pkg-spec-item-config {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.28rem 0.75rem;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.pkg-delivery-section {
    background: var(--bg);
}

.pkg-stages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.pkg-stage {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.pkg-stage-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--border-light);
}

.pkg-stage-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pkg-stage-title {
    min-width: 0;
}

.pkg-stage-title h3 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-light);
}

.pkg-stage-period {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.pkg-stage-rows {
    display: grid;
    gap: 0.9rem;
    margin: 0;
}

.pkg-stage-rows > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.pkg-stage-rows dt {
    padding-top: 0.15rem;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pkg-stage-rows dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.78;
}

.pkg-dash-section {
    background: var(--bg-subtle);
}

.pkg-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.pkg-dash-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.pkg-dash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1.5rem;
}

.pkg-dash-card h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
}

.pkg-dash-card p {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.8;
}

.pkg-dash-config {
    display: inline-block;
    margin-top: 1.15rem;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    background: var(--gradient-2);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.pkg-cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.pkg-cta-box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pkg-cta-box h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--text-light);
}

.pkg-cta-box p {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
}

.pkg-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

@media (max-width: 1280px) {
    .pkg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .pkg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pkg-hero {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem;
    }

    .pkg-stages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .pkg-spec-items {
        grid-template-columns: 1fr;
    }

    .pkg-dash-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .pkg-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .pkg-card {
        padding: 1.4rem 1.25rem;
        border-radius: 16px;
    }

    .pkg-hero {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
    }

    .pkg-hero-title {
        font-size: 1.5rem;
    }

    .pkg-hero-kpis {
        grid-template-columns: 1fr;
    }

    .pkg-spec-item {
        padding: 1.1rem 1.15rem;
    }

    .pkg-stage {
        padding: 1.35rem 1.15rem;
    }

    .pkg-stage-rows > div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .pkg-switch-chip {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }

    .pkg-cta-box h2 {
        font-size: 1.3rem;
    }
}


/* ============================================
   招商加盟（join.html）
   ============================================ */

.page-join .section {
    padding: 3.25rem 0;
}

.page-join .section-header {
    margin-bottom: 1.75rem;
}

.page-join .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.65rem;
}

.page-join .section-tag {
    margin-bottom: 0.55rem;
}

.page-join .jc-policy-callout {
    margin-top: 1.25rem;
}

.page-join .jc-about-text {
    margin-bottom: 1.1rem;
}

.page-join .jc-contact-grid {
    margin: 1.1rem 0 1.25rem;
}

@media (max-width: 680px) {
    .page-join .section {
        padding: 2.5rem 0;
    }

    .page-join .section-header h2 {
        font-size: 1.65rem;
    }
}

.jc-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.jc-policy-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2rem 2.1rem;
    overflow: hidden;
    transition: var(--transition);
}

.jc-policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    opacity: 0.85;
}

.jc-policy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.jc-policy-year {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.jc-policy-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.jc-policy-card p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.95rem;
}

.jc-policy-card p strong { color: var(--primary-dark); }

.jc-policy-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 1.15rem 1.4rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid var(--border-color);
    color: var(--text-subtle);
    line-height: 1.8;
    font-weight: 500;
}

.jc-policy-callout i {
    color: var(--primary);
    font-size: 1.3rem;
    line-height: 1.4;
}

.jc-about-box {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.jc-about-text {
    color: var(--text-subtle);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.jc-city-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.jc-city-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-subtle);
}

.jc-city-list li i { color: var(--primary); }

.jc-dir-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.jc-dir-card,
.jc-support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.9rem;
    transition: var(--transition);
}

.jc-dir-card:hover,
.jc-support-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.jc-dir-icon,
.jc-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.jc-dir-card h3,
.jc-support-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.jc-dir-card p,
.jc-support-card p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.92rem;
}

.jc-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.jc-fit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.jc-fit-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.2rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    font-weight: 600;
    color: var(--text-subtle);
    line-height: 1.7;
}

.jc-fit-list li i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--primary);
    font-size: 1.3rem;
}

.jc-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.jc-flow li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1.3rem 0.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
}

.jc-flow li:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.jc-flow-idx {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.jc-flow-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-subtle);
}

.jc-contact-box {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.jc-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin: 1.6rem 0 1.8rem;
    text-align: left;
}

.jc-contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.2rem 1.4rem;
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    color: var(--text-subtle);
    transition: var(--transition);
}

a.jc-contact-card:hover {
    border-color: var(--border-color);
    color: var(--primary-dark);
}

.jc-contact-card i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.jc-contact-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.jc-contact-card strong {
    font-size: 0.98rem;
    line-height: 1.6;
}

.jc-contact-box .pkg-cta-actions { justify-content: center; }

@media (max-width: 1080px) {
    .jc-dir-grid,
    .jc-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jc-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .jc-policy-grid,
    .jc-fit-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .jc-dir-grid,
    .jc-support-grid,
    .jc-flow,
    .jc-contact-grid {
        grid-template-columns: 1fr;
    }

    .jc-about-box,
    .jc-contact-box {
        padding: 1.8rem 1.4rem;
    }

    .jc-policy-card {
        padding: 1.6rem 1.4rem;
    }
}
