/* ============================================
   跃森阀门 - 企业官网样式表 v2.0
   现代化企业风格设计
   ============================================ */

/* CSS 变量 */
:root {
    --primary: #1a3a6c;
    --primary-light: #2a5298;
    --primary-dark: #0f2847;
    --accent: #e8611a;
    --accent-light: #ff8555;
    --accent-dark: #c44d10;
    --text: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #edf2f7;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --font-en: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
    --font-ar: "Noto Sans Arabic", "Tahoma", sans-serif;
    --font-ru: "Inter", "Segoe UI", sans-serif;
    --font-vi: "Inter", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cn);
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL 语言支持 */
[dir="rtl"] body {
    font-family: var(--font-ar);
}

[dir="rtl"] .feature-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .feature-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .advantage-card {
    border-left: none;
    border-right: 4px solid var(--accent);
}

[dir="rtl"] .timeline-item {
    border-left: none;
    border-right: 4px solid var(--accent);
}

[dir="rtl"] .visit-steps li {
    padding-left: 0;
    padding-right: 3rem;
}

[dir="rtl"] .visit-steps li::before {
    left: auto;
    right: 0;
}

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

/* ============================================
   导航栏
   ============================================ */
.navbar {
    background: rgba(26, 58, 108, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-logo svg {
    display: block;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    opacity: 0.75;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 语言选择器 */
.language-selector select {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 28px 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

[dir="rtl"] .language-selector select {
    padding: 6px 12px 6px 28px;
    background-position: left 8px center;
}

.language-selector select:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
}

.language-selector select option {
    background: var(--primary);
    color: white;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* ============================================
   主横幅 (Hero)
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(232, 97, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 700px;
}

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

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #fff 0%, #ffd4bc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(232, 97, 26, 0.35);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 97, 26, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

/* ============================================
   通用区块
   ============================================ */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ============================================
   产品预览
   ============================================ */
.products-preview {
    background: var(--bg);
}

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

.product-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.product-thumb {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-thumb img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 700;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--accent-dark);
    letter-spacing: 0.5px;
}

/* ============================================
   技术优势
   ============================================ */
.advantages {
    background: var(--bg-alt);
}

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

.advantage-item {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.advantage-icon {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.advantage-icon svg {
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon svg {
    transform: scale(1.1);
}

.advantage-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
    font-weight: 700;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   应用领域
   ============================================ */
.applications {
    background: var(--bg);
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
}

.application-item {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.application-item:hover::before {
    left: 100%;
}

.application-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 58, 108, 0.3);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

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

.cta h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    position: relative;
}

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

.cta .btn-primary {
    background: white;
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    position: relative;
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 1.5rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--accent-light);
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

[dir="rtl"] .footer-section a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* 二维码样式 */
.qr-codes {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.qr-item span {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

/* ============================================
   页面标题
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.85;
    position: relative;
}

/* ============================================
   产品详情
   ============================================ */
.product-details {
    background: var(--bg);
}

.product-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.product-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
}

.product-badge {
    background: var(--accent);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-description h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
}

.product-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.spec-table th,
.spec-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.spec-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.spec-table tr:nth-child(even) {
    background: var(--bg-alt);
}

.spec-table tr:hover {
    background: #eef2f7;
}

/* 产品图片布局 */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.product-image {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* 产品阵容 */
.product-lineup {
    background: var(--bg-alt);
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
}

.lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.lineup-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.lineup-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.lineup-img {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lineup-img img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.lineup-card h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.lineup-card span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ============================================
   公司简介
   ============================================ */
.about-intro {
    background: var(--bg);
}

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

.intro-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.02rem;
    color: var(--text);
}

/* 企业文化 */
.corporate-culture {
    background: var(--bg-alt);
}

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

.culture-item {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.culture-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.culture-item h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.culture-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 发展历程 */
.development-history {
    background: var(--bg);
}

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

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.timeline-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
    font-size: 1.1rem;
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 荣誉资质 */
.honors {
    background: var(--bg-alt);
}

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

.honor-item {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.honor-item:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* 生产现场画廊 */
.factory-gallery {
    background: var(--bg);
    padding: 5rem 0;
}

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

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4/3;
    background: var(--bg-dark);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 灯箱 */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   下载页面
   ============================================ */
.downloads-section {
    background: var(--bg);
}

.download-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
}

.download-grid {
    display: grid;
    gap: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.download-item:hover {
    background: var(--bg);
    transform: translateX(4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.download-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.download-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.file-info {
    color: var(--text-lighter);
    font-size: 0.8rem;
}

.download-btn {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.download-btn:hover {
    background: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(232, 97, 26, 0.3);
}

.download-notice {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.download-notice h4 {
    color: #92400e;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.download-notice p {
    margin-bottom: 0.5rem;
    color: #92400e;
    font-size: 0.9rem;
}

/* 技术支持 */
.tech-support {
    background: var(--bg-alt);
}

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

.support-item {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.support-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.support-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

/* ============================================
   联系页面
   ============================================ */
.contact-section {
    background: var(--bg);
}

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

.contact-info h3,
.contact-form h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 1.8rem;
    min-width: 45px;
    text-align: center;
}

.info-content h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

/* 表单 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 97, 26, 0.1);
}

/* 工厂考察 */
.factory-visit {
    background: var(--bg-alt);
}

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

.visit-intro {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.visit-intro p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text);
}

.visit-intro h4 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.visit-steps {
    list-style: none;
    counter-reset: step-counter;
}

.visit-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3.5rem;
    position: relative;
}

.visit-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent);
    color: white;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.visit-steps strong {
    color: var(--primary);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.3rem;
}

/* 交通指南 */
.transportation {
    background: var(--bg);
}

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

.transport-item {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.transport-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.transport-item p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* FAQ */
.faq {
    background: var(--bg-alt);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 定制选项 */
.customization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.custom-item {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.custom-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.custom-item p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* 应用优势 */
.advantage-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.advantage-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 16px;
    }
    
    .nav-right {
        order: 2;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 12px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 10px 16px;
        display: block;
    }
    
    .hero {
        padding: 3.5rem 0 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-item {
        flex-direction: column;
        text-align: center;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .lineup-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .application-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .product-section {
        padding: 1.5rem;
    }
}

/* ============================================
   产品详情页
   ============================================ */
.product-details {
    padding: 3rem 0;
}

.product-details .product-section {
    margin-bottom: 2.5rem;
}

.product-details .product-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.product-details .feature-list {
    list-style: none;
    padding: 0;
}

.product-details .feature-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.product-details .feature-list li:last-child {
    border-bottom: none;
}

.product-details .spec-table {
    width: 100%;
    border-collapse: collapse;
}

.product-details .spec-table th,
.product-details .spec-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.product-details .spec-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.product-details .spec-table tr:nth-child(even) {
    background: var(--bg-alt);
}

.product-details .spec-table tr:hover {
    background: rgba(26, 58, 108, 0.05);
}

[dir="rtl"] .product-details .spec-table th,
[dir="rtl"] .product-details .spec-table td {
    text-align: right;
}

