/* ===========================
   Hero 背景轮播
   =========================== */

/* ---------- 容器 ---------- */
.lp-hero-bg-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    z-index: 0;
}

.lp-hero-bg-track {
    display: flex;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.lp-hero-bg-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 48px;
    opacity: .12;
    transform: scale(.92);
    transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
}

.lp-hero-bg-slide.active {
    opacity: .22;
    transform: scale(1);
}

.lp-hero-bg-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-primary);
    color: #fff;
}

.lp-hero-bg-text {
    display: none;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.lp-hero-bg-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-hero-bg-text span {
    font-size: 12px;
    color: var(--lp-text-secondary);
}

/* ---------- indicators ---------- */
.lp-hero-bg-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.lp-hero-bg-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(148 163 184 / .35);
    cursor: pointer;
    transition: all .3s ease;
    border: none;
    padding: 0;
    outline-offset: 2px;
}

.lp-hero-bg-indicator:hover {
    background: rgb(148 163 184 / .6);
}

.lp-hero-bg-indicator.active {
    width: 22px;
    border-radius: 3px;
    background: var(--lp-primary);
}

/* ========== PC ========== */
@media (min-width: 769px) {
    .lp-hero-bg-text { display: flex; }
    .lp-hero-bg-icon { width: 64px; height: 64px; border-radius: 16px; }
    .lp-hero-bg-slide { gap: 20px; }
    .lp-hero-bg-slide { opacity: .08; transform: scale(.88); }
    .lp-hero-bg-slide.active { opacity: .18; }
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
    .lp-hero-bg-icon { width: 40px; height: 40px; border-radius: 10px; }
    .lp-hero-bg-icon svg { width: 22px; height: 22px; }
    .lp-hero-bg-slide { padding: 0 24px; }
    .lp-hero-bg-indicators { bottom: 14px; }
}
