/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; 
}

:root {
    --primary-color: #674893;
    --secondary-color: #5a3d7d;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #E4E3E3;
    --bg-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-right: env(safe-area-inset-right);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding-top: var(--safe-area-inset-top);
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
}

.logo {
    margin-left: -10px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(103, 72, 147, 0.2);
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    position: relative;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    z-index: 2;
}

.hero-slide.prev {
    transform: translate3d(-100%, 0, 0);
    opacity: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Hero Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-gray);
}

/* 产品区域全宽优化 */
#products.section {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

#products .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

#products .section-title {
    padding: 0 2rem;
    margin-bottom: 3rem;
    max-width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 产品服务 - 美式风格展示 */
.products-card-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
    width: 100%;
    margin: 0;
    max-width: 100%;
}

.product-card-modern {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 500px;
    position: relative;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 72, 147, 0.03) 0%, rgba(90, 61, 125, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card-modern:hover {
    transform: translateY(-12px) translateZ(0);
    box-shadow: 
        0 20px 60px rgba(103, 72, 147, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(103, 72, 147, 0.1),
        0 0 80px rgba(103, 72, 147, 0.08);
}

.product-card-modern:hover::before {
    opacity: 1;
}

/* 产品卡片图片区域 - 大图展示 */
.product-card-image-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8f7f7 100%);
    margin: 0;
    padding: 0;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    z-index: 2;
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8f7f7 100%);
    cursor: pointer;
    border-radius: 24px 0 0 24px;
    padding: 0;
    margin: 0;
}

.product-card-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    display: block;
}

.product-card-modern:hover .product-card-main-image {
    transform: scale(1.03);
}

.product-card-main-image.fade-out {
    opacity: 0;
    transform: scale(0.98);
}

.product-card-main-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-card-modern:hover .product-image-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.product-quick-view {
    background: white;
    color: var(--text-color);
    border: none;
    padding: 14px 32px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    pointer-events: all;
}

.product-card-modern:hover .product-quick-view {
    transform: translateY(0);
}

.product-quick-view:hover {
    background: var(--primary-color);
    color: white;
}

.product-quick-view span {
    font-size: 1.1rem;
}

.product-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 卡片缩略图 - 叠加在大图上 */
.product-card-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 0;
    max-width: 90%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 鼠标悬浮时显示箭头 */
.product-card-thumbnails:hover .thumb-nav-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* 触摸设备上始终显示箭头（移动端） */
@media (hover: none) and (pointer: coarse) {
    .product-card-thumbnails .thumb-nav-btn {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
}

/* 缩略图滚动容器 */
.thumbnails-scroll-container {
    display: flex;
    gap: 0.6rem;
    padding: 6px 8px;
    overflow: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.thumbnails-scroll-container::-webkit-scrollbar {
    display: none;
}

/* 缩略图导航按钮 */
.thumb-nav-btn {
    position: relative;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(103, 72, 147, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 11;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.thumb-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(103, 72, 147, 0.3);
}

.thumb-nav-btn:active {
    transform: scale(0.95);
}

.thumb-nav-prev {
    margin-left: 8px;
}

.thumb-nav-next {
    margin-right: 8px;
}

.product-card-thumbnails::-webkit-scrollbar {
    display: none;
}

.card-thumb {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.card-thumb:hover {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.2);
}

.card-thumb.active {
    border-color: rgba(103, 72, 147, 0.5);
    opacity: 1;
    border-width: 2.5px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 6px rgba(103, 72, 147, 0.12);
    transform: scale(1.08);
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品卡片内容 - 美式简洁风格 */
.product-card-body {
    padding: 4rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    background: var(--white);
    width: 50%;
    border-radius: 0 24px 24px 0;
}

.product-card-title {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.product-card-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 0;
    font-size: 1.05rem;
    max-width: 100%;
    text-align: center;
}

.product-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    width: 100%;
}

.feature-tag {
    background: transparent;
    color: var(--text-color);
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--text-light);
    padding-bottom: 2px;
}

.feature-tag:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.product-card-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 0;
    justify-content: center;
    width: 100%;
}

.product-card-btn {
    flex: 0 1 auto;
    padding: 14px 40px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
    text-decoration: none;
    display: inline-block;
}

.product-card-btn-primary {
    background: var(--primary-color);
    color: white;
}

.product-card-btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 72, 147, 0.3);
}

.product-card-btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-light);
}

.product-card-btn-secondary:hover {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
    transform: translateY(-2px);
}

/* 产品服务 - 苹果风格（保留备用） */
.section-dark {
    background: var(--bg-light);
    color: var(--text-color);
}

.section-dark .section-title {
    color: var(--text-color);
}

