/* ============================================
   Banner区域专业优化样式
   ============================================ */

/* Banner区域整体优化 */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, #142A85 0%, #1a3ba8 50%, #0d1f5a 100%);
    padding: 140px 0 120px;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
}

/* 背景装饰圆圈 */
.banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 232, 223, 0.15) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.decoration-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.decoration-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 200px;
    animation-delay: 2s;
}

.decoration-circle.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Banner元素背景图 */
.banner-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    overflow: hidden;
}

.banner-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

/* Banner内容区域 */
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

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

/* 专业徽章 */
.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(66, 232, 223, 0.2);
    border: 1px solid rgba(66, 232, 223, 0.4);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out;
}

/* 确保徽章所有文字都是白色 */
.banner-badge,
.banner-badge *,
.banner-badge span,
.banner-badge > span,
.banner-badge i,
.banner-content .banner-badge,
.banner-content .banner-badge span,
.banner-content .banner-badge > span,
.banner-content .banner-badge i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.banner-badge i {
    font-size: 16px;
    color: #ffffff !important;
}

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

/* 主标题 */
.banner-title {
    margin-bottom: 30px;
    line-height: 1.3;
}

.banner-title .title-main {
    display: block;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-title .title-sub {
    display: block;
    font-size: 28px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* 服务标签区域 */
.banner-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

/* 确保所有文字都是白色 */
.service-tag,
.service-tag *,
.service-tag span,
.service-tag > span,
.banner-services .service-tag,
.banner-services .service-tag span,
.banner-services .service-tag > span {
    color: #ffffff !important;
}

.service-tag:hover {
    background: rgba(66, 232, 223, 0.25);
    border-color: #42e8df;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 232, 223, 0.3);
    color: #ffffff !important;
}

.service-tag:hover,
.service-tag:hover *,
.service-tag:hover span,
.service-tag:hover > span {
    color: #ffffff !important;
}

.service-tag i {
    font-size: 16px;
    color: #42e8df !important;
}

/* 描述文字 */
.banner-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    padding: 30px 50px;
    position: relative;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.banner-description i.fa-quote-left {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 32px;
    color: rgba(66, 232, 223, 0.6);
    opacity: 0.8;
    line-height: 1;
}

.banner-description i.fa-quote-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 32px;
    color: rgba(66, 232, 223, 0.6);
    opacity: 0.8;
    line-height: 1;
}

/* 统计数据 - 优化设计 */
.banner-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #42e8df, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(66, 232, 223, 0.4);
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 36px;
    color: #42e8df;
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #42e8df;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 按钮区域 - 使用layui样式 */
.btn-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* Layui按钮优化 - 主要按钮 - 使用更具体的选择器提高优先级 */
.banner-section .btn-area .btn-banner-primary.layui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 40px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, #42e8df, #1a9b8f);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.banner-section .btn-area .btn-banner-primary.layui-btn * {
    color: #ffffff;
}

.btn-banner-primary.layui-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: 0;
}

.btn-banner-primary.layui-btn:hover::before {
    left: 100%;
}

.banner-section .btn-area .btn-banner-primary.layui-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: linear-gradient(135deg, #1a9b8f, #42e8df);
    color: #ffffff;
}

.banner-section .btn-area .btn-banner-primary.layui-btn:hover * {
    color: #ffffff;
}

.banner-section .btn-area .btn-banner-primary.layui-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.banner-section .btn-area .btn-banner-primary.layui-btn:hover i {
    transform: translateX(5px);
}

.banner-section .btn-area .btn-banner-primary.layui-btn span {
    position: relative;
    z-index: 1;
}

/* Layui按钮优化 - 次要按钮 - 使用更具体的选择器提高优先级 */
.banner-section .btn-area .btn-banner-secondary.layui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 40px;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.banner-section .btn-area .btn-banner-secondary.layui-btn * {
    color: #ffffff;
}

.banner-section .btn-area .btn-banner-secondary.layui-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: none;
}

.banner-section .btn-area .btn-banner-secondary.layui-btn:hover * {
    color: #ffffff;
}

