/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0b6b3a;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #f2c12e, #0b6b3a);
    border-radius: 2px;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #0b6b3a, #f2c12e);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(242,193,46,0.3);
    transition: all 0.3s ease;
    z-index: 9999; /* 增加 z-index 确保显示在最上层 */
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,102,0,0.4);
}

/* ===== 头部样式 ===== */
.header {
    background: linear-gradient(135deg, #0b6b3a 0%, #1f5aa6 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover, .lang-btn.active {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* ===== 英雄区域 ===== */
.hero {
    margin-top: 0; /* 移除白色间隙 */
    padding-top: 80px; /* 用padding代替margin来避免间隙 */
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover; /* 改为contain显示完整图片 */
    background-repeat: no-repeat; /* 添加这行防止重复 */
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,64,128,0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(45deg, #0b6b3a, #f2c12e);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242,193,46,0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242,193,46,0.35);
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.gift-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    position: relative;
}
.gift-note .gift-link {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    color: inherit;
    text-decoration: none;
}
.gift-note .gift-link:hover {
    text-decoration: underline;
}

.limited-badge {
    position: absolute;
    top: -20px;
    right: -8px;
    background: #f2c12e;
    color: #db4b4b;
    font-size: 0.68rem;
    /* font-weight: 700; */
    padding: 4px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    /* border: 1px solid rgba(26,26,26,0.15); */
    white-space: nowrap;
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .gift-note {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    .limited-badge {
        top: -8px;
        right: -20px;
        font-size: 0.58rem;
        padding: 3px 7px;
    }
}
/* ===== 产品区域 ===== */
.products {
    padding: 80px 0;
    background: #f9f9f9;
}

.products-slider-container {
    position: relative;
    margin-top: 50px;
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    transition: none;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain显示完整图片 */
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content h3 {
    font-size: 1.3rem;
    color: #004080;
    margin-bottom: 10px;
}

.product-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== 展会信息区域 ===== */
.exhibition-info {
    padding: 30px 0;
    background: linear-gradient(135deg, #1f5aa6 0%, #0b6b3a 100%);
    color: white;
    text-align: center;
}

.exhibition-slider-container {
    position: relative;
    margin-top: 50px;
}

.exhibition-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    transition: none;
}

.detail-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff6600;
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.detail-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

.slider-btn {
    display: none;
}

/* ===== 公司介绍区域优化 ===== */
.company {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-text h2 {
    font-size: 2.5rem;
    color: #0b6b3a;
    margin-bottom: 30px;
    position: relative;
}

.company-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #f2c12e, #0b6b3a);
    border-radius: 2px;
}

.company-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* 公司亮点 */
.company-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    color: #f2c12e;
    font-size: 1.5rem;
}

.highlight-item span {
    font-weight: bold;
    color: #0b6b3a;
    font-size: 0.9rem;
}

/* 公司图片优化 */
.company-image {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.factory-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.company-image:hover .factory-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.company-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 移动端Company优化 */
@media (max-width: 768px) {
    .company {
        padding: 60px 0;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .company-text h2 {
        font-size: 2rem;
    }
    
    .company-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .company-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .highlight-item {
        justify-content: center;
        padding: 12px;
    }
    
    .company-image {
        height: 300px;
        order: -1;
    }
    
    .image-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.6));
    }
}

@media (max-width: 480px) {
    .company-text h2 {
        font-size: 1.8rem;
    }
    
    .company-text p {
        font-size: 1rem;
    }
    
    .company-image {
        height: 250px;
    }
    
    .highlight-item {
        padding: 10px;
    }
    
    .highlight-item span {
        font-size: 0.85rem;
    }
}

/* ===== 预约表单区域 ===== */
.reservation {
    padding: 50px 0;
    background: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #004080;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004080;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, #0b6b3a, #f2c12e);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242,193,46,0.3);
}

/* ===== Footer区域完全重构 ===== */
.footer {
    background: linear-gradient(135deg, #0b3a2b 0%, #1f5aa6 100%);
    color: white;
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f2c12e, #0b6b3a, #f2c12e);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主要内容区域 */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 20px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* 公司信息区域 */
.company-info {
    text-align: center;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.company-logo h3 {
    font-size: 1.8rem;
    color: #ff6600;
    font-weight: bold;
    margin: 0;
}

.company-desc {
    font-size: 1.1rem;
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 公司统计数据 */
.company-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.stat-item {
    display: block !important;
    text-align: center !important;
    padding: 20px !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 15px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.stat-item:hover {
    background: rgba(255,102,0,0.2);
    transform: translateY(-5px);
    border-color: rgba(255,102,0,0.3);
}

.stat-number {
    display: block !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #f2c12e !important;
    margin-bottom: 5px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.stat-label {
    display: block !important;
    font-size: 0.9rem !important;
    color: #ecf0f1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 联系信息网格 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-section {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.contact-section:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #ff6600;
    font-size: 1.1rem;
    font-weight: bold;
}

.contact-title i {
    font-size: 1.3rem;
    padding: 8px;
    background: rgba(255,102,0,0.2);
    border-radius: 50%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
}

.contact-link:hover {
    color: #ff6600;
    background: rgba(255,102,0,0.1);
    transform: translateX(5px);
}

.contact-name {
    font-weight: bold;
    color: #3498db;
}

.full-address {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 底部区域 */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* 社交媒体区域 */
.social-section {
    text-align: center;
}

.social-title {
    font-size: 1.2rem;
    color: #ff6600;
    margin-bottom: 20px;
    font-weight: bold;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 120px;
    justify-content: center;
}

.social-link.facebook:hover {
    background: rgba(59,89,152,0.3);
    color: #3b5998;
    border-color: rgba(59,89,152,0.5);
}

.social-link.twitter:hover {
    background: rgba(29,161,242,0.3);
    color: #1da1f2;
    border-color: rgba(29,161,242,0.5);
}

.social-link.linkedin:hover {
    background: rgba(0,119,181,0.3);
    color: #0077b5;
    border-color: rgba(0,119,181,0.5);
}

.social-link.whatsapp:hover {
    background: rgba(37,211,102,0.3);
    color: #25d366;
    border-color: rgba(37,211,102,0.5);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* AddThis区域 */
.addthis-section {
    text-align: center;
    padding: 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 0;
}

.addthis-section h5 {
    color: #ff6600;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* 自定义分享按钮 */
.custom-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.share-btn.facebook {
    background: linear-gradient(45deg, #3b5998, #4c70ba);
}

.share-btn.twitter {
    background: linear-gradient(45deg, #1da1f2, #4ab3f4);
}

.share-btn.linkedin {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.share-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #4fda85);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* 版权区域 */
.copyright-section {
    text-align: center;
    padding: 30px 0;
    background: rgba(0,0,0,0.3);
    margin: 0 -20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f2c12e;
}

.separator {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* ===== 移动端Footer优化 ===== */
@media (max-width: 768px) {
    .form-container {
        padding: 24px;
    }
    .submit-btn {
        font-size: 1rem;
        padding: 14px;
    }
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .company-stats {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-section {
        padding: 20px;
        text-align: center;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        font-size: 0.85rem;
        padding: 10px 15px;
        min-width: 100px;
    }
    
    .copyright-section {
        padding: 20px 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 18px;
    }
    .submit-btn {
        font-size: 0.95rem;
        padding: 12px;
    }
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-main {
        gap: 30px;
    }
    
    .company-logo h3 {
        font-size: 1.5rem;
    }
    
    .company-desc {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 15px;
    }
    
    .contact-title {
        font-size: 1rem;
        justify-content: center;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: right;
        color: #bdc3c7;
        font-family: Arial, Helvetica, sans-serif;
    }
    .footer-links a {
        font-size: 0.75rem;
    }
    .separator {
        display: inline;
        font-size: 0.75rem;
    }
    
    .custom-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }
}


/* ===== 消息提示样式 ===== */
.message {
    display: none; /* 初始隐藏 */
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 数字动画效果 ===== */
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 5px;
    counter-reset: num var(--num);
}

.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        --num: 0;
    }
    to {
        --num: var(--target);
    }
}

/* 数字动画的具体实现将通过JavaScript控制 */
.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 移动端响应式优化 ===== */
@media (max-width: 768px) {
    /* Hero区域修复 */
    .hero {
        height: 500px;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    /* Products滑动修复 */
    .products-slider-container,
    .exhibition-slider-container {
        position: relative;
        overflow: hidden;
        touch-action: pan-x;
    }
    
    .products-slider,
    .exhibition-slider {
        display: flex;
        transition: transform 0.3s ease;
        gap: 15px;
        padding: 0 20px;
    }
    
    .product-card,
    .detail-card {
        flex: 0 0 280px; /* 固定卡片宽度 */
        max-width: 280px;
        min-height: 320px; /* 控制卡片高度 */
    }
    
    /* 滑动按钮 - 默认隐藏，悬停显示 */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 102, 0, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .products-slider-container:hover .slider-btn,
    .exhibition-slider-container:hover .slider-btn {
        opacity: 1;
        visibility: visible;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slider-btn:hover {
        background: rgba(255, 102, 0, 1);
        transform: translateY(-50%) scale(1.1);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-card {
        min-width: 260px;
    }
    
    .detail-card {
        min-width: 230px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
}