.section-dark .section-title::after {
    background: var(--primary-color);
}

/* 现代产品展示风格 - 轮播图 */
.modern-product-showcase {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

/* 轮播图容器 */
.product-carousel-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.product-carousel-container {
    position: relative;
    width: 100%;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* 轮播图幻灯片容器 */
.carousel-slides {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.carousel-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* 轮播导航按钮 */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 10;
    opacity: 0;
    font-weight: 300;
    line-height: 1;
}

.product-carousel-container:hover .carousel-nav-btn {
    opacity: 1;
}

.carousel-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 24px rgba(103, 72, 147, 0.5);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* 轮播控制栏 */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-play-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.carousel-play-pause:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-play-pause.playing .play-icon {
    display: none;
}

.carousel-play-pause:not(.playing) .pause-icon {
    display: none;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: white;
    width: 24px;
    height: 10px;
    border-radius: 5px;
}

.carousel-counter {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

/* 缩略图导航 */
.product-thumbnails-wrapper {
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.product-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumb:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(103, 72, 147, 0.3);
}

.product-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(103, 72, 147, 0.4);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-thumb:hover img {
    transform: scale(1.1);
}

/* 产品信息区域 */
.product-info-section {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-description h3,
.product-features h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.product-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* 苹果风格产品展示 */
.apple-product {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.apple-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.apple-product-title {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -2px;
    color: var(--text-color);
    margin: 0;
}

.apple-product-actions {
    display: flex;
    gap: 1rem;
}

.apple-btn {
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.apple-btn-secondary {
    background: var(--bg-gray);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.apple-btn-secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.apple-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.apple-btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 72, 147, 0.4);
}

.apple-product-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
    padding: 0 2rem;
}

.apple-product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.apple-feature-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s;
}

.apple-feature-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.apple-feature-item.active .apple-feature-icon {
    transform: rotate(45deg);
}

.apple-feature-item.active .apple-feature-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.apple-feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.apple-feature-icon {
    font-size: 1.5rem;
    font-weight: 300;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    color: var(--text-color);
}

.apple-feature-title {
    flex: 1;
    font-weight: 400;
}

.apple-feature-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.apple-feature-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
    line-height: 1.6;
}

.apple-feature-content p {
    margin: 0;
}

.apple-feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apple-feature-content ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.apple-feature-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 图片选择器 */
.apple-image-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.apple-image-thumb {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
}

.apple-image-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.apple-image-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.apple-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品大图展示 */
.apple-product-display {
    position: sticky;
    top: 100px;
    height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-product-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apple-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.apple-product-image.fade-out {
    opacity: 0;
}

.apple-product-image.fade-in {
    opacity: 1;
}

/* 轮播图响应式 */
@media (max-width: 991px) {
    .product-carousel-container {
        padding: 2rem;
    }
    
    .carousel-slides {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-nav-btn {
        opacity: 1;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .product-info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .modern-product-showcase {
        padding: 1rem;
    }
    
    .product-carousel-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .carousel-slides {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-controls {
        bottom: 20px;
        padding: 10px 18px;
        gap: 1rem;
    }
    
    .carousel-play-pause {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicator.active {
        width: 20px;
        height: 8px;
    }
    
    .carousel-counter {
        font-size: 0.85rem;
    }
    
    .product-thumb {
        width: 80px;
        height: 80px;
    }
    
    .product-thumbnails {
        gap: 0.75rem;
        padding: 0.5rem;
    }
    
    .product-info-section {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .product-description h3,
    .product-features h3 {
        font-size: 1.3rem;
    }
}

/* 苹果风格产品展示 - 响应式 */
@media (max-width: 991px) {
    .apple-product-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .apple-product-display {
        position: relative;
        height: 60vh;
        min-height: 400px;
    }
    
    .apple-product-title {
        font-size: 2.5rem;
    }
    
    .apple-product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .apple-product {
        padding: 60px 0;
        min-height: auto;
    }
    
    .apple-product-title {
        font-size: 2rem;
    }
    
    .apple-product-content {
        padding: 0 1rem;
    }
    
    .apple-product-header {
        padding: 0 1rem;
    }
    
    .apple-image-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apple-product-display {
        height: 50vh;
        min-height: 300px;
    }
}

/* 响应式设计 - 美式风格产品展示 */
@media (max-width: 1199px) {
    .products-card-grid {
        gap: 2rem;
        padding: 0 2rem;
    }
}

@media (max-width: 991px) {
    .products-card-grid {
        gap: 2rem;
        padding: 0 1.5rem;
        width: 100%;
        margin: 0;
    }
    
    .product-card-modern {
        flex-direction: row;
        border-radius: 20px;
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.08),
            0 3px 10px rgba(0, 0, 0, 0.04);
    }
    
    .product-card-modern:hover {
        transform: translateY(-8px) translateZ(0);
        box-shadow: 
            0 16px 48px rgba(103, 72, 147, 0.12),
            0 8px 24px rgba(0, 0, 0, 0.08);
    }
    
    .product-card-image-section {
        width: 50%;
        border-radius: 20px 0 0 20px;
    }
    
    .product-card-image-wrapper {
        min-height: 450px;
        border-radius: 20px 0 0 20px;
    }
    
    .product-card-body {
        width: 50%;
        padding: 3rem 2rem 2.5rem;
        border-radius: 0 20px 20px 0;
        text-align: center;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-card-title {
        font-size: 1.875rem;
        text-align: center;
    }
    
    .product-card-description {
        font-size: 1rem;
        max-width: 100%;
        text-align: center;
    }
    
    .product-card-features {
        justify-content: center;
    }
    
    .product-card-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    #products .section-title {
        padding: 0 1rem;
    }
    
    .products-card-grid {
        gap: 1.5rem;
        padding: 0 1rem;
        width: 100%;
        margin: 0;
    }
    
    .product-card-modern {
        border-radius: 16px;
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(0, 0, 0, 0.04);
    }
    
    .product-card-modern:hover {
        transform: translateY(-6px) translateZ(0);
        box-shadow: 
            0 12px 36px rgba(103, 72, 147, 0.12),
            0 6px 20px rgba(0, 0, 0, 0.08);
    }
    
    .product-card-image-wrapper {
        height: 350px;
    }
    
    .product-card-modern {
        flex-direction: column;
        min-height: auto;
    }
    
    .product-card-image-section {
        width: 100%;
        margin-bottom: 0;
        border-radius: 16px 16px 0 0;
    }
    
    .product-card-image-wrapper {
        min-height: 350px;
        border-radius: 16px 16px 0 0;
    }
    
    .product-card-body {
        width: 100%;
        padding: 2rem 1.5rem;
        border-radius: 0 0 16px 16px;
        text-align: center;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-card-title {
        text-align: center;
    }
    
    .product-card-description {
        text-align: center;
    }
    
    .product-card-features {
        justify-content: center;
    }
    
    .product-card-actions {
        justify-content: center;
    }
    
    .product-card-thumbnails {
        max-width: 95%;
        bottom: 15px;
    }
    
    .thumbnails-scroll-container {
        padding: 10px 6px;
        gap: 0.5rem;
    }
    
    .thumb-nav-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 16px;
    }
    
    .thumb-nav-prev {
        margin-left: 4px;
    }
    
    .thumb-nav-next {
        margin-right: 4px;
    }
    
    .card-thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-card-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .product-card-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .product-card-features {
        margin-bottom: 1.5rem;
    }
    
    .product-card-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-card-btn {
        width: 100%;
        min-width: auto;
    }
    
    .product-image-badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .product-quick-view {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .product-card-image-wrapper {
        height: 280px;
    }
    
    .product-card-title {
        font-size: 1.5rem;
    }
    
    .card-thumb {
        width: 50px;
        height: 50px;
    }
}

/* 产品服务 - 旧版样式保留（备用） */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(103, 72, 147, 0.15);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 产品图片样式 - 优化版 */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* 图片遮罩层 */
.product-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-image-wrapper::after {
    opacity: 1;
}

/* 图片数量标签 - 优化版 */
.product-image-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: all 0.3s;
}

.product-image-count::before {
    content: '📷';
    font-size: 1rem;
}

.product-card:hover .product-image-count {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(103, 72, 147, 0.25);
}

/* 产品信息区域 */
.product-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

.product-card:hover h3 {
    color: var(--primary-color);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    font-size: 0.95rem;
    flex: 1;
}

/* 产品按钮优化 */
.product-card .btn {
    width: 100%;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(103, 72, 147, 0.3);
}

.product-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

.product-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 72, 147, 0.4);
}

.product-card .btn:active {
    transform: translateY(0);
}

/* 产品标签（可选） */
.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 产品画廊模态框 */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s;
}

.gallery-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
}

.gallery-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-gray);
}

.gallery-header h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.gallery-counter {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.gallery-main {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 400px;
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-gray);
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--secondary-color);
}

