/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Language Switcher */
.language-switcher {
    position: relative;
    z-index: 1002;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 8px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn.active {
    background: linear-gradient(135deg, #a0ffbc, #66ef8e);
    color: #092013;
    box-shadow: 0 4px 14px rgba(84, 239, 131, 0.2);
}

.lang-btn:hover {
    background: rgba(160, 255, 188, 0.16);
    color: #c8ffd8;
}

.lang-btn.active:hover {
    background: linear-gradient(135deg, #b9ffcd, #7cff67);
    color: #092013;
}



/* Header */
.header {
    background: rgba(7, 20, 15, 0.96);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(154, 255, 183, 0.12);
    position: relative;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    position: relative;
}

/* Logo区域 - 优化设计 */
.logo-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.site-logo {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo h1,
.logo .site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

/* 汉堡菜单按钮 - 移动端完全隐藏 */
.hamburger-menu {
    display: none !important;
}

.hamburger-menu span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: absolute;
}

.hamburger-menu span:nth-child(1) {
    transform: translateY(-7px);
}

.hamburger-menu span:nth-child(2) {
    transform: translateY(0);
}

.hamburger-menu span:nth-child(3) {
    transform: translateY(7px);
}

/* 激活状态 - 转换为X */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(0);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(0);
}

.nav {
    position: relative;
    display: block;
}

/* 桌面端导航菜单 */
.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

/* 移动端默认隐藏导航菜单 */
@media (max-width: 768px) {
    .nav {
        display: none !important;
    }
    
    .nav.active {
        display: block !important;
    }
}

/* 移动端菜单遮罩层 - 移动端完全隐藏 */
.nav-overlay {
    display: none !important;
}

/* 移除重复的导航样式定义 */

/* Hero Section */
.hero {
    min-height: clamp(520px, 68vh, 680px);
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(26, 83, 50, 0.34), transparent 44%),
        linear-gradient(145deg, #07140f 0%, #0b1e16 52%, #06110d 100%);
    color: white;
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 13, 9, 0.2), transparent 35%, transparent 65%, rgba(4, 13, 9, 0.2));
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, rgba(7, 20, 15, 0.72));
    pointer-events: none;
}

.hero-dot-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

#hero-dot-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.82;
}

.hero-cursor-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    left: 0;
    top: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, rgba(128, 255, 161, 0.18) 0%, rgba(76, 223, 119, 0.08) 36%, transparent 72%);
    filter: blur(8px);
    will-change: transform, opacity;
    transition: opacity 350ms ease;
}

.hero-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.16;
}

.hero-ambient-glow--one {
    width: 360px;
    height: 360px;
    left: -120px;
    top: -130px;
    background: #54ef83;
}

.hero-ambient-glow--two {
    width: 300px;
    height: 300px;
    right: -90px;
    bottom: -150px;
    background: #a0ffbc;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.25rem);
    border: 1px solid rgba(160, 255, 188, 0.14);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(8, 24, 17, 0.66), rgba(8, 24, 17, 0.25));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
}

.hero h1,
.hero h2,
.hero .hero-h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

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

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #a0ffbc, #66ef8e);
    color: #092013;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(84, 239, 131, 0.25), inset 0 1px rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
    background: linear-gradient(135deg, #c3ffd4, #7cff67);
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 14px 38px rgba(84, 239, 131, 0.36), inset 0 1px rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .hero-cursor-glow { display: none; }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

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

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* 产品图片容器 - 类似Products页面的样式 */
.product-image-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 图片错误占位符样式 */
.image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-placeholder .placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.6;
}

.image-placeholder .placeholder-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.image-placeholder .placeholder-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

/* 图片加载动画 */
.product-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image.loaded {
    opacity: 1;
}

