/* 「营销推广销售合作」宣传页（首页 /）专用样式。
   全部规则限定在 .home-page 内，不影响公司展示页与工作台。 */

.home-page {
    --ab-ink: #0d2440;
    --ab-ink-soft: #55677d;
    --ab-brand: #1667c7;
    --ab-brand-2: #10a99b;
    --ab-accent: #ff9f2e;
    --ab-surface: #ffffff;
    --ab-surface-2: #f4f8fc;
    --ab-line: rgba(13, 36, 64, .10);
    --ab-shadow: 0 10px 28px rgba(13, 36, 64, .09);
    --ab-shadow-hover: 0 20px 44px rgba(13, 36, 64, .16);
    --ab-radius: 18px;
    color: var(--ab-ink);
}

[data-bs-theme="dark"] .home-page {
    --ab-ink: #e9f1fa;
    --ab-ink-soft: #a3b3c6;
    --ab-brand: #5aa9ff;
    --ab-brand-2: #2fd0c0;
    --ab-surface: #161f2c;
    --ab-surface-2: #1c2634;
    --ab-line: rgba(255, 255, 255, .10);
    --ab-shadow: 0 10px 28px rgba(0, 0, 0, .34);
    --ab-shadow-hover: 0 20px 44px rgba(0, 0, 0, .45);
}

/* ================= 英雄区 ================= */

.home-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* 全屏背景：打破 .container 宽度，左右贴到视口边缘 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #fff;
    background:
        radial-gradient(120% 130% at 12% 4%, rgba(16, 169, 155, .45) 0%, rgba(16, 169, 155, 0) 55%),
        radial-gradient(90% 120% at 96% -10%, rgba(255, 159, 46, .22) 0%, rgba(255, 159, 46, 0) 55%),
        linear-gradient(100deg, rgba(7, 23, 45, .96) 0%, rgba(9, 34, 64, .93) 38%, rgba(10, 45, 76, .78) 62%, rgba(11, 51, 85, .55) 100%),
        url("../images/home/hero-dealers.jpg") center / cover no-repeat;
}

/* 全屏背景用 100vw 会算上滚动条宽度，锁住横向溢出避免出现横向滚动条 */
body:has(.home-page) {
    overflow-x: hidden;
}

/* 首页首屏是全屏背景，直接贴着导航栏更完整：
   去掉布局给容器留的 16px 上内边距。:has 限定只在首页生效，不影响资源库等其它页面。 */
#main > .container:has(.home-page) {
    padding-top: 0;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(85% 75% at 45% 15%, #000 0%, transparent 78%);
    mask-image: radial-gradient(85% 75% at 45% 15%, #000 0%, transparent 78%);
}

.home-glow {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 50%;
    filter: blur(46px);
    opacity: .55;
    pointer-events: none;
}

.home-glow-a {
    width: 300px;
    height: 300px;
    top: -110px;
    right: 6%;
    background: radial-gradient(circle, rgba(47, 208, 192, .95) 0%, rgba(47, 208, 192, 0) 70%);
    animation: home-float-a 17s ease-in-out infinite;
}

.home-glow-b {
    width: 260px;
    height: 260px;
    bottom: -120px;
    left: 4%;
    background: radial-gradient(circle, rgba(255, 159, 46, .85) 0%, rgba(255, 159, 46, 0) 70%);
    animation: home-float-b 21s ease-in-out infinite;
}

@keyframes home-float-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(20px, -26px, 0) scale(1.09); }
}

@keyframes home-float-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(-26px, 18px, 0) scale(1.12); }
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    /* 宽度交给 .container，和页面其它板块同宽；只补上下内边距。
       左右 15px 与 site.css 里 main > .container 的 15px 保持一致，
       否则首屏文字会比下面的板块少 3px，出现细微不对齐。 */
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 3.1rem;
    padding-bottom: 2.6rem;
}

.home-hero-copy {
    max-width: 46rem;
}

.home-title {
    margin: .35rem 0 .8rem;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .5px;
}

.home-lead {
    margin: 0;
    max-width: 44rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, .88);
}

.home-lead strong {
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 -0.5em 0 rgba(255, 159, 46, .28);
}

.home-eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ab-brand);
}

.home-eyebrow-light {
    color: #8ee9dd;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.6rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .72rem 1.55rem;
    border: 0;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.home-btn-primary {
    color: #40260a;
    background: linear-gradient(120deg, #ffb455 0%, #ff9f2e 55%, #ffc170 100%);
    box-shadow: 0 12px 26px rgba(255, 159, 46, .35);
}

.home-btn-primary:hover,
.home-btn-primary:focus-visible {
    color: #40260a;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 159, 46, .45);
}

.home-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .45);
}

