/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 确保移动端视口正确 */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* 移动端性能优化 */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero-slider .slide {
        will-change: opacity;
    }
    
    .service-card,
    .product-card,
    .quick-link-card {
        will-change: transform;
    }
}

/* 移动端触摸优化 */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .slider-btn,
    .indicator,
    .language-btn,
    .language-option,
    .search-btn,
    .quick-link-card,
    .product-card,
    .service-card,
    .contact-item,
    .qr-code-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn {
        touch-action: manipulation;
    }
    
    .nav-link {
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-btn {
        min-width: 50px;
        min-height: 50px;
    }
    
    .indicator {
        min-width: 12px;
        min-height: 12px;
    }
    
    .language-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .language-option {
        min-height: 44px;
        padding: 1rem;
    }
    
    .search-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .quick-link-card {
        min-height: 120px;
    }
    
    .product-card,
    .service-card {
        min-height: 200px;
    }
    
    .contact-item {
        min-height: 60px;
    }
    
    .qr-code-item {
        min-height: 120px;
    }
    
    /* 移动端特定的视觉优化 */
    .hero-slider .slide {
        background-attachment: scroll; /* 移动端禁用视差效果 */
    }
    
    /* 改善移动端文字可读性 */
    .hero-title,
    .hero-subtitle,
    .section-header h2,
    .section-header p,
    .about-text h3,
    .about-text p,
    .service-card h3,
    .service-card p,
    .product-content h3,
    .product-content p,
    .quick-link-card h4,
    .quick-link-card p,
    .contact-details h4,
    .contact-details p,
    .qr-code-item h4,
    .qr-code-item p {
        text-shadow: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* 移动端阴影优化 */
    .service-card,
    .product-card,
    .quick-link-card,
    .contact-item,
    .qr-code-item {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover,
    .product-card:hover,
    .quick-link-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* 移动端按钮优化 */
    .btn {
        border-radius: 25px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    /* 移动端图片优化 */
    .about-img,
    .product-image img,
    .qr-code-image {
        border-radius: 12px;
    }
    
    /* 移动端间距优化 */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .about,
    .services,
    .products,
    .contact {
        padding: 50px 0;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 汉堡菜单动画 */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 语言选择器样式 */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.language-btn i {
    font-size: 0.8rem;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    display: none;
    z-index: 1001;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background: #f9fafb;
}

.language-option .flag {
    font-size: 1.2rem;
}

.language-option span:last-child {
    font-size: 0.9rem;
    color: #374151;
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

/* 轮播背景 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* 轮播控制按钮 */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播指示器 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 轮播图样式 */
.banner-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.3);
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 搜索功能样式 */
.search-section {
    margin: 2rem 0;
    position: relative;
}

.search-box {
    display: flex;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: #2563eb;
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.search-suggestion-item:hover {
    background-color: #f8fafc;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}




/* 阿拉伯语RTL支持 */
[data-lang="ar"] {
    direction: rtl;
    text-align: right;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* 通用部分样式 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    filter: brightness(1.02) contrast(1.05);
    opacity: 0;
    animation: fadeInImage 0.6s ease-out forwards;
}

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

.about-img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05) contrast(1.08);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.8rem;
}

.product-content p {
    color: #6b7280;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 产品快捷链接 */
.product-quick-links {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.quick-links-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quick-links-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.quick-links-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.quick-link-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-height: 200px;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.quick-link-card:hover .category-bg {
    opacity: 0.6;
}

.car-category .category-bg {
    background-image: url('images/0_1.png');
}

.motorcycle-category .category-bg {
    background-image: url('images/0.2.png');
}

.gear-category .category-bg {
    background-image: url('images/332.jpg');
}

.quick-link-icon,
.quick-link-content,
.quick-link-arrow {
    position: relative;
    z-index: 3;
}

/* 确保quick-link-content中的文字始终可见 */
.quick-link-content {
    color: #1f2937 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.quick-link-content h4,
.quick-link-content p {
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* 确保卡片有足够的对比度 */
.quick-link-card {
    background: rgba(255, 255, 255, 0.95);
}

.quick-link-card:hover {
    background: rgba(255, 255, 255, 0.98);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.quick-link-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937 !important;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: #6b7280 !important;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quick-link-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-arrow {
    transform: translateX(5px);
}

.view-all-products {
    text-align: center;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large i {
    font-size: 1.2rem;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-section {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    height: fit-content;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.4;
}

.qr-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.qr-code-item {
    text-align: center;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qr-code-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.qr-code-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border: 2px solid #e5e7eb;
}

.qr-code-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.qr-code-item p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav-logo .logo-image {
        height: 45px;
        max-width: 120px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .language-selector {
        margin: 1rem auto 0;
    }
    
    .language-dropdown {
        position: absolute;
        right: 0;
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid #e5e7eb;
        margin-top: 0.5rem;
        background: white;
        border-radius: 15px;
        min-width: 200px;
        z-index: 1000;
    }

    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-container {
        padding: 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .search-section {
        margin: 1.5rem 0;
    }
    
    .search-box {
        max-width: 100%;
        border-radius: 25px;
    }
    
    .search-input {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .search-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .slider-controls {
        display: none;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }

    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        max-width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h4 {
        font-size: 2rem;
    }

    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }

    .products {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-content {
        padding: 1.2rem;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
    
    .product-content p {
        font-size: 0.9rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-link-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .quick-link-card h4 {
        font-size: 1.2rem;
    }
    
    .quick-link-card p {
        font-size: 0.9rem;
    }

    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }

    .qr-codes-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .qr-code-image {
        width: 100px;
        height: 100px;
    }
    
    .qr-code-item {
        padding: 1rem;
    }
    
    .qr-code-item h4 {
        font-size: 1rem;
    }
    
    .qr-code-item p {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 55px;
    }
    
    .nav-logo .logo-image {
        height: 40px;
        max-width: 100px;
    }

    .hero {
        min-height: 70vh;
        padding-top: 55px;
    }
    
    .hero-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .search-box {
        border-radius: 20px;
    }
    
    .search-input {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn {
        max-width: 250px;
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }

    .about {
        padding: 50px 0;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-item h4 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }

    .services {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .products {
        padding: 50px 0;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-content h3 {
        font-size: 1rem;
    }
    
    .product-content p {
        font-size: 0.85rem;
    }
    
    .product-image {
        height: 200px;
    }

    .quick-link-card {
        padding: 1.2rem;
        min-height: 160px;
    }
    
    .quick-link-card h4 {
        font-size: 1.1rem;
    }
    
    .quick-link-card p {
        font-size: 0.85rem;
    }
    
    .quick-link-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact {
        padding: 50px 0;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .contact-details h4 {
        font-size: 0.95rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }

    .qr-codes-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .qr-code-image {
        width: 80px;
        height: 80px;
    }
    
    .qr-code-item {
        padding: 0.8rem;
    }
    
    .qr-code-item h4 {
        font-size: 0.9rem;
    }
    
    .qr-code-item p {
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section li a {
        font-size: 0.85rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 产品页面样式 */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

/* 消息页面样式 */
.news-nav {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.news-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.news-section {
    padding: 80px 0;
    background: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover .news-overlay {
    opacity: 1;
}

.news-info {
    padding: 2rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.news-category {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-info p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 消息详情页面样式 */
.news-detail {
    padding: 120px 0 80px;
    background: #f8fafc;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-summary {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

.news-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem;
}

.news-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.news-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.news-content li {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.product-nav {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.products-section {
    padding: 80px 0;
    background: #f8fafc;
}

.product-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.product-info p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* 产品详情页面样式 */
.product-detail {
    padding: 120px 0 80px;
    background: #f8fafc;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder.large {
    width: 400px;
    height: 400px;
    font-size: 8rem;
}

.image-placeholder.small {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.product-info-detail h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.product-info-detail p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.product-features i {
    color: #10b981;
    font-size: 1.2rem;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-placeholder.large {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }
    
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .qr-codes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .qr-code-image {
        width: 100px;
        height: 100px;
    }
    
    .qr-code-item {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

