/* 领豹HTTP首页 — 青蓝主色 #0fbbd8 / #067db2 */

:root {
    --home-primary: #0fbbd8;
    --home-primary-dark: #067db2;
    --home-gradient: linear-gradient(to right, #0fbbd8, #067db2);
    --home-gradient-hero: linear-gradient(125deg, #067db2 0%, #0a96c1 38%, #23a7d0 68%, #0fbbd8 100%);
    --home-bg-1: #f5f9fc;
    --home-bg-2: #f5f9fc;
    --home-bg-glow: #f5f9fc;
    --home-bg-glow-deep: #f5f9fc;
    --home-bg-glow-light: #f5f9fc;
    --home-text: #333333;
    --home-text-muted: #5a6f7a;
    --home-border: #e8eef3;
    --home-radius: 12px;
    --home-shadow: 0 4px 20px rgba(6, 125, 178, 0.08);
    --home-shadow-md: 0 12px 40px rgba(6, 125, 178, 0.12);
    --home-shadow-lg: 0 24px 64px rgba(6, 125, 178, 0.14);
    --home-container: 1200px;
    /* 各区块强调色 */
    --home-accent-products: #0fbbd8;
    --home-accent-features: #10b981;
    --home-accent-scenarios: #6366f1;
    --home-accent-stats: #f59e0b;
    --home-accent-news: #0891b2;
}

.home-page {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #f5f9fc;
    color: var(--home-text);
    line-height: 1.6;
    overflow-x: clip;
}

.home-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 780px;
    background: linear-gradient(180deg,
        #067db2 0%,
        #0888ad 14%,
        #0f9dbf 26%,
        #3eb5d0 38%,
        #72cbe0 48%,
        #a5dff0 58%,
        #c9ebf6 68%,
        #e3f4fa 80%,
        #f0f8fb 90%,
        #f5f9fc 100%);
    pointer-events: none;
    z-index: 0;
}

.home-page a,
.home-page button {
    -webkit-tap-highlight-color: transparent;
}

/* 全页装饰背景：已关闭，保持页面底色简洁 */
.home-page-bg {
    display: none;
}

.home-page > .home-hero,
.home-page > .header-spacer,
.home-page > .home-main,
.home-page > .site-footer,
.home-page > .footer,
.home-page > .lb-site-footer {
    position: relative;
    z-index: 1;
}

.home-page .header {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    animation: home-hero-header-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.home-page .header.header-scrolled {
    background: linear-gradient(to right, rgba(15, 187, 216, 0.88), rgba(6, 125, 178, 0.88)) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.home-page .header.nav-open {
    background: var(--home-gradient) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.home-page .header-wrap {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: auto;
    min-height: 0;
    background: none !important;
}

.home-page .header-spacer {
    height: 0;
    margin: 0;
    padding: 0;
}

/* ---------- Hero ---------- */
.home-hero {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: visible;
    background: transparent;
}

.home-hero::after {
    display: none;
}

.home-page .header .navbar .nav.navbar-nav > li.nav-overseas .nav-new-badge {
    background: #ff2d20 !important;
}

.home-hero-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    opacity: 0.28;
}

.home-hero-glow--a {
    width: 360px;
    height: 360px;
    top: -120px;
    left: 8%;
    background: rgba(255, 255, 255, 0.25);
}

.home-hero-glow--b {
    width: 280px;
    height: 280px;
    right: 10%;
    bottom: 20px;
    background: rgba(15, 187, 216, 0.22);
}

.home-hero-dot {
    display: none;
}

.home-hero-body {
    position: relative;
    z-index: 2;
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 120px 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.home-hero-copy {
    flex: 1 1 520px;
    min-width: 0;
    color: #fff;
}

.home-hero-eyebrow {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-hero-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    text-shadow: none;
}

.home-hero-title em {
    font-style: normal;
    color: #dff6ff;
}

.home-hero-lead {
    margin: 0 0 28px;
    max-width: 540px;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.home-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.home-hero-btn--primary {
    background: #fff;
    color: var(--home-primary-dark);
    box-shadow: none;
}

.home-hero-btn--primary:hover {
    background: #f0f9fc;
    color: var(--home-primary-dark);
    text-decoration: none;
}

.home-hero-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.home-hero-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.home-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.home-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.98);
    color: #067db2;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(6, 125, 178, 0.12);
}

.home-hero-chips span i {
    font-size: 14px;
    color: #0a96c1;
}

.home-hero-visual {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 300px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(6, 125, 178, 0.12);
}

.home-hero-panel__item {
    padding: 18px 12px;
    text-align: center;
    background: #f0f9fc;
    border: 1px solid rgba(15, 187, 216, 0.22);
    border-radius: 12px;
}

.home-hero-panel__num {
    display: block;
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    color: #067db2;
}

.home-hero-panel__num em {
    font-style: normal;
    font-size: 0.55em;
    font-weight: 600;
    margin-left: 1px;
    color: #0a96c1;
}

.home-hero-panel__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #3d5a68;
}

/* ---------- Hero 首屏进入动画 ---------- */
.home-hero-eyebrow,
.home-hero-title,
.home-hero-lead,
.home-hero-actions,
.home-hero-chips span,
.home-hero-visual,
.home-hero-panel__item {
    opacity: 0;
    animation-duration: 0.75s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}

.home-hero-eyebrow {
    animation-name: home-hero-fade-up;
    animation-delay: 0.08s;
}

.home-hero-title {
    animation-name: home-hero-fade-up;
    animation-delay: 0.18s;
}

.home-hero-lead {
    animation-name: home-hero-fade-up;
    animation-delay: 0.28s;
}

.home-hero-actions {
    animation-name: home-hero-fade-up;
    animation-delay: 0.38s;
}

.home-hero-chips span:nth-child(1) {
    animation-name: home-hero-fade-up;
    animation-delay: 0.5s;
}

.home-hero-chips span:nth-child(2) {
    animation-name: home-hero-fade-up;
    animation-delay: 0.58s;
}

.home-hero-chips span:nth-child(3) {
    animation-name: home-hero-fade-up;
    animation-delay: 0.66s;
}

.home-hero-chips span:nth-child(4) {
    animation-name: home-hero-fade-up;
    animation-delay: 0.74s;
}

.home-hero-visual {
    animation-name: home-hero-slide-in;
    animation-duration: 0.9s;
    animation-delay: 0.32s;
}

.home-hero-panel {
    animation: home-hero-panel-float 5s ease-in-out 1.1s infinite;
}

.home-hero-panel__item:nth-child(1) {
    animation-name: home-hero-scale-in;
    animation-delay: 0.52s;
}

.home-hero-panel__item:nth-child(2) {
    animation-name: home-hero-scale-in;
    animation-delay: 0.62s;
}

.home-hero-panel__item:nth-child(3) {
    animation-name: home-hero-scale-in;
    animation-delay: 0.72s;
}

.home-hero-panel__item:nth-child(4) {
    animation-name: home-hero-scale-in;
    animation-delay: 0.82s;
}

.home-hero-glow--a {
    animation: home-hero-glow-drift-a 10s ease-in-out infinite;
}

.home-hero-glow--b {
    animation: home-hero-glow-drift-b 12s ease-in-out infinite;
}

/* ---------- Main 内容区 ---------- */
.home-main {
    position: relative;
    z-index: 3;
    flex: 1 0 auto;
    margin-top: 0;
    background: transparent;
}

.home-section--products {
    padding-top: 56px;
    padding-bottom: 80px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 10%,
        rgba(245, 249, 252, 0.95) 40%,
        #f5f9fc 100%);
}

/* ---------- Layout ---------- */
.home-container {
    width: 100%;
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.home-section {
    padding: 72px 0;
    position: relative;
}

.home-section--products .home-section-tag {
    color: #067db2;
    background: rgba(15, 187, 216, 0.16);
}

.home-section--products .home-section-head .home-section-title::after {
    background: linear-gradient(to right, #0fbbd8, #38bdf8);
}

.home-section--tint {
    background: linear-gradient(180deg, #f5f9fc 0%, #f0f8fb 100%);
}

.home-section--tint::before {
    display: none;
}

.home-section--tint > .home-container {
    position: relative;
    z-index: 1;
}

.home-section--tint .home-section-tag {
    color: #067db2;
    background: rgba(15, 187, 216, 0.14);
}

.home-section--tint .home-section-head .home-section-title::after {
    background: var(--home-gradient);
}

.home-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.home-section-tag {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--home-primary-dark);
    background: rgba(15, 187, 216, 0.12);
    border-radius: 999px;
}

.home-section-title {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--home-text);
}

.home-section-head .home-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: var(--home-gradient);
    opacity: 0.85;
}

.home-section-desc {
    margin: 0 auto;
    max-width: 560px;
    font-size: 16px;
    color: var(--home-text-muted);
}

/* ---------- Scroll reveal ---------- */
.home-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ---------- Products ---------- */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.home-product-card {
    --product-accent: var(--home-primary-dark);
    --product-accent-rgb: 6, 125, 178;
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas:
        "icon title"
        "icon desc"
        "tags tags"
        "link link";
    gap: 8px 16px;
    align-items: start;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid rgba(var(--product-accent-rgb), 0.14);
    border-radius: var(--home-radius);
    box-shadow:
        0 1px 3px rgba(15, 40, 60, 0.04),
        0 6px 24px rgba(15, 40, 60, 0.06);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.home-product-card:nth-child(1) {
    --product-accent: #067db2;
    --product-accent-rgb: 6, 125, 178;
}

.home-product-card:nth-child(2) {
    --product-accent: #2563eb;
    --product-accent-rgb: 37, 99, 235;
}

.home-product-card:focus,
.home-product-card:active {
    outline: none;
    text-decoration: none;
    color: inherit;
}

.home-product-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -50% -20%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(var(--product-accent-rgb), 0.1) 0%, transparent 72%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.home-product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--product-accent), rgba(var(--product-accent-rgb), 0.45));
    opacity: 0.85;
    transition: opacity 0.25s;
}

.home-product-card:hover {
    border-color: rgba(var(--product-accent-rgb), 0.3);
    box-shadow:
        0 2px 8px rgba(var(--product-accent-rgb), 0.08),
        0 10px 32px rgba(var(--product-accent-rgb), 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.home-product-card:hover::after {
    opacity: 1;
}

.home-product-card--featured {
    --product-accent: #2563eb;
    --product-accent-rgb: 37, 99, 235;
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.05) 0%, #fff 42%);
}

.home-product-card--featured::before {
    opacity: 1;
}

.home-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b4a, #e53935);
    border-radius: 999px;
}

.home-product-icon {
    grid-area: icon;
    width: 52px;
    height: 52px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--product-accent);
    background: rgba(var(--product-accent-rgb), 0.1);
    border: 1px solid rgba(var(--product-accent-rgb), 0.14);
    border-radius: 12px;
}

