@charset "utf-8";
/* ==========================================================================
   company-home.css — 企业官网首页样式
   设计体系参照能源行业 B2B 科技官网：蓝色主色 + 浅灰分区 + 小圆角 + 克制阴影
   所有类名以 .sh- 前缀，避免与后台/插件样式冲突
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
    --sh-primary: #2a68ff;
    --sh-primary-dark: #2557ec;
    --sh-primary-light: #3c6aff;
    --sh-primary-soft: #eef3ff;
    --sh-ink: #161c2b;
    --sh-text: #333333;
    --sh-text-2: #666666;
    --sh-text-3: #999999;
    --sh-line: #e6ebf2;
    --sh-line-2: #d9d9d9;
    --sh-bg: #ffffff;
    --sh-bg-soft: #f5f7fa;
    --sh-bg-soft-2: #f0f3f7;
    --sh-dark: #101827;
    --sh-dark-2: #1a2438;
    --sh-radius: 5px;
    --sh-radius-lg: 8px;
    --sh-shadow: 0 2px 10px rgba(16, 24, 39, .08);
    --sh-shadow-hover: 0 12px 28px rgba(42, 104, 255, .16);
    --sh-grad-blue: linear-gradient(90deg, #2a68ff 0%, #5db8c0 60%);
    --sh-grad-brand: linear-gradient(120deg, #0042db 0%, #9d6fd7 100%);
    --sh-font: "Noto Sans SC", "Helvetica Neue", Helvetica, Arial,
        "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}

/* ---------- 基础重置 ----------
   .sh-scope 挂在 <body> 上，页头 / 首页 / 页脚共用同一套重置，
   类名全部以 sh- 前缀，不会影响 YznCMS 其他页面的原有样式。
   ------------------------------------------------------------ */
.sh-scope,
.sh-scope *,
.sh-scope *::before,
.sh-scope *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

/* 修正 CMS 主题遗留在 <body> 上的旧页头补偿样式
   —— 原模板页头是 position:fixed，所以 .body 里留了 padding-top:80px，
   而 body 底色又是 #f5f5f5。我们的页头改用 position:sticky、在文档流内，
   这 80px 就变成了顶部一条灰边。这里归零并统一底色。 */
body.sh-scope {
    padding-top: 0;
    background: var(--sh-bg);
}

.sh-scope :where(h1, h2, h3, h4, h5, p, ul, li, figure) {
    margin: 0;
    padding: 0;
}

.sh-scope :where(ul) {
    list-style: none;
}

/* 用 :where() 把这条 reset 的特异性降到 (0,1,0)。
   之前写 .sh-scope a 是 (0,1,1)，会把后面所有 (0,1,0) 的类级颜色
   （.sh-btn--primary / .sh-nav__link / .sh-more / 页脚链接…）全部压掉，
   直接导致蓝底按钮出现黑字 —— color:#fff 根本没生效。 */
.sh-scope :where(a) {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.sh-scope img,
.sh-scope svg {
    vertical-align: middle;
    max-width: 100%;
}

.sh-scope button {
    font-family: inherit;
    cursor: pointer;
}

/* 首页正文排版（仅作用于首页容器，避免影响栏目页/详情页） */
.sh-page {
    font-family: var(--sh-font);
    font-size: 15px;
    line-height: 1.75;
    color: var(--sh-text);
    background: var(--sh-bg);
    -webkit-font-smoothing: antialiased;
}

/* CMS 主题会把内容限制在 .layui-container 内，
   这里仅在容器里出现首页时解除宽度限制，让首页可以整屏铺开 */
.layui-container:has(> .sh-page) {
    width: 100%;
    max-width: none;
    padding: 0;
}

.fly-main:has(> .layui-container > .sh-page) {
    padding: 0;
    background: var(--sh-bg);
}

/* ---------- 布局容器 ---------- */
.sh-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sh-section {
    padding: 96px 0;
}

.sh-section--soft {
    background: var(--sh-bg-soft);
}

.sh-section--tight {
    padding: 72px 0;
}

/* ---------- 通用文字 ---------- */
.sh-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--sh-primary);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sh-title {
    font-size: 38px;
    line-height: 1.32;
    font-weight: 700;
    color: var(--sh-ink);
    letter-spacing: -.01em;
}

