/* ===== Home page design tokens ===== */
:root {
    --home-red: #E60012;
    --home-black: #000;
    --home-gray: #666;
    --home-gray-light: #F5F5F5;
    --home-navy: #0a1628;
}

/* --page-gutter 已在 style.css :root 与首页对齐，此处不再单独覆盖 */

.home-page {
    overflow-x: hidden;
}

.home-page + .site-footer,
.demas-page:has(.home-page) .site-footer {
    margin-top: 0;
}

.demas-page:has(.home-page) .main-content {
    margin-top: 0;
    min-height: auto;
}

/* ===== Section title ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--home-black);
    margin: 0 0 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 2.8rem;
    height: 4px;
    background: var(--home-red);
    margin-top: 0.35rem;
}

.section-title:has(.title-accent-inline)::after {
    display: none;
}

.title-accent-inline {
    position: relative;
    display: inline;
}

.title-accent-inline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    display: block;
    width: 100%;
    height: 4px;
    background: var(--home-red);
}

/* ===== Hero ===== */
/* 底图跟随浏览器宽度：元素永远 100% 宽，高度按底图比例(1462x822)推导，
   超高时用 max-height 收口并由 cover 裁切左右，不再固定 rem 宽高。 */
.home-hero {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    aspect-ratio: var(--hero-aspect-ratio);
    min-height: var(--hero-min-height);
    max-height: var(--hero-max-height);
    background-color: #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: var(--hero-padding-top);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    visibility: hidden;
    clip-path: inset(0 100% 0 0);
    z-index: 0;
    will-change: clip-path;
}

.hero-bg-slide__media {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1);
    transform-origin: center center;
}

.hero-bg-slide.is-active {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    z-index: 1;
}

.hero-bg-slide.is-active .hero-bg-slide__media {
    animation: heroKenBurns 7.5s ease-out forwards;
}

.hero-bg-slide.is-prev {
    visibility: visible;
    clip-path: inset(0 0 0 0);
    z-index: 0;
}

.hero-bg-slide.is-prev .hero-bg-slide__media {
    animation: none;
}

