/* 首页横幅 */
.hero-slider {
    position: relative;
    height: 66.67vh;
    overflow: hidden;
}

.slides-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.slogan {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    /* 移除渐变动画，保持静态颜色 */
}

/* 逐字渐变尺寸（大->小->再变大），突出“因”“诺” */
.slogan.stylized { font-size: 0; line-height: 1.05; }
/* 统一除“因”“诺”外字体大小与颜色；“因”“诺”更大并使用主题橙色 */
.slogan.stylized span { 
    display: inline-block; 
    font-weight: 700; 
    font-family: inherit; 
    font-size: 3rem; 
    color: #ffffff; 
    transition: transform .3s ease; 
}
.slogan.stylized .s1,
.slogan.stylized .s10 { 
    font-size: 3.8rem; 
    color: var(--primary-color); 
}
/* 为“生”后添加额外右侧间距以明显分隔“用” */
.slogan.stylized .s5 { margin-right: 1.2rem; }

/* 交互轻微放大效果 */
/* 去除鼠标悬停动效 */
/* .slogan.stylized span:hover { transform: translateY(-6px) scale(1.08); } */

@keyframes colorChange {
    0% { color: #ffffff; }
    50% { color: #ffc6a9; }
    100% { color: #ffd8c5; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.positioning {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffffff;
}

/* 轮播导航控件 */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    transform: translateY(-50%);
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slogan { font-size: 2.5rem; }
    .slogan.stylized span { font-size: 2.4rem; }
    .slogan.stylized .s1,
    .slogan.stylized .s10 { font-size: 3.0rem; }
    .positioning { font-size: 1.3rem; }
    .arrow { width: 40px; height: 40px; font-size: 1.2rem; }
}
