/* 
 * Home Page Styles - Bootstrap 5 Optimized
 * 首页专用样式 - 符合Bootstrap 5规范
 */

/* Hero Banner Section */
.hero-banner,
#hero-carousel,
.hero-banner .carousel-inner,
.hero-banner .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--bs-dark, #000);
}

.hero-banner .carousel-item {
    position: relative;
    background: var(--bs-dark, #000);
}

/* Media Containers - Simplified */
.hero-banner .hero-video-container,
.hero-banner .hero-image-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-banner .hero-video,
.hero-banner .hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Carousel Caption - Bootstrap 5 Optimized */
.hero-banner .carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    /* pointer-events: none; */
}

/* .hero-banner .carousel-caption .hero-content {
    pointer-events: auto;
} */

/* Hero Content */
.hero-banner .hero-content {
    max-width: 68rem;
    padding: var(--bs-gutter-x, 1.5rem);
}

.hero-banner .hero-divider {
    width: 5rem;
    height: 3px;
    background: var(--bs-primary, #0d6efd);
    border-radius: var(--bs-border-radius-sm, 0.25rem);
}

.hero-banner .hero-button {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.875rem;
    --bs-btn-font-size: 1.1rem;
    --bs-btn-border-radius: 1.875rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    transition: var(--bs-transition, all 0.15s ease-in-out);
    box-shadow: 0 0.25rem 0.9375rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
}

.hero-banner .hero-button:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.25rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.4);
}

/* Carousel Controls - Bootstrap 5 Enhanced */
.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
    width: 3.75rem;
    height: 3.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--bs-transition, all 0.15s ease-in-out);
    z-index: 20;
}

.hero-banner .carousel-control-prev {
    left: 1.875rem;
}

.hero-banner .carousel-control-next {
    right: 1.875rem;
}

.hero-banner .carousel-control-prev:hover,
.hero-banner .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    /* transform: scale(1.1); */
}

/* Carousel Indicators - Bootstrap 5 Enhanced */
.hero-banner .carousel-indicators {
    bottom: 1.875rem;
    z-index: 20;
}

.hero-banner .carousel-indicators [data-bs-target] {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin: 0 0.375rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--bs-transition, all 0.15s ease-in-out);
}

.hero-banner .carousel-indicators .active {
    background: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    transform: scale(1.2);
}



/* Responsive Design - Bootstrap 5 Breakpoints */
@media (max-width: 767.98px) {

    .hero-banner,
    #hero-carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
        min-height: 31.25rem;
    }

    .hero-banner .carousel-control-prev,
    .hero-banner .carousel-control-next {
        width: 3.125rem;
        height: 3.125rem;
    }

    .hero-banner .carousel-control-prev {
        left: 0.9375rem;
    }

    .hero-banner .carousel-control-next {
        right: 0.9375rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .hero-button {
    box-shadow: 0 0.25rem 0.9375rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.4);
}

[data-theme="dark"] .hero-button:hover {
    box-shadow: 0 0.375rem 1.25rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.5);
}

/* Features Section - Bootstrap 5 Optimized */
.features-header-decorated {
    position: relative;
}

.features-header-decorated::before,
.features-header-decorated::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.features-header-decorated::before {
    width: 10rem;
    height: 13rem;
    top: -1.2rem;
    right: -6rem;
    background-image: url('../images/d-2.svg');
}

.features-header-decorated::after {
    width: 13.5rem;
    height: 16rem;
    top: -1.8rem;
    left: -6rem;
    background-image: url('../images/d-1.svg');
}

/* Badge and Feature Icon - Shared Shadow */
.badge,
.feature-icon {
    box-shadow: 0 0.25rem 0.9375rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
}

.badge {
    padding: 0.5rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0.5rem 1.5rem rgba(var(--bs-primary-rgb, 13, 110, 253), 0.3);
}

/* Card Effects */
.card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card .card-body {
    position: relative;
}