.home-btn-ghost:hover,
.home-btn-ghost:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.home-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.home-hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .85rem;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .85rem;
    color: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.home-hero-chips i {
    color: #8ee9dd;
}

.home-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    margin-top: 1.9rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.home-stat-label {
    margin-top: .2rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .72);
}

/* ================= 通用分区 ================= */

.home-section {
    margin-top: 3.2rem;
}

.home-section-head {
    margin-bottom: 1.5rem;
}

.home-h2 {
    margin: .4rem 0 .55rem;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 700;
    color: var(--ab-ink);
}

.home-sub {
    margin: 0;
    max-width: 55rem;
    color: var(--ab-ink-soft);
    line-height: 1.75;
}

/* ================= 服务卡片 ================= */

.home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .home-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    /* 服务卡片：4 条业务，两列排布（由轻到重，从左到右、从上到下） */
    .home-grid-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.home-card {
    position: relative;
    overflow: hidden;
    padding: 1.7rem 1.6rem;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.home-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ab-brand), var(--ab-brand-2));
    opacity: 0;
    transition: opacity .32s ease;
}

.home-card:hover,
.home-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(22, 103, 199, .35);
    box-shadow: var(--ab-shadow-hover);
}

.home-card:hover::before,
.home-card:focus-within::before {
    opacity: 1;
}

/* 服务卡片顶部配图：负外边距顶到卡片边缘，鼠标悬停轻微放大 */
.home-card-cover {
    margin: -1.7rem -1.6rem 1.15rem;
    overflow: hidden;
    background: var(--ab-surface-2);
}

.home-card-cover img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.home-card:hover .home-card-cover img,
.home-card:focus-within .home-card-cover img {
    transform: scale(1.05);
}

/* 卡片右上角的定位标签：自助开发 / 批量触达 / 深度跟进 / 我们出客源 */
.home-card-tag {
    position: absolute;
    top: 1.55rem;
    right: 1.55rem;
    z-index: 1;
    padding: .18rem .62rem;
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    background: var(--ab-surface-2);
    color: var(--ab-ink-soft);
    font-size: .72rem;
    line-height: 1.6;
    white-space: nowrap;
}

.home-card-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 16px;
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1667c7 0%, #10a99b 100%);
    box-shadow: 0 12px 24px rgba(22, 103, 199, .28);
    transition: transform .38s cubic-bezier(.22, .61, .36, 1);
}

.home-card-icon-2 {
    background: linear-gradient(135deg, #12406f 0%, #ff9f2e 120%);
    box-shadow: 0 12px 24px rgba(255, 159, 46, .26);
}

.home-card-icon-3 {
    background: linear-gradient(135deg, #0f8f83 0%, #1667c7 100%);
    box-shadow: 0 12px 24px rgba(15, 143, 131, .28);
}

.home-card-icon-4 {
    background: linear-gradient(135deg, #0b2140 0%, #10a99b 100%);
    box-shadow: 0 12px 24px rgba(11, 33, 64, .28);
}

.home-card:hover .home-card-icon {
    transform: translateY(-3px) rotate(-7deg) scale(1.06);
}

.home-card-title {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ab-ink);
}

.home-card-text {
    margin: 0;
    color: var(--ab-ink-soft);
    font-size: .92rem;
    line-height: 1.7;
}

.home-card-link {
    display: inline-block;
    margin-left: .3rem;
    color: var(--ab-brand);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-card-link:hover,
.home-card-link:focus-visible {
    text-decoration: underline;
}

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

.home-list li {
    position: relative;
    margin-bottom: .5rem;
    padding-left: 1.45rem;
    color: var(--ab-ink-soft);
    font-size: .92rem;
    line-height: 1.65;
}

.home-list li:last-child {
    margin-bottom: 0;
}

.home-list li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: .2rem;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ab-brand), var(--ab-brand-2));
}

/* ================= 海外车商资源库 · 价格 ================= */

.home-price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .home-price-grid {
        grid-template-columns: 1.1fr 1fr;
    }
}

.home-price-card {
    position: relative;
    padding: 1.7rem 1.6rem;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
}

