/*
 * 官网首页样式（layouts/site.blade.php + home.blade.php）
 * 设计令牌复用 resources/css/app.css 的 :root 变量，不另起色板。
 * 风格约束：浅色白底、扁平化、0/2/4px 圆角、极轻阴影、单一品牌蓝 + 中性灰阶；
 * 区块底色只用白色与极浅品牌蓝（同色系明度过渡），不使用紫蓝渐变、毛玻璃、发光与深色主题。
 * 断点：>=1200 桌面 / 1024–1199 窄桌面 / 768–1023 iPad 竖屏 / <=767 手机 / <=479 超窄屏
 */

.site-body {
    --home-tint: #f5f8ff;
    --home-tint-strong: #eaf2ff;
    --home-line: #dce7fb;

    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    background: var(--card);
    /* app.css 的 overflow-x: hidden 会让 sticky 顶栏失效，clip 只裁剪不创建滚动容器 */
    overflow-x: clip;
}

.site-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1 1 auto;
}

.site-body a:focus-visible,
.site-body button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ---------- 顶栏 ---------- */
.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

/* 顶栏不受 1200px 内容宽度限制，品牌与导航贴左排布，账户入口在最右 */
.site-header-inner {
    position: relative;
    display: flex;
    max-width: none;
    padding-right: 40px;
    padding-left: 40px;
    min-height: var(--topbar-height);
    align-items: center;
    gap: 32px;
}

.site-brand {
    flex: 0 0 auto;
}

.site-nav-panel {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.site-nav-link:hover,
.site-nav-link[aria-current='page'] {
    color: var(--brand-strong);
}

.site-nav-link:hover {
    background: var(--brand-soft);
}

.site-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.site-header-actions .button {
    min-height: 36px;
    padding: 0 16px;
}

.site-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--muted);
    cursor: pointer;
}

.site-nav-toggle:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.site-nav-toggle .site-nav-toggle-close,
.site-nav-toggle[aria-expanded='true'] .site-nav-toggle-open {
    display: none;
}

.site-nav-toggle[aria-expanded='true'] .site-nav-toggle-close {
    display: block;
}

.site-nav-backdrop {
    position: fixed;
    z-index: 35;
    inset: var(--topbar-height) 0 0;
    background: rgba(15, 23, 42, .25);
}

.site-nav-backdrop[hidden] {
    display: none;
}

/* ---------- 通用小部件 ---------- */
.home-icon-box,
.site-trust-icon,
.home-stat-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.home-icon-box {
    width: 40px;
    height: 40px;
}

.home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.home-chips li {
    padding: 2px 8px;
    border: 1px solid #dbeafe;
    border-radius: 2px;
    background: var(--card);
    color: var(--brand-strong);
    font-size: 12px;
    line-height: 1.6;
}

.home-chips.is-small li {
    border-color: transparent;
    background: var(--brand-soft);
}

.home-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.home-card-actions .button {
    min-height: 32px;
    padding: 0 14px;
    font-size: 13px;
}

/* ---------- 区块通用 ---------- */
.site-section {
    padding: 72px 0;
    scroll-margin-top: var(--topbar-height);
}

.site-section-tint {
    background: var(--home-tint);
}

.site-section-head {
    max-width: 720px;
    margin-bottom: 36px;
}

.site-section-head.is-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.site-section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.site-section-head h2 em {
    color: var(--brand-strong);
    font-style: normal;
}

.site-section-head p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- 首屏 ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 104px;
    background: linear-gradient(180deg, var(--home-tint-strong) 0%, var(--home-tint) 62%, #ffffff 100%);
}

/* 浅色栅格底纹，向下淡出 */
.home-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
    background-size: 40px 40px;
    content: '';
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.home-hero-inner {
    position: relative;
    z-index: 1;
}

.home-hero-slides {
    min-height: 400px;
}

