/* ============ Hero 首屏 · 掌门式全宽大图（单张大图轮播） ============ */
.hero{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(440px, 52vw, 600px);
    background: #EDF3FF;
}

.hero-slider{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s var(--ease);
    overflow: hidden;
}
.hero-slide.active{ opacity: 1; z-index: 1; }
.hero-slide::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8,16,38,.82) 0%,
        rgba(8,16,38,.65) 30%,
        rgba(8,16,38,.25) 60%,
        rgba(8,16,38,0)   85%
    );
    z-index: 1;
    pointer-events: none;
}
.hero-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* ---- 文字覆盖层（左侧） ---- */
.hero-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}
.hero-overlay .container{
    width: min(100% - 32px, var(--container));
}
.hero-copy{
    max-width: 620px;
    pointer-events: auto;
}
.hero-copy .eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(46,107,230,.18);
    border: 1px solid rgba(46,107,230,.14);
}
.hero-copy .eyebrow::before{
    content:"";
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46,107,230,.2);
}
.hero-copy h1{
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.18;
    letter-spacing: -1px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.hero-copy h1 .accent{
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy p.lead{
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.8;
    color: rgba(255,255,255,.92);
    margin-bottom: 32px;
    max-width: 520px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-ctas{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-ctas .btn{
    padding: 15px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
}
.hero-ctas .btn-primary{
    background: linear-gradient(90deg, #FF7A45 0%, #DC2626 100%);
    color: #fff;
    border: none;
    box-shadow: 0 16px 34px -8px rgba(220,38,38,.5);
}
.hero-ctas .btn-primary:hover{
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -8px rgba(220,38,38,.6);
}
.hero-ctas .btn-ghost{
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ---- 轮播控件 ---- */
.slider-arrow{
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--color-text);
    display: grid; place-items: center;
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
    z-index: 3;
    transition: background .2s var(--ease), transform .2s var(--ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.slider-arrow:hover{
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.slider-arrow.prev{ left: 24px; }
.slider-arrow.next{ right: 24px; }
.slider-arrow svg{ width: 20px; height: 20px; }

.slider-dots{
    position: absolute;
    left: 0; right: 0; bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.slider-dots button{
    width: 10px; height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(46,107,230,.25);
    transition: width .3s var(--ease), background .3s var(--ease);
}
.slider-dots button.active{
    width: 32px;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============ Hero 下方数据信任条 ============ */
.hero-trust{
    background: #fff;
    position: relative;
    z-index: 3;
    margin-top: -44px;
    padding: 0 0 0;
}
.hero-trust .container{
    padding-top: 0;
}
.hero-brand{
    text-align: center;
    padding: 40px 0 24px;
}
.hero-slogan{
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.5px;
    line-height: 1.4;
}
.hero-slogan .accent{
    background: linear-gradient(135deg, var(--color-primary) 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 44px 56px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 50px -24px rgba(46,107,230,.24);
    border: 1px solid rgba(46,107,230,.06);
    list-style: none;
    margin: 0;
}
.hero-stats li{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    position: relative;
    text-align: center;
}
.hero-stats li + li::before{
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 1px; height: 40px;
    background: var(--color-border);
    transform: translateY(-50%);
}
.hero-stats .num{
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -1px;
}
.hero-stats .num small{
    font-size: .5em;
    font-weight: 700;
    color: var(--color-text-light);
    margin-left: 2px;
}
.hero-stats .label{
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-light);
}

/* ---- 响应式 ---- */
@media (max-width: 1024px){
    .hero{ height: clamp(380px, 60vw, 480px); }
    .hero-copy{ max-width: 520px; }
    .slider-arrow.prev{ left: 10px; }
    .slider-arrow.next{ right: 10px; }
    .hero-stats{
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 0;
        padding: 20px 24px;
    }
    .hero-stats li:nth-child(2n+1) + li::before{ display: none; }
}
@media (max-width: 600px){
    .hero{ height: auto; min-height: 340px; }
    .hero-slide img{ min-height: 340px; }
    .hero-copy{
        max-width: 100%;
        text-align: left;
        padding: 24px 0;
    }
    .hero-copy h1{ font-size: 28px; line-height: 1.3; margin-bottom: 14px; }
    .hero-copy p.lead{ font-size: 14px; margin-bottom: 20px; }
    .hero-copy .eyebrow{ font-size: 12px; margin-bottom: 16px; padding: 6px 12px; }
    .hero-ctas .btn{ font-size: 13px; padding: 10px 16px; }
    .slider-arrow{ width: 36px; height: 36px; }
    .slider-dots{ bottom: 10px; }
    .hero-trust{ margin-top: -24px; }
}