.home-product-name {
    grid-area: title;
    margin: 0;
    align-self: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--home-text);
}

.home-product-desc {
    grid-area: desc;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--home-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-product-tags {
    grid-area: tags;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 0;
}

.home-product-tags span {
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 500;
    color: var(--product-accent);
    background: rgba(var(--product-accent-rgb), 0.08);
    border: 1px solid rgba(var(--product-accent-rgb), 0.12);
    border-radius: 4px;
}

.home-product-link {
    grid-area: link;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--product-accent);
}

.home-product-link i {
    transition: transform 0.2s;
}

.home-product-card:hover .home-product-link i {
    transform: translateX(4px);
}

/* ---------- API access flow ---------- */
.home-api-access {
    --api-accent: #067db2;
    --api-accent-rgb: 6, 125, 178;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid rgba(var(--api-accent-rgb), 0.14);
    border-radius: var(--home-radius);
    box-shadow:
        0 1px 3px rgba(15, 40, 60, 0.04),
        0 6px 24px rgba(15, 40, 60, 0.06);
    overflow: hidden;
    position: relative;
}

.home-api-access::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--api-accent), rgba(var(--api-accent-rgb), 0.55));
    opacity: 0.85;
}

.home-api-access__intro {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    min-width: 200px;
}

.home-api-access__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--api-accent);
    background: rgba(var(--api-accent-rgb), 0.1);
    border: 1px solid rgba(var(--api-accent-rgb), 0.14);
    border-radius: 12px;
}

