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

:root {
    --primary-green: #0a7c54;
    --dark-green: #086344;
    --accent-yellow: #fdb913;
    --dark-blue: #2c5f7a;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-gray: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===== 头部导航 ===== */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: auto;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    transform: none !important;
    animation: none !important;
}

.logo-placeholder-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: 2px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6914;
    font-size: 10px;
    font-weight: 700;
}

.brand-name {
    font-size: 22px;
    font-weight: 600;
    color: #C7891B;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 45px;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

.main-nav a:hover {
    color: #C7891B;
}

.main-nav a.active {
    color: #C7891B;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #C7891B;
    border-radius: 2px 2px 0 0;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-download {
    padding: 10px 28px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #e5a711;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 185, 19, 0.3);
}

.btn-service {
    padding: 10px 28px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-service:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 124, 84, 0.3);
}

/* ===== Hero 轮播区域 ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5f7a 0%, #1e4558 100%);
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* 轻微遮罩层 - 确保文字清晰但不遮盖图片 */
.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* 第一张：药王.淼立通 - 能量水产品（蓝色） */
.slide-bg-1 {
    background-image: url('../images/hero-bg-1.jpg');
    background-color: #2c5f7a;
}

.slide-bg-1::before {
    background: linear-gradient(to right, rgba(44, 95, 122, 0.6) 0%, rgba(44, 95, 122, 0.4) 50%, rgba(44, 95, 122, 0.2) 100%);
}

/* 第二张：药王足康宝 - 足浴包产品（暖色调） */
.slide-bg-2 {
    background-image: url('../images/hero-bg-2.png');
    background-color: #f5e6d3;
}

.slide-bg-2::before {
    background: linear-gradient(to right, rgba(139, 90, 43, 0.6) 0%, rgba(139, 90, 43, 0.4) 50%, rgba(139, 90, 43, 0.2) 100%);
}

/* 第三张：烟愈系列 - 科技感（青色科技） */
.slide-bg-3 {
    background-image: url('../images/hero-bg-3.png');
    background-color: #0a7c84;
}

.slide-bg-3::before {
    background: linear-gradient(to right, rgba(10, 124, 132, 0.6) 0%, rgba(10, 124, 132, 0.4) 50%, rgba(10, 124, 132, 0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content .container {
    margin-left: 200px;
    padding-left: 0;
}

.hero-text {
    max-width: 650px;
    margin-left: 0;
    padding-left: 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-hero-buy {
    padding: 14px 40px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero-buy:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 124, 84, 0.4);
}

.btn-hero-app {
    padding: 14px 40px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero-app:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 0;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-yellow);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* 轮播箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

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

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

.dot.active {
    background: var(--accent-yellow);
    width: 12px;
}

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

/* 购物车图标 - 已移除 */

/* ===== 通用区块样式 ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 50px;
}

/* ===== 产品分类 ===== */
.categories {
    background: var(--bg-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.category-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e8f5f1 0%, #d4eee7 100%);
    border: 2px dashed var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 600;
}

.category-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.category-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== 促销横幅 ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 30px 0;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.promo-left h3 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.promo-left p {
    font-size: 14px;
    opacity: 0.9;
}

.promo-benefits {
    display: flex;
    gap: 15px;
    align-items: center;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 185, 19, 0.2);
    border-radius: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(253, 185, 19, 0.3));
}

.benefit-content {
    flex: 1;
}

.benefit-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.2;
}

.benefit-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.3;
}

.btn-promo {
    padding: 12px 35px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(253, 185, 19, 0.4);
}

/* ===== 产品列表 ===== */
.products {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    color: white;
}

.product-badge.hot {
    background: #ff4757;
}

.product-badge.new {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-img-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 14px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-spec {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--accent-yellow);
    font-size: 12px;
}

.rating-text {
    font-size: 12px;
    color: var(--text-gray);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: #ff4757;
}

.price-original {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-cart {
    padding: 6px 16px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-cart:hover {
    background: var(--dark-green);
}

.load-more-section {
    text-align: center;
}

.btn-load-more {
    padding: 12px 50px;
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-load-more:hover {
    background: var(--primary-green);
    color: white;
}

/* ===== 社区服务 ===== */
.community {
    background: var(--bg-gray);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-bg-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.image-placeholder-large {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f5f1 0%, #d4eee7 100%);
    border: 2px dashed var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 600;
}

.stats-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-gray);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.service-text h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.service-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== 服务客户 ===== */
.clients {
    background: var(--bg-white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.client-logo {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 10px;
    box-sizing: border-box;
}

.client-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.client-logo-placeholder {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    background: var(--bg-gray);
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.client-logo-placeholder:hover {
    transform: scale(1.05);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* ===== 关于我们 ===== */
.about {
    background: var(--bg-gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h3 {
    font-size: 28px;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-box p {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
}

/* ===== 工厂实力 ===== */
.factory {
    background: var(--bg-white);
}

/* 企业文化卡片 */
.culture-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 10px 0;
}

.culture-card {
    background: white;
    border-radius: 12px;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.culture-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #e8f5f1 0%, #d4eee7 100%);
}

.culture-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f5f1 0%, #d4eee7 100%);
    border: 2px dashed var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
}

.culture-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.culture-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.factory-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.factory-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.factory-img-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #d4eee7 0%, #b8e6d5 100%);
    border: 2px dashed var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
}

.factory-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.factory-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 20px 20px 8px 20px;
    font-weight: 600;
}

.factory-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 20px 20px 20px;
}

/* ===== 数据统计 ===== */
.statistics {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 60px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-box h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== 公司动态 ===== */
.news {
    background: var(--bg-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

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

.news-video {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #000;
}

.news-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.news-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f5f1 0%, #d4eee7 100%);
    border: 2px dashed var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
}

.news-content {
    padding: 15px 20px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.news-content h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 600;
}

.news-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-content a,
.news-link {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.news-content a:hover,
.news-link:hover {
    color: var(--dark-green);
}

/* ===== 服务优势 ===== */
.advantages {
    background: var(--bg-white);
    padding: 60px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-gray);
    border-radius: 12px;
    transition: all 0.3s;
}

.advantage-card:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.advantage-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== 联系我们 ===== */
.contact {
    background: var(--bg-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-map-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.map-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contact-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.btn-contact-wechat,
.btn-contact-phone {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-contact-wechat {
    background: #07c160;
    color: white;
}

.btn-contact-wechat:hover {
    background: #06ad56;
}

.btn-contact-phone {
    background: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-contact-phone:hover {
    background: #e5a711;
}

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

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    padding: 8px 16px;
    background: #333333;
    border-radius: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(10, 124, 84, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-5px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .categories-grid,
    .clients-grid,
    .advantages-grid,
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .community-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .slide-content .container {
        margin-left: 100px;
    }

    .hero-text {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-download,
    .btn-service {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-features {
        gap: 15px;
    }

    .feature-tag {
        font-size: 13px;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid,
    .products-grid,
    .clients-grid,
    .advantages-grid,
    .stats-row,
    .about-features,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .culture-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .culture-card {
        padding: 25px 15px;
    }

    .culture-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .culture-icon-img {
        object-fit: cover;
    }

    .culture-icon-placeholder {
        width: 70px;
        height: 70px;
    }

    .culture-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .culture-card p {
        font-size: 13px;
    }

    .promo-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .cart-icon {
        bottom: 80px;
        right: 20px;
    }

    .btn-cart-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 15px;
    }

    .culture-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .culture-card {
        padding: 20px 15px;
    }

    .culture-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

    .culture-icon-img {
        object-fit: cover;
    }

    .culture-icon-placeholder {
        width: 60px;
        height: 60px;
        font-size: 11px;
    }

    .culture-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .culture-card p {
        font-size: 12px;
    }

    section {
        padding: 40px 0;
    }

    .hero-slider {
        height: 450px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .slide-content .container {
        margin-left: 20px;
    }

    .hero-text {
        padding-left: 0;
    }

    .promo-benefits {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .benefit-card {
        min-width: 150px;
        padding: 12px 15px;
    }

    .brand-name {
        font-size: 18px;
    }
}

/* ===== 动态悬浮窗 ===== */
.floating-window {
    position: fixed;
    width: 160px;
    height: 344px; /* 1080:2316 比例 */
    z-index: 9998;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: auto;
    will-change: left, top;
}

.floating-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.floating-image.fade-out {
    opacity: 0;
}

.floating-image.fade-in {
    opacity: 1;
}

.floating-window:hover .floating-image-container {
    transform: scale(1.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.floating-window:hover {
    z-index: 9999;
}

/* 角标容器 */
.floating-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* 圆形角标 */
.floating-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-indicator.active {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    width: 10px;
    height: 10px;
}

/* ===== 二维码下载弹窗 ===== */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-modal.show {
    display: flex;
    opacity: 1;
}

.qr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qr-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.qr-modal.show .qr-modal-content {
    transform: scale(1);
}

.qr-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-modal-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.qr-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.qr-code-container {
    position: relative;
    width: 200px;
    height: 200px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-error {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
}

.qr-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.qr-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.qr-tip {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .qr-modal-content {
        padding: 30px 20px;
        max-width: 320px;
    }
    
    .qr-code-container {
        width: 180px;
        height: 180px;
    }
    
    .qr-logo-center {
        width: 35px;
        height: 35px;
        padding: 2px;
    }
    
    .qr-tip {
        font-size: 16px;
    }
}