.hero-bg-slide.is-revealing {
    visibility: visible;
    z-index: 2;
    clip-path: inset(0 100% 0 0);
    animation: heroWipeIn 1.86s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-bg-slide.is-revealing .hero-bg-slide__media {
    transform: scale(1);
    animation: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.62) 28%,
        rgba(255, 255, 255, 0.18) 52%,
        transparent 72%
    );
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes heroWipeIn {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBarProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide {
        clip-path: inset(0 0 0 0);
    }

    .hero-bg-slide.is-revealing {
        animation: none;
    }

    .hero-bg-slide.is-active .hero-bg-slide__media,
    .hero-bg-slide.is-revealing .hero-bg-slide__media {
        animation: none !important;
        transform: none !important;
    }

    .hero-slide.is-entering .hero-model,
    .hero-slide.is-entering .hero-title,
    .hero-slide.is-entering .title-accent,
    .hero-slide.is-entering .hero-desc {
        animation: none !important;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-copy {
    position: relative;
    max-width: 42rem;
}

/* 字号放大后给两行标题留足高度，切换幻灯片时不跳动 */
.hero-slides {
    position: relative;
    min-height: var(--hero-slides-min-height);
}

.hero-slide {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 1.86s ease, transform 1.86s ease, visibility 0s linear 1.86s;
    pointer-events: none;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 1.86s ease, transform 1.86s ease, visibility 0s linear 0s;
}

.hero-slide.is-entering .hero-model {
    animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-slide.is-entering .hero-title {
    animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-slide.is-entering .title-accent {
    animation: heroTextIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.hero-slide.is-entering .hero-desc {
    animation: heroTextIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

/* 型号红色、标题黑色，对应设计稿两行标题 */
.hero-model {
    font-size: clamp(2.8rem, 5.88vw, 4.69rem);
    font-weight: 400;
    line-height: 1.38;
    letter-spacing: 0.01em;
    color: var(--home-red);
    margin: 0 0 0.15em;
}

.hero-title {
    font-size: clamp(2.8rem, 5.88vw, 4.69rem);
    font-weight: 400;
    line-height: 1.38;
    letter-spacing: 0.01em;
    color: #262626;
    margin: 0;
}

.hero-model a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hero-model a:hover,
.hero-title a:hover {
    color: var(--home-red);
}

.hero-slide .title-accent {
    display: block;
    width: 2.875rem;
    height: 3px;
    background: var(--home-red);
    margin: 1.9rem 0 1.75rem;
}

.hero-desc {
    font-size: 1.575rem;
    line-height: 1.85;
    color: #7d7d7d;
    max-width: 32rem;
    margin: 0;
}

/* 左右按钮与进度条同一行 */
.hero-controls {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-top: 2.25rem;
}

.hero-nav-btns {
    display: flex;
    gap: 0.75rem;
}

.hero-circle-btn,
.section-circle-btn {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-circle-btn {
    background: rgba(230, 0, 18, 0.13);
    color: var(--home-red);
}

.hero-circle-btn:hover {
    background: rgba(230, 0, 18, 0.24);
    transform: scale(1.05);
}

.hero-bars {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.hero-bar,
.app-bar {
    height: 3px;
    width: 2.5rem;
    border: none;
    border-radius: 2px;
    background: #d5d5d5;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background 0.35s ease;
}

.hero-bar.is-active {
    background: #d5d5d5;
    position: relative;
    overflow: hidden;
}

.hero-bar.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--home-red);
    animation: heroBarProgress 5s linear forwards;
}

.app-bar.is-active {
    width: 4rem;
    background: var(--home-red);
}

/* ===== Applications ===== */
.home-applications {
    padding: 5rem 0 4rem;
    background: #fff;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-head-row .section-title {
    margin-bottom: 0;
    padding-bottom: 0.45rem;
}

.section-nav-btns {
    display: flex;
    gap: 0.65rem;
}

.section-circle-btn {
    background: #fff;
    color: var(--home-black);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-circle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.app-viewport {
    overflow: hidden;
    margin: 0 -0.5rem;
}

.app-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.app-card {
    flex: 0 0 calc(33.333% - 0.85rem);
    min-width: calc(33.333% - 0.85rem);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.app-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.app-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #ececec 0%, #d8d8d8 100%);
}

.app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card-img.is-broken img {
    visibility: hidden;
}

.app-card:hover .app-card-img img {
    transform: scale(1.05);
}

.app-card-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.app-bars {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

/* ===== Products ===== */
/* 底图铺满浏览器宽度，高度随内容，用 cover 保持比例 */
.home-products {
    position: relative;
    padding: 5rem 0 3.5rem;
    background-color: #fff;
    background-image: url('../images/products-bg.png');
    background-repeat: no-repeat;
    /* 装饰图按区块高度等比缩放并贴齐右下，避免 cover 裁切导致底部留白 */
    background-position: right bottom;
    background-size: auto 100%;
    overflow: hidden;
}

.home-products + .home-news {
    margin-top: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 1.5rem;
    margin-bottom: 3rem;
}

/* 第二行两项按列左对齐，不居中 */

.product-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
}

/* 图片共用底基线；首页产品图在格子内居中，与下方名称+箭头同轴 */
.product-img {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 11rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, rgba(235, 235, 235, 0.85) 100%);
    border-radius: 4px;
}

.product-img.is-broken img {
    visibility: hidden;
}

.home-products .product-img {
    justify-content: center;
    background: none;
}

.product-img img {
    max-width: 100%;
    max-height: 10rem;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.03);
}

/* 名称 + 箭头作为一组在格子内居中，箭头紧跟名称并留出间距 */
.home-products .product-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--home-black);
}

/* 覆盖 style.css 中的绝对定位箭头，让图标跟在产品名称后面 */
.home-products .product-arrow {
    position: static;
    right: auto;
    top: auto;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

/* 去掉 style.css 的三角形伪元素，统一用内联 SVG（跟随 currentColor 变白） */
.home-products .product-arrow::before {
    content: none;
    display: none;
}

.home-products .product-arrow svg {
    display: block;
}

.home-products .product-item:hover .product-arrow {
    background: var(--home-black);
    color: #fff;
}

.home-products .product-item:hover .product-arrow svg path {
    stroke: #fff;
}

/* 装饰层已由 .home-products 的底图取代 */
.products-deco {
    display: none;
}

.section-cta {
    text-align: center;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 3.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-pill-dark {
    background: var(--home-black);
    color: #fff;
    min-width: 16rem;
}

.btn-pill-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #fff;
}

/* ===== News ===== */
.home-news {
    padding: 5rem 0;
    background: var(--home-gray-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* 卡片顶部：日期在底层，缩略图叠在上层 */
.news-card-top {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #fff;
}

/* 无图或破图时保留占位区域，避免顶部塌陷 */
.news-card-top.is-placeholder {
    background: linear-gradient(145deg, #f0f0f0 0%, #e2e2e2 55%, #d6d6d6 100%);
}

.news-card-top.is-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 38% 42%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.04) 100%);
    pointer-events: none;
}

.news-card-top.is-placeholder::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3.5rem;
    height: 3.5rem;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    border: 2px solid rgba(180, 180, 180, 0.65);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.news-card-date {
    position: absolute;
    inset: 0;
    padding: 2rem 1.5rem 0;
}

.news-card-media {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-media.is-broken img {
    visibility: hidden;
}

/* 鼠标经过图片消失（露出日期），移开图片重新出现 */
.news-card:hover .news-card-media,
.news-card:focus-within .news-card-media {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

/* 触屏设备没有 hover，保持图片常显 */
@media (hover: none) {
    .news-card:hover .news-card-media {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

.news-day {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--home-black);
}

.news-month {
    display: block;
    font-size: 0.9rem;
    color: var(--home-gray);
    margin-top: 0.25rem;
}

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

.news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    line-height: 1.4;
}

.news-card-body h3 a {
    color: var(--home-black);
    text-decoration: none;
}

.news-card-body h3 a:hover {
    color: var(--home-red);
}

.news-card-body p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--home-gray);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 箭头单独占一行，排在摘要下方（右对齐），不再压在文字上 */
.news-more-row {
    width: 100%;
    flex-shrink: 0;
    margin-top: 1rem;
    padding-top: 0.25rem;
    display: flex;
    justify-content: flex-end;
}

.news-more {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: background 0.25s ease, color 0.25s ease;
}

.news-card:hover .news-more {
    background: var(--home-black);
    color: #fff;
}

/* ===== Vision + Globe ===== */
.home-vision {
    position: relative;
    min-height: 38rem;
    background:
        radial-gradient(ellipse 85% 65% at 78% 48%, rgba(72, 130, 195, 0.22) 0%, rgba(45, 85, 140, 0.08) 42%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(118deg, #3d4654 0%, #2f3847 46%, #222a36 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

/* 地球周边：环境星光层（CSS） */
.home-vision::before,
.home-vision::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.home-vision::before {
    background-image:
        radial-gradient(1px 1px at 8% 18%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 42%, rgba(200, 225, 255, 0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 22% 72%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 32% 28%, rgba(190, 220, 255, 0.65) 0%, transparent 100%),
        radial-gradient(1px 1px at 38% 58%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 48% 14%, rgba(210, 235, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 52% 82%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 58% 36%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 64% 64%, rgba(190, 220, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 22%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 76% 48%, rgba(200, 230, 255, 0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 82% 76%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 32%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 94% 58%, rgba(210, 235, 255, 0.55) 0%, transparent 100%);
    animation: visionStarsTwinkle 7s ease-in-out infinite alternate;
}

.home-vision::after {
    background:
        radial-gradient(ellipse 48% 38% at 76% 50%, rgba(110, 170, 230, 0.07) 0%, rgba(0, 0, 0, 0) 72%);
    opacity: 0.85;
}

@keyframes visionStarsTwinkle {
    0%   { opacity: 0.55; }
    50%  { opacity: 0.9; }
    100% { opacity: 0.65; }
}

/* 地球外圈：多层柔和光晕，不用硬边圆环 */
.vision-globe-wrap::before {
    content: '';
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(95, 155, 215, 0.10) 0%, rgba(75, 130, 195, 0.05) 42%, rgba(55, 100, 160, 0.02) 68%, transparent 88%);
    pointer-events: none;
}

.vision-globe-wrap::after {
    content: '';
    position: absolute;
    inset: -28%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 90% 80% at 45% 48%, rgba(120, 180, 240, 0.06) 0%, rgba(80, 140, 200, 0.025) 50%, transparent 78%);
    pointer-events: none;
}
/* 地球：右侧出血、允许被区块裁切（参考图的构图） */
.vision-globe-wrap {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%);
    width: min(64vw, 880px);
    aspect-ratio: 1 / 1;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
    z-index: 2;
}

.vision-globe-wrap.is-dragging {
    cursor: grabbing;
}

.vision-globe,
.vision-globe-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.vision-globe {
    pointer-events: auto;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.vision-globe-wrap.has-image {
    pointer-events: none;
    cursor: default;
}

.vision-globe-wrap.has-image .vision-globe {
    pointer-events: none;
}

.vision-globe-img {
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* 位图就绪后接管显示，canvas 退场（位图缺失时保持 canvas 兜底） */
.vision-globe-wrap.has-image .vision-globe-img {
    opacity: 1;
}

.vision-globe-wrap.has-image .vision-globe {
    display: none;
}

/* .home-vision 是 flex 容器，.container 作为 flex item 会收缩到内容宽度，
   导致 margin:0 auto 按卡片宽度居中、与其它区块的容器错位。
   补 width:100% 让它撑满，回到和新闻/产品同一条左边线上。 */
.vision-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    min-height: 38rem;
}

.vision-card {
    position: relative;
    width: min(58%, 46rem);
    max-width: none;
    pointer-events: auto;
    background: #fff;
    border-radius: 0 1.25rem 1.25rem 0;
    padding: 3.5rem clamp(2rem, 3.5vw, 3.25rem) 3.5rem var(--page-gutter, clamp(2rem, 8vw, 6rem));
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: box-shadow 0.45s ease;
}

/* 入场结束后保持静止，贴近参考稿 */
.vision-card.is-visible {
    animation: none;
}

.vision-card:hover {
    animation-play-state: paused;
    transform: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

/* 左上角掠过的高光，随卡片入场跑一次，hover 再跑一次 */
.vision-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-14deg);
    opacity: 0;
    pointer-events: none;
}

.vision-card.is-visible::after,
.vision-card:hover::after {
    animation: visionSheen 1.5s ease-out 0.35s;
}

@keyframes visionSheen {
    0%   { opacity: 0; left: -60%; }
    35%  { opacity: 0.85; }
    100% { opacity: 0; left: 115%; }
}

/* 卡片内元素随卡片依次淡入 */
.vision-card .vision-title,
.vision-card .vision-sub,
.vision-card .vision-desc,
.vision-card .btn-pill {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.vision-card.is-visible .vision-title,
.vision-card.is-visible .vision-sub,
.vision-card.is-visible .vision-desc,
.vision-card.is-visible .btn-pill {
    opacity: 1;
    transform: translateY(0);
}

.vision-card.is-visible .vision-title { transition-delay: 0.12s; }
.vision-card.is-visible .vision-sub   { transition-delay: 0.24s; }
.vision-card.is-visible .vision-desc  { transition-delay: 0.36s; }
.vision-card.is-visible .btn-pill     { transition-delay: 0.48s; }

/* 标题下红色短线随入场横向展开 */
.vision-card .title-accent-inline::after {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.vision-card.is-visible .title-accent-inline::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .home-vision::before {
        animation: none;
    }

    .vision-card,
    .vision-card.is-visible {
        animation: none;
        transition: none;
    }

    .vision-card.is-visible::after,
    .vision-card:hover::after {
        animation: none;
    }

    .vision-card .vision-title,
    .vision-card .vision-sub,
    .vision-card .vision-desc,
    .vision-card .btn-pill {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .vision-card .title-accent-inline::after {
        transform: scaleX(1);
        transition: none;
    }
}

.vision-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.22;
    color: var(--home-black);
    padding-bottom: 0.45rem;
}

.vision-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--home-black);
}

.vision-desc {
    font-size: clamp(0.875rem, 1.05vw, 0.98rem);
    line-height: 1.9;
    color: #555;
    margin: 0 0 2.25rem;
    max-width: 34rem;
}

/* ===== CTA ===== */
.home-cta {
    padding: 3.5rem 0;
    background: var(--home-gray-light);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.cta-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin: 0;
    color: var(--home-black);
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.5rem;
    background: var(--home-black);
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* ===== Scroll reveal ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .home-hero {
        aspect-ratio: var(--hero-aspect-ratio-tablet);
        min-height: var(--hero-min-height-tablet);
        max-height: none;
    }

    .hero-bg-slide {
        background-position: center right;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-slides {
        min-height: var(--hero-slides-min-height-tablet);
    }

    .app-card {
        flex: 0 0 calc(50% - 0.65rem);
        min-width: calc(50% - 0.65rem);
    }

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

    .vision-globe-wrap {
        opacity: 0.55;
        right: -22%;
        width: min(90vw, 700px);
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding-top: var(--hero-padding-top-mobile);
        aspect-ratio: var(--hero-aspect-ratio-mobile);
        min-height: var(--hero-min-height-mobile);
        align-items: flex-start;
    }

    .hero-inner {
        padding-top: var(--hero-inner-padding-top-mobile);
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-controls {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-bar {
        width: 1.75rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .home-vision {
        min-height: 32rem;
        padding: 4rem var(--page-gutter, clamp(2rem, 8vw, 6rem));
        align-items: flex-end;
    }

    .vision-globe-wrap {
        right: 50%;
        top: 42%;
        transform: translate(50%, -50%);
        width: min(115vw, 520px);
        opacity: 0.42;
        pointer-events: none;
        cursor: default;
    }

    .vision-inner {
        position: relative;
        z-index: 3;
        min-height: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .vision-card {
        width: 100%;
        max-width: none;
        margin-top: auto;
        border-radius: 1rem;
        padding: 2.5rem 2rem;
    }

    .home-cta {
        padding-left: var(--page-gutter, clamp(2rem, 8vw, 6rem));
        padding-right: var(--page-gutter, clamp(2rem, 8vw, 6rem));
    }

    .home-cta > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .home-hero {
        min-height: 30rem;
    }

    .app-card {
        flex: 0 0 85%;
        min-width: 85%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .vision-card {
        padding: 2rem 1.5rem;
    }

    .home-vision {
        min-height: 28rem;
        padding: 3rem var(--page-gutter, clamp(2rem, 8vw, 6rem));
    }
}