/* 联系我们 */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(103, 72, 147, 0.15);
}

.contact-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.contact-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 多端响应式断点 ==================== */

/* 超大桌面 (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* 桌面端 (1200px - 1399px) - 默认样式 */

/* 小桌面/大平板 (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .about-content,
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
}

/* iPad 横屏 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-content {
        max-width: 900px;
        padding: 0 3rem;
    }
    
    .carousel-nav {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .carousel-prev {
        left: 25px;
    }
    
    .carousel-next {
        right: 25px;
    }
}

/* 平板横屏 (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About Us 平板优化 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-stats {
        order: 2;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* iPad 竖屏优化 */
    @media (orientation: portrait) {
        .hero {
            min-height: 70vh;
        }
        
        .hero-content {
            padding: 0 2rem;
        }
        
        .about-content {
            gap: 2.5rem;
        }
    }
    
    /* iPad 横屏优化 */
    @media (orientation: landscape) {
        .about-content {
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }
        
        .about-stats {
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }
    }
}

/* 平板竖屏/大手机 (576px - 767px) */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(70px + var(--safe-area-inset-top));
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
        max-height: calc(100vh - 70px - var(--safe-area-inset-top));
        overflow-y: auto;
        z-index: 9999;
        /* iOS 安全区域 */
        padding-left: var(--safe-area-inset-left);
        padding-right: var(--safe-area-inset-right);
    }

    .nav-menu.active {
        left: 0 !important;
    }
    
    /* 确保菜单项可见 */
    .nav-menu li {
        list-style: none;
        padding: 1rem 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .hero {
        margin-top: calc(70px + var(--safe-area-inset-top));
        min-height: calc(100vh - 70px - var(--safe-area-inset-top));
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }

    .about-content,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* 优化触摸目标大小 */
    .btn {
        min-height: 44px; /* iOS 推荐的最小触摸目标 */
        padding: 14px 30px;
    }
    
    .nav-link {
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 手机端 (480px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding-left: 5px;
    }
    
    .logo {
        margin-left: -5px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    /* 移动端触摸优化 */
    .carousel-nav {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .indicator {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 微信浏览器优化 */
html[data-wechat] {
    /* 微信浏览器全局优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* iOS 微信浏览器（WKWebView）优化 */

html[data-wechat-ios] .hero-carousel {
    /* 优化 iOS 微信的滚动性能 */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

html[data-wechat-ios] .hero-slide {
    /* iOS 微信硬件加速优化 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

html[data-wechat-ios] body {
    /* 禁用 iOS 微信下拉刷新 */
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

/* Android 微信浏览器（X5内核）优化 */

html[data-wechat-android] .hero-carousel {
    /* X5内核强制硬件加速 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

html[data-wechat-android] .hero-slide {
    /* X5内核优化动画性能 */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

html[data-wechat-android] body {
    /* X5内核字体渲染优化 */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html[data-wechat-android] .carousel-nav,
html[data-wechat-android] .indicator {
    /* X5内核触摸优化 */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
}

/* 小程序环境优化 */
@media (max-width: 767px) {
    /* 微信小程序 WebView */
    html[data-miniprogram] .hero-carousel,
    html[data-wechat] .hero-carousel {
        /* 禁用自动播放（小程序可能有限制） */
        --auto-play-disabled: true;
    }
    
    /* 小程序触摸优化 */
    html[data-miniprogram] .carousel-nav,
    html[data-miniprogram] .indicator {
        touch-action: pan-y;
    }
    
    /* 微信浏览器移动端优化 */
    html[data-wechat] .hero {
        /* 微信浏览器安全区域适配 */
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    html[data-wechat-ios] .hero-content {
        /* iOS 微信内容区域优化 */
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    html[data-wechat-android] .hero-content {
        /* Android 微信内容区域优化 */
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 超小屏幕 (320px - 479px) */
@media (max-width: 479px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .carousel-nav {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .indicator.active {
        width: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .product-card,
    .news-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 横屏适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* iOS 特定优化 */
@supports (-webkit-touch-callout: none) {
    .hero {
        /* iOS Safari 视口高度修复 */
        min-height: -webkit-fill-available;
    }
    
    body {
        /* iOS 下拉刷新优化 */
        overscroll-behavior-y: contain;
    }
}

/* Android 特定优化 */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    /* 高DPI设备优化 */
    .product-icon,
    .contact-icon {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备样式 */
    .btn:hover,
    .product-card:hover,
    .news-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .product-card:active,
    .news-card:active {
        transform: scale(0.98);
    }
}

/* 产品画廊移动端适配 */
@media (max-width: 767px) {
    .gallery-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 1rem;
    }
    
    .gallery-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .gallery-header h2 {
        font-size: 1.3rem;
    }
    
    .gallery-main {
        min-height: 300px;
    }
    
    .gallery-image-container img {
        max-height: 50vh;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-image-wrapper {
        height: 240px;
    }
    
    .product-card-content {
        padding: 1.5rem;
    }
    
    .product-card h3 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .btn,
    .hamburger {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        height: auto;
        page-break-after: always;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