.card .feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    margin: -300px 0 0 -300px;
    background: conic-gradient(transparent, transparent 10%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1) 20%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.15) 30%, rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1) 40%, transparent 50%, transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: rotate 3s linear infinite paused;
    z-index: -1;
}

.card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card:hover .feature-icon::before {
    opacity: 1;
    animation-play-state: running;
}

.card:hover .feature-icon {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* Features Section Responsive */
@media (max-width: 767.98px) {

    .features-header-decorated::before,
    .features-header-decorated::after {
        display: none;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Company Introduction Section - Bootstrap 5 Optimized */
.company-intro-section {
    background-image: url('../images/index_weiye_bg.jpg');
    /* background-size: cover; */
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    position: relative;
    overflow: hidden;
}

.company-intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

[data-theme="dark"] .company-intro-section::before {
    background: rgba(33, 37, 41, 0.85)
}


.company-intro-section .container {
    position: relative;
    z-index: 2;
}

/* About Section - Bootstrap 5 Optimized */
.about-section {
    background-image: url('../images/index-bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-section::before {
    background: rgba(255, 255, 255, 0.3);
}

.about-section .about-title,
.about-section .about-title h2 {
    margin: 3rem 0;
}

/* .line-1 {
    width: 5rem;
    height: 3px;
    background: var(--bs-primary, #0d6efd);
    border-radius: var(--bs-border-radius-sm, 0.25rem);
} */
@media (min-width: 992px) {
    .about-section .about-title p {
        margin-right: 6rem;
        font-size: large;
        line-height: 2;
    }
}

.about-section .about-slogans .align-items-center {
    border-bottom: solid 2px;
    padding: 2rem 0 1rem;
}


/* Products Section - Simplified */
.products-section {
    background: linear-gradient(to bottom,
            #87CEEB 0%,
            /* 浅蓝色（天空色）开始 */
            #FFFFFF 26%,
            /* 直接过渡到白色 */
            #FFFFFF 80%,
            /* 白色主体部分 */
            #FFCCCB 100%
            /* 淡橘红色结束 */
        );
    color: #6c757d;
}

.products-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.products-carousel-wrapper .carousel-item {
    padding: 3rem 0 5rem;
    transition: transform 0.3s ease-out, opacity 0.2s ease-out;
}

/* Optimized carousel animation */
.products-carousel-wrapper .carousel-item-next,
.products-carousel-wrapper .carousel-item-prev,
.products-carousel-wrapper .active.carousel-item-end,
.products-carousel-wrapper .active.carousel-item-start {
    transition: transform 0.3s ease-out, opacity 0.2s ease-out;
}

.products-carousel-wrapper .carousel-item-next,
.products-carousel-wrapper .active.carousel-item-end {
    transform: translateX(150px);
    opacity: 0;
}

.products-carousel-wrapper .carousel-item-prev,
.products-carousel-wrapper .active.carousel-item-start {
    transform: translateX(-150px);
    opacity: 0;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Product Content */
.product-content {
    padding: 2rem;
    transition: transform 0.2s ease-out, opacity 0.15s ease-out;
}

/* Content animation - from left */
.products-carousel-wrapper .carousel-item:not(.active) .product-content {
    transform: translateX(-30px);
    opacity: 0;
}

.products-carousel-wrapper .carousel-item.active .product-content {
    transform: translateX(0);
    opacity: 1;
}

/* Image animation - from right */
.products-carousel-wrapper .carousel-item:not(.active) .product-image-wrapper {
    transform: translateX(30px);
    opacity: 0;
}

.products-carousel-wrapper .carousel-item.active .product-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

/* Product styling */
.product-badge .badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-divider {
    width: 4rem;
    height: 3px;
    background: #007bff;
    margin: 1.5rem 0;
}

.product-description {
    font-size: 1.1rem;
    /* color: #6c757d; */
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-image-wrapper {
    padding: 1rem;
    transition: transform 0.2s ease-out, opacity 0.15s ease-out;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}



/* Navigation - Products Section */
.products-carousel-wrapper .carousel-control-prev,
.products-carousel-wrapper .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bs-gray);
    border-radius: 50%;
    /* border: 1px solid #dee2e6; */
    opacity: 0.4;
    z-index: 10;
}

.products-carousel-wrapper .carousel-control-prev {
    left: 2.3rem;
}

.products-carousel-wrapper .carousel-control-next {
    right: 2.3rem;
}

.products-carousel-wrapper .carousel-control-prev:hover,
.products-carousel-wrapper .carousel-control-next:hover {
    /* background: #aeafaf; */
    opacity: 0.7;
}

/* .products-carousel-wrapper .carousel-control-prev-icon,
.products-carousel-wrapper .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
} */

/* Products Indicators - Bootstrap Standard with Custom Styling */
/* #products-carousel .carousel-indicators.products-indicators {
    bottom: 1rem;
    margin-bottom: 0;
} */

#products-carousel .carousel-indicators.products-indicators button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dee2e6;
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0;
    opacity: 1;
}

#products-carousel .carousel-indicators.products-indicators button.active,
#products-carousel .carousel-indicators.products-indicators button:hover {
    background: #007bff;
    border-color: #007bff;
}

#products-carousel .carousel-indicators.products-indicators .indicator-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: #007bff;
    display: block;
}

#products-carousel .carousel-indicators.products-indicators button.active .indicator-number,
#products-carousel .carousel-indicators.products-indicators button:hover .indicator-number {
    color: white;
}

