/* =========================================
   Hero Slider (Epimedii Style)
   ========================================= */
.hero.full-width {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero.full-width .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 600px !important;
    opacity: 0 !important;
    transition: opacity 0.8s ease-in-out !important;
    z-index: 1 !important;
    padding: 80px 0 !important;
    transform: none !important;
    display: block !important;
    flex-direction: row !important;
    align-items: stretch !important;
    text-align: left !important;
}

.hero.full-width .hero-slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
    position: relative !important;
    pointer-events: all !important;
}

/* 整体背景图片层 */
.hero.full-width .hero-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
}

.hero.full-width .hero-bg-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
}

.hero.full-width .hero-bg-mobile {
    display: none !important;
}

.hero.full-width .hero-slider {
    position: relative !important;
    width: 100% !important;
    height: 600px !important;
    display: block !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

/* 左侧圆形图片 */
.hero.full-width .hero-slide .col-lg-6:first-child {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 40px 20px 40px 0 !important;
    position: relative !important;
    z-index: 2 !important;
    margin-left: -50px !important;
}

@media (max-width: 1200px) {
    .hero.full-width .hero-slide .col-lg-6:first-child {
        margin-left: -30px !important;
    }
}

@media (max-width: 992px) {
    .hero.full-width .hero-slide .col-lg-6:first-child {
        margin-left: 0 !important;
        justify-content: center !important;
    }
}

.hero.full-width .banner-image {
    position: relative !important;
    width: 500px !important;
    height: 500px !important;
    max-width: 100% !important;
    min-height: 500px !important;
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    animation: fadeInLeft 0.8s ease !important;
    overflow: visible !important;
    z-index: 2 !important;
    display: block !important;
    margin: 0 !important;
    /* 羽化效果 - 左侧边缘渐变 */
    mask-image: radial-gradient(ellipse 100% 100% at left center, rgba(0,0,0,1) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at left center, rgba(0,0,0,1) 50%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%);
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.15));
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
}

/* 文字内容 - 居中显示 */
.hero.full-width .hero-slide .col-lg-10,
.hero.full-width .hero-slide .col-xl-8 {
    padding: 40px 20px !important;
    position: relative !important;
    z-index: 2 !important;
}

.hero.full-width .hero-content {
    position: relative !important;
    z-index: 2 !important;
    animation: fadeInUp 0.8s ease !important;
    max-width: 100% !important;
}

.hero.full-width .hero-text {
    text-align: center !important;
}

.hero.full-width .hero-text h1 {
    text-align: center !important;
    margin-bottom: 30px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.hero.full-width .hero-text p {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto 40px !important;
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    color: var(--text-primary) !important;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

@media (min-width: 1200px) {
    .hero-text h1 {
        white-space: nowrap;
    }
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5), 0 2px 10px rgba(255, 165, 0, 0.4);
    display: inline-block;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero.full-width .hero-buttons {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.hero-buttons .btn {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.hero-buttons .btn:first-child {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hero-buttons .btn:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.hero-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* 导航箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-arrow:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary-color);
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 30px;
}

/* 导航点 */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: scale(1.2);
}

.hero-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* 响应式设计 */
@media (max-width: 992px) {
    .hero.full-width {
        height: 500px !important;
    }

    .hero.full-width .hero-slider {
        height: 500px !important;
    }

    .hero.full-width .hero-slide {
        height: 500px !important;
        padding: 50px 0 !important;
    }

    .hero.full-width .hero-slide .col-lg-6:first-child {
        margin-bottom: 40px !important;
    }

    .hero.full-width .hero-slide .col-lg-6:last-child {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .hero.full-width .banner-image {
        width: 400px !important;
        height: 400px !important;
        min-height: 400px !important;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        text-align: center;
    }

    .hero-text p {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero.full-width {
        margin-top: 110px !important;
    }

    .hero.full-width .hero-slide {
        padding: 35px 0 !important;
    }

    .hero.full-width .hero-slide .col-lg-6:first-child {
        padding: 20px !important;
        justify-content: center !important;
    }

    .hero.full-width .hero-slide .col-lg-10,
    .hero.full-width .hero-slide .col-xl-8 {
        padding: 0 20px !important;
    }

    .hero.full-width .banner-image {
        width: 300px !important;
        height: 300px !important;
        min-height: 300px !important;
    }

    .hero.full-width .hero-bg-desktop {
        display: none !important;
    }

    .hero.full-width .hero-bg-mobile {
        display: block !important;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        white-space: normal;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-arrow-prev {
        left: 15px;
    }

    .hero-arrow-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero.full-width .banner-image {
        width: 250px !important;
        height: 250px !important;
        min-height: 250px !important;
    }

    .hero-text h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        white-space: normal;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

/* =========================================
   Product Header (Epimedii Style)
   ========================================= */
.product-header {
    /* 渐变方向相反：从粉色到紫色（与立即开始合作相反） */
    background: linear-gradient(135deg, #FFB6C1 0%, #8B5CF6 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 顶部渐变分割线 */
.product-header-top-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.8), rgba(255, 182, 193, 0.8), rgba(139, 92, 246, 0.3));
    z-index: 1;
}

/* 底部渐变分割线 */
.product-header-bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.8), rgba(255, 182, 193, 0.8), rgba(139, 92, 246, 0.3));
    z-index: 1;
}

.product-header .container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-header .container h1 .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-header .container p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-header {
        padding: 40px 0;
    }

    .product-header .container h1 {
        font-size: 2rem;
    }

    .product-header .container p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-header {
        padding: 30px 0;
    }

    .product-header .container h1 {
        font-size: 1.75rem;
    }

    .product-header .container p {
        font-size: 1rem;
    }
}