/* 主推的国家基础包：深色高亮，和旁边的加量包拉开层级 */
.home-price-card-main {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(120% 120% at 88% 0%, rgba(16, 169, 155, .5) 0%, rgba(16, 169, 155, 0) 55%),
        linear-gradient(140deg, #0c2340 0%, #144274 60%, #0e5a80 100%);
    box-shadow: 0 20px 44px rgba(12, 35, 64, .26);
}

.home-price-tag {
    display: inline-block;
    padding: .18rem .62rem;
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    background: var(--ab-surface-2);
    color: var(--ab-ink-soft);
    font-size: .72rem;
    line-height: 1.6;
    white-space: nowrap;
}

.home-price-card-main .home-price-tag {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.home-price-title {
    margin: .7rem 0 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ab-ink);
}

.home-price-card-main .home-price-title {
    color: #fff;
}

.home-price-amount {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: .45rem 0 .1rem;
}

.home-price-num {
    font-size: clamp(2.1rem, 4.6vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ab-brand);
}

.home-price-card-main .home-price-num {
    color: #ffc170;
}

.home-price-unit {
    font-size: .95rem;
    font-weight: 600;
    color: var(--ab-ink-soft);
}

.home-price-card-main .home-price-unit {
    color: rgba(255, 255, 255, .86);
}

.home-price-desc {
    margin: 0 0 .9rem;
    color: var(--ab-ink-soft);
    font-size: .92rem;
    line-height: 1.7;
}

.home-price-card-main .home-price-desc {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .88);
}

.home-price-examples {
    margin-top: 1.25rem;
    padding: 1.3rem 1.4rem 1.4rem;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
}

.home-price-examples-title {
    margin: 0 0 .55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ab-ink);
}

.home-price-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ab-ink);
    --bs-table-border-color: var(--ab-line);
    margin-bottom: 0;
    white-space: nowrap;
}

.home-price-table th {
    color: var(--ab-ink-soft);
    font-size: .82rem;
    font-weight: 600;
}

.home-price-calc {
    color: var(--ab-ink-soft);
    font-size: .88rem;
}

.home-price-total {
    color: var(--ab-brand);
    font-weight: 700;
}

.home-price-note {
    margin: 1rem 0 0;
    color: var(--ab-ink-soft);
    font-size: .86rem;
    line-height: 1.7;
}

/* ================= 客户评价 ================= */

.home-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
}

/* 只有一条好评时不要拉成整行宽 —— 限成适合阅读的宽度；两条以上自动铺满一行 */
.home-review-grid > .home-review:only-child {
    max-width: 46rem;
}

.home-review {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.6rem 1.5rem 1.35rem;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.home-review:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 103, 199, .35);
    box-shadow: var(--ab-shadow-hover);
}

.home-review-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    line-height: .9;
    color: var(--ab-brand);
    opacity: .35;
}

.home-review-quote {
    flex: 1 1 auto;
    margin: .25rem 0 1.1rem;
    color: var(--ab-ink);
    font-size: .98rem;
    line-height: 1.8;
}

.home-review-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: .9rem;
    border-top: 1px dashed var(--ab-line);
}

.home-review-author {
    color: var(--ab-ink-soft);
    font-size: .86rem;
    font-weight: 600;
}

.home-review-product {
    position: absolute;
    top: 1.6rem;
    right: 1.5rem;
    padding: .16rem .6rem;
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    background: var(--ab-surface-2);
    color: var(--ab-ink-soft);
    font-size: .72rem;
    line-height: 1.6;
    white-space: nowrap;
}

/* ================= 销售合作：我们 / 你 ================= */

.home-panel {
    position: relative;
    padding: 1.6rem 1.5rem;
    border-radius: var(--ab-radius);
    transition: transform .32s ease, box-shadow .32s ease;
}

.home-panel:hover {
    transform: translateY(-5px);
}

.home-panel-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
}

.home-panel-head i {
    font-size: 1.35rem;
}

.home-panel-head h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
}

.home-panel-ours {
    color: #fff;
    background:
        radial-gradient(120% 120% at 88% 0%, rgba(16, 169, 155, .5) 0%, rgba(16, 169, 155, 0) 55%),
        linear-gradient(140deg, #0c2340 0%, #144274 60%, #0e5a80 100%);
    box-shadow: 0 20px 44px rgba(12, 35, 64, .26);
}

.home-panel-ours .home-panel-head {
    color: #8ee9dd;
}

.home-panel-ours .home-panel-head h3 {
    color: #fff;
}

.home-list-light li {
    color: rgba(255, 255, 255, .88);
}

.home-list-light li::before {
    background: linear-gradient(135deg, #8ee9dd, #ffc170);
}

.home-panel-yours {
    border: 1px solid var(--ab-line);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
}

.home-panel-yours .home-panel-head {
    color: var(--ab-accent);
}

.home-panel-note {
    margin: 1.1rem 0 0;
    padding: .7rem .85rem;
    border-radius: 12px;
    background: var(--ab-surface-2);
    color: var(--ab-ink-soft);
    font-size: .86rem;
    line-height: 1.65;
}

/* ================= 合作流程 ================= */

.home-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .home-flow {
        grid-template-columns: repeat(4, 1fr);
    }
}

.home-step {
    position: relative;
    padding: 1.4rem 1.25rem;
    border: 1px solid var(--ab-line);
    border-radius: 16px;
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.home-step:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 169, 155, .38);
    box-shadow: var(--ab-shadow-hover);
}

