/* ==========================================================
   Flyfy · 首页与营销组件
   Hero 首屏、产品预览、功能卡片、价格方案、CTA
   ========================================================== */

/* ---------------- Hero 首屏 ---------------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(640px, 70svh, 760px);
    padding: 112px 0 64px;
    overflow: clip;
    background:
        radial-gradient(ellipse at 82% 42%, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(125deg, #f8fbff 0%, #edf3ff 48%, #dce8ff 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: 112px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .72) 62%, #fff 100%);
}

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

.hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

.hero-copy {
    width: auto;
    max-width: 620px;
}

html[lang^="en"] .hero-copy {
    width: auto;
    max-width: none;
}

.hero__visual {
    justify-self: end;
    width: 100%;
    max-width: 620px;
    margin: 0;
}

.hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 34px rgba(63, 91, 170, .12));
}

.hero-title {
    margin: 30px 0 0;
    color: #252d3f;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: .052em;
}

html[lang^="en"] .hero-title {
    font-size: clamp(2.6rem, 3.9vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}

html[lang^="zh"] .hero-title {
    font-size: clamp(2.15rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: .025em;
}

html[lang^="zh"] .hero-title-line {
    white-space: nowrap;
}

.hero-title-line {
    display: block;
    font-size: clamp(3rem, 4.5vw, 5rem);
}

.hero-title-accent {
    color: #5f6cfa;
    padding-bottom: .04em;
    font-size: clamp(2.15rem, 4vw, 4rem);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-title-accent {
        background: linear-gradient(90deg, #3b85f8 0%, #5d6dfb 58%, #705cfa 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hero-desc {
    max-width: 620px;
    margin: 28px 0 0;
    color: #4c5265;
    font-size: clamp(1rem, 1.14vw, 1.22rem);
    line-height: 1.75;
    letter-spacing: .01em;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 30px;
    line-height: 1;
}

    .hero-price .amount {
        color: #5f6cfa;
        font-size: clamp(2.4rem, 3.2vw, 3rem);
        font-weight: 800;
        letter-spacing: -.04em;
    }

    .hero-price .unit {
        color: #5d6374;
        font-size: .95rem;
        font-weight: 500;
    }

.hero-price-note {
    margin: 8px 0 0;
    color: #747b8e;
    font-size: .88rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

    .hero-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 56px;
        padding: 0 32px;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.2;
        border-radius: 999px;
        transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
    }

    .hero-actions .hero-cta-primary {
        padding: 0 36px;
        color: #fff;
        border: 0;
        background: linear-gradient(100deg, #4f81fb 0%, #5866f3 48%, #5b50d7 100%);
        box-shadow: 0 14px 30px rgba(77, 88, 220, .26);
    }

        .hero-actions .hero-cta-primary:hover,
        .hero-actions .hero-cta-primary:active {
            color: #fff;
            background: linear-gradient(100deg, #4779f6 0%, #5260ef 48%, #5549cf 100%);
            transform: translateY(-2px);
            box-shadow: 0 22px 44px rgba(77, 88, 220, .34);
        }

.hero-cta-arrow {
    font-size: 1.05em;
    transition: transform .2s ease;
}

.hero-actions .hero-cta-primary:hover .hero-cta-arrow {
    transform: translateX(4px);
}

.hero-actions .hero-cta-secondary {
    color: #293149;
    border: 1px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(83, 94, 162, .08);
}

    .hero-actions .hero-cta-secondary:hover {
        color: #4639d8;
        border-color: #fff;
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(83, 94, 162, .14);
    }

/* ---------------- 首页章节 ---------------- */
.home-section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

    .home-section-heading h2 {
        margin: 0;
        color: #20263a;
        font-size: clamp(2.05rem, 3.25vw, 3rem);
        font-weight: 600;
        line-height: 1.14;
        letter-spacing: -.035em;
        text-wrap: balance;
    }

    .home-section-heading p {
        margin: 14px auto 0;
        color: #5e6473;
        font-size: 1rem;
        line-height: 1.72;
    }

/* ---------------- 价值主张 ---------------- */
.home-value {
    padding: 76px 0 70px;
    background: linear-gradient(180deg, #fff 0%, #f5f7ff 24%, #eef2ff 100%);
    scroll-margin-top: 84px;
}

.home-value__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.home-value__grid > li {
    display: flex;
    min-width: 0;
}

.home-value__item {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-height: 248px;
    padding: 26px 30px 28px;
    overflow: hidden;
    border: 1px solid rgba(186, 202, 242, .72);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(246, 249, 255, .98) 54%, rgba(239, 244, 255, .98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .96),
        inset 0 -1px 0 rgba(211, 221, 248, .28),
        0 14px 34px rgba(60, 82, 150, .07);
}

.home-value__icon-frame {
    display: block;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
}

.home-value__icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 9px 13px rgba(61, 88, 168, .14));
}