.products-carousel-wrapper .indicator-btn.active .indicator-number,
.products-carousel-wrapper .indicator-btn:hover .indicator-number {
    color: white;
}

/* News Section */
.news-section {
    background: var(--bs-gray-50, #f8f9fa);
}

.news-section .section-title {
    font-size: 2rem;
}

/* News Card Layout */
.news-card {
    background: var(--bs-white, #ffffff);
    border-radius: var(--bs-border-radius, 0.375rem);
    border: 1px solid var(--bs-border-color, #dee2e6);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.news-card-image,
.news-card-placeholder {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.news-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-title a {
    transition: color 0.3s ease-in-out;
}

.news-card-title a:hover {
    color: var(--bs-primary, #0d6efd) !important;
}

.news-card-summary {
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
}



/* Responsive Design */
@media (max-width: 991.98px) {
    .news-card-title {
        font-size: 1rem;
    }

    .news-card-summary {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 767.98px) {
    .news-card {
        margin-bottom: 1.5rem;
    }

    .news-card-image,
    .news-card-placeholder {
        height: 180px;
    }

    .news-section .section-title {
        font-size: 1.75rem;
    }
}

/* Responsive Design - Products Section */
@media (max-width: 991.98px) {
    .product-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    /* .products-carousel-wrapper .carousel-item {
        padding: 2rem 0;
    } */

    .product-content {
        text-align: center;
        padding: 1rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-actions {
        justify-content: center;
    }

    .products-carousel-wrapper .carousel-control-prev,
    .products-carousel-wrapper .carousel-control-next {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .product-actions {
        flex-direction: column;
    }
}


/* Partners Section - Bootstrap 5 Optimized */
.partner-card {
    height: 120px;
    transition: var(--bs-transition, all 0.15s ease-in-out);
    border: var(--bs-border-width, 1px) solid var(--bs-border-color, #dee2e6);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* 大屏时每排5个图片 */
@media (min-width: 992px) {
    .partners-section .partner-item {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.partner-logo {
    max-height: 6rem;
    width: auto;
}

/* Global Transitions - Bootstrap 5 Optimized */
.partner-card,
.news-featured,
.news-item {
    transition: var(--bs-transition, all 0.15s ease-in-out);
}

/* Statistics Section - Optimized */
.statistics-section {
    padding: 2rem 0;
    /* perspective: 300px;
    perspective-origin: center center; */
}

.stat-card {
    height: 160px;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.stat-card:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.stat-card:hover .counter,
.stat-card:hover .suffix,
.stat-card:hover .stat-title {
    color: white !important;
}

.stat-card:hover .stat-icon i {
    color: white !important;
    transform: scale(1.2);
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.counter {
    color: #007bff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    transition: color 0.4s ease;
}

.suffix {
    color: #007bff;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.3rem;
    transition: color 0.4s ease;
}

.stat-title {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    /* letter-spacing: 0.6px; */
    margin: 0;
    transition: color 0.4s ease;
}

.stat-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin-left: 0.5rem;
    transition: all 0.4s ease;
}

.stat-icon i {
    font-size: 3rem;
    color: white;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 1199.98px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    /* .stat-info {
        margin-bottom: 1rem;
    } */

    .counter {
        font-size: 2.5rem;
    }

    .stat-title {
        font-size: 0.85rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        margin-left: 0;
    }

    .stat-icon i {
        font-size: 2rem;
    }
}

/* Footer Section */
.footer-section {
    background: var(--bs-gray-200);
    border-top: 2px solid var(--bs-gray-300);
}

.footer-link {
    color: var(--bs-gray-700);
    text-decoration: none;
    transition: var(--bs-transition);
}

.footer-link:hover {
    color: var(--bs-primary);
}

/* Dark Theme Support - News Section */
[data-theme="dark"] .news-section {
    background: var(--bs-gray-900, #212529);
}

[data-theme="dark"] .news-section .section-title {
    color: var(--bs-light, #f8f9fa);
}

[data-theme="dark"] .news-section .section-subtitle {
    color: var(--bs-gray-300, #adb5bd) !important;
}

[data-theme="dark"] .news-card {
    background: var(--bs-gray-800, #343a40);
    border-color: var(--bs-gray-700, #495057);
    color: var(--bs-light, #f8f9fa);
}

[data-theme="dark"] .news-card:hover {
    background: var(--bs-gray-700, #495057);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .news-card-title {
    color: var(--bs-light, #f8f9fa);
}

[data-theme="dark"] .news-card-title a {
    color: var(--bs-light, #f8f9fa);
    text-decoration: none;
}

[data-theme="dark"] .news-card-title a:hover {
    color: var(--bs-primary, #0d6efd) !important;
}

[data-theme="dark"] .news-card-summary {
    color: var(--bs-gray-300, #adb5bd);
}

[data-theme="dark"] .news-card-placeholder {
    background: linear-gradient(135deg, var(--bs-gray-700, #495057) 0%, var(--bs-gray-600, #6c757d) 100%);
}

[data-theme="dark"] .news-card-loading {
    color: var(--bs-gray-300, #adb5bd);
}

[data-theme="dark"] .news-card-loading .text-muted {
    color: var(--bs-gray-400, #868e96) !important;
}

/* Dark Theme - Loading Spinners */
[data-theme="dark"] .spinner-border-sm {
    color: var(--bs-primary, #0d6efd);
}

[data-theme="dark"] .text-warning {
    color: var(--bs-warning, #ffc107) !important;
}

/* Dark Theme - Icons */
[data-theme="dark"] .bi {
    color: inherit;
}

/* Dark Theme - Badge Colors */
[data-theme="dark"] .news-card .badge.bg-primary {
    background-color: var(--bs-primary, #0d6efd) !important;
    color: var(--bs-white, #ffffff);
}

[data-theme="dark"] .news-card .badge.bg-success {
    background-color: var(--bs-success, #198754) !important;
    color: var(--bs-white, #ffffff);
}

[data-theme="dark"] .news-card .badge.bg-info {
    background-color: var(--bs-info, #0dcaf0) !important;
    color: var(--bs-dark, #212529);
}

/* Dark Theme - Footer */
[data-theme="dark"] .footer-section {
    background: var(--bs-gray-800);
    border-top-color: var(--bs-gray-700);
}

[data-theme="dark"] .footer-link {
    color: var(--bs-gray-300);
}

/* ==========================================================================
           GSAP动画系统 - 优化合并版本
           ========================================================================== */

/* 动画元素初始状态和性能优化 */
.gsap-title,
.gsap-subtitle,
.gsap-content,
.gsap-about-left,
.gsap-about-right,
.gsap-feature-item {
    opacity: 0;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    /* GPU加速 */
}

/* Features Section 动画初始状态 */
#features-section .badge,
#features-section .section-title,
#features-section .section-subtitle,
#features-section .card {
    opacity: 0;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* News Section 动画初始状态 */
.gsap-news-card {
    opacity: 0;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0) scale(0.1);
}

/* 动画卡片元素 - 性能优化 */
.gsap-stat-card,
.gsap-news-card,
.gsap-partner-card {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    transform-origin: center center;
}

/* 合作伙伴容器 */
.gsap-partners-container {
    position: relative;
}

/* ==========================================================================
           Logo烟花效果系统
========================================================================== */

/* Logo容器优化 */
.navbar-brand {
    position: relative;
    overflow: visible;
}

.logo-container {
    position: relative;
    z-index: 2;
}

/* 烟花容器和粒子基础样式 */
.fireworks-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    width: 200px;
    height: 200px;
}

.firework-particle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    box-shadow: 0 0 6px currentColor;
}

/* 烟花粒子颜色系统 - 合并优化 */
.particle-gold {
    background: radial-gradient(circle, #FFD700, #FFA500);
    box-shadow: 0 0 8px #FFD700, 0 0 12px rgba(255, 215, 0, 0.5);
}

.particle-blue {
    background: radial-gradient(circle, #4A90E2, #357ABD);
    box-shadow: 0 0 8px #4A90E2, 0 0 12px rgba(74, 144, 226, 0.5);
}

.particle-red {
    background: radial-gradient(circle, #FF6B6B, #E74C3C);
    box-shadow: 0 0 8px #FF6B6B, 0 0 12px rgba(255, 107, 107, 0.5);
}

.particle-green {
    background: radial-gradient(circle, #2ECC71, #27AE60);
    box-shadow: 0 0 8px #2ECC71, 0 0 12px rgba(46, 204, 113, 0.5);
}

.particle-purple {
    background: radial-gradient(circle, #9B59B6, #8E44AD);
    box-shadow: 0 0 8px #9B59B6, 0 0 12px rgba(155, 89, 182, 0.5);
}

/* 移动端优化 */
@media (max-width: 767px) {
    .fireworks-container {
        width: 150px;
        height: 150px;
    }

    .firework-particle {
        width: 3px;
        height: 3px;
    }
}

/* 高分辨率屏幕优化 */
@media (min-resolution: 2dppx) {
    .firework-particle {
        box-shadow: 0 0 4px currentColor;
    }
}

/* 减少动画偏好设置 */
@media (prefers-reduced-motion: reduce) {

    .gsap-title,
    .gsap-subtitle,
    .gsap-content,
    .gsap-about-left,
    .gsap-about-right,
    .gsap-feature-item,
    .gsap-stat-card,
    .gsap-news-card,
    .gsap-partner-card {
        will-change: auto;
        transform: none;
    }

    .fireworks-container {
        display: none;
    }
}

/* 炫酷翻转爆炸动画支持 */
.gsap-news-card {
    will-change: transform, opacity;
    transform-origin: center center;
}

/* 确保动画期间卡片不会被遮挡 */
#news-section {
    overflow: visible;
    position: relative;
}

#news-section .container {
    overflow: visible;
}

/* 修复悬停效果冲突 */
.news-card {
    transform: translateZ(0);
    /* 强制GPU加速，避免文字抖动 */
}

.news-card:hover {
    transform: translateY(-8px) translateZ(0);
    /* 保持GPU加速 */
}