/* ====== 全局样式 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== 图片懒加载样式 ====== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #f0f0f0;
}

img.lazyloaded {
    opacity: 1;
}

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

/* ====== 容器 ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== 导航栏样式 ====== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.nav-brand i {
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: var(--transition);
    border-radius: 2px;
}

/* ====== 按钮样式 ====== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ====== 页面标题 ====== */
.page-header {
    background: var(--gradient-1);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

/* ====== 分区标题 ====== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ====== 主横幅 ====== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-slider {
    width: 100%;
    position: relative;
    z-index: 1;
}

.slide {
    display: none;
}

.slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 100px;
}

.hero-content {
    text-align: left;
    padding-left: 60px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.hero-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: heroFloat 6s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

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

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

.indicator.active {
    width: 36px;
    border-radius: 6px;
    background: var(--primary-color);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    top: 20px;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.floating-card span {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-icon {
    animation: scrollDown 2s infinite;
}

/* 手机端轮播隐藏 - 电脑端默认隐藏 */
.hero-swiper {
    display: none !important;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ====== 特点卡片 ====== */
.features {
    padding: 80px 0;
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ====== 特点卡片 ====== */
.features {
    padding: 80px 0;
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ====== 数据统计 ====== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85), rgba(118, 75, 162, 0.85)),
                url('/template/default/images/page-header-factory.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

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

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-box .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ====== 产品卡片 ====== */
.products-preview,
.cases {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.product-image {
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    border-radius: 10px;
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
}

.product-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    animation: pulse 2s infinite;
}

.product-badge.new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.product-badge.recommend {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.product-info {
    padding: 2rem;
    position: relative;
}

.product-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--primary-color);
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features-mini {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap; /* 改为nowrap，强制在一行显示 */
}

.product-features-mini span {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap; /* 防止文字换行 */
}

.product-features-mini span i {
    margin-right: 3px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.save {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 1.5rem;
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.product-actions .btn-primary:hover::before {
    left: 0;
}

.product-actions .btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.product-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.section-cta {
    text-align: center;
    margin-top: 2rem; /* 从4rem减小到2rem，使按钮向上移动 */
    padding: 3rem;
    background: var(--gradient-1);
    border-radius: 20px;
    color: #fff;
}

.section-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section-cta .btn {
    background: #fff;
    color: var(--primary-color);
}

/* ====== 产品分类 ====== */
.product-categories {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 32px;
    border: 2px solid transparent;
    background: transparent;
    color: #6c757d;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: visible;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    z-index: -1;
    transform: scale(0.95);
}

.tab-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.tab-btn:hover::before {
    opacity: 0.1;
    transform: scale(1);
}

.tab-btn.active,
.tab-btn:active {
    color: #fff;
    border-color: var(--primary-color);
}

.tab-btn.active::before,
.tab-btn:active::before {
    opacity: 1;
    transform: scale(1);
}

.tab-btn span {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
}

.tab-btn:hover span {
    transform: translateY(-1px);
}

.tab-btn.active span {
    font-weight: 700;
}

/* ====== 产品详情页样式 ====== */
.products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* ====== 产品图片模态框样式 ====== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #f0f0f0;
    padding: 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover,
.close:focus {
    color: #bbb;
}


.product-specs span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: var(--transition);
}

.product-specs span:hover {
    background: var(--primary-color);
    color: #fff;
}

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



.feature-tag {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 147, 120, 0.1) 100%);
    color: var(--success-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(40, 167, 69, 0.2);
    transition: var(--transition);
}

.feature-tag:hover {
    background: var(--success-color);
    color: #fff;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    position: relative;
    display: inline-block;
}

.product-price::before {
    content: '¥';
    font-size: 1.2rem;
    margin-right: 2px;
}

/* ====== 产品对比表格 ====== */
.product-comparison {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

/* 产品卡片悬浮动画 */
.product-card .product-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 3rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-card:hover .product-image::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.product-card .product-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.product-card:hover .product-image img {
    filter: brightness(0.9);
}

.comparison-table {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.comparison-table th {
    color: #fff;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #555;
    transition: background 0.3s ease;
}

.comparison-table tbody tr {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: scale(1.01);
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

/* ====== 案例卡片 ====== */
.case-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.case-content p {
    color: #666;
    font-size: 0.95rem;
}

/* ====== 新闻卡片 ====== */
.news-preview {
    padding: 80px 0;
    background: #fff;
}

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

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* ====== 新闻详情页样式 ====== */
.news-categories {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #dee2e6;
}

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

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 新闻分类徽章美化 */
.news-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.news-category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.news-category-badge:hover::before {
    left: 100%;
}

.news-category-badge i {
    font-size: 1.1rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

.news-meta span {
    color: #999;
    font-size: 0.9rem;
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.news-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: #e9ecef;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.page-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.pagination a:hover,
.page-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* 当前页码高亮样式 - PbootCMS生成的是 <span> 标签 */
.pagination a.active,
.pagination a.current,
.pagination span.active,
.pagination span.current,
.page-btn.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* {page:numbar} 生成的纯数字span（当前页） */
.pagination > span:not([class]):not([class*="page"]):not([class*="dots"]):not([class*="btn"]),
.pagination span:only-of-type {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* 额外的选择器 - 匹配纯数字的span */
.pagination span:empty,
.pagination span:not([class]) {
    border: none;
    background: transparent;
    cursor: default;
}

/* 非当前页的链接样式 */
.pagination > a:not(.page-btn) {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #333;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.pagination > a:not(.page-btn):hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.page-dots {
    display: flex;
    align-items: center;
    color: #999;
}

/* 语言切换按钮样式 */
.lang-switcher {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    margin-left: 10px;
}

.lang-btn {
    padding: 6px 15px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none !important;
}

.lang-btn:first-child {
    border-right: 1px solid #ddd;
}

.lang-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    background: #f8f9fa;
}


/* ====== 关于我们页面 ====== */
.company-intro {
    padding: 80px 0;
    background: #fff;
}

.tab-btn {
    padding: 12px 32px;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 1; /* 确保按钮文本在正确层级 */
    overflow: visible;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}


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

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.intro-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ====== 企业文化 ====== */
.company-culture {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.culture-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.culture-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.culture-card p {
    color: #666;
    line-height: 1.8;
}

/* ====== 发展历程 ====== */
.company-timeline {
    padding: 80px 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-year {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -40px;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-content p {
    color: #666;
}

/* ====== 核心团队 ====== */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.team-member {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    position: relative;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    transform: scale(1.1);
}

/* ====== 荣誉资质 ====== */
.certifications {
    padding: 80px 0;
    background: #fff;
}

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

.cert-item {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.cert-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.cert-item p {
    color: #666;
}

/* ====== 生产实力 ====== */
.production-capacity {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.production-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.production-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.production-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-item span {
    font-weight: 600;
    color: #333;
}

.production-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ====== 联系我们页面 ====== */


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

.contact-card {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ====== 联系表单 ====== */
.contact-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.form-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.form-info p {
    color: #666;
    margin-bottom: 2rem;
}

.form-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* ====== 地图 ====== */
.map-section {
    padding: 80px 0;
    background: #fff;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.map-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

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

.transport-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.transport-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.transport-item h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.transport-item p {
    color: #666;
    font-size: 0.95rem;
}

.map-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.map-placeholder:hover .map-overlay {
    opacity: 1;
}

.map-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-overlay p {
    font-size: 1.2rem;
}

/* 修改产品卡片布局，确保按钮始终在底部 */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-actions {
    margin-top: auto;
    padding-top: 1rem;
}


/* ====== 销售网络 ====== */
.sales-network {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.region-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.region-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.region-card ul {
    list-style: none;
}

.region-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.region-card li i {
    color: var(--primary-color);
}

/* ====== 常见问题 ====== */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* ====== 订阅部分 ====== */
.newsletter-section {
    padding: 60px 0;
    background: var(--gradient-1);
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

/* 移除焦点轮廓线 */
*:focus {
    outline: none;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ====== 页脚 ====== */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-section p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-section ul a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff; /* 确保联系方式文字为白色 */
    background: none; /* 移除背景色 */
    padding: 0; /* 移除内边距 */
    flex-wrap: wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-info i {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-form input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 5px;
}

.footer-form input::placeholder {
    color: #aaa;
}

.footer-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
}

/* ====== 响应式设计 ====== */
@media (max-width: 1024px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-content,
    .production-content,
    .form-content,
    .map-content {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .intro-text,
    .intro-image {
        min-width: 0;
        overflow: hidden;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 80px;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: -10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        z-index: 1001 !important;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu li {
        margin: 0;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        width: 100%;
        color: #333;
        cursor: pointer;
        pointer-events: auto;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        z-index: 1002;
    }

    .nav-link:hover,
    .nav-link:active {
        background-color: #f8f9fa;
        color: var(--primary-color);
    }

    .nav-link:visited {
        color: #333;
    }

    .lang-switcher {
        display: flex;
        justify-content: center;
        margin: 15px 0 0;
    }

    .lang-btn {
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger span {
        pointer-events: auto;
    }

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

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

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

    .hero-slider {
        display: none;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 0 !important;
        margin: 70px 0 0 0;
        align-items: stretch;
        overflow: visible;
        background: transparent;
        display: block;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-swiper {
        display: block !important;
    }

    .swiper {
        width: 100%;
        height: 250px;
    }

    .swiper-slide {
        position: relative;
        overflow: hidden;
    }

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        padding: 30px 20px 20px;
        color: #fff;
    }

    .swiper-caption h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .swiper-caption p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .swiper-pagination-bullet {
        background: #fff;
    }

    .swiper-pagination-bullet-active {
        background: var(--primary-color);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-content > .footer-section {
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .footer-content > .footer-section:nth-child(2),
    .footer-content > .footer-section:nth-child(3) {
        flex: 0 0 calc(50% - 1rem);
        width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .footer-content {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem;
    }

    .footer-content > .footer-section {
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .footer-content > .footer-section:nth-child(2),
    .footer-content > .footer-section:nth-child(3) {
        flex: 0 0 calc(50% - 0.5rem);
        width: calc(50% - 0.5rem);
    }

    .nav-brand h1 {
        font-size: 1.4rem;
    }

    /* ====== 公司简介手机端 ====== */
    .company-intro {
        padding: 40px 0;
    }

    .intro-content {
        gap: 2rem;
        min-width: 0;
    }

    .intro-text,
    .intro-image {
        min-width: 0;
        overflow: hidden;
    }

    .intro-text h2 {
        font-size: 1.4rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .intro-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .products-grid,
    .cases-grid,
    .news-grid,
    .team-grid,
    .cert-grid,
    .network-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-header {
        padding: 80px 0 60px;
    }
}

/* ====== 案例徽章和结果 ====== */
.case-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-1);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-results {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.case-results span {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap; /* 防止换行 */
    overflow-x: auto; /* 如果内容过多，允许水平滚动 */
    padding-bottom: 5px; /* 给滚动条留出一点空间 */
}


.case-results span i {
    margin-right: 3px;
}

/* ====== 合作品牌 ====== */
.case-logos {
    margin-top: 4rem;
    text-align: center;
}

.case-logos h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.case-logos h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.logo-item {
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    opacity: 1;
}

.logo-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ====== 客户评价 ====== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #999;
    font-size: 0.9rem;
}

/* ====== 为什么选择我们 ====== */
.why-choose-us {
    padding: 100px 0;
    background: #fff;
}

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

.why-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.why-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.why-text > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: var(--transition);
}

.why-item:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.why-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.why-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.why-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

/* ====== CTA部分 ====== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
}

.cta-content > * {
    min-width: 0;
    overflow: hidden;
}

.cta-text {
    color: #fff;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-features li i {
    color: #4facfe;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    overflow: hidden;
}

.cta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.cta-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
}

/* 扫码咨询二维码样式 */
.qr-code-container {
    text-align: center;
}

.footer-section:last-child h3 {
    text-align: center;
}

.footer-section:last-child h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.qr-code {
    width: 150px;
    height: 150px;
    padding: 10px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.qr-code-container p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}


.cta-phone {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: block;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.cta-card .btn {
    background: #fff;
    color: var(--primary-color);
    width: 100%;
}

.cta-card .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* ====== 新闻徽章 ====== */
.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    z-index: 10;
}

.news-badge.new {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.news-meta span {
    color: #999;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.news-meta i {
    color: var(--primary-color);
}

/* ====== 响应式增强 ====== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .cta-actions {
        gap: 1rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-grid {
        gap: 1.5rem;
    }
    
    .logo-item {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .why-text h2 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        gap: 1.5rem;
    }

    .cta-text h2 {
        font-size: 1.6rem;
    }

    .cta-text > p {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 1.3rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .cta-phone {
        font-size: 1.3rem;
        word-break: break-all;
    }

    .cta-card h3 {
        font-size: 1.1rem;
    }

    .cta-card .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        white-space: nowrap;
    }
    
    .why-item:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-item:hover {
        transform: translateY(-5px);
    }
    
    .cta-section {
        padding: 40px 0;
    }

    .cta-content {
        gap: 1rem;
    }

    .cta-text h2 {
        font-size: 1.3rem;
    }

    .cta-text > p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta-features {
        gap: 0.5rem;
    }

    .cta-features li {
        font-size: 0.85rem;
    }

    .cta-actions {
        gap: 0.8rem;
    }

    .cta-card {
        padding: 1rem;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        min-width: 0;
    }

    .cta-card h3 {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .cta-phone {
        font-size: 1.1rem;
        word-break: break-all;
    }

    .cta-desc {
        font-size: 0.85rem;
    }

    .cta-card .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        white-space: nowrap;
        width: 100%;
    }

    .cta-card p {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .case-results {
        justify-content: center;
    }
}

    /* 产品详情页响应式样式 */
    @media (max-width: 1024px) {
        .product-detail-grid {
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }

        .product-detail-grid > div:first-child {
            order: 1;
        }

        .product-detail-grid > div:last-child {
            order: 2;
        }
    }

    @media (max-width: 768px) {
        .product-detail-grid {
            grid-template-columns: 1fr !important;
            gap: 2rem !important;
        }

        .product-detail-grid > div:first-child {
            order: 1;
        }

        .product-detail-grid > div:last-child {
            order: 2;
        }

        .product-detail-info h1 {
            font-size: 1.6rem !important;
        }

        .product-detail-info > div:nth-child(3) {
            flex-direction: column !important;
        }

        .product-detail-info > div:nth-child(3) > div {
            min-width: 100% !important;
        }

        .product-detail-info > div:nth-child(7) {
            flex-direction: column !important;
        }

        .product-detail-info > div:nth-child(7) > a {
            min-width: 100% !important;
        }

        .specs-table-container {
            padding: 1rem !important;
        }
    }

    @media (max-width: 480px) {
        .product-detail-info h1 {
            font-size: 1.4rem !important;
        }

        .product-detail-grid > div:first-child > div:first-child {
            height: 300px !important;
        }

        .specs-table-container table td {
            padding: 0.8rem !important;
            font-size: 0.9rem !important;
        }
    }

    /* 针对小屏幕的强制单列布局 */
    @media (max-width: 900px) {
        .product-detail-grid {
            display: flex !important;
            flex-direction: column !important;
        }

        .product-detail-grid > div:first-child {
            width: 100% !important;
        }

        .product-detail-grid > div:last-child {
            width: 100% !important;
        }
    }
.dqdh a{
    color: var(--primary-color); text-decoration: none;
}