.sh-title--sm {
    font-size: 30px;
}

.sh-subtitle {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--sh-text-2);
    max-width: 640px;
}

.sh-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.sh-head-center .sh-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 按钮 ---------- */
.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--sh-radius);
    border: 1px solid transparent;
    transition: all .25s ease;
    white-space: nowrap;
}

.sh-btn--primary {
    background: var(--sh-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(42, 104, 255, .24);
}

.sh-btn--primary:hover {
    background: var(--sh-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(42, 104, 255, .3);
}

.sh-btn--ghost {
    background: #fff;
    color: var(--sh-ink);
    border-color: var(--sh-line-2);
}

.sh-btn--ghost:hover {
    color: var(--sh-primary);
    border-color: var(--sh-primary);
    transform: translateY(-2px);
}

.sh-btn--on-dark {
    background: #fff;
    color: var(--sh-primary);
}

.sh-btn--on-dark:hover {
    color: var(--sh-primary-dark);
    transform: translateY(-2px);
}

.sh-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sh-primary);
}

.sh-more svg {
    transition: transform .25s ease;
}

.sh-more:hover {
    color: var(--sh-primary-dark);
}

.sh-more:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   顶部导航
   ========================================================================== */
.sh-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--sh-line);
}

.sh-header.is-scrolled {
    box-shadow: 0 2px 14px rgba(16, 24, 39, .07);
}

/* 页头三块：logo / 菜单 / 搜索+按钮。
   菜单必须整体不换行，所以这里 nowrap + 收窄尺寸，
   保证总宽在 992px 以上都不会挤到菜单文字折行。 */
.sh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 76px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.sh-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sh-logo__mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.sh-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sh-logo__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--sh-ink);
    letter-spacing: 0;
}

.sh-logo__slogan {
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--sh-text-3);
    text-transform: uppercase;
}

.sh-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.sh-nav__link {
    position: relative;
    display: block;
    padding: 10px 13px;
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--sh-text);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.sh-nav__link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 4px;
    height: 2px;
    background: var(--sh-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.sh-nav__link:hover {
    color: var(--sh-primary);
}

.sh-nav__link:hover::after,
.sh-nav__link.is-active::after {
    transform: scaleX(1);
}

.sh-nav__link.is-active {
    color: var(--sh-primary);
}

.sh-header__cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.sh-header__phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--sh-ink);
    letter-spacing: .02em;
}

/* 站点名称较长时也能优雅收窄，不挤压导航 */
.sh-logo,
.sh-logo__text {
    min-width: 0;
}

.sh-logo__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-logo__slogan {
    white-space: nowrap;
}

/* 页头搜索框 */
.sh-search {
    position: relative;
    flex-shrink: 0;
}

.sh-search__input {
    width: 148px;
    height: 38px;
    padding: 0 14px;
    font-family: var(--sh-font);
    font-size: 13.5px;
    color: var(--sh-text);
    background: var(--sh-bg-soft);
    border: 1px solid transparent;
    border-radius: var(--sh-radius);
    outline: none;
    transition: width .25s ease, background .25s ease,
        border-color .25s ease, box-shadow .25s ease;
}

.sh-search__input::placeholder {
    color: var(--sh-text-3);
}

.sh-search__input:focus {
    width: 190px;
    background: #fff;
    border-color: var(--sh-primary);
    box-shadow: 0 0 0 3px rgba(42, 104, 255, .12);
}

/* 注：前台不提供会员登录，页头已移除登录 / 用户中心入口，
   对应的 .sh-user 样式一并删除，避免死代码。 */

.sh-btn--sm {
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
}

