/* ============================================
   元晶光电官网 - 全局样式
   科技蓝主题 | 专业可靠
   ============================================ */

/* ---- 设计变量 ---- */
:root {
    /* 主色调 - 科技蓝 */
    --primary: #0A2E5C;
    --primary-light: #1565C0;
    --primary-lighter: #1E88E5;
    --accent: #00BCD4;
    --accent-glow: #00E5FF;

    /* 中性色 */
    --bg: #F5F7FA;
    --bg-dark: #0A1929;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-light: #5A6B7E;
    --text-muted: #8E9AAB;
    --border: #E0E6ED;
    --border-light: #EDF0F4;

    /* 功能色 */
    --success: #2ECC71;
    --warning: #F39C12;
    --danger: #E74C3C;

    /* 尺寸 */
    --header-h: 60px;
    --max-w: 1200px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-sm: 4px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(10, 46, 92, 0.08);
    --shadow: 0 2px 12px rgba(10, 46, 92, 0.1);
    --shadow-lg: 0 8px 30px rgba(10, 46, 92, 0.12);
    --shadow-blue: 0 4px 20px rgba(0, 188, 212, 0.25);

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- 重置 ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ---- 布局工具 ---- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    margin: 16px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---- 按钮 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--primary-lighter));
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 188, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ============================================
   导航栏
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 44px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: var(--shadow-blue);
}

.logo-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-menu a {
    padding: 8px 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-light);
    background: rgba(21, 101, 192, 0.06);
}

.nav-menu a.active {
    color: var(--primary-light);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cta {
    margin-left: auto;
    padding: 8px 18px !important;
    font-size: 0.92rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white) !important;
    border-radius: var(--radius) !important;
    font-weight: 600;
    white-space: nowrap;
}

/* 中等宽度窗口：导航再紧凑一档，保证菜单永远一排 */
@media (min-width: 1025px) and (max-width: 1180px) {
    .nav-menu a { padding: 8px 8px; font-size: 0.9rem; }
    .nav-cta { padding: 6px 13px !important; font-size: 0.86rem; }
    .logo-img { height: 26px; }
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    background: var(--primary) !important;
}

/* 桌面端：菜单项在LOGO与询盘按钮之间均匀分布，填满整条导航不留空白 */
@media (min-width: 1025px) {
    .nav-menu {
        flex: 1;
        justify-content: space-evenly;
        padding: 0 8px;
    }
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero 横幅
   ============================================ */
.hero {
    position: relative;
    min-height: 640px;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1929 0%, #0A2E5C 40%, #0D47A1 100%);
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* 网格背景 */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 188, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-glow);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, var(--accent-glow), var(--accent), var(--primary-lighter));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero 数据栏 */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-glow), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* ============================================
   产品分类卡片
   ============================================ */
.product-categories {
    background: var(--white);
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-img .icon-large {
    font-size: 4rem;
    z-index: 2;
}

.category-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 188, 212, 0.1), transparent);
}

.category-body {
    padding: 24px;
}

.category-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.category-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-tag {
    padding: 4px 12px;
    background: rgba(21, 101, 192, 0.08);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.category-link:hover {
    gap: 12px;
    color: var(--accent);
}

/* ============================================
   生产工艺流程
   ============================================ */
.process-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.process-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.process-step {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    position: relative;
    padding: 24px 12px;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-step-icon {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-blue);
}

.process-step h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--border);
    font-size: 1.5rem;
}

/* ============================================
   文章卡片
   ============================================ */
.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-img {
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, #E3F2FD, #E0F7FA);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-img .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(10, 46, 92, 0.85);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.article-body {
    padding: 14px 16px;
}

.article-body .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-body h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover h3 {
    color: var(--primary-light);
}

.article-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   CTA 询盘区
   ============================================ */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 188, 212, 0.15), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(30, 136, 229, 0.12), transparent 50%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.9fr 1.9fr;
    gap: 24px;
    margin-bottom: 6px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
}

/* 深色页脚上的LOGO图片：白色圆角卡片底，保证品牌字可读 */
.footer-brand img {
    height: 30px;
    width: auto;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.15rem;
}