.banner-section .btn-area .btn-banner-secondary.layui-btn i {
    position: relative;
    z-index: 1;
}

.banner-section .btn-area .btn-banner-secondary.layui-btn span {
    position: relative;
    z-index: 1;
}

/* Banner右侧图片 */
.banner-image-wrapper {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.4s both;
}

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

.banner-image {
    position: relative;
    padding: 20px;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 232, 223, 0.2), rgba(20, 42, 133, 0.2));
    border-radius: 20px;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s;
}

.banner-image:hover img {
    transform: scale(1.05);
}

/* 响应式优化 */
@media (max-width: 1199px) {
    .banner-title .title-main {
        font-size: 42px;
    }
    
    .banner-title .title-sub {
        font-size: 24px;
    }
    
    .banner-stats {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .banner-section {
        padding: 100px 0 80px;
        min-height: 550px;
    }
    
    .banner-title .title-main {
        font-size: 36px;
    }
    
    .banner-title .title-sub {
        font-size: 20px;
    }
    
    .banner-services {
        gap: 10px;
    }
    
    .service-tag {
        padding: 8px 15px;
        font-size: 13px;
        color: #ffffff !important;
    }
    
    .service-tag,
    .service-tag span,
    .service-tag > span,
    .service-tag *:not(i) {
        color: #ffffff !important;
    }
    
    .banner-stats {
        gap: 15px;
        justify-content: space-around;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .btn-area {
        flex-direction: column;
    }
    
    .banner-section .btn-area .btn-banner-primary.layui-btn,
    .banner-section .btn-area .btn-banner-secondary.layui-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .banner-section {
        padding: 80px 0 60px;
        min-height: 500px;
    }
    
    .banner-title .title-main {
        font-size: 32px;
    }
    
    .banner-title .title-sub {
        font-size: 18px;
    }
    
    .banner-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .decoration-circle {
        display: none;
    }
}

/* 覆盖原有样式 */
.banner-section {
    background: linear-gradient(135deg, #142A85 0%, #1a3ba8 50%, #0d1f5a 100%) !important;
    padding: 140px 0 120px !important;
}

.banner-content .title {
    color: #ffffff !important;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 强制确保服务标签文字为白色 - 最高优先级 */
.banner-services .service-tag,
.banner-services .service-tag span,
.banner-services .service-tag > span,
.banner-services .service-tag *:not(i),
div.service-tag,
div.service-tag span,
div.service-tag > span,
div.service-tag *:not(i),
[class*="service-tag"],
[class*="service-tag"] span,
[class*="service-tag"] > span,
[class*="service-tag"] *:not(i) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.banner-services .service-tag:hover,
.banner-services .service-tag:hover span,
.banner-services .service-tag:hover > span,
.banner-services .service-tag:hover *:not(i),
div.service-tag:hover,
div.service-tag:hover span,
div.service-tag:hover > span,
div.service-tag:hover *:not(i) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* 确保layui按钮文字在所有状态下都是白色 - 使用更具体的选择器提高优先级 */
.banner-section .btn-area .layui-btn,
.banner-section .btn-area .layui-btn span,
.banner-section .btn-area .layui-btn i {
    color: #ffffff;
}

.banner-section .btn-area .layui-btn * {
    color: inherit;
}

.banner-section .btn-area .layui-btn:hover,
.banner-section .btn-area .layui-btn:hover span,
.banner-section .btn-area .layui-btn:hover i {
    color: #ffffff;
}

.banner-section .btn-area .layui-btn:active,
.banner-section .btn-area .layui-btn:active span,
.banner-section .btn-area .layui-btn:active i {
    color: #ffffff;
}

.banner-section .btn-area .layui-btn:focus,
.banner-section .btn-area .layui-btn:focus span,
.banner-section .btn-area .layui-btn:focus i {
    color: #ffffff;
}

/* 覆盖layui默认按钮样式 - 使用更具体的选择器 */
.banner-section .btn-area .layui-btn-normal {
    background-color: transparent;
}

.banner-section .btn-area .layui-btn-primary.layui-border-white {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