.sh-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    background: #fff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.sh-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--sh-ink);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.sh-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sh-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.sh-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   首屏
   ========================================================================== */
.sh-hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 96px;
    background: #fff;
}

.sh-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sh-hero__bg::before {
    content: "";
    position: absolute;
    top: -240px;
    right: -160px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 104, 255, .16) 0%, rgba(42, 104, 255, 0) 68%);
}

.sh-hero__bg::after {
    content: "";
    position: absolute;
    bottom: -280px;
    left: -180px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93, 184, 192, .16) 0%, rgba(93, 184, 192, 0) 68%);
}

.sh-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(42, 104, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 104, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.sh-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
}

.sh-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--sh-primary-soft);
    color: var(--sh-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
}

.sh-hero__badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sh-primary);
    animation: sh-pulse 2s ease-in-out infinite;
}

@keyframes sh-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(1.5); }
}

.sh-hero__title {
    font-size: 54px;
    line-height: 1.24;
    font-weight: 700;
    color: var(--sh-ink);
    letter-spacing: -.02em;
}

.sh-hero__title em {
    font-style: normal;
    background: var(--sh-grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sh-hero__desc {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.95;
    color: var(--sh-text-2);
    max-width: 560px;
}

.sh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.sh-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 40px;
    padding-top: 38px;
    border-top: 1px dashed var(--sh-line-2);
}

.sh-hero__tags li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--sh-text-2);
}

.sh-hero__tags svg {
    flex-shrink: 0;
    color: var(--sh-primary);
}

/* 首屏右侧视觉 */
.sh-hero__visual {
    position: relative;
    height: 460px;
}

.sh-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(42, 104, 255, .22);
    transform: translate(-50%, -50%);
}

.sh-orbit--1 { width: 240px; height: 240px; }
.sh-orbit--2 { width: 360px; height: 360px; border-style: solid; border-color: rgba(42, 104, 255, .1); }
.sh-orbit--3 { width: 480px; height: 480px; }

.sh-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 168px;
    height: 168px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--sh-grad-brand);
    box-shadow: 0 20px 50px rgba(42, 104, 255, .32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.sh-core__inner strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.sh-core__inner span {
    display: block;
    font-size: 12px;
    letter-spacing: .1em;
    opacity: .85;
    margin-top: 6px;
}

.sh-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sh-ink);
    white-space: nowrap;
}

.sh-node i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sh-primary-soft);
    color: var(--sh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sh-node--a { top: 18px; left: 2%; animation: sh-float 5s ease-in-out infinite; }
.sh-node--b { top: 96px; right: 0; animation: sh-float 6.2s ease-in-out infinite .6s; }
.sh-node--c { bottom: 108px; left: 0; animation: sh-float 5.6s ease-in-out infinite 1.1s; }
.sh-node--d { bottom: 30px; right: 6%; animation: sh-float 6.8s ease-in-out infinite .3s; }

@keyframes sh-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* ==========================================================================
   核心业务卡片
   ========================================================================== */
.sh-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sh-card {
    position: relative;
    padding: 36px 30px 34px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    overflow: hidden;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.sh-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sh-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .38s ease;
}

.sh-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--sh-shadow-hover);
}

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

.sh-card__icon {
    width: 54px;
    height: 54px;
    border-radius: var(--sh-radius);
    background: var(--sh-primary-soft);
    color: var(--sh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background .32s ease, color .32s ease;
}

.sh-card:hover .sh-card__icon {
    background: var(--sh-primary);
    color: #fff;
}

.sh-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--sh-ink);
    margin-bottom: 12px;
}

.sh-card__desc {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--sh-text-2);
}

.sh-card__index {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 13px;
    font-weight: 700;
    color: #dfe6f2;
    letter-spacing: .06em;
}

/* ==========================================================================
   业务板块（图文交替）
   ========================================================================== */
.sh-feature {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 72px;
    align-items: center;
}

.sh-feature--reverse .sh-feature__intro {
    order: 2;
}