.home-api-access__title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: var(--home-text);
}

.home-api-access__desc {
    margin: 0;
    font-size: 12px;
    color: var(--home-text-muted);
    white-space: nowrap;
}

.home-api-access__steps {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-api-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(var(--api-accent-rgb), 0.04);
    border: 1px solid rgba(var(--api-accent-rgb), 0.14);
    border-radius: 10px;
    text-decoration: none;
    color: var(--home-text);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.home-api-step:hover {
    border-color: rgba(var(--api-accent-rgb), 0.32);
    background: rgba(var(--api-accent-rgb), 0.08);
    text-decoration: none;
    color: var(--home-text);
}

.home-api-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--api-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.home-api-step__label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.home-api-step__arrow {
    display: inline-flex;
    align-items: center;
    color: rgba(var(--api-accent-rgb), 0.45);
    font-size: 16px;
    flex-shrink: 0;
}

.home-api-access__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--api-accent), #067db2);
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-api-access__cta:hover {
    opacity: 0.92;
    text-decoration: none;
    color: #fff;
}

.home-api-access__cta:hover i {
    transform: translateX(3px);
}

.home-api-access__cta i {
    transition: transform 0.2s ease;
}

/* ---------- Features ---------- */
.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-feature-item {
    --feat-accent: #067db2;
    --feat-accent-rgb: 6, 125, 178;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid rgba(var(--feat-accent-rgb), 0.35);
    border-radius: var(--home-radius);
    box-shadow: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.home-feature-item:nth-child(1) {
    --feat-accent: #2563eb;
    --feat-accent-rgb: 37, 99, 235;
}

.home-feature-item:nth-child(2) {
    --feat-accent: #6366f1;
    --feat-accent-rgb: 99, 102, 241;
}

.home-feature-item:nth-child(3) {
    --feat-accent: #f59e0b;
    --feat-accent-rgb: 245, 158, 11;
}

.home-feature-item:nth-child(4) {
    --feat-accent: #0891b2;
    --feat-accent-rgb: 8, 145, 178;
}

.home-feature-item:nth-child(5) {
    --feat-accent: #10b981;
    --feat-accent-rgb: 16, 185, 129;
}

.home-feature-item:nth-child(6) {
    --feat-accent: #8b5cf6;
    --feat-accent-rgb: 139, 92, 246;
}

.home-feature-item::before {
    display: none;
}

.home-feature-item:hover {
    border-color: var(--feat-accent);
    background: rgba(var(--feat-accent-rgb), 0.04);
}

.home-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--feat-accent);
    background: rgba(var(--feat-accent-rgb), 0.1);
    border-radius: 10px;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.home-feature-item:hover .home-feature-icon {
    background: rgba(var(--feat-accent-rgb), 0.16);
}