.home-hero-slide {
    display: grid;
    align-items: center;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.home-hero-slide[hidden] {
    display: none;
}

.home-hero-slide.is-active {
    animation: home-hero-fade .35s ease;
}

@keyframes home-hero-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.home-hero-copy {
    min-width: 0;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 4px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 2px;
    background: var(--card);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 600;
}

.home-hero-badge::before {
    width: 6px;
    height: 6px;
    background: var(--brand);
    content: '';
}

.home-hero-title {
    margin: 0;
    color: var(--text);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.28;
}

.home-hero-title span {
    display: block;
    color: var(--brand-strong);
}

.home-hero-desc {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.home-hero-actions,
.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-hero-actions .button,
.home-cta-actions .button {
    min-height: 44px;
    padding: 0 26px;
    font-size: 15px;
}

.home-hero-art {
    min-width: 0;
}

.home-hero-art img {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin-left: auto;
}

/* 分段指示器（即标签）：灰色轨道 + 品牌蓝进度条 */
.home-hero-tabs {
    display: flex;
    max-width: 560px;
    gap: 20px;
    margin-top: 8px;
}

.home-hero-tab {
    display: flex;
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--subtle);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.home-hero-tab:hover,
.home-hero-tab.is-active {
    color: var(--brand-strong);
}

.home-hero-tab.is-active {
    font-weight: 600;
}

.home-hero-tab-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-tab-track {
    position: relative;
    display: block;
    height: 3px;
    overflow: hidden;
    background: #d6e2f5;
}

.home-hero-tab-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--brand);
}

/* 未自动播放（减少动效 / 无 JS）时当前段整条点亮 */
.home-hero-tab.is-active .home-hero-tab-bar {
    width: 100%;
}

/* 进度条时长由 home.js 写入 --hero-interval，与自动轮播间隔一致 */
.home-hero[data-autoplay='on'] .home-hero-tab.is-active .home-hero-tab-bar {
    animation: home-hero-progress var(--hero-interval, 6s) linear forwards;
}

.home-hero[data-paused='true'] .home-hero-tab.is-active .home-hero-tab-bar {
    animation-play-state: paused;
}

@keyframes home-hero-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ---------- 能力指标条（压在首屏下沿） ---------- */
.home-stats {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}