.sh-feature--reverse .sh-feature__panel {
    order: 1;
}

.sh-feature__intro .sh-title {
    font-size: 34px;
}

.sh-feature__panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.sh-mini {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.sh-section--soft .sh-mini {
    border-color: #e9eef7;
}

.sh-mini:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 104, 255, .35);
    box-shadow: 0 12px 26px rgba(42, 104, 255, .1);
}

.sh-mini__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--sh-radius);
    background: var(--sh-bg-soft-2);
    color: var(--sh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sh-mini__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sh-ink);
    margin-bottom: 8px;
}

.sh-mini__desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--sh-text-3);
}

.sh-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sh-text-3);
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.sh-group-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--sh-line);
}

/* 多组小卡片时的分组排布 */
.sh-feature__panel--stack {
    grid-template-columns: 1fr;
    gap: 28px;
    align-content: start;
}

.sh-feature__panel--stack .sh-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* ==========================================================================
   数据条
   ========================================================================== */
.sh-stats {
    position: relative;
    background: var(--sh-dark);
    overflow: hidden;
}

.sh-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(42, 104, 255, .42) 0%, transparent 55%),
        radial-gradient(circle at 88% 80%, rgba(157, 111, 215, .32) 0%, transparent 55%);
}

.sh-stats__inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 68px 0;
}

.sh-stat {
    text-align: center;
    padding: 0 16px;
}

.sh-stat + .sh-stat {
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.sh-stat__num {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.sh-stat__num i {
    font-style: normal;
    font-size: 22px;
    font-weight: 600;
    margin-left: 2px;
    color: #8fb4ff;
}

.sh-stat__label {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .68);
    letter-spacing: .02em;
}

/* ==========================================================================
   解决方案 Tab
   ========================================================================== */
.sh-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
}

.sh-tab {
    height: 44px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid var(--sh-line-2);
    background: #fff;
    color: var(--sh-text);
    font-size: 14.5px;
    font-weight: 500;
    transition: all .25s ease;
}

.sh-tab:hover {
    color: var(--sh-primary);
    border-color: var(--sh-primary);
}

.sh-tab.is-active {
    background: var(--sh-primary);
    border-color: var(--sh-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(42, 104, 255, .26);
}

.sh-panel {
    display: none;
}

.sh-panel.is-active {
    display: block;
    animation: sh-fade-up .45s ease both;
}

@keyframes sh-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.sh-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sh-solution {
    display: flex;
    gap: 16px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.sh-solution:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 104, 255, .35);
    box-shadow: 0 12px 26px rgba(42, 104, 255, .1);
}

.sh-solution__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--sh-radius);
    background: var(--sh-primary-soft);
    color: var(--sh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-solution__title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--sh-ink);
    margin-bottom: 7px;
}

.sh-solution__desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--sh-text-3);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.sh-cta {
    position: relative;
    overflow: hidden;
    background: var(--sh-grad-brand);
}

.sh-cta::before,
.sh-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.sh-cta::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -80px;
}

.sh-cta::after {
    width: 300px;
    height: 300px;
    bottom: -170px;
    left: 6%;
}

.sh-cta__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 74px 0;
}

.sh-cta__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.sh-cta__desc {
    margin-top: 12px;
    font-size: 15.5px;
    color: rgba(255, 255, 255, .82);
}

.sh-cta__actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.sh-btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.sh-btn--outline-light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.sh-footer {
    background: var(--sh-dark);
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    padding-top: 66px;
}

.sh-footer__main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 54px;
}

.sh-footer__brand .sh-logo__name {
    color: #fff;
}

.sh-footer__brand .sh-logo__slogan {
    color: rgba(255, 255, 255, .42);
}

.sh-footer__intro {
    margin-top: 20px;
    line-height: 1.9;
    max-width: 320px;
    color: rgba(255, 255, 255, .55);
}