.home-value__copy {
    min-width: 0;
}

    .home-value__item h3 {
        margin: 0 0 9px;
        color: #111a35;
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .home-value__item p {
        margin: 0;
        color: #3f4a66;
        font-size: 1.05rem;
        line-height: 1.58;
    }

/* ---------------- 核心功能 ---------------- */
.home-core {
    padding: 76px 0 52px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f7fd 100%);
    scroll-margin-top: 84px;
}

.home-core__list {
    display: grid;
    gap: clamp(20px, 2.4vw, 28px);
    width: min(100%, 1160px);
    margin: 0 auto;
}

.home-core__row {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(46px, 6.8vw, 92px);
    padding: clamp(34px, 4.2vw, 52px) clamp(30px, 4.4vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(189, 200, 231, .68);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .99) 0%, rgba(248, 250, 255, .98) 58%, rgba(241, 245, 255, .98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .98),
        0 18px 44px rgba(46, 62, 125, .08);
}

.home-core__row--reverse {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

.home-core__copy {
    max-width: 470px;
    padding-left: 0;
}

.home-core__row--reverse .home-core__copy {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    padding-right: 0;
    padding-left: 0;
}

.home-core__copy h3 {
    margin: 0;
    color: #20263a;
    font-size: clamp(1.72rem, 2.3vw, 2.18rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.home-core__copy > p {
    max-width: 440px;
    margin: 14px 0 0;
    color: #596174;
    font-size: 1rem;
    line-height: 1.7;
}

.home-core__checks {
    display: grid;
    gap: 11px;
    margin: 22px 0 0;
}

.home-core__checks li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: #394255;
    font-size: .96rem;
    line-height: 1.62;
}

.home-core__checks i {
    padding-top: 3px;
    color: #42bd98;
    font-size: .9rem;
}

.home-core__visual {
    position: relative;
    display: block;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1672 / 941;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    container-type: inline-size;
    isolation: isolate;
}

.home-core__row--reverse .home-core__visual {
    grid-column: 1;
    grid-row: 1;
}

.home-core__visual--barcode,
.home-core__visual--alerts,
.home-core__visual--warehouses {
    aspect-ratio: 1672 / 941;
}

.home-core__visual--tracking {
    aspect-ratio: 1670 / 942;
}

.home-core__visual--access {
    aspect-ratio: 1774 / 887;
}

.home-core__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: none;
}

.home-core__visual-label,
.home-core__warehouse-badge {
    position: absolute;
    z-index: 1;
    letter-spacing: 0;
    pointer-events: none;
}

.home-core__visual-label {
    transform: translate(-50%, -50%);
    color: #46536c;
    font-size: clamp(.62rem, 2.05cqw, .86rem);
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

html[lang^="zh"] .home-core__visual-label {
    font-size: clamp(.72rem, 2.35cqw, .98rem);
}

html[lang^="en"] .home-core__alert-label {
    width: 12%;
    font-size: clamp(.58rem, 1.7cqw, .74rem);
    line-height: 1.16;
    white-space: normal;
}

.home-core__alert-label {
    top: 36.6%;
}

.home-core__alert-label--current {
    left: 72.6%;
}

.home-core__alert-label--threshold {
    left: 87.5%;
}

.home-core__tracking-label {
    top: 32.4%;
}

html[lang^="en"] .home-core__tracking-label {
    font-size: clamp(.5rem, 1.6cqw, .74rem);
}

.home-core__tracking-label--available {
    left: 25.7%;
}

.home-core__tracking-label--inbound {
    left: 58.3%;
}

.home-core__tracking-label--outbound {
    left: 90.1%;
}

html[lang^="en"] .home-core__tracking-label--outbound {
    left: 88.6%;
}

.home-core__tracking-updated {
    top: 64.1%;
    left: 90.1%;
    color: #6749df;
    font-weight: 700;
}

html[lang^="en"] .home-core__tracking-updated {
    left: 89.2%;
    font-size: clamp(.48rem, 1.55cqw, .7rem);
}

.home-core__warehouse-label {
    top: 77.5%;
}

.home-core__warehouse-label--primary {
    left: 14.8%;
}

.home-core__warehouse-label--secondary-a {
    left: 31.3%;
}

.home-core__warehouse-label--secondary-b {
    left: 48.6%;
}

.home-core__warehouse-badge {
    --home-core-badge-size: clamp(46px, 11.2cqw, 66px);
    top: 19.3%;
    left: 60.8%;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: var(--home-core-badge-size);
    min-width: var(--home-core-badge-size);
    max-width: var(--home-core-badge-size);
    height: var(--home-core-badge-size);
    min-height: var(--home-core-badge-size);
    max-height: var(--home-core-badge-size);
    overflow: hidden;
    padding: 0;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(186, 220, 255, .92);
    border-radius: 50%;
    background: linear-gradient(145deg, #38a7ff 0%, #1c70e8 100%);
    box-shadow:
        0 9px 18px rgba(36, 103, 222, .28),
        inset 0 1px 0 rgba(255, 255, 255, .5);
    color: #fff;
    font-size: clamp(.56rem, 1.7cqw, .78rem);
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;
}

html[lang^="zh"] .home-core__warehouse-badge {
    font-size: clamp(.62rem, 1.8cqw, .82rem);
}

.home-core__barcode-title,
.home-core__barcode-label {
    position: absolute;
    z-index: 1;
    color: #20263a;
    letter-spacing: -.02em;
    pointer-events: none;
}

.home-core__barcode-title {
    top: 5.8%;
    left: 5.2%;
    width: 39%;
    font-size: clamp(1rem, 5.1cqw, 2rem);
    font-weight: 750;
    line-height: 1.14;
    text-wrap: balance;
}

.home-core__barcode-label {
    left: 18%;
    transform: translateY(-50%);
    font-size: clamp(.65rem, 2.4cqw, .8rem);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

html[lang^="zh"] .home-core__barcode-label {
    left: 19%;
    font-size: clamp(.78rem, 3cqw, 1.06rem);
}

.home-core__barcode-label--inbound {
    top: 48.2%;
}

.home-core__barcode-label--outbound {
    top: 70%;
}

/* ---------------- 产品演示 ---------------- */
.home-demo {
    padding: 66px 0 78px;
    background: #fff;
}

.home-demo__frame {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dbe4f5;
    border-radius: 22px;
    background: #dfe6ef;
    box-shadow: 0 24px 58px rgba(45, 66, 140, .16);
}

.home-demo__video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #dfe6ef;
    object-fit: cover;
}

/* ---------------- 适用行业 ---------------- */
.home-industries {
    padding: 66px 0 62px;
    overflow: hidden;
    background: #fff;
}

.home-industries .home-section-heading {
    margin-bottom: 0;
}

.home-industries__stage {
    --home-industries-gap: 16px;
    --home-industries-gutter: clamp(18px, 4vw, 72px);
    width: 100%;
    margin-top: 40px;
    padding-right: var(--home-industries-gutter);
    padding-left: var(--home-industries-gutter);
}

.home-industries__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--home-industries-gap);
    margin: 0;
}

.home-industry-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dfe5f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(34, 45, 79, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

    .home-industry-card:hover {
        border-color: #cbd7ef;
        box-shadow: 0 14px 30px rgba(34, 45, 79, .1);
        transform: translateY(-3px);
    }

    .home-industry-card img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        filter: saturate(.86) brightness(.94);
    }

.home-industry-card__body {
    flex: 1 1 auto;
    padding: clamp(14px, 1.15vw, 20px) clamp(14px, 1.2vw, 20px) clamp(15px, 1.25vw, 22px);
}

    .home-industry-card__body h3 {
        margin: 0;
        color: #1d2433;
        font-size: clamp(.95rem, .72vw, 1.2rem);
        font-weight: 700;
        line-height: 1.3;
    }

    .home-industry-card__body p {
        margin: 7px 0 0;
        color: #69707e;
        font-size: clamp(.82rem, .62vw, 1rem);
        line-height: 1.55;
    }

/* ---------------- 首页 FAQ ---------------- */
.home-faq {
    padding: 70px 0 28px;
    background: #fff;
}

    .home-faq .home-section-heading {
        margin-bottom: 30px;
    }

.home-faq__list {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.home-faq .stock-accordion .accordion-item {
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #e6e9f0;
    border-radius: 0 !important;
    background: #fff;
}

.home-faq .stock-accordion .accordion-button {
    padding: 15px 18px;
    color: #1f2937;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
}

.home-faq .stock-accordion .accordion-button:not(.collapsed) {
    color: #566b86;
    background: #eef3ff;
}

.home-faq .stock-accordion .accordion-body {
    padding: 16px 18px 20px;
    color: #626a78;
    background: #fff;
    font-size: .88rem;
    line-height: 1.75;
}

/* ---------------- CTA ---------------- */
.cta-band {
    background: linear-gradient(135deg, #9dabec, #5545ff);
    border-radius: 24px;
    color: #fff;
    padding: 64px 40px;
    text-align: center;
    box-shadow: var(--stock-shadow);
}

    .cta-band h2 {
        font-weight: 800;
    }

    .cta-band p {
        opacity: .85;
    }

    .cta-band a:not(.btn) {
        color: #fff;
        font-weight: 600;
        text-underline-offset: 3px;
    }

        .cta-band a:not(.btn):hover {
            color: #fff;
            opacity: .8;
        }

/* ---------------- 响应式 ---------------- */
body[data-page="home"] #faq > .container > .row > .col-lg-8 {
    flex: 0 0 calc(100% - 24px);
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background:
        linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, 0) 38%),
        linear-gradient(122deg, #4279ed 0%, #5364eb 52%, #5a47ce 100%);
    box-shadow: 0 28px 60px rgba(62, 76, 190, .26), inset 0 1px 0 rgba(255, 255, 255, .22);
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
    pointer-events: none;
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band::after {
    content: "";
    position: absolute;
    top: -190px;
    right: -112px;
    z-index: 0;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 64px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 64%);
    pointer-events: none;
    transform: rotate(22deg);
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band > * {
    position: relative;
    z-index: 1;
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light {
    padding-inline: 32px;
    color: #4452d4;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f7f8ff 100%);
    box-shadow: 0 12px 26px rgba(25, 35, 111, .18), inset 0 -1px 0 rgba(78, 91, 187, .08);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light i {
    transition: transform .2s ease;
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light:hover {
    color: #372cc7;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 16px 34px rgba(25, 35, 111, .24), 0 0 0 4px rgba(255, 255, 255, .14);
    transform: translateY(-3px);
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light:hover i {
    transform: translate(2px, -2px) rotate(-4deg);
}

:is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light:active {
    box-shadow: 0 8px 18px rgba(25, 35, 111, .2);
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .home-core__row {
        gap: 42px;
    }

    .home-core__copy,
    .home-core__row--reverse .home-core__copy {
        padding-right: 0;
        padding-left: 0;
    }

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

@media (max-width: 991.98px) {
    .hero {
        align-items: center;
        min-height: clamp(600px, 78svh, 720px);
        padding: 104px 0 54px;
    }

    .hero > .container {
        width: 100%;
        max-width: none;
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
        gap: clamp(20px, 3vw, 36px);
    }

    .hero-copy,
    html[lang^="en"] .hero-copy {
        width: 100%;
        max-width: 560px;
    }

    .hero__visual {
        justify-self: end;
        width: 100%;
        max-width: 500px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 5.2vw, 3.25rem);
        line-height: 1.08;
        letter-spacing: -.04em;
    }

    html[lang^="en"] .hero-title {
        font-size: clamp(2.2rem, 4.8vw, 3rem);
        line-height: 1.07;
    }

    .hero-desc {
        max-width: 540px;
        margin-top: 22px;
        font-size: clamp(.95rem, 1.55vw, 1.05rem);
        line-height: 1.72;
    }

    .hero-price {
        margin-top: 24px;
    }

    .hero-actions {
        margin-top: 26px;
    }

    .home-value {
        padding: 66px 0 60px;
    }

    .home-section-heading {
        margin-bottom: 34px;
    }

        .home-section-heading h2 {
            font-size: clamp(1.95rem, 4.7vw, 2.45rem);
        }

    .home-value__grid {
        gap: 20px;
    }

    .home-value__item {
        min-height: 236px;
        padding: 24px 24px 26px;
        border-radius: 18px;
    }

    .home-value__icon-frame {
        width: 84px;
        height: 84px;
        margin-bottom: 14px;
    }

    .home-value__item h3 {
        font-size: 1.05rem;
    }

    .home-value__item p {
        font-size: 1rem;
    }

    .home-core {
        padding: 60px 0 34px;
    }

    .home-core__row {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 32px 28px;
        border-radius: 20px;
    }

    .home-core__row--reverse {
        grid-template-columns: 1fr;
    }

    .home-core__copy,
    .home-core__row--reverse .home-core__copy {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        width: 100%;
        max-width: 680px;
        padding: 0;
    }

    .home-core__visual {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        width: 100%;
        max-width: 760px;
    }

    .home-core__row--reverse .home-core__visual {
        grid-column: 1;
        grid-row: 2;
    }

    .home-demo {
        padding: 58px 0 65px;
    }

    .home-industries {
        padding: 58px 0 54px;
    }

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

    .home-faq {
        padding-top: 58px;
    }
}

@media (max-width: 719.98px) {
    .hero {
        align-items: flex-start;
        min-height: 0;
        padding: 112px 0 50px;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-copy,
    html[lang^="en"] .hero-copy {
        width: 100%;
        max-width: 680px;
    }

    .hero__visual {
        justify-self: center;
        width: 100%;
        max-width: 680px;
    }

    .hero-title {
        font-size: clamp(2.65rem, 8.8vw, 3.5rem);
    }

    html[lang^="en"] .hero-title {
        font-size: clamp(2.2rem, 7.5vw, 3rem);
    }

    .hero-desc {
        max-width: 620px;
        margin-top: 24px;
        font-size: clamp(.98rem, 2.2vw, 1.1rem);
        line-height: 1.8;
    }

    .hero-actions {
        margin-top: 28px;
    }

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

    .home-industries__stage {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 108px 0 42px;
    }

    .hero-title {
        font-size: clamp(2.65rem, 11.8vw, 3.3rem);
        line-height: 1.12;
        letter-spacing: .052em;
    }

    html[lang^="en"] .hero-title {
        font-size: clamp(2.15rem, 8.8vw, 2.6rem);
        line-height: 1.06;
    }

    html[lang^="ko"] .hero-title {
        font-size: clamp(2.05rem, 8.9vw, 2.45rem);
        line-height: 1.16;
        letter-spacing: .015em;
    }

    html[lang^="ko"] .hero-title-line {
        font-size: 1em;
    }

    html[lang^="ko"] .hero-title-accent {
        font-size: .92em;
    }

    html[lang^="ja"] .hero-title {
        font-size: clamp(1.95rem, 8.2vw, 2.3rem);
        line-height: 1.16;
        letter-spacing: .01em;
    }

    html[lang^="ja"] .hero-title-line {
        font-size: 1em;
    }

    html[lang^="ja"] .hero-title-accent {
        font-size: .92em;
    }

    .hero-desc {
        margin-top: 22px;
        font-size: .98rem;
        line-height: 1.8;
    }

    .hero-price {
        gap: 6px;
        margin-top: 22px;
    }

        .hero-price .amount {
            font-size: 2.35rem;
        }

        .hero-price .unit {
            font-size: .85rem;
        }

    .hero-price-note {
        margin-top: 7px;
        font-size: .83rem;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }

        .hero-actions .btn {
            min-height: 54px;
            padding: 0 22px;
            font-size: .94rem;
        }

    .home-value {
        padding: 54px 0 46px;
    }

    .home-section-heading {
        margin-bottom: 28px;
    }

        .home-section-heading h2 {
            font-size: 1.82rem;
            line-height: 1.2;
        }

        .home-section-heading p {
            margin-top: 10px;
            font-size: .93rem;
            line-height: 1.65;
        }

    .home-value__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-value__item {
        min-height: 0;
        padding: 22px 22px 24px;
        border-radius: 16px;
    }

    .home-value__icon-frame {
        width: 76px;
        height: 76px;
        margin-bottom: 12px;
    }

    .home-value__item h3 {
        margin-bottom: 7px;
        font-size: 1.38rem;
    }

    .home-value__item p {
        font-size: .96rem;
        line-height: 1.6;
    }

    .home-core {
        padding: 50px 0 22px;
    }

    .home-core__row {
        gap: 18px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .home-core__list {
        gap: 16px;
    }

    .home-core__copy h3 {
        font-size: 1.55rem;
    }

    .home-core__copy > p {
        margin-top: 11px;
        font-size: .95rem;
        line-height: 1.68;
    }

    .home-core__checks {
        margin-top: 17px;
    }

    .home-core__visual {
        padding: 0;
    }

    .home-core__checks li {
        font-size: .92rem;
        line-height: 1.58;
    }

    .home-demo {
        padding: 48px 0 54px;
    }

    .home-demo__frame {
        border-radius: 16px;
    }

    .home-industries {
        padding: 48px 0 42px;
    }

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

    .home-industries__stage {
        --home-industries-gutter: 18px;
    }

    .home-faq {
        padding: 48px 0 20px;
    }

    .home-faq .stock-accordion .accordion-button {
        padding: 14px;
        font-size: .86rem;
    }

    .home-faq .stock-accordion .accordion-body {
        padding: 14px;
        font-size: .84rem;
    }

    .cta-band {
        padding: 44px 22px;
    }

    :is(body[data-page="home"], body[data-page="product"]) .cta-band {
        border-radius: 18px;
    }

    :is(body[data-page="home"], body[data-page="product"]) .cta-band h2 {
        font-size: clamp(1.55rem, 7.2vw, 1.9rem);
        line-height: 1.34;
        text-wrap: balance;
    }

    :is(body[data-page="home"], body[data-page="product"]) .cta-band::after {
        top: -150px;
        right: -180px;
        width: 310px;
        height: 310px;
    }

    :is(body[data-page="home"], body[data-page="product"]) .cta-band .btn-stock-light {
        padding-inline: 28px;
    }
}

/* ==========================================================
   Flyfy · 首页改版
   仓储场景首屏、品牌理念、产品矩阵、品牌优势与收尾 CTA
   ========================================================== */

.stock-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(540px, 72svh, 680px);
    overflow: hidden;
    background: #eef5ff;
    color: #121a32;
}

.stock-home-hero__media,
.stock-home-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.stock-home-hero__media img {
    display: block;
    object-fit: cover;
    object-position: 58% center;
}

.stock-home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg,
        rgba(244, 248, 255, .98) 0%,
        rgba(244, 248, 255, .9) 25%,
        rgba(244, 248, 255, .58) 48%,
        rgba(244, 248, 255, .08) 72%,
        rgba(244, 248, 255, 0) 100%); */
}

.stock-home-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 128px;
    padding-bottom: 64px;
}

.stock-home-hero__copy {
    width: min(100%, 640px);
}

.stock-home-hero h1 {
    margin: 0;
    color: #11182d;
    font-size: clamp(3.1rem, 5.4vw, 5.15rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: 0;
}

.stock-home-hero h1 span {
    display: block;
}

.stock-home-hero h1 span + span {
    margin-top: .06em;
}

.stock-home-hero__copy > p {
    max-width: 600px;
    margin: 24px 0 0;
    color: #273451;
    font-size: clamp(1.02rem, 1.3vw, 1.24rem);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0;
}

.stock-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.stock-home-hero__actions .btn,
.stock-home-product__cta,
.stock-home-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}

.stock-home-hero__primary {
    color: #fff;
    border: 0;
    background: linear-gradient(100deg, #3f84f4 0%, #5068f0 68%, #5660e4 100%);
    box-shadow: 0 14px 28px rgba(63, 108, 221, .28);
}

.stock-home-hero__primary:hover,
.stock-home-hero__primary:active {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(52, 91, 204, .34);
}

.stock-home-hero__primary .bi {
    transition: transform .2s ease;
}

.stock-home-hero__primary:hover .bi {
    transform: translateX(4px);
}

.stock-home-hero__secondary {
    color: #1d2e58;
    border: 1px solid rgba(83, 113, 193, .32);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 26px rgba(45, 71, 133, .08);
}

.stock-home-hero__secondary:hover,
.stock-home-hero__secondary:active {
    color: #315ed1;
    border-color: rgba(65, 111, 224, .52);
    background: #fff;
    transform: translateY(-2px);
}

.stock-home-principles,
.stock-home-products,
.stock-home-advantages {
    background: #f5f8ff;
}

.stock-home-principles {
    padding: 82px 0 48px;
    scroll-margin-top: 82px;
}

.stock-home-products {
    padding: 50px 0;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef4ff 50%, #f5f8ff 100%);
    scroll-margin-top: 82px;
}

.stock-home-advantages {
    padding: 50px 0 64px;
    scroll-margin-top: 82px;
}

.stock-home-section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.stock-home-section-heading h2 {
    margin: 0;
    color: #11182d;
    font-size: clamp(2rem, 3.1vw, 2.85rem);
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: 0;
    text-wrap: balance;
}

.stock-home-section-heading p {
    margin: 12px auto 0;
    color: #59647c;
    font-size: 1rem;
    line-height: 1.7;
}

.stock-home-principles__grid,
.stock-home-products__grid,
.stock-home-advantages__grid {
    display: grid;
    gap: 20px;
    margin: 0;
}

.stock-home-principles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stock-home-principles__grid > li,
.stock-home-products__grid > li,
.stock-home-advantages__grid > li {
    display: flex;
    min-width: 0;
}

.stock-home-principle {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
    padding: 28px 30px 30px;
    border: 1px solid #e0e8f7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(58, 82, 145, .06);
    text-align: center;
}

.stock-home-principle img {
    display: block;
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.stock-home-principle h3 {
    margin: 8px 0 0;
    color: #121a34;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
}

.stock-home-principle p {
    max-width: 300px;
    margin: 10px 0 0;
    color: #5d6880;
    font-size: .96rem;
    line-height: 1.7;
}

.stock-home-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stock-home-product {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(56, 82, 150, .08);
}

.stock-home-product__visual {
    padding: 14px 14px 0;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    background: #e9eff9;
}

.stock-home-product__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: -12px;
    border-radius: 6px 6px 0 0;
    background: transparent;
    object-fit: contain;
}

.stock-home-product__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 24px 22px 26px;
    text-align: center;
}

.stock-home-product__body h3 {
    margin: 0;
    color: #11182d;
    font-size: clamp(1.35rem, 1.7vw, 1.7rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.stock-home-product__body p {
    max-width: 310px;
    margin: 10px 0 22px;
    color: #5b6680;
    font-size: .94rem;
    line-height: 1.65;
}

.stock-home-product__cta {
    width: min(100%, 280px);
    margin-top: auto;
    color: #395bc4;
    border: 1px solid #506fd5;
    background: #fff;
}

.stock-home-product__cta:hover,
.stock-home-product__cta:active {
    color: #fff;
    background: linear-gradient(100deg, #4d7ef2, #5862e5);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(64, 91, 190, .2);
}

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

.stock-home-advantage {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    gap: 18px;
    min-height: 190px;
    padding: 26px 24px 26px 30px;
    overflow: hidden;
    border: 1px solid #dfe7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(58, 82, 145, .06);
}

.stock-home-advantage__copy h3 {
    margin: 0;
    color: #11182d;
    font-size: clamp(1.32rem, 1.8vw, 1.62rem);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
}

.stock-home-advantage__copy p {
    max-width: 360px;
    margin: 10px 0 0;
    color: #5b6680;
    font-size: .96rem;
    line-height: 1.7;
}

.stock-home-advantage img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.stock-home-cta-section {
    padding: 24px 0 82px;
    background: #f5f8ff;
}

.stock-home-cta {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #d6e3f7;
    border-radius: 8px;
    background: linear-gradient(110deg, #f7fbff 0%, #e7f0ff 62%, #dbe9ff 100%);
    box-shadow: 0 20px 45px rgba(65, 88, 153, .1);
}

.stock-home-cta__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #f4f9ff;
}

.stock-home-cta__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(231, 240, 255, 0) 0%,
        rgba(231, 240, 255, 0) 74%,
        rgba(231, 240, 255, .62) 91%,
        #e7f0ff 100%);
}

.stock-home-cta__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.stock-home-cta__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 46px clamp(34px, 5vw, 68px);
}

.stock-home-cta__copy h2 {
    margin: 0;
    color: #1c2c59;
    font-size: clamp(2rem, 3.25vw, 3rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: 0;
    text-wrap: balance;
}

.stock-home-cta__copy p {
    max-width: 520px;
    margin: 12px 0 26px;
    color: #3d4e70;
    font-size: 1rem;
    line-height: 1.7;
}

.stock-home-cta__button {
    color: #fff;
    border: 0;
    background: linear-gradient(100deg, #2f81ef 0%, #4569e9 100%);
    box-shadow: 0 14px 28px rgba(50, 99, 213, .26);
}

.stock-home-cta__button:hover,
.stock-home-cta__button:active {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(50, 99, 213, .32);
}

.stock-home-cta__button .bi {
    transition: transform .2s ease;
}

.stock-home-cta__button:hover .bi {
    transform: translateX(4px);
}

body[data-page="home"] .site-footer {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .stock-home-hero {
        min-height: 580px;
    }

    .stock-home-hero__media img {
        object-position: 64% center;
    }

    .stock-home-hero__media::after {
        background: linear-gradient(90deg,
            rgba(244, 248, 255, .98) 0%,
            rgba(244, 248, 255, .9) 40%,
            rgba(244, 248, 255, .38) 72%,
            rgba(244, 248, 255, .06) 100%);
    }

    .stock-home-hero__copy {
        max-width: 570px;
    }

    .stock-home-principles,
    .stock-home-products,
    .stock-home-advantages {
        padding-top: 58px;
        padding-bottom: 46px;
    }

    .stock-home-principles__grid,
    .stock-home-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stock-home-principles__grid > li:last-child,
    .stock-home-products__grid > li:last-child {
        grid-column: 1 / -1;
        width: min(100%, calc(50% - 10px));
        margin-inline: auto;
    }

    .stock-home-cta {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    }

    .stock-home-cta__copy {
        padding: 38px 34px;
    }
}

@media (max-width: 767.98px) {
    .stock-home-hero {
        min-height: 620px;
        align-items: flex-start;
    }

    .stock-home-hero__media img {
        object-position: 68% center;
    }

    .stock-home-hero__media::after {
        background: linear-gradient(180deg,
            rgba(244, 248, 255, .98) 0%,
            rgba(244, 248, 255, .9) 52%,
            rgba(244, 248, 255, .42) 78%,
            rgba(244, 248, 255, .08) 100%);
    }

    .stock-home-hero__container {
        padding-top: 116px;
        padding-bottom: 46px;
    }

    .stock-home-hero__copy {
        max-width: 100%;
    }

    .stock-home-hero__copy > p {
        max-width: 540px;
        margin-top: 20px;
    }

    .stock-home-principles__grid,
    .stock-home-products__grid,
    .stock-home-advantages__grid {
        grid-template-columns: 1fr;
    }

    .stock-home-principles__grid > li:last-child,
    .stock-home-products__grid > li:last-child {
        grid-column: auto;
        width: auto;
    }

    .stock-home-principle {
        min-height: 0;
    }

    .stock-home-advantage {
        grid-template-columns: minmax(0, 1fr) 120px;
        min-height: 168px;
    }

    .stock-home-advantage img {
        width: 120px;
        height: 120px;
    }

    .stock-home-cta {
        grid-template-columns: 1fr;
    }

    .stock-home-cta__media {
        height: 240px;
    }

    .stock-home-cta__media::after {
        background: linear-gradient(180deg,
            rgba(231, 240, 255, 0) 0%,
            rgba(231, 240, 255, 0) 72%,
            #e7f0ff 100%);
    }

    .stock-home-cta__copy {
        align-items: center;
        padding: 36px 24px 40px;
        text-align: center;
    }

    .stock-home-cta__copy p {
        margin-bottom: 24px;
    }
}

@media (max-width: 575.98px) {
    .stock-home-hero {
        min-height: 610px;
    }

    .stock-home-hero h1 {
        font-size: clamp(2.55rem, 12vw, 3.55rem);
        line-height: 1.08;
    }

    html[lang^="ko"] .stock-home-hero h1,
    html[lang^="ja"] .stock-home-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 1.14;
    }

    .stock-home-hero__copy > p {
        font-size: .98rem;
        line-height: 1.72;
    }

    .stock-home-hero__actions {
        gap: 10px;
        margin-top: 24px;
    }

    .stock-home-hero__actions .btn {
        min-height: 48px;
        padding-inline: 22px;
        font-size: .92rem;
    }

    .stock-home-section-heading {
        margin-bottom: 28px;
    }

    .stock-home-section-heading h2 {
        font-size: 1.9rem;
    }

    .stock-home-section-heading p {
        margin-top: 9px;
        font-size: .94rem;
    }

    .stock-home-principle {
        padding: 24px 22px 26px;
    }

    .stock-home-principle img {
        width: 92px;
        height: 92px;
    }

    .stock-home-product__body {
        padding: 22px 18px 24px;
    }

    .stock-home-advantage {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 12px;
        padding: 22px 18px 22px 22px;
    }

    .stock-home-advantage img {
        width: 96px;
        height: 96px;
    }

    .stock-home-advantage__copy h3 {
        font-size: 1.28rem;
    }

    .stock-home-advantage__copy p {
        margin-top: 8px;
        font-size: .92rem;
        line-height: 1.62;
    }

    .stock-home-cta-section {
        padding-bottom: 58px;
    }

    .stock-home-cta__media {
        height: 190px;
    }

    .stock-home-cta__copy h2 {
        font-size: 1.85rem;
    }

    .stock-home-cta__copy p {
        font-size: .94rem;
    }
}

@media (max-width: 420px) {
    .stock-home-hero {
        min-height: 650px;
    }

    .stock-home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .stock-home-hero__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stock-home-hero__actions .btn,
    .stock-home-product__cta,
    .stock-home-cta__button,
    .stock-home-hero__primary .bi,
    .stock-home-cta__button .bi {
        transition: none;
    }
}