.home-stats-inner {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.home-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.home-stat-icon {
    width: 44px;
    height: 44px;
}

.home-stat-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.home-stat-value {
    color: var(--text);
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.home-stat-value span {
    margin-left: 4px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.home-stat-note {
    overflow: hidden;
    color: var(--subtle);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 全栈产品 ---------- */
.home-suite-featured {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-suite-feature {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 250px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--home-tint-strong) 0%, #f8fbff 100%);
}

.home-suite-feature:hover {
    border-color: #bfdbfe;
}

.home-suite-feature-copy {
    position: relative;
    z-index: 1;
    display: flex;
    width: 60%;
    flex-direction: column;
}

.home-suite-feature h3 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
}

.home-suite-feature p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.home-suite-feature .home-card-actions {
    margin-top: auto;
    padding-top: 20px;
}

.home-suite-feature-art {
    position: absolute;
    right: -8px;
    bottom: -14px;
    width: 46%;
    max-width: 290px;
    height: auto;
    pointer-events: none;
}

.home-suite-cards {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-suite-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.home-suite-card:hover,
.home-solution:hover,
.home-industry:hover,
.home-cap:hover {
    border-color: #bfdbfe;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.home-suite-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-suite-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.home-suite-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.home-suite-card .home-card-actions {
    margin-top: auto;
    padding-top: 18px;
}

/* ---------- 四大核心能力 ---------- */
.home-caps {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-cap {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: var(--card);
}

.home-cap-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.home-cap h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
}

.home-cap-dot {
    width: 4px;
    height: 16px;
    flex: 0 0 auto;
    background: var(--brand);
}

.home-cap-highlight {
    margin: 14px 0 0;
    padding: 8px 12px;
    border-left: 2px solid var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.home-cap-desc {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.home-cap-art {
    display: grid;
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--home-tint-strong) 0%, #f8fbff 100%);
    color: var(--brand);
}

/* ---------- 一站式解决方案 ---------- */
.home-solutions {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-solution {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.home-solution-media {
    padding: 16px 20px 0;
    border-bottom: 1px solid var(--home-line);
    background: linear-gradient(180deg, var(--home-tint-strong) 0%, var(--home-tint) 100%);
}

.home-solution-media img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
}

.home-solution-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px;
}

.home-solution h3 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
}

.home-solution p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.home-checks {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.home-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
}

.home-checks svg {
    flex: 0 0 auto;
    color: var(--brand);
}

.home-solution .home-card-actions {
    margin-top: auto;
    padding-top: 20px;
}

/* ---------- 接入流程 ---------- */
.home-flow {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.home-flow-step {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: var(--card);
}

/* 步骤之间的箭头 */
.home-flow-step:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -15px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #93c5fd;
    border-right: 2px solid #93c5fd;
    content: '';
    transform: translateY(-50%) rotate(45deg);
}

.home-flow-dot {
    display: block;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1;
}

.home-flow-step h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.home-flow-step p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ---------- 资讯动态 ---------- */
.home-news {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.home-news-col {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.home-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.home-news-head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.home-news-head h3::before {
    width: 4px;
    height: 14px;
    background: var(--brand);
    content: '';
}

.home-news-head a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 2px;
    color: var(--brand-strong);
    font-size: 13px;
}

.home-news-head a:hover {
    color: var(--brand);
}

.home-news-featured {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.home-news-card:hover {
    border-color: #bfdbfe;
}

.home-news-card:hover .home-news-card-body > strong {
    color: var(--brand-strong);
}

.home-news-cover {
    position: relative;
    display: grid;
    height: 120px;
    place-items: center;
    border-bottom: 1px solid var(--home-line);
    background: linear-gradient(135deg, var(--home-tint-strong) 0%, #f8fbff 100%);
}

.home-news-cover-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 1px 8px;
    border-radius: 2px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    line-height: 1.7;
}

.home-news-cover-icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    background: var(--card);
    color: var(--brand);
}

.home-news-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.home-news-card-body > strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-summary {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-meta {
    margin-top: auto;
    padding-top: 4px;
    color: var(--subtle);
    font-size: 12px;
}

.home-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-news-list li + li {
    border-top: 1px solid var(--border);
}

.home-news-list a {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.home-news-list-tag {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 2px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 12px;
    line-height: 1.6;
}

.home-news-list-title {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news-list a:hover .home-news-list-title {
    color: var(--brand-strong);
}

.home-news-list time {
    flex: 0 0 auto;
    color: var(--subtle);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* ---------- 服务行业 ---------- */
.home-industries {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.home-industry {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: var(--radius);
    background: var(--card);
}

.home-industry-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.home-industry-copy strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.home-industry-copy small {
    color: var(--subtle);
    font-size: 12px;
    line-height: 1.6;
}

/* ---------- 结尾行动区 ---------- */
.home-cta {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    border-top: 1px solid var(--home-line);
    background: var(--home-tint-strong);
}

.home-cta::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
    background-size: 32px 32px;
    content: '';
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
}

.home-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-cta-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: 26px;
    font-weight: 700;
}

.home-cta-copy p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.home-cta-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

/* ---------- 右侧悬浮工具条 ---------- */
.site-float {
    position: fixed;
    z-index: 30;
    right: 16px;
    bottom: 96px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.site-float-list {
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    list-style: none;
}

.site-float-item {
    position: relative;
}

.site-float-item + .site-float-item {
    border-top: 1px solid var(--border);
}

.site-float-item > a,
.site-float-top {
    display: flex;
    width: 64px;
    min-height: 60px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.site-float-item > a:hover {
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.site-float-pop {
    position: absolute;
    top: 0;
    right: calc(100% + 8px);
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    white-space: nowrap;
}

.site-float-item.has-pop:hover .site-float-pop,
.site-float-item.has-pop:focus-within .site-float-pop {
    display: flex;
}

.site-float-pop small {
    color: var(--subtle);
    font-size: 12px;
}

.site-float-pop strong {
    color: var(--brand-strong);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.site-float-top {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.site-float-top:hover {
    border-color: #bfdbfe;
    color: var(--brand-strong);
}

.site-float-top[hidden] {
    display: none;
}

/* ---------- 服务保障条 ---------- */
.site-trust {
    border-top: 1px solid var(--border);
    background: var(--card);
}

.site-trust-inner {
    display: grid;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-trust-item {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 12px;
}

.site-trust-icon {
    width: 40px;
    height: 40px;
}

.site-trust-item strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.site-trust-item span:not(.site-trust-icon) {
    display: block;
    margin-top: 4px;
    color: var(--subtle);
    font-size: 12px;
    line-height: 1.6;
}

/* ---------- 页脚 ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--page);
}

.site-footer-inner {
    display: grid;
    gap: 32px;
    padding: 40px 0 28px;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}

.site-footer-hotline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
}

.site-footer-hotline small {
    color: var(--subtle);
    font-size: 12px;
}

.site-footer-hotline a {
    color: var(--text);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .01em;
}

.site-footer-hotline a:hover {
    color: var(--brand-strong);
}

.site-footer-brand p {
    max-width: 340px;
    margin: 14px 0 0;
    color: var(--subtle);
    font-size: 13px;
    line-height: 1.7;
}

/* 客服联系方式（后台「系统设置 › 客服联系方式」，未填写的项不显示） */
.site-footer-contact {
    display: grid;
    gap: 4px;
    max-width: 340px;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer-contact > div {
    display: flex;
    gap: 8px;
}

.site-footer-contact dt {
    flex: 0 0 auto;
    color: var(--subtle);
}

.site-footer-contact dd {
    min-width: 0;
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.site-footer-contact a {
    color: var(--muted);
}

.site-footer-contact a:hover {
    color: var(--brand-strong);
}

.site-footer-heading {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

/* 宽屏显示纯文字标题；窄屏换成可折叠按钮 */
.site-footer-toggle {
    display: none;
}

.site-footer-links {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-links a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.site-footer-links a:hover {
    color: var(--brand-strong);
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 16px 0 24px;
    border-top: 1px solid var(--border);
    color: var(--subtle);
    font-size: 12px;
}

.site-footer-bottom p {
    margin: 0;
}

.site-footer-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.site-footer-notes a {
    color: var(--subtle);
}

.site-footer-notes a:hover {
    color: var(--brand-strong);
}

/* ---------- 窄桌面：1024–1199px ---------- */
@media (max-width: 1199px) {
    .site-container {
        padding: 0 20px;
    }

    .site-header-inner {
        gap: 20px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .site-nav-link {
        padding: 0 10px;
    }

    .home-hero-title {
        font-size: 38px;
    }

    .home-stat {
        padding: 16px;
    }

    .home-stat-value {
        font-size: 19px;
    }

    .home-suite-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 窄桌面 / iPad 横屏（1024–1199px）顶栏横排 8 个导航项：收紧间距，保证 1024px（含滚动条）一行放下 */
@media (min-width: 1024px) and (max-width: 1199px) {
    .site-header-inner {
        gap: 16px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .site-nav-panel {
        gap: 16px;
    }

    .site-nav {
        gap: 2px;
    }

    .site-nav-link {
        padding: 0 8px;
    }
}

/* ---------- iPad 竖屏及以下：<=1023px（导航收进抽屉） ---------- */
@media (max-width: 1023px) {
    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav-panel {
        position: fixed;
        z-index: 39;
        top: var(--topbar-height);
        right: 0;
        bottom: 0;
        display: none;
        width: min(380px, 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 16px;
        overflow-y: auto;
        padding: 12px 20px 24px;
        border-left: 1px solid var(--border);
        background: var(--card);
        overscroll-behavior: contain;
    }

    .site-nav-panel.is-open {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .site-nav-link {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 0 12px;
        font-size: 15px;
    }

    .site-header-actions {
        flex-direction: column;
        align-items: stretch;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .site-header-actions .button {
        width: 100%;
        min-height: 44px;
    }

    .site-section {
        padding: 56px 0;
    }

    .site-section-head h2 {
        font-size: 26px;
    }

    .home-hero {
        padding: 32px 0 96px;
    }

    .home-hero-slides {
        min-height: 340px;
    }

    .home-hero-slide {
        gap: 24px;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .home-hero-title {
        font-size: 32px;
    }

    .home-hero-desc {
        font-size: 14px;
    }

    .home-stats-inner {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-suite-featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-suite-feature-art {
        width: 40%;
    }

    .home-cap {
        padding: 22px;
    }

    .home-cap-art {
        width: 72px;
        height: 72px;
    }

    .home-cap-art svg {
        width: 34px;
        height: 34px;
    }

    .home-flow {
        gap: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-flow-step:not(:last-child)::after {
        display: none;
    }

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

    .home-industry {
        flex-direction: column;
        justify-content: center;
        padding: 18px 12px;
        text-align: center;
    }

    .home-industry-copy {
        align-items: center;
    }

    /* 窄屏只保留「回到顶部」，其余入口在顶栏抽屉与页脚中 */
    .site-float {
        right: 12px;
        bottom: 20px;
    }

    .site-float-list {
        display: none;
    }

    .site-float-top {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .site-float-top span {
        display: none;
    }

    .site-trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- iPad 竖屏专段：768–1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
    /* 解决方案改为横向卡片：插画在左、文字在右 */
    .home-solutions {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-solution {
        display: grid;
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    }

    .home-solution-media {
        display: flex;
        align-items: flex-end;
        padding: 16px 16px 0;
        border-right: 1px solid var(--home-line);
        border-bottom: 0;
    }
}

/* ---------- 手机：<=767px ---------- */
@media (max-width: 767px) {
    .site-container {
        padding: 0 16px;
    }

    .site-header-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-nav-panel {
        width: 100%;
        padding: 8px 16px 24px;
        border-left: 0;
    }

    .site-brand .brand-copy small {
        display: none;
    }

    .site-section {
        padding: 44px 0;
    }

    .site-section-head {
        margin-bottom: 24px;
    }

    .site-section-head h2 {
        font-size: 22px;
    }

    .site-section-head p {
        font-size: 14px;
    }

    .home-hero {
        padding: 24px 0 84px;
    }

    .home-hero-slides {
        min-height: 0;
    }

    .home-hero-slide {
        gap: 12px;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero-art {
        order: -1;
    }

    .home-hero-art img {
        max-width: 300px;
        margin: 0 auto;
    }

    .home-hero-title {
        font-size: 28px;
    }

    .home-hero-actions,
    .home-cta-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 22px;
    }

    .home-hero-actions .button,
    .home-cta-actions .button {
        width: 100%;
    }

    .home-hero-tabs {
        gap: 12px;
        margin-top: 20px;
    }

    .home-hero-tab {
        font-size: 13px;
    }

    .home-stats {
        margin-top: -48px;
    }

    .home-stat {
        gap: 10px;
        padding: 14px 12px;
    }

    .home-stat-icon {
        width: 36px;
        height: 36px;
    }

    .home-stat-value {
        font-size: 17px;
    }

    .home-stat-value span {
        font-size: 12px;
    }

    .home-suite-feature {
        min-height: 0;
        padding: 20px;
    }

    .home-suite-feature-copy {
        width: 100%;
    }

    /* 手机端插画移出绝对定位，放在卡片顶部，避免压住文字 */
    .home-suite-feature {
        flex-direction: column;
    }

    .home-suite-feature-art {
        position: static;
        order: -1;
        width: 70%;
        max-width: 240px;
        margin: -4px auto 8px;
    }

    .home-caps {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-solutions {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .home-solution-body {
        padding: 18px;
    }

    .home-news-col {
        padding: 16px;
    }

    .home-industries {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-cta {
        padding: 40px 0;
    }

    .home-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .home-cta-copy h2 {
        font-size: 22px;
    }

    .home-cta-copy p {
        font-size: 14px;
    }

    .site-trust-inner {
        gap: 18px;
        grid-template-columns: minmax(0, 1fr);
    }

    /* 页脚链接列折叠：按钮由 home.js 增强；无 JS 时保持展开 */
    .site-footer-inner {
        gap: 0;
        padding: 28px 0 8px;
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-brand {
        padding-bottom: 20px;
    }

    .site-footer-brand p,
    .site-footer-contact {
        max-width: none;
    }

    .site-footer-hotline a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    /* 手机端电话、邮箱链接加大点击区域 */
    .site-footer-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .site-footer-contact > div {
        align-items: center;
    }

    .site-footer-col {
        border-top: 1px solid var(--border);
    }

    .site-footer-heading {
        margin: 0;
    }

    .site-footer.is-enhanced .site-footer-title {
        display: none;
    }

    .site-footer.is-enhanced .site-footer-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text);
        font: inherit;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .site-footer-toggle svg {
        color: var(--subtle);
        transition: transform .15s ease;
    }

    .site-footer-toggle[aria-expanded='true'] svg {
        transform: rotate(180deg);
    }

    .site-footer:not(.is-enhanced) .site-footer-heading {
        padding-top: 16px;
        margin-bottom: 8px;
    }

    .site-footer.is-enhanced .site-footer-col:not(.is-open) .site-footer-links {
        display: none;
    }

    .site-footer-links {
        padding-bottom: 12px;
    }

    .site-footer-links a {
        min-height: 40px;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-notes a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
    }
}

/* ---------- 超窄屏：<=479px ---------- */
@media (max-width: 479px) {
    .site-container {
        padding: 0 14px;
    }

    .home-hero-title {
        font-size: 25px;
    }

    .home-hero-art img {
        max-width: 240px;
    }

    .home-stats-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-suite-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-cap {
        flex-direction: column-reverse;
        gap: 14px;
        padding: 18px;
    }

    .home-cap-art {
        width: 52px;
        height: 52px;
    }

    .home-cap-art svg {
        width: 26px;
        height: 26px;
    }

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

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

    .home-news-list time {
        display: none;
    }
}

/* 触控设备（含 1024px 宽的 iPad 横屏）：紧凑型链接与按钮统一提到 44px 触控目标 */
@media (pointer: coarse) {
    .site-nav-link,
    .site-header-actions .button,
    .site-footer-links a,
    .home-card-actions .button,
    .home-news-head a {
        min-height: 44px;
    }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
    .home-hero-slide.is-active,
    .home-hero-tab-bar,
    .site-footer-toggle svg {
        animation: none !important;
        transition: none !important;
    }
}