.home-step-num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: .8rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #12406f 0%, #10a99b 100%);
    box-shadow: 0 10px 20px rgba(18, 64, 111, .24);
}

.home-step-title {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ab-ink);
}

.home-step-text {
    margin: 0;
    color: var(--ab-ink-soft);
    font-size: .88rem;
    line-height: 1.65;
}

@media (min-width: 992px) {
    .home-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 2.35rem;
        right: -.75rem;
        width: 1.5rem;
        height: 2px;
        background: linear-gradient(90deg, rgba(22, 103, 199, .55), rgba(16, 169, 155, .12));
    }
}

/* ================= 适合谁 ================= */

.home-fit {
    display: grid;
    gap: 1.7rem;
    padding: 1.8rem 1.7rem;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: linear-gradient(180deg, var(--ab-surface-2) 0%, var(--ab-surface) 100%);
    box-shadow: var(--ab-shadow);
}

.home-fit-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
}

.home-fit-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

@media (min-width: 900px) {
    .home-fit {
        grid-template-columns: minmax(0, 1fr) 21rem;
        align-items: center;
        gap: 2.2rem;
    }
}

.home-fit-head {
    margin-bottom: 1rem;
}

.home-fit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .home-fit-list {
        grid-template-columns: 1fr 1fr;
    }
}

.home-fit-list li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--ab-ink-soft);
    font-size: .93rem;
    line-height: 1.6;
}

.home-fit-list i {
    margin-top: .15rem;
    color: var(--ab-brand-2);
}

/* ================= 底部行动区 ================= */

.home-cta {
    position: relative;
    overflow: hidden;
    padding: 2.6rem 2rem;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(110% 130% at 12% 0%, rgba(16, 169, 155, .5) 0%, rgba(16, 169, 155, 0) 58%),
        linear-gradient(120deg, rgba(11, 33, 64, .93) 0%, rgba(18, 64, 111, .88) 55%, rgba(13, 92, 133, .84) 100%),
        url("../images/home/cta-port.jpg") center / cover no-repeat;
    box-shadow: 0 24px 54px rgba(11, 33, 64, .28);
}

.home-cta::before {
    content: "";
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: -35%;
    width: 45%;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(8deg);
    animation: home-shine 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes home-shine {
    0%   { left: -35%; }
    55%  { left: 105%; }
    100% { left: 105%; }
}

.home-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 44rem;
}

.home-cta-title {
    margin: .4rem 0 .6rem;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700;
}

.home-cta-text {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.75;
}

.home-cta-contact {
    display: inline-block;
    margin: 1.1rem 0 0;
    padding: .65rem .9rem;
    border: 1px dashed rgba(255, 255, 255, .45);
    border-radius: 12px;
    color: #fff;
    font-size: .9rem;
}

/* ================= 动效：入场 + 滚动渐显 ================= */

.home-hero-inner > * {
    animation: home-rise .72s cubic-bezier(.22, .61, .36, 1) both;
}

.home-hero-inner > *:nth-child(1) { animation-delay: .04s; }
.home-hero-inner > *:nth-child(2) { animation-delay: .12s; }
.home-hero-inner > *:nth-child(3) { animation-delay: .20s; }
.home-hero-inner > *:nth-child(4) { animation-delay: .28s; }
.home-hero-inner > *:nth-child(5) { animation-delay: .36s; }
.home-hero-inner > *:nth-child(6) { animation-delay: .44s; }

@keyframes home-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

.js-anim .home-page .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}

.js-anim .home-page .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.home-page .reveal[data-delay="1"] { transition-delay: .07s; }
.home-page .reveal[data-delay="2"] { transition-delay: .14s; }
.home-page .reveal[data-delay="3"] { transition-delay: .21s; }
.home-page .reveal[data-delay="4"] { transition-delay: .28s; }

/* ================= 无障碍：尊重"减少动态效果" ================= */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        animation: none !important;
        transition: none !important;
    }

    .js-anim .home-page .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