.home-feature-name {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--home-text);
}

.home-feature-desc {
    margin: 0;
    font-size: 13px;
    color: var(--home-text-muted);
    line-height: 1.55;
}

/* ---------- Stats ---------- */
.home-stats-section {
    padding-top: 40px;
    padding-bottom: 96px;
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, #fffbeb 0%, #fef9ee 50%, #f5f9fc 100%);
}

.home-stats-section::before,
.home-stats-section::after {
    display: none;
}

.home-stats-section > .home-container {
    position: relative;
    z-index: 1;
}

.home-section--news {
    background: linear-gradient(180deg, #ecfeff 0%, #e0f7fa 30%, #f5f9fc 100%);
    position: relative;
}

.home-section--news .home-section-tag {
    color: #0e7490;
    background: rgba(8, 145, 178, 0.14);
}

.home-section--news .home-section-head .home-section-title::after {
    background: linear-gradient(to right, #0891b2, #22d3ee);
}

.home-section--news::before {
    display: none;
}

.home-section--news > .home-container {
    position: relative;
    z-index: 1;
}

.home-stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.12);
    overflow: hidden;
    position: relative;
}

.home-stats-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #f59e0b, #fbbf24, #f59e0b);
    opacity: 0.9;
}

.home-stat {
    position: relative;
    padding: 36px 16px;
    text-align: center;
}

.home-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: var(--home-border);
}

.home-stat:nth-child(1) .home-stat-num {
    background: linear-gradient(135deg, #0fbbd8, #067db2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-stat:nth-child(2) .home-stat-num {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-stat:nth-child(3) .home-stat-num {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-stat:nth-child(4) .home-stat-num {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-stat-num {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--home-primary-dark);
}

.home-stat-count {
    display: inline-block;
    min-width: 1.5ch;
    font-variant-numeric: tabular-nums;
}

.home-stat-num em {
    font-style: normal;
    font-size: 0.55em;
    font-weight: 600;
    vertical-align: super;
}

.home-stat-label {
    font-size: 14px;
    color: var(--home-text-muted);
}

/* ---------- Scenarios ---------- */
.home-section--scenarios {
    background: linear-gradient(180deg, #eef2ff 0%, #f0f4ff 50%, #f5f9fc 100%);
}

.home-section--scenarios .home-section-tag {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.14);
}

.home-section--scenarios .home-section-head .home-section-title::after {
    background: linear-gradient(to right, #6366f1, #818cf8);
}

.home-scenario-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.home-scenario-highlight {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
    overflow: hidden;
}

.home-scenario-highlight:nth-child(1) {
    border-color: rgba(15, 187, 216, 0.3);
}

.home-scenario-highlight:nth-child(2) {
    border-color: rgba(99, 102, 241, 0.3);
}

.home-scenario-highlight__title {
    margin: 0;
    padding: 22px 28px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid transparent;
}

.home-scenario-highlight:nth-child(1) .home-scenario-highlight__title {
    background: linear-gradient(135deg, #0fbbd8, #067db2);
}

.home-scenario-highlight:nth-child(2) .home-scenario-highlight__title {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.home-scenario-highlight__desc {
    margin: 0;
    padding: 24px 28px 28px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--home-text-muted);
}

.home-scenario-solutions {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
    padding: 28px 28px 32px;
}

.home-scenario-solutions__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--home-border);
}

.home-scenario-solutions__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--home-text);
}