.sh-footer__contact {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.sh-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sh-footer__contact svg {
    color: #8fb4ff;
    flex-shrink: 0;
}

.sh-footer__contact strong {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
}

.sh-footer__col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.sh-footer__col li {
    margin-bottom: 12px;
}

.sh-footer__col a:hover {
    color: #fff;
}

.sh-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

.sh-footer__bottom a:hover {
    color: #fff;
}

/* ==========================================================================
   最新动态（对接 CMS 文章数据）
   ========================================================================== */
.sh-head-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.sh-head-flex .sh-subtitle {
    margin-top: 16px;
}

.sh-head-flex__more {
    flex-shrink: 0;
    padding-bottom: 6px;
}

.sh-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

.sh-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    overflow: hidden;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

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

.sh-news-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3ff 0%, #e6f4f5 100%);
    color: #b9c8e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sh-news-card:hover .sh-news-card__thumb img {
    transform: scale(1.05);
}

.sh-news-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 22px 24px 26px;
}

.sh-news-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--sh-text-3);
}

.sh-news-card__cat {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--sh-primary-soft);
    color: var(--sh-primary);
    font-size: 12px;
    font-weight: 600;
}

.sh-news-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--sh-ink);
    transition: color .25s ease;
}

.sh-news-card:hover .sh-news-card__title {
    color: var(--sh-primary);
}

.sh-news-card__desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sh-text-2);
}

.sh-news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--sh-primary);
}

.sh-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sh-empty {
    padding: 60px 0;
    text-align: center;
    color: var(--sh-text-3);
    font-size: 14.5px;
}

/* ==========================================================================
   滚动进入动画
   ========================================================================== */
.sh-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
        transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.sh-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
    .sh-logo__name {
        font-size: 16px;
    }

    .sh-search {
        display: none;
    }

    .sh-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sh-hero__visual {
        height: 400px;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .sh-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .sh-panel__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sh-footer__main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .sh-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .sh-section {
        padding: 72px 0;
    }

    .sh-hero {
        padding: 72px 0;
    }

    .sh-hero__title {
        font-size: 42px;
    }

    .sh-title {
        font-size: 30px;
    }

    .sh-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sh-feature--reverse .sh-feature__intro,
    .sh-feature--reverse .sh-feature__panel {
        order: initial;
    }

    .sh-feature__intro .sh-title {
        font-size: 28px;
    }

    .sh-stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
        padding: 56px 0;
    }

    .sh-stat:nth-child(3) {
        border-left: none;
    }

    .sh-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 58px 0;
    }

    /* 导航折叠 */
    .sh-burger {
        display: flex;
    }

    .sh-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--sh-line);
        box-shadow: 0 16px 30px rgba(16, 24, 39, .1);
        padding: 8px 16px 18px;
        transform: translateY(-130%);
        transition: transform .34s ease;
        z-index: 890;
    }

    .sh-nav.is-open {
        transform: translateY(0);
    }

    .sh-nav__link {
        padding: 14px 8px;
        border-bottom: 1px solid var(--sh-line);
    }

    .sh-nav__link::after {
        display: none;
    }

    .sh-header__phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .sh-container {
        padding: 0 18px;
    }

    .sh-section {
        padding: 58px 0;
    }

    .sh-hero__title {
        font-size: 32px;
    }

    .sh-hero__desc {
        font-size: 15.5px;
    }

    .sh-title,
    .sh-feature__intro .sh-title {
        font-size: 24px;
    }

    .sh-cards,
    .sh-feature__panel,
    .sh-feature__panel--stack .sh-mini-grid,
    .sh-panel__grid {
        grid-template-columns: 1fr;
    }

    .sh-hero__visual {
        height: 340px;
    }

    .sh-orbit--3 {
        width: 320px;
        height: 320px;
    }

    .sh-orbit--2 {
        width: 250px;
        height: 250px;
    }

    .sh-orbit--1 {
        width: 170px;
        height: 170px;
    }

    .sh-core {
        width: 124px;
        height: 124px;
    }

    .sh-core__inner strong {
        font-size: 20px;
    }

    .sh-node {
        font-size: 12px;
        padding: 9px 12px;
    }

    .sh-node i {
        width: 22px;
        height: 22px;
    }

    .sh-stat__num {
        font-size: 34px;
    }

    .sh-stats__inner {
        padding: 46px 0;
        gap: 32px 0;
    }

    .sh-stat {
        padding: 0 8px;
    }

    .sh-stat:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .sh-stat:nth-child(odd) {
        border-left: none;
    }

    .sh-cta__title {
        font-size: 24px;
    }

    .sh-cta__actions {
        flex-wrap: wrap;
    }

    .sh-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .sh-header__cta .sh-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .sh-hero__title {
        font-size: 27px;
    }

    .sh-hero__actions .sh-btn {
        width: 100%;
    }

    .sh-tab {
        padding: 0 18px;
        font-size: 13.5px;
    }

    .sh-footer__main {
        grid-template-columns: 1fr;
    }
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .sh-scope *,
    .sh-scope *::before,
    .sh-scope *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .sh-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==================== 内页页头横幅 ==================== */