.footer-brand small {
    display: block;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.footer-col p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 3px;
}

.footer-col ul li a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item .icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   产品页面专用
   ============================================ */
.page-header {
    padding: calc(var(--header-h) + 60px) 0 60px;
    background: linear-gradient(135deg, #0A1929, #0A2E5C);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 16px 0;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span.separator {
    color: var(--border);
}

/* 产品筛选标签 */
.product-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-light);
    background: var(--primary);
    color: var(--white);
}

/* 产品表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.spec-table th {
    background: rgba(21, 101, 192, 0.05);
    color: var(--primary);
    font-weight: 600;
    width: 200px;
}

.spec-table td {
    color: var(--text);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table tr:hover td {
    background: rgba(0, 188, 212, 0.03);
}

/* 产品卡片 */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-card-img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #E3F2FD, #E0F7FA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.product-card-img .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.product-card-body .model {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.product-card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.product-card-footer .price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   文章页面专用
   ============================================ */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.article-detail h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text);
}

.article-content h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 32px 0 16px;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin: 24px 0 12px;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 16px 24px;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 8px;
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    background: rgba(0, 188, 212, 0.05);
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-light);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-content table th,
.article-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 0.9rem;
}

.article-content table th {
    background: rgba(21, 101, 192, 0.05);
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   联系表单
   ============================================ */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   关于我们
   ============================================ */
.about-feature {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-feature.reverse {
    flex-direction: row-reverse;
}

.about-feature-content {
    flex: 1;
}

.about-feature-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.about-feature-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-feature-img {
    flex: 1;
    height: 320px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.equipment-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.equipment-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.equipment-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.equipment-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 968px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-feature, .about-feature.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 窄窗口（≤1024px）改用抽屉菜单：避免横排菜单被挤压、文字折行 */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-200%);
        transition: var(--transition);
        align-items: stretch;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        padding: 12px 18px !important;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .logo-img {
        height: 28px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat-num {
        font-size: 1.8rem;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }
}

/* ============================================
   产品详情页
   ============================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.gallery-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    margin-bottom: 16px;
}

.gallery-main img {
    max-height: 360px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumbs .thumb {
    flex: 1;
    height: 90px;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--border-light);
    padding: 8px;
    cursor: pointer;
    transition: var(--transition);
    object-fit: contain;
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.product-info h2 {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.product-info .model {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-family: 'Courier New', monospace;
}

.product-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-meta .category-tag {
    padding: 4px 12px;
    background: rgba(21, 101, 192, 0.08);
    color: var(--primary-light);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li strong {
    color: var(--primary);
    display: inline-block;
    min-width: 100px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-cert {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 规格书预览 */
.spec-preview-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.spec-preview-box .watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
    color: rgba(10, 46, 92, 0.08);
    font-size: 2.5rem;
    font-weight: 700;
    transform: rotate(-25deg);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.spec-preview-box object {
    display: block;
    border: none;
}

/* 首页横幅新版 */
.hero-new {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-brand img {
    height: 52px;
    width: auto;
    background: #fff;
    padding: 6px 12px;
    border-radius: var(--radius);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
}

.hero-product-img {
    max-height: 360px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
}

@media (max-width: 968px) {
    .hero-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-brand {
        justify-content: center;
    }

    .hero-visual {
        min-height: 280px;
        order: -1;
    }

    .hero-product-img {
        max-height: 240px;
    }
}

/* ========== 分类横幅页头 v2 ========== */
.banner-hero { position: relative; overflow: hidden; background: #081226; }
.banner-hero img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.banner-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, rgba(4,10,22,0.85)); }
.banner-caption .breadcrumb { color: rgba(255,255,255,0.75); }
.banner-caption .breadcrumb a { color: rgba(255,255,255,0.8); }


/* ---- 页脚备案号 ---- */
.footer-bottom .icp {
    margin-top: 6px;
}
.footer-bottom .icp a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}
.footer-bottom .icp a:hover {
    color: rgba(255, 255, 255, 0.85);
}