.home-scenario-solutions__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--home-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-scenario-solutions__link:hover {
    color: var(--home-primary);
    text-decoration: none;
}

.home-scenario-solutions__link i {
    font-size: 13px;
}

.home-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-scenario-item {
    --scenario-accent-rgb: 99, 102, 241;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid rgba(var(--scenario-accent-rgb), 0.35);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.home-scenario-item:nth-child(1) { --scenario-accent-rgb: 15, 187, 216; }
.home-scenario-item:nth-child(2) { --scenario-accent-rgb: 16, 185, 129; }
.home-scenario-item:nth-child(3) { --scenario-accent-rgb: 99, 102, 241; }
.home-scenario-item:nth-child(4) { --scenario-accent-rgb: 245, 158, 11; }
.home-scenario-item:nth-child(5) { --scenario-accent-rgb: 8, 145, 178; }
.home-scenario-item:nth-child(6) { --scenario-accent-rgb: 37, 99, 235; }
.home-scenario-item:nth-child(7) { --scenario-accent-rgb: 139, 92, 246; }
.home-scenario-item:nth-child(8) { --scenario-accent-rgb: 14, 165, 233; }
.home-scenario-item:nth-child(9) { --scenario-accent-rgb: 20, 184, 166; }

.home-scenario-item:hover {
    border-color: rgb(var(--scenario-accent-rgb));
    background: rgba(var(--scenario-accent-rgb), 0.04);
    box-shadow: none;
}

.home-scenario-item__name {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--home-text);
}

.home-scenario-item__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--home-text-muted);
}

.home-scenario-item--featured {
    --scenario-accent-rgb: 8, 145, 178;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    background: rgba(8, 145, 178, 0.06);
    border: 1px solid rgba(8, 145, 178, 0.35);
    box-shadow: none;
}

.home-scenario-item--featured:hover {
    border-color: rgb(var(--scenario-accent-rgb));
    background: rgba(8, 145, 178, 0.08);
    box-shadow: none;
}

.home-scenario-item__body {
    flex: 1;
    min-width: 0;
}

.home-scenario-item__visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    font-size: 24px;
    box-shadow: none;
}

/* ---------- News ---------- */
.home-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-news-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 96px;
    padding: 22px 24px 20px 28px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0891b2, #22d3ee);
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.home-news-item:hover {
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: #0e7490;
}

.home-news-item:hover::before {
    opacity: 1;
}

.home-news-item:focus,
.home-news-item:active {
    outline: none !important;
    box-shadow: var(--home-shadow);
}

.home-news-title {
    flex: 1;
    min-width: 0;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 12px;
    color: #0e7490;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 999px;
}

.home-news-date::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0891b2;
    opacity: 0.85;
}

.home-news-more {
    display: block;
    margin-top: 28px;
    text-align: center;
}

.home-news-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #0e7490;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(8, 145, 178, 0.35);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.1);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-news-more a i {
    transition: transform 0.25s ease;
}

.home-news-more a:hover {
    background: linear-gradient(to right, #0891b2, #0e7490);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.25);
    text-decoration: none;
}

.home-news-more a:hover i {
    transform: translateX(4px);
}

.home-news-empty {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    color: var(--home-text-muted);
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
}

/* ---------- Friendly links marquee ---------- */
.home-section--links {
    padding: 40px 0 24px;
    background: #f5f9fc;
}

.home-links-head {
    text-align: center;
    margin-bottom: 28px;
}

.home-links-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #067db2;
    background: rgba(15, 187, 216, 0.14);
    border-radius: 999px;
}

.home-links-tag i {
    font-size: 14px;
}