.sh-pagehead {
    padding: 72px 0 56px;
    background:
        radial-gradient(700px 260px at 15% 0%, rgba(42, 104, 255, .10), transparent 70%),
        radial-gradient(600px 240px at 90% 20%, rgba(93, 184, 192, .12), transparent 70%),
        var(--sh-bg);
    border-bottom: 1px solid var(--sh-line);
}

.sh-pagehead .sh-eyebrow {
    margin-bottom: 14px;
}

.sh-pagehead__title {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sh-ink);
}

.sh-pagehead__desc {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--sh-text-3);
}

/* ==================== 文章列表页 ==================== */
.sh-listwrap {
    max-width: 920px;
}

.sh-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--sh-line);
}

.sh-list-toolbar__label {
    font-size: 14px;
    color: var(--sh-text-3);
}

.sh-list-toolbar__order {
    display: flex;
    gap: 6px;
}

.sh-list-toolbar__order a {
    padding: 6px 14px;
    font-size: 13.5px;
    color: var(--sh-text-3);
    border-radius: 999px;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.sh-list-toolbar__order a:hover {
    color: var(--sh-primary);
    background: rgba(42, 104, 255, .06);
}

.sh-list-toolbar__order a.is-active {
    color: #fff;
    background: var(--sh-primary);
    font-weight: 500;
}

.sh-article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sh-article-row {
    display: flex;
    gap: 28px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius-lg);
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.sh-article-row:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(17, 32, 77, .10);
}

.sh-article-row__thumb {
    display: block;
    flex: 0 0 264px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: calc(var(--sh-radius-lg) - 4px);
    background: linear-gradient(135deg, #eef3ff 0%, #e6f4f5 100%);
    color: #b9c8e0;
}

.sh-article-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sh-article-row:hover .sh-article-row__thumb img {
    transform: scale(1.05);
}

.sh-article-row__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.sh-article-row__title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--sh-ink);
}

.sh-article-row__title a {
    color: inherit;
    transition: color .2s ease;
}

.sh-article-row__title a:hover {
    color: var(--sh-primary);
}

.sh-article-row__desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--sh-text-3);
}

/* ==================== 分页 ==================== */
.sh-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 44px;
}