/* 图片错误状态 */
.product-image.error {
    display: none;
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 防止产品名称闪烁 */
.product-card h3 {
    transition: opacity 0.3s ease;
    visibility: visible !important;
}

/* 确保产品名称立即显示 */
.product-card h3.lang-content {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 防止初始显示文件名 */
.product-card h3[data-key] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-image {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 图片加载动画 - 适配容器结构 */
.product-image-container {
    position: relative;
}

.product-image {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-image.loaded {
    opacity: 1;
    transform: scale(1);
}

/* 加载占位符动画 */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 25%, transparent 50%, #f0f0f0 50%, #f0f0f0 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: loading 1s linear infinite;
    border-radius: 8px;
    z-index: 1;
}

.product-image-container.loaded::before {
    display: none;
}

@keyframes loading {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

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

.product-card p {
    color: #666;
    line-height: 1.6;
}

/* SEO Section - 关键词内容区 */
.seo-section {
    padding: 2.5rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.seo-section-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.seo-section-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.seo-section-text a {
    color: #667eea;
    text-decoration: underline;
}

.seo-section-text a:hover {
    color: #764ba2;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.video-card {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.promo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.promo-video.loaded {
    opacity: 1;
}

.sound-toggle,
.video-play-pause {
    position: absolute;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.sound-toggle {
    right: 12px;
    bottom: 12px;
}

.video-play-pause {
    left: 12px;
    bottom: 12px;
}

.video-card:hover .sound-toggle,
.video-card:hover .video-play-pause {
    opacity: 1;
}

.sound-toggle:active,
.video-play-pause:active {
    transform: scale(0.9);
    background: rgba(0, 0, 0, 0.8);
}

.sound-toggle:hover,
.video-play-pause:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 视频占位符样式 */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.video-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.video-loading {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-loading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-video {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.promo-video.loading {
    opacity: 0;
}

.promo-video.loaded {
    opacity: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #667eea;
    font-weight: bold;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input[type="tel"] {
    direction: ltr;
    text-align: left;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.form-privacy-notice {
    margin-top: 1rem;
    text-align: center;
}

.form-privacy-notice small {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Submissions Panel */
.submissions-panel {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submissions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.submissions-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.clear-submissions {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-submissions:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.submission-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.submission-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.submission-info {
    flex: 1;
}

.submission-name {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.submission-email {
    color: #6c757d;
    font-size: 0.9rem;
    word-break: break-all;
}

.submission-phone {
    color: #28a745;
    font-size: 0.85rem;
    margin-top: 0.2rem;
    font-weight: 500;
}

.submission-time {
    color: #868e96;
    font-size: 0.8rem;
    white-space: nowrap;
}

.submission-message {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    margin-top: 0.5rem;
    color: #495057;
    line-height: 1.5;
    font-size: 0.95rem;
}

.submission-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.submission-reply, .submission-delete {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submission-reply {
    background: #007bff;
    color: white;
}

.submission-reply:hover {
    background: #0056b3;
}

.submission-delete {
    background: #dc3545;
    color: white;
}

.submission-delete:hover {
    background: #c82333;
}

.empty-submissions {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.submission-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

.footer-contact {
    margin-top: 0.75rem !important;
    font-size: 0.95rem;
    opacity: 0.95;
}

.footer-phone {
    color: #7ec8ff;
    text-decoration: none;
}

.footer-phone:hover {
    color: #fff;
    text-decoration: underline;
}

/* WhatsApp Styles */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    transform: translateX(5px);
}

.whatsapp-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Sales Contacts Styles */
.sales-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.sales-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 10px;
    border-left: 4px solid #25D366;
    transition: all 0.3s ease;
}

.sales-person:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateX(5px);
}

.sales-person .lang-content {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    min-width: 120px;
}

.sales-phone {
    color: #25D366;
    font-weight: bold;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .sales-person {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sales-person .lang-content {
        min-width: auto;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
    display: block;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* 移动端基础优化 */
    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* 移动端隐藏汉堡菜单 */
    .hamburger-menu {
        display: none !important;
    }
    
    /* 手机端header重新布局 - 更灵活的设计 */
    .header {
        padding: 1rem 0;
        position: sticky;
        top: 0;
        z-index: 999;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        position: relative;
        gap: 1rem;
    }
    
    /* Logo区域 - 更紧凑的设计 */
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        flex: 0 1 auto;
        min-width: 0;
        margin-right: auto;
    }
    
    .site-logo {
        height: 40px;
        transform: none;
        flex-shrink: 0;
    }
    
    .logo h1 {
        font-size: 1rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
        font-weight: 600;
    }
    
    /* 语言切换器 - 往左边移动 */
    .language-switcher {
        display: flex;
        gap: 3px;
        margin: 0;
        position: relative;
        left: -8px;
        order: 1;
        margin-left: 0.5rem;
    }
    
    .lang-btn {
        padding: 3px 5px;
        font-size: 9.5px;
        border-radius: 5px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.06);
        color: white;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: auto;
        text-align: center;
        font-weight: 500;
        letter-spacing: 0.2px;
        backdrop-filter: blur(3px);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .lang-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-1px);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .lang-btn.active {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #333;
        border-color: #ffd700;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
        transform: translateY(-1px);
    }
    

    
    .lang-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .lang-btn.active {
        background: rgba(255, 255, 255, 0.9);
        color: #667eea;
        border-color: transparent;
        font-weight: bold;
    }
    
    /* 移动端导航菜单 - 完全隐藏 */
    .nav {
        display: none !important;
    }
    
    /* 统一语言切换器移动端样式 - 放在左侧 */
    .language-switcher {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        gap: 8px;
        z-index: 1000;
    }
    
    .language-switcher .lang-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 50px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
    }
    
    .language-switcher .lang-btn.active {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #333;
        border-color: #ffd700;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    
    /* Logo区域移动端优化 */
    .logo-section {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        flex: 1;
        min-width: 0;
    }
    
    .logo {
        gap: 12px;
        min-width: 0;
    }
    
    .site-logo {
        height: 45px;
        width: auto;
        flex-shrink: 0;
    }
    
    .logo h1,
    .logo .site-title {
        font-size: 1.1rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 移动端导航菜单 - 完全隐藏 */
    .nav {
        display: none !important;
    }
    
    .nav.active {
        display: none !important;
    }
    
    /* 确保移动端导航菜单的ul和li样式正确 */
    .nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        background: transparent !important;
    }
    
    .nav li {
        width: 100% !important;
        display: block !important;
    }
    
    /* 菜单头部区域 - 渐变背景 */
    .nav::before {
        content: '';
        display: block;
        height: 120px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: relative;
        z-index: 1;
    }
    
    .nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        background: transparent;
    }
    
    .nav li {
        width: 100%;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
    }
    
    .nav li:first-child {
        border-top: 0.5px solid rgba(0, 0, 0, 0.06);
    }
    
    .nav a {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        font-size: 17px;
        font-weight: 500;
        color: #1d1d1f;
        text-decoration: none;
        transition: all 0.2s ease;
        background: transparent;
        min-height: 56px;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.1);
        touch-action: manipulation;
        position: relative;
    }
    
    .nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transition: width 0.2s ease;
    }
    
    .nav a:active {
        background-color: rgba(102, 126, 234, 0.08);
    }
    
    .nav a:active::before {
        width: 4px;
    }
    
    /* 菜单项右侧箭头 */
    .nav a::after {
        content: '';
        width: 7px;
        height: 7px;
        border-right: 2px solid #86868b;
        border-bottom: 2px solid #86868b;
        transform: rotate(-45deg);
        margin-left: auto;
        opacity: 0.5;
        transition: opacity 0.2s ease;
    }
    
    .nav a:active::after {
        opacity: 0.8;
    }
    
    /* 移动端菜单遮罩层 - 优化 */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 997;
        opacity: 0;
        transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    
    

    
    .hero h1,
    .hero h2,
    .hero .hero-h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* Map Section Styles */
    .map-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }

    .map-container {
        margin-top: 30px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    }

    #dg-map {
        position: relative;
        z-index: 1;
    }

    .region-info-control {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* 移动端语言切换器优化 */
    .language-switcher {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        gap: 4px;
        padding: 4px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        border-radius: 20px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 48px;
        min-height: 32px;
        touch-action: manipulation;
    }
    
    /* Logo区域移动端 */
    .logo-section {
        margin-left: 85px; /* 为语言切换器留出空间 */
        flex: 1;
        min-width: 0;
    }
    
    .logo {
        gap: 10px;
    }
    
    .site-logo {
        height: 40px;
        width: auto;
    }
    
    .logo h1,
    .logo .site-title {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Hero区域小屏幕优化 */
    .hero {
        padding: 2.5rem 0 3.5rem;
    }
    
    .hero h1,
    .hero h2,
    .hero .hero-h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .about,
    .products,
    .contact {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* 移动端产品卡片优化 */
    .product-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .product-image-container {
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .product-card h3 {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
    
    /* 移动端联系表单优化 */
    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* 防止iOS自动缩放 */
        padding: 14px 16px;
        border-radius: 12px;
        margin-bottom: 1rem;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .contact-form textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        touch-action: manipulation;
    }
    
    /* 销售人员联系信息优化 */
    .sales-contacts {
        gap: 1rem;
    }
    
    .sales-person {
        padding: 1rem;
        border-radius: 12px;
        min-height: 60px;
    }
    
    .whatsapp-link {
        padding: 10px 16px;
        min-height: 44px;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
    
    /* 移动端视频优化 */
    .video-section {
        padding: 2.5rem 0;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-card {
        margin-bottom: 1rem;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .promo-video {
        max-height: 220px;
        width: 100%;
    }
    
    .sound-toggle,
    .video-play-pause {
        width: 48px;
        height: 48px;
        font-size: 20px;
        opacity: 0.8;
        touch-action: manipulation;
        z-index: 1001;
        pointer-events: auto;
    }
    
    .video-card:hover .sound-toggle,
    .video-card:hover .video-play-pause,
    .video-wrapper:active .sound-toggle,
    .video-wrapper:active .video-play-pause {
        opacity: 1;
    }
    
    /* 确保视频区域在菜单打开时仍然可交互 */
    .video-section,
    .video-card,
    .video-wrapper {
        position: relative;
        z-index: 1;
    }
    
    /* 菜单打开时，视频控制按钮仍然可用 */
    .nav.active ~ * .sound-toggle,
    .nav.active ~ * .video-play-pause {
        z-index: 1002;
    }
    
    /* 统计信息优化 */
    .stat {
        padding: 1.25rem;
    }
    
    .stat h3 {
        font-size: 1.75rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* 修复移动端顶部信息栏显示问题 */
    .header {
        padding: 0.5rem 0;
        position: relative;
        overflow: hidden;
    }
    
    .header .container {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
        position: relative;
        padding-right: 60px;
    }
    
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .site-logo {
        height: 50px;
        transform: none;
        margin-bottom: 0;
    }
    
    .logo h1 {
        font-size: 1rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .language-switcher {
        order: 0;
        margin: 0;
        width: auto;
        justify-content: flex-start;
        flex-shrink: 0;
    }
    
    .nav {
        width: auto;
        display: flex;
        justify-content: flex-start;
        position: static;
    }
    

    
    /* 修复销售人员联系信息显示 */
    .sales-contacts {
        gap: 0.5rem;
    }
    
    .sales-person {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .whatsapp-link {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .sales-phone {
        font-size: 0.9rem;
    }
    
    /* WhatsApp浮动按钮优化 */
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 24px;
        right: 24px;
        font-size: 30px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
        touch-action: manipulation;
    }
    
    .whatsapp-float:active {
        transform: scale(0.92);
        box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
    }
    
    /* 移动端触摸优化 */
    a, button, .product-card, .filter-btn {
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
        touch-action: manipulation;
    }
    
    /* 移动端滚动优化 */
    html {
        scroll-behavior: smooth;
    }
    
    body {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    html {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* 移动端表单输入优化 */
    input, textarea, select {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 12px;
        border: 2px solid #e1e5e9;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* 产品筛选按钮优化 */
    .product-filters {
        gap: 0.75rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 24px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* 地图区域优化 */
    .map-section {
        padding: 2.5rem 0;
    }
    
    .map-container {
        border-radius: 16px;
        overflow: hidden;
        height: 300px;
    }
    
    #dg-map {
        height: 300px !important;
    }
    
    .whatsapp-link {
        font-size: 1rem;
    }
    
    /* Map section responsive styles */
    .map-section {
        padding: 40px 0;
    }
    
    .map-container {
        /* 额外的小屏幕修复 */
        height: 300px;
    }
}







/* 针对超小屏幕的额外修复 */
@media (max-width: 375px) {
    .logo-section {
        margin-left: 70px;
        gap: 8px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .site-logo {
        height: 32px;
        width: auto;
    }
    
    .logo h1,
    .logo .site-title {
        font-size: 0.85rem;
        max-width: 100px;
        font-weight: 600;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 9px;
        min-width: 38px;
    }
    
    /* 超小屏幕 - 汉堡菜单和导航菜单都隐藏 */
    .hamburger-menu {
        display: none !important;
    }
    
    .nav {
        display: none !important;
    }
    
    /* 确保视频按钮在超小屏幕也可用 */
    .sound-toggle,
    .video-play-pause {
        width: 44px;
        height: 44px;
        font-size: 18px;
        z-index: 1002;
        pointer-events: auto;
    }
    
    .sales-person {
        padding: 0.5rem;
    }
    
    .whatsapp-link {
        font-size: 0.85rem;
    }
    
    .sales-phone {
        font-size: 0.85rem;
    }
    

    
    .hero h1,
    .hero h2,
    .hero .hero-h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Mobile header: keep brand and language controls clear of each other. */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
        background: rgba(7, 20, 15, 0.98) !important;
    }

    .header .container {
        justify-content: center;
    }

    .logo-section {
        margin: 0 !important;
        flex: 1 1 auto;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center;
        gap: 8px !important;
    }

    .logo {
        justify-content: center;
        gap: 10px;
        width: auto !important;
        align-self: center;
    }

    .language-switcher {
        position: static !important;
        transform: none !important;
        order: 2;
    }

    .language-switcher .lang-btn.active {
        background: linear-gradient(135deg, #a0ffbc, #66ef8e);
        color: #092013;
        border-color: #8bfaaa;
        box-shadow: 0 3px 10px rgba(84, 239, 131, 0.22);
    }

    .hero-content {
        border-radius: 26px;
        backdrop-filter: blur(3px);
    }
}

/* 针对小型平板的优化 */
@media (min-width: 376px) and (max-width: 768px) {

    

}

/* 针对横屏模式的优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .nav ul {
        gap: 0.4rem;
    }
    
    .nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for language switch */
.lang-content {
    transition: opacity 0.3s ease;
}

.lang-content.loading {
    opacity: 0.5;
}