.home-links-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.home-links-marquee__track {
    display: flex;
    width: max-content;
    animation: home-links-scroll var(--links-scroll-duration, 90s) linear infinite;
}

.home-links-marquee__track:hover {
    animation-play-state: paused;
}

.home-links-marquee__group {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 8px;
    flex-shrink: 0;
}

.home-links-marquee--static {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.home-links-marquee--static .home-links-marquee__track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.home-section--links-featured {
    padding: 32px 0 20px;
}

.home-links-marquee--featured .home-links-marquee__track {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-links-marquee--featured .home-links-marquee__group {
    display: contents;
}

.home-links-marquee--featured-row-3 .home-links-marquee__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
}

.home-links-marquee--featured-row-3 .home-link-card--featured {
    width: 100%;
    max-width: none;
    flex: none;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 16px 18px;
}

.home-links-marquee--featured-row-3 .home-link-card__meta {
    flex: 1 1 calc(100% - 64px);
}

.home-links-marquee--featured-row-3 .home-link-card__action {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

.home-link-card--featured {
    flex: 0 1 560px;
    width: min(100%, 560px);
    min-width: 0;
    max-width: 560px;
    padding: 18px 22px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(15, 187, 216, 0.1);
}

.home-link-card--featured::after {
    display: none;
}

.home-link-card--featured .home-link-card__logo,
.home-link-card--featured .home-link-card__logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.home-link-card--featured .home-link-card__logo {
    font-size: 18px;
}

.home-link-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.home-link-card--featured .home-link-card__name {
    padding-right: 0;
    font-size: 16px;
    white-space: normal;
}

.home-link-card__desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-link-card__action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--link-accent);
    background: var(--link-accent-soft);
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-link-card--featured:hover .home-link-card__action {
    color: #fff;
    background: var(--link-accent);
}

.home-link-card {
    --link-accent: #0fbbd8;
    --link-accent-soft: rgba(15, 187, 216, 0.08);
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    padding: 11px 20px 11px 14px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--link-accent) 35%, var(--home-border));
    border-radius: 12px;
    box-shadow: none;
    text-decoration: none;
    color: var(--home-text);
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.home-link-card::before {
    display: none;
}

.home-link-card::after {
    content: "\F138";
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    font-size: 12px;
    color: var(--link-accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.home-link-card:hover {
    background: var(--link-accent-soft);
    border-color: var(--link-accent);
    color: var(--home-text);
    text-decoration: none;
}

.home-link-card:hover::after {
    opacity: 0.7;
}

.home-link-card__logo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--link-accent);
    box-shadow: none;
}

.home-link-card__logo-img {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--home-border);
}

.home-link-card__name {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-right: 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--home-text);
}

.home-link-card--blue {
    --link-accent: #0fbbd8;
    --link-accent-soft: rgba(15, 187, 216, 0.08);
}

.home-link-card--purple {
    --link-accent: #6366f1;
    --link-accent-soft: rgba(99, 102, 241, 0.08);
}

.home-link-card--red {
    --link-accent: #ef4444;
    --link-accent-soft: rgba(239, 68, 68, 0.07);
}

.home-link-card--violet {
    --link-accent: #8b5cf6;
    --link-accent-soft: rgba(139, 92, 246, 0.08);
}

@keyframes home-links-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-links-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .home-links-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .home-links-marquee {
        -webkit-mask-image: none;
        mask-image: none;
        overflow: visible;
    }

    .home-link-card::after {
        opacity: 0.6;
    }
}

/* ---------- CTA ---------- */
.home-cta {
    padding: 48px 0 80px;
    position: relative;
    background: linear-gradient(180deg, #f5f9fc 0%, #e8f7fb 100%);
}

.home-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    background: var(--home-gradient);
    border-radius: 20px;
    color: #fff;
    box-shadow: var(--home-shadow-lg);
    position: relative;
    overflow: hidden;
}

.home-cta-box::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -120px;
    right: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.home-cta-box::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.home-cta-text {
    position: relative;
    z-index: 1;
}

.home-cta-btn {
    position: relative;
    z-index: 1;
}

.home-cta-text h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
}

.home-cta-text p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.home-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 600;
    color: var(--home-primary-dark);
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 50, 80, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.home-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 50, 80, 0.28);
    color: var(--home-primary-dark);
    text-decoration: none;
}

/* ---------- Footer (home overrides) ---------- */
.home-page .site-footer,
.home-page .footer,
.home-page .lb-site-footer {
    margin-top: 0;
}

