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

:root {
    --primary: #1E3A5F;        /* 工业蓝 */
    --primary-dark: #142844;
    --accent: #FF6B35;         /* 暖橙 */
    --accent-light: #FF8A5C;
    --silver: #C0C0C0;         /* 科技银 */
    --ice-blue: #4A90E2;       /* 冰蓝 */
    --warm-white: #FAFAFA;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --border: #E0E0E0;
    --success: #4CAF50;
    --placeholder-bg: #F0F0F0;
    --placeholder-border: #D32F2F;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.6;
    font-size: 16px;
}

/* 语言切换按钮 */
.lang-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lang-btn, .lang-current {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

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

.lang-btn:hover {
    background: var(--primary-dark);
}

.lang-current {
    background: var(--accent);
    color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.logo-icon {
    font-size: 24px;
    color: var(--ice-blue);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
}

/* Hero区 */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #1E3A5F 0%, #2A4A7F 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title strong {
    color: var(--accent);
    font-size: 60px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255,107,53,0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.stat-num {
    font-size: 32px;
    font-weight: bold;
    color: var(--accent);
}

.stat-num span {
    font-size: 16px;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

/* 占位图 */
.image-placeholder {
    background: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--placeholder-border);
    text-align: center;
    padding: 20px;
    min-height: 200px;
}

.image-placeholder.large {
    min-height: 400px;
}

.image-placeholder.small {
    min-height: 150px;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.image-placeholder.small .placeholder-icon {
    font-size: 32px;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
}

.image-placeholder.small .placeholder-text {
    font-size: 12px;
}

.placeholder-sub {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

.hero-image .image-placeholder {
    min-height: 450px;
}

/* 通用Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* 核心性能 */
.section-perf {
    background: white;
}

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

.perf-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--warm-white);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.perf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
    border-color: var(--accent);
}

.perf-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.perf-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.perf-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.perf-data {
    font-size: 32px;
    font-weight: bold;
    color: var(--accent);
    margin-top: 16px;
}

/* 极端环境测试 */
.section-test {
    background: var(--warm-white);
}

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

.test-card {
    text-align: center;
}

.test-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 16px 0 8px;
}

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

.test-summary {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.test-summary h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.test-summary ul li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.test-summary ul li:last-child {
    border-bottom: none;
}

/* 产品图集 */
.section-gallery {
    background: white;
}

.gallery-main {
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.specs {
    max-width: 800px;
    margin: 0 auto;
    background: var(--warm-white);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--border);
}

.specs h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 8px;
    font-size: 14px;
}

.specs-table td:first-child {
    color: var(--text-light);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* 购买流程 */
.section-process {
    background: var(--warm-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 12px;
}

.step h3 {
    color: var(--primary);
    margin: 12px 0 8px;
    font-size: 18px;
}

.step p {
    color: var(--text-light);
    font-size: 14px;
}

.step-arrow {
    color: var(--accent);
    font-size: 32px;
    font-weight: bold;
}

.process-features {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.process-features h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.process-features ul li {
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.process-features ul li:last-child {
    border-bottom: none;
}

/* 应用场景 */
.section-scene {
    background: white;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scene-card {
    text-align: center;
}

.scene-card .image-placeholder {
    min-height: 200px;
    margin-bottom: 16px;
}

.scene-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 8px;
}

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

/* 合作通道 */
.section-coop {
    background: linear-gradient(135deg, #1E3A5F 0%, #2A4A7F 100%);
    color: white;
}

.section-coop .section-header h2 {
    color: white;
}

.section-coop .section-header p {
    color: rgba(255,255,255,0.8);
}

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

.coop-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.coop-card:hover {
    background: rgba(255,107,53,0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.coop-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.coop-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: white;
}

.coop-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.coop-card .btn {
    margin-top: 16px;
    width: 100%;
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.coop-card .btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.coop-flow {
    text-align: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.coop-flow h3 {
    margin-bottom: 20px;
    color: white;
}

.flow-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
}

.flow-steps span:nth-child(even) {
    color: var(--accent);
}

/* 联系 */
.section-contact {
    background: var(--warm-white);
}

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

.contact-form,
.contact-info {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form h3,
.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row textarea {
    resize: vertical;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    font-size: 24px;
    color: var(--accent);
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
}

.contact-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.qr-placeholder {
    text-align: center;
    margin-top: 20px;
}

.qr-placeholder .image-placeholder {
    min-height: 180px;
    max-width: 200px;
    margin: 0 auto 12px;
}

.qr-placeholder p {
    color: var(--text-light);
    font-size: 14px;
}

/* 底部 */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: white;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col ul li {
    padding: 4px 0;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 4px;
}

.disclaimer {
    font-size: 12px;
    font-style: italic;
}

/* 响应式 */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-title strong {
        font-size: 44px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .perf-grid,
    .test-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid,
    .coop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .scene-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-title strong {
        font-size: 36px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-num {
        font-size: 24px;
    }
    .perf-grid,
    .test-grid,
    .gallery-grid,
    .coop-grid,
    .scene-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
    .section {
        padding: 50px 0;
    }
    .section-header h2 {
        font-size: 28px;
    }
}