.sh-pager .layui-btn {
    height: 40px;
    padding: 0 26px;
    font-family: var(--sh-font);
    font-size: 14px;
    color: var(--sh-primary);
    background: #fff;
    border: 1px solid rgba(42, 104, 255, .35);
    border-radius: 999px;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.sh-pager .layui-btn:hover {
    color: #fff;
    background: var(--sh-primary);
    box-shadow: 0 6px 16px rgba(42, 104, 255, .28);
}

.sh-pager .layui-btn-disabled {
    color: var(--sh-text-3);
    background: var(--sh-bg-soft);
    border-color: var(--sh-line);
    opacity: .7;
}

/* ==================== 列表页响应式 ==================== */
@media (max-width: 900px) {
    .sh-pagehead {
        padding: 48px 0 40px;
    }

    .sh-pagehead__title {
        font-size: 30px;
    }

    .sh-article-row {
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }

    .sh-article-row__thumb {
        flex-basis: auto;
        width: 100%;
    }

    .sh-list-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==================== 产品展示页 ==================== */
.sh-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.sh-product-card {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-top: 3px solid var(--sh-primary);
    border-radius: var(--sh-radius-lg);
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

.sh-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17, 32, 77, .12);
}

.sh-product-card--wechat {
    border-top-color: #07c160;
}

.sh-product-card--douyin {
    border-top-color: #161823;
}

.sh-product-card__main {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.sh-product-card__badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sh-product-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: #fff;
    border-radius: 999px;
    white-space: nowrap;
}

.sh-product-card__badge--wechat {
    background: #07c160;
}

.sh-product-card__badge--douyin {
    background: #161823;
}

.sh-product-card__ver {
    padding: 5px 10px;
    font-size: 12px;
    color: var(--sh-text-3);
    background: var(--sh-bg-soft);
    border-radius: 999px;
}

.sh-product-card__name {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--sh-ink);
    line-height: 1.2;
}

.sh-product-card__slogan {
    margin: 0;
    font-size: 14.5px;
    color: var(--sh-primary);
    font-weight: 500;
}

.sh-product-card__feats {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.sh-product-card__feats li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--sh-text);
    line-height: 1.5;
}

.sh-product-card__feats i {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--sh-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}

.sh-product-card--wechat .sh-product-card__feats i {
    background-color: #07c160;
}

.sh-product-card--douyin .sh-product-card__feats i {
    background-color: #161823;
}

.sh-product-card__qr {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sh-product-card__qrbox {
    width: 168px;
    height: 168px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(17, 32, 77, .07);
}

.sh-product-card__qrbox img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.sh-product-card__qrtext {
    font-size: 12.5px;
    color: var(--sh-text-3);
    white-space: nowrap;
}

.sh-product-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 0;
    font-size: 14px;
    color: var(--sh-text-3);
}

.sh-product-note a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--sh-primary);
    font-weight: 500;
}

@media (max-width: 900px) {
    .sh-product-grid {
        grid-template-columns: 1fr;
    }

    .sh-product-card {
        flex-direction: column-reverse;
        align-items: center;
        text-align: left;
    }

    .sh-product-card__main {
        width: 100%;
    }

    .sh-product-card__qr {
        padding-top: 4px;
    }
}

/* ==================== 关于我们页 ==================== */
.sh-aboutwrap {
    max-width: 920px;
}

.sh-about-prose {
    padding: 4px 4px 8px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--sh-text);
}

.sh-about-prose p {
    margin: 0 0 14px;
}

.sh-contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 26px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius-lg);
}

.sh-contact-card__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.sh-contact-card__row + .sh-contact-card__row {
    border-top: 1px solid var(--sh-line);
}

.sh-contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--sh-primary);
    background: rgba(42, 104, 255, .08);
    border-radius: 10px;
}

.sh-contact-card__label {
    display: block;
    margin-bottom: 2px;
    font-size: 12.5px;
    color: var(--sh-text-3);
}

.sh-contact-card__value {
    display: block;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--sh-ink);
}

a.sh-contact-card__value:hover {
    color: var(--sh-primary);
}

.sh-contact-map {
    margin: 26px 0 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius-lg);
}

.sh-contact-map img {
    display: block;
    width: 100%;
    height: auto;
}

.sh-contact-map figcaption {
    padding: 12px 18px;
    font-size: 13px;
    color: var(--sh-text-3);
    border-top: 1px solid var(--sh-line);
}

/* 页头 Logo 图片（后台可配置） */
.sh-logo__img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}