/* ---------- 左侧新用户推广（桌面端，与国内代理页一致） ---------- */
.home-side-promo {
    position: fixed;
    left: 14px;
    top: 50%;
    z-index: 999;
    width: auto;
    min-width: 88px;
    transform: translateY(-50%);
    animation: home-side-promo-in 0.55s ease-out both;
    pointer-events: auto;
}

.home-side-promo.is-closed {
    display: none !important;
}

.home-side-promo__inner {
    position: relative;
    padding-top: 20px;
    filter: drop-shadow(3px 8px 18px rgba(0, 136, 204, 0.38));
}

.home-side-promo__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #aaa;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.home-side-promo__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-side-promo__mascot {
    width: 72px;
    margin: 0 auto -12px;
    animation: home-float 3s ease-in-out infinite;
}

.home-side-promo__mascot img {
    display: block;
    width: 100%;
    height: auto;
}

.home-side-promo__body {
    padding: 16px 10px 20px;
    background: linear-gradient(180deg, #d6f3ff 0%, #9fe0ff 55%, #7ad4ff 100%);
    border-radius: 0 10px 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.home-side-promo__badge {
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(to right, #0fbbd8, #067db2);
    border-radius: 4px;
}

.home-side-promo__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: #004d73;
    font-weight: 700;
    white-space: nowrap;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        0 0 8px rgba(255, 255, 255, 0.9);
}

.home-side-promo__text--main {
    font-size: 14px;
    font-weight: 800;
}

.home-side-promo__text--num {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 800;
    color: #067db2;
}

.home-side-promo__text--sub {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #005a85;
}

/* ---------- 系统公告弹层内容 ---------- */
.home-notice-dialog__body {
    padding: 8px 20px 20px;
}

.home-notice-dialog__text {
    margin: 0;
    color: #067db2;
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.75;
}

/* ---------- 活动横幅（首页移动端适配） ---------- */
.home-page .double11_Box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

/* ---------- Animations ---------- */
@keyframes home-hero-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes home-hero-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes home-hero-slide-in {
    from {
        opacity: 0;
        transform: translate3d(48px, 0, 0) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes home-hero-scale-in {
    from {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes home-hero-panel-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes home-hero-glow-drift-a {
    0%, 100% { transform: translate(0, 0); opacity: 0.28; }
    50% { transform: translate(24px, 18px); opacity: 0.36; }
}

@keyframes home-hero-glow-drift-b {
    0%, 100% { transform: translate(0, 0); opacity: 0.22; }
    50% { transform: translate(-20px, -14px); opacity: 0.32; }
}

@keyframes home-hero-header-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes home-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes home-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes home-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes home-spark {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes home-side-promo-in {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .home-side-promo {
        display: none !important;
    }

    .home-page::before {
        height: 920px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-page .header-wrap {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        height: auto;
        min-height: 0;
    }

    .home-hero-body {
        flex-direction: column;
        text-align: center;
        padding: calc(56px + env(safe-area-inset-top, 0px) + 36px) 16px 40px;
        gap: 32px;
    }

    .home-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .home-hero-chips {
        justify-content: center;
    }

    .home-hero-visual {
        animation-name: home-hero-fade-up;
        animation-duration: 0.75s;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
        max-width: none;
        margin: 0;
    }

    .home-api-access {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px 16px;
    }

    .home-api-access__intro {
        min-width: 0;
    }

    .home-api-access__desc {
        white-space: normal;
    }

    .home-api-access__steps {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .home-api-step {
        flex: none;
        width: 100%;
    }

    .home-api-step__arrow {
        display: none;
    }

    .home-api-access__cta {
        justify-content: center;
        width: 100%;
    }

    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-scenario-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 28px;
    }

    .home-scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-scenario-solutions {
        padding: 22px 20px 24px;
    }

    .home-stats-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-stat:nth-child(2)::after {
        display: none;
    }

    .home-stat:nth-child(1),
    .home-stat:nth-child(2) {
        border-bottom: 1px solid var(--home-border);
    }

    .home-stat:nth-child(odd)::after {
        display: block;
    }

    .home-stat:nth-child(even)::after {
        display: none;
    }

    .home-product-card--featured {
        transform: none;
    }

    .home-section--products {
        padding-bottom: 56px;
    }

    .home-stats-section {
        padding-top: 28px;
        padding-bottom: 64px;
    }

    .home-section--links {
        padding: 32px 0 16px;
    }

    .home-links-head {
        margin-bottom: 20px;
    }

    .home-link-card {
        min-width: 184px;
        padding: 10px 16px 10px 12px;
        gap: 10px;
    }

    .home-link-card__logo {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .home-link-card__logo-img {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .home-link-card__name {
        font-size: 13px;
        padding-right: 12px;
    }

    .home-link-card--featured {
        flex-wrap: wrap;
        max-width: 100%;
        padding: 16px;
    }

    .home-link-card--featured .home-link-card__logo,
    .home-link-card--featured .home-link-card__logo-img {
        width: 40px;
        height: 40px;
    }

    .home-link-card--featured .home-link-card__name {
        font-size: 15px;
    }

    .home-link-card__action {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .home-links-marquee--featured-row-3 .home-links-marquee__track {
        grid-template-columns: 1fr;
    }

    .home-links-marquee--featured-row-3 .home-link-card--featured {
        max-width: 560px;
        margin: 0 auto;
    }

    .home-cta {
        padding: 36px 0 56px;
    }

    .home-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .home-section {
        padding: 56px 0;
    }

    .home-page #double11_H {
        height: 100px !important;
    }

    .home-page .double11_banner {
        background-size: cover !important;
        height: 100px !important;
    }

    .home-page .double11_buy {
        left: 50%;
        transform: translateX(-50%);
        width: min(42vw, 160px);
        height: 36px;
        top: auto;
        bottom: 14px;
    }

    .home-page #double11_close {
        left: auto;
        right: 10px;
        top: 8px;
        width: 30px;
        height: 30px;
        background-size: contain;
    }

    .home-page .double11 {
        transform: scale(0.82);
        transform-origin: left center;
        left: 4px;
    }

    body:has(.home-page .double11_banner:not([style*="display: none"])) .mobile-contact-fab {
        bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 575px) {
    .home-page::before {
        height: 860px;
    }

    .home-hero-body {
        padding-top: calc(56px + env(safe-area-inset-top, 0px) + 28px);
        padding-bottom: 48px;
    }

    .home-hero-visual {
        display: none;
    }

    .home-hero-title {
        font-size: 26px;
    }

    .home-hero-lead {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .home-hero-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }

    .home-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-chips {
        gap: 6px;
    }

    .home-hero-chips span {
        font-size: 11px;
        padding: 5px 9px;
        white-space: normal;
        text-align: center;
    }

    .home-product-card {
        padding: 24px 20px;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
    }

    .home-scenario-highlight__title {
        padding: 18px 20px;
        font-size: 18px;
    }

    .home-scenario-highlight__desc {
        padding: 18px 20px 22px;
        font-size: 13px;
    }

    .home-scenario-solutions__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .home-scenario-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-scenario-item {
        padding: 16px 18px;
    }

    .home-scenario-item--featured {
        padding: 16px 18px;
    }

    .home-feature-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .home-feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0;
        font-size: 24px;
        border-radius: 14px;
    }

    .home-stats-panel {
        grid-template-columns: 1fr 1fr;
        border-radius: 12px;
    }

    .home-stat {
        padding: 24px 10px;
    }

    .home-stat-num {
        font-size: 24px;
    }

    .home-stat-label {
        font-size: 12px;
    }

    .home-news-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-news-item {
        min-height: 0;
        padding: 18px 18px 16px 22px;
        gap: 10px;
    }

    .home-news-title {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .home-news-more {
        margin-top: 20px;
    }

    .home-news-more a {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .home-cta-box {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .home-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
        font-size: 16px;
    }

    .home-container {
        padding: 0 16px;
    }

    .home-section {
        padding: 44px 0;
    }

    .home-section-head {
        margin-bottom: 28px;
    }

    .home-section-desc {
        font-size: 14px;
    }

    .home-page #double11_H {
        height: 80px !important;
    }

    .home-page .double11_banner {
        height: 80px !important;
    }

    .home-page .double11_buy {
        bottom: 10px;
        height: 30px;
    }

    body:has(.home-page .double11_banner:not([style*="display: none"])) .mobile-contact-fab {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-hero-eyebrow,
    .home-hero-title,
    .home-hero-lead,
    .home-hero-actions,
    .home-hero-chips span,
    .home-hero-visual,
    .home-hero-panel__item {
        opacity: 1;
        animation: none !important;
    }

    .home-hero,
    .home-hero-glow,
    .home-hero-panel,
    .home-page .header-wrap,
    .home-page .header {
        animation: none !important;
    }
}
