/*
Theme Name: EZMAX 企业主题
Theme URI: https://ezmax.com
Author: EZMAX
Author URI: https://ezmax.com
Description: EZMAX企业级万兆服务器网卡官网主题,科技蓝配色,专业B2B风格
Version: 1.0.20
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ezmax
Tags: business, portfolio, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, one-column, two-columns, wide-blocks
*/

/* EZMAX 企业官网样式 - 科技蓝 #0066CC | 橙色 #FF6600 */

/* 全局放大字体 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body { font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif; color: #333; line-height: 1.7; background: #fff; font-size: 1rem; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-overlay { display: block; }

/* 导航遮罩层 */
.nav-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

@media (max-width: 968px) {
    .hero .container.hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
    .hero .hero-left { text-align: center; }
    .hero .hero-actions { justify-content: center; }

    .header-inner {
        position: relative !important;
    }
    .nav-overlay {
        display: none;
    }
}
a { text-decoration: none; color: inherit; transition: all 0.3s; font-size: 1rem; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn-primary { display: inline-block; background: #FF6600; color: #fff !important; padding: 16px 40px; border-radius: 8px; font-size: 1.05rem !important; font-weight: 600; border: 2px solid #FF6600; cursor: pointer; transition: all 0.3s; text-decoration: none !important; }
.btn-primary:hover { background: #e55a00; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,102,0,0.3); }
.btn-secondary { display: inline-block; background: transparent; color: #0066CC !important; padding: 16px 40px; border-radius: 8px; font-size: 1.05rem !important; font-weight: 600; border: 2px solid #0066CC; cursor: pointer; transition: all 0.3s; text-decoration: none !important; }
.btn-secondary:hover { background: #0066CC; color: #fff !important; }

/* CTA 条：两按钮并排、等高、等宽 */
.cta-final { padding: 60px 0; background: #0d2b4e; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text { flex: 1 1 320px; color: #fff; }
.cta-text h2 { color: #fff; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.cta-actions .btn { flex: 0 1 auto; min-width: 200px; text-align: center; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; }

.btn-white { display: inline-block; background: #fff; color: #0066CC !important; padding: 16px 40px; border-radius: 8px; font-size: 1.05rem !important; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; text-decoration: none !important; }
.btn-white:hover { background: #f0f4ff; transform: translateY(-2px); }

/* Section */
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title .line { width: 70px; height: 5px; background: #FF6600; margin: 0 auto 20px; border-radius: 3px; }
.section-title h2 { font-size: 2.2rem !important; color: #1a1a2e; margin-bottom: 16px; font-weight: 700; line-height: 1.3; }
.section-title p { font-size: 1.1rem !important; color: #666; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* ========== Header 导航栏 ========== */
/* ========== Header 导航栏 - 恢复白色 ========== */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    height: 76px !important;
}
.site-header * { box-sizing: border-box; font-size: inherit !important; }
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.site-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none !important;
}
.site-logo img {
    height: 38px !important;
    width: auto !important;
}
.site-logo .logo-text {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #0066CC !important;
}

/* 导航菜单 */
.main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
}
.main-nav a {
    font-size: 0.95rem !important;
    color: #444 !important;
    font-weight: 500 !important;
    padding: 8px 0 !important;
    text-decoration: none !important;
    position: relative;
}
.main-nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #0066CC !important;
    transition: width 0.3s !important;
}
.main-nav a:hover::after { width: 100% !important; }
.main-nav a:hover { color: #0066CC !important; }
.nav-cta {
    margin-left: 12px !important;
    background: #FF6600 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}
.nav-cta:hover {
    background: linear-gradient(135deg, #e55a00, #FF6600) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,102,0,0.4);
}
.nav-cta::after { display: none !important; }

/* 导航二级下拉：默认隐藏，悬停 .has-sub 才显示
   注意：下方 .main-nav ul 有 display:flex!important 会命中嵌套 ul，
   所以这里必须用更高优先级 + !important 把 .sub 拉回绝对定位竖排 */
.main-nav ul li.has-sub { position: relative !important; }
.main-nav ul li .sub {
    position: absolute !important;
    display: block !important;
    flex-direction: column !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 200px;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(10,22,40,0.16) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s !important;
    z-index: 200 !important;
}
.main-nav ul li.has-sub:hover > .sub,
.main-nav ul li.has-sub:focus-within > .sub {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.main-nav ul li .sub li { display: block !important; }
.main-nav ul li .sub li a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    color: #333 !important;
    white-space: nowrap;
}
.main-nav ul li .sub li a:hover {
    background: #f2f7ff !important;
    color: #0066CC !important;
}

/* 汉堡菜单 */
.hamburger {
    display: none !important;
    flex-direction: column !important;
    gap: 6px !important;
    cursor: pointer !important;
    padding: 10px !important;
    background: none !important;
    z-index: 10001 !important;
}
.hamburger span {
    width: 26px !important;
    height: 2px !important;
    background: #333 !important;
    display: block !important;
    transition: all 0.3s !important;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ========== Hero ========== */
.hero {
    padding-top: 80px !important;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #0066CC 100%);
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='white' opacity='0.05'/%3E%3C/svg%3E"); }

.hero::before { z-index: 0; pointer-events: none; }
/* 修复中文首页 hero 按钮被 ::before 覆盖层挡住点击（原 front-page.php 用 .hero-grid 结构，样式缺失） */
.hero .hero-actions { position: relative; z-index: 5; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero .hero-actions .btn { position: relative; z-index: 5; pointer-events: auto; }
.hero .hero-left, .hero .hero-right { position: relative; z-index: 2; }
.hero .container.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 100px 24px;
    position: relative;
    z-index: 1;
    max-width: 550px;
    margin: 0 auto;
    margin-left: 38%;
    width: 100%;
    text-align: left;
}
.hero-text { color: #fff; }
.hero-text .tag { display: inline-block; background: rgba(255,102,0,0.2); color: #FF9933; border: 1px solid rgba(255,102,0,0.3); padding: 8px 20px; border-radius: 25px; font-size: 0.9rem !important; font-weight: 600; margin-bottom: 24px; letter-spacing: 1px; }
.hero-text h1 { font-size: 3.5rem !important; font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.hero-text h1 span { color: #4da6ff; }
.hero-text p { font-size: 1.2rem !important; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.9; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start !important; }
.hero-btns a { min-width: 140px; text-align: center; padding: 12px 28px !important; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 40px; width: 100%; max-width: 480px; }
.hero-card h3 { color: #fff; font-size: 1.2rem !important; margin-bottom: 24px; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1rem !important; }
.spec-row span:first-child { color: #fff; }
.spec-row:last-child { border-bottom: none; }
.spec-row .val { color: #4da6ff; font-weight: 600; }

/* ========== 产品展示 ========== */
.products-grid { display: grid; align-items: start; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e8ecf4; transition: all 0.3s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(0,102,204,0.15); border-color: #0066CC; }
.product-card-img { height: 240px; background: linear-gradient(135deg, #f0f4ff, #e8ecf4); display: flex; align-items: center; justify-content: center; position: relative; padding: 24px; }
.product-card-img .chip-badge { position: absolute; top: 20px; left: 20px; background: #0066CC; color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 0.85rem !important; font-weight: 600; }
.product-card-img .port-badge { position: absolute; top: 20px; right: 20px; background: #FF6600; color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 0.85rem !important; font-weight: 600; }
.product-card-img img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
    margin: 0 auto; max-height: 200px; width: auto; }
.product-card-body { padding: 28px; }
.product-card-body h3 { font-size: 1.4rem !important; color: #1a1a2e; margin-bottom: 10px; }
.product-card-body .subtitle { font-size: 1rem !important; color: #0066CC; margin-bottom: 16px; font-weight: 500; }
.product-card-body .desc { font-size: 1rem !important; color: #666; margin-bottom: 24px; line-height: 1.8; }
.product-specs { display: grid; align-items: start; grid-template-columns: 1.1fr 1fr; gap: 10px; margin-bottom: 24px; }
.product-specs .spec { background: #f8f9fc; padding: 12px 14px; border-radius: 8px; font-size: 0.95rem !important; text-align: center; }
.product-specs .spec .label { color: #999; display: block; font-size: 0.8rem !important; }
.product-specs .spec .value { color: #1a1a2e; font-weight: 600; }
.product-card-body .card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-card-body .card-footer a { flex: 1; text-align: center; min-width: 0; }

/* ========== 核心卖点 ========== */
.features-section { background: #f8f9fc; }
.features-grid { display: grid; align-items: start; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item { text-align: center; padding: 40px 24px; border-radius: 16px; background: #fff; transition: all 0.3s; }
.feature-item:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-6px); }
.feature-icon { width: 72px; height: 72px; background: linear-gradient(135deg, #0066CC, #0099FF); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 32px; }
.feature-item h4 { font-size: 1.15rem !important; color: #1a1a2e; margin-bottom: 12px; font-weight: 600; }
.feature-item p { font-size: 0.95rem !important; color: #888; line-height: 1.7; }

/* ========== 技术中心 ========== */
.tech-preview { display: grid; align-items: start; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e8ecf4; transition: all 0.3s; }
.tech-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.tech-card-img { height: 180px; background: linear-gradient(135deg, #0066CC, #0099FF); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem !important; font-weight: 600; }
.tech-card-body { padding: 24px; }
.tech-card-body .type-tag { display: inline-block; background: #f0f4ff; color: #0066CC; padding: 5px 12px; border-radius: 6px; font-size: 0.85rem !important; margin-bottom: 12px; }
.tech-card-body h4 { font-size: 1.1rem !important; color: #1a1a2e; margin-bottom: 10px; line-height: 1.5; }
.tech-card-body p { font-size: 0.95rem !important; color: #888; margin-bottom: 14px; }
.read-more { display: inline-block; color: #0066CC; font-size: 0.95rem !important; font-weight: 500; text-decoration: none; }
.read-more:hover { color: #FF6600; }

/* ========== 询盘表单 ========== */
.inquiry-section { background: linear-gradient(135deg, #f0f4ff, #e8ecf4); }
.inquiry-inner { display: grid; align-items: start; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.inquiry-info h2 { font-size: 2rem !important; color: #1a1a2e; margin-bottom: 20px; font-weight: 700; }
.inquiry-info > p { font-size: 1.05rem !important; color: #666; margin-bottom: 36px; line-height: 1.8; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.contact-item .contact-icon { width: 48px; height: 48px; background: #0066CC; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-item .contact-text .label { color: #999; font-size: 0.9rem !important; }
.contact-item .contact-text .value { color: #333; font-weight: 600; font-size: 1.05rem !important; }
/* ========== 需求表单（在线提交）外框重做 ========== */
.inquiry-form {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 44px 44px 40px;
  border-radius: 20px;
  border: 1px solid #eef1f6;
  box-shadow: 0 18px 50px rgba(16,30,54,0.08), 0 2px 8px rgba(16,30,54,0.04);
  overflow: hidden;
}
/* 顶部品牌色渐变细线 */
.inquiry-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066CC 0%, #4da6ff 100%);
}
.inquiry-form h3 { font-size: 1.4rem !important; color: #1a1a2e; margin-bottom: 10px; }
.inquiry-form .subtitle { font-size: 1rem !important; color: #888; margin-bottom: 32px; }

/* 字段：针对真实结构 <label>文字<input></label> 轻量无边框感 */
.inquiry-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem !important;
  font-weight: 600;
  color: #5a6678;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.inquiry-form label input,
.inquiry-form label select,
.inquiry-form label textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1.5px solid #e9edf3;
  border-radius: 12px;
  font-size: 1rem !important;
  font-family: inherit;
  font-weight: 400;
  color: #1a1a2e;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.inquiry-form label input:hover,
.inquiry-form label select:hover,
.inquiry-form label textarea:hover { border-color: #cfe3fb; }
.inquiry-form label input:focus,
.inquiry-form label select:focus,
.inquiry-form label textarea:focus {
  outline: none;
  border-color: #0066CC;
  box-shadow: 0 0 0 4px rgba(0,102,204,0.10);
}
.inquiry-form label textarea { min-height: 110px; resize: vertical; }
.inquiry-form > label {
  display: block;
  margin-bottom: 18px;
}
.inquiry-form > label textarea { margin-top: 8px; }
.form-row { display: grid; align-items: start; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-bottom: 0; }
.form-row > label { margin-bottom: 18px; }

/* 提交按钮：渐变 + 箭头 + 上浮动效（提高特异性压过 base 的琥珀橙） */
body.ezmaxos-theme .inquiry-form .btn-primary {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  font-size: 1.05rem !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff !important;
  background: linear-gradient(135deg, #0066CC 0%, #1a3a6e 100%) !important;
  border: none !important;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,102,204,0.30);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
body.ezmaxos-theme .inquiry-form .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(0,102,204,0.40);
}
body.ezmaxos-theme .inquiry-form .btn-primary:active { transform: translateY(0); }

/* ========== Footer ========== */
.site-footer { background: #0a1628; color: rgba(255,255,255,0.7); padding: 80px 0 0; font-size: 1rem !important; }
.footer-inner { display: grid; align-items: start; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand p { font-size: 1rem !important; line-height: 1.8; margin-bottom: 24px; }
.footer h4 { color: #fff; font-size: 1.1rem !important; margin-bottom: 24px; font-weight: 600; }
.footer-links a { display: block; font-size: 0.95rem !important; color: rgba(255,255,255,0.6); padding: 8px 0; text-decoration: none; }
.footer-links a:hover { color: #4da6ff; }
.footer-contact p { font-size: 0.95rem !important; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-bottom { text-align: center; padding: 28px 0; font-size: 0.9rem !important; color: rgba(255,255,255,0.4); }

/* ========== 页面Hero ========== */
.page-hero { padding-top: 80px; background: linear-gradient(135deg, #0a1628, #0066CC); padding: 140px 0 80px; color: #fff; text-align: center; }

/* ========== 统一页面 Hero 区域 ========== */
:root { --navbar-height: 80px; }

.product-hero, .tech-hero, .contact-hero, .about-hero, .download-hero {
    overflow: visible !important;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #0066CC 100%);
    padding: 140px 0 80px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.product-hero::before, .tech-hero::before, .contact-hero::before, .about-hero::before, .download-hero::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");
    opacity: 0.5;
}
.product-hero .container, .tech-hero .container, .contact-hero .container, .about-hero .container, .download-hero .container {
    position: relative; z-index: 1;
}

/* Hero 标签 */
.product-hero .hero-tag, .tech-hero .hero-tag, .contact-hero .hero-tag, .about-hero .hero-tag, .download-hero .hero-tag, .solutions-hero .hero-tag, .products-hero .hero-tag, .page-hero .hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* 页面 Hero 标题 */
.product-hero h1, .tech-hero h1, .contact-hero h1, .about-hero h1, .download-hero h1, .solutions-hero h1, .products-hero h1, .page-hero h1 {
    font-size: 3rem !important;
    color: #fff !important;
    margin-bottom: 15px !important;
    font-weight: 700;
}

/* 页面 Hero 副标题 */
.product-hero .hero-subtitle, .tech-hero .hero-subtitle, .contact-hero .hero-subtitle, .about-hero .hero-subtitle, .download-hero .hero-subtitle, .solutions-hero p, .products-hero p, .page-hero p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.page-hero h1 { font-size: 2.8rem !important; margin-bottom: 20px; font-weight: 700; }
.page-hero p { font-size: 1.2rem !important; color: rgba(255,255,255,0.75); max-width: 700px; margin: 0 auto; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 968px) {
    html { font-size: 16px; }
    .hero-inner { grid-template-columns: 1fr !important; text-align: center; gap: 50px !important; }
    .hero-text h1 { font-size: 2.5rem !important; }
    .hero-btns { justify-content: center; }
    .products-grid { grid-template-columns: 1fr; }
    .tech-preview { grid-template-columns: repeat(2, 1fr); }
    .inquiry-inner { grid-template-columns: 1fr; gap: 50px; }

    /* 移动端菜单 */
    .main-nav {
        display: none !important;
        position: absolute !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 24px !important;
        gap: 16px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
        border-top: 1px solid #eee;
    }
    .main-nav.open { display: flex !important; }
    /* 汉堡菜单 - 默认隐藏 */\n.hamburger { display: none; }
    .nav-cta { margin-left: 0 !important; margin-top: 8px !important; width: 100% !important; text-align: center !important; }
}
@media (max-width: 640px) {
    .hero .container.hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; text-align: center; padding: 0 20px; }
    .hero .hero-left { text-align: center; }
    .hero .hero-actions { justify-content: center; margin-top: 24px; }
    .hero .hero-right { order: 2; }

    .features-grid { grid-template-columns: 1fr; }
    .tech-preview { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2rem !important; }
    .section-title h2 { font-size: 1.8rem !important; }
}

/* ========== Contact Form 7 美化 ========== */
.wpcf7-form {
    padding: 0;
}
.wpcf7-form h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
}
.wpcf7-form .subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.wpcf7-form .form-row {
    display: grid; align-items: start;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.wpcf7-form .form-group {
    margin-bottom: 16px;
}
.wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecf4;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    font-family: inherit;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    background: #FF6600;
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,102,0,0.3);
}
.wpcf7-response-output {
    margin: 20px 0;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}
.wpcf7-mail-sent-ok {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}
.wpcf7-validation-errors {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}
@media (max-width: 640px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== Contact Form 7 美化 ========== */
.inquiry-form-inner {
    padding: 0;
}
.inquiry-form-inner h3 {
    font-size: 1.5rem !important;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
}
.inquiry-form-inner .subtitle {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem !important;
}
.inquiry-form-inner .form-row {
    display: grid; align-items: start;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
}
.inquiry-form-inner p {
    margin: 0 0 16px 0 !important;
}
.inquiry-form-inner label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.4;
}
.inquiry-form-inner label br {
    display: none;
}
.inquiry-form-inner .wpcf7-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8ecf4;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}
.inquiry-form-inner .wpcf7-form-control:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.inquiry-form-inner textarea.wpcf7-form-control {
    min-height: 120px;
    resize: vertical;
}
.inquiry-form-inner select.wpcf7-form-control {
    cursor: pointer;
    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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.inquiry-form-inner .wpcf7-submit {
    display: inline-block;
    width: 100%;
    background: #FF6600 !important;
    color: #fff !important;
    padding: 16px 40px !important;
    border-radius: 8px;
    font-size: 1.05rem !important;
    font-weight: 600;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    text-align: center;
}
.inquiry-form-inner .wpcf7-submit:hover {
    background: #e55a00 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,102,0,0.3);
}
.inquiry-form-inner .wpcf7-response-output {
    margin: 20px 0;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}
.inquiry-form-inner .wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
}
.inquiry-form-inner .wpcf7-validation-errors {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
}
.inquiry-form-inner .wpcf7-spinner {
    display: inline-block;
    vertical-align: middle;
}

/* 占位符样式 */
.inquiry-form-inner ::placeholder {
    color: #aaa;
    opacity: 1;
}
.inquiry-form-inner :-ms-input-placeholder {
    color: #aaa;
}
.inquiry-form-inner ::-ms-input-placeholder {
    color: #aaa;
}

/* 响应式 */
@media (max-width: 768px) {
    .inquiry-form-inner .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== 首页询盘表单样式(与联系我们一致) ========== */
.inquiry-form .wpcf7-form {
    padding: 32px;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.inquiry-form .wpcf7-form h3 {
    font-size: 1.3rem !important;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-weight: 600;
}
.inquiry-form .wpcf7-form .form-hint {
    font-size: 0.9rem !important;
    color: #888;
    margin-bottom: 24px;
}
.inquiry-form .wpcf7-form .form-group {
    margin-bottom: 20px;
}
.inquiry-form .wpcf7-form .form-row {
    display: grid; align-items: start;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.inquiry-form .wpcf7-form label {
    display: block;
    font-size: 0.9rem !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.inquiry-form .wpcf7-form input,
.inquiry-form .wpcf7-form select,
.inquiry-form .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem !important;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.3s;
}
.inquiry-form .wpcf7-form input:focus,
.inquiry-form .wpcf7-form select:focus,
.inquiry-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.inquiry-form .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}
.inquiry-form .wpcf7-submit {
    display: block;
    width: 100%;
    background: #FF6600;
    color: #fff;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.inquiry-form .wpcf7-submit:hover {
    background: #e55a00;
    transform: translateY(-2px);
}
.inquiry-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 16px;
    border-radius: 8px;
}
.inquiry-form .wpcf7-mail-sent-ok {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}
@media (max-width: 640px) {
    .inquiry-form .wpcf7-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== 语言切换 ========== */
.lang-switch {
    display: flex;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #e0e0e0;
}
.lang-switch a {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}
.lang-switch a:hover {
    background: #f0f0f0;
}
.lang-switch a.active {
    background: #0066CC;
    color: #fff;
}

@media (max-width: 968px) {
    .lang-switch {
        display: none;
    }
}

/* ========== 联系我们页面 ========== */
/* 联系页面 - 参考询盘表单 */
}

/* ========== 联系页面 ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info {
    padding: 30px 0;
}
.contact-info h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-weight: 700;
}
.contact-info > p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item .contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0066CC, #0099FF);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item .contact-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}
.contact-item .contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}
.contact-form-box {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.contact-form-box h2 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 24px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form .form-group {
    margin-bottom: 16px;
}
.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== 英文模板通用样式 ========== */
/* Tech Center */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.tech-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.tech-card-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}
.tech-card-body {
    padding: 24px;
}
.type-tag {
    display: inline-block;
    background: rgba(0,102,204,0.1);
    color: #0066CC;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.tech-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1628;
    margin: 12px 0 8px;
}
.tech-card-body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
.tech-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.tech-card-date {
    font-size: 0.85rem;
    color: #999;
}
.read-more {
    color: #0066CC;
    font-weight: 600;
    text-decoration: none;
}
.read-more:hover {
    text-decoration: underline;
}

/* Downloads */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.download-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066CC, #0099FF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.download-info {
    flex: 1;
}
.download-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}
.download-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}
.download-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0a1628, #0066CC);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.download-btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .tech-grid, .download-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 英文模板通用样式 ========== */
/* Contact Grid */
.contact-grid-new {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}
.contact-info-block,
.contact-form-block {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}
.contact-info-block h2,
.contact-form-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066CC;
}
.contact-info-block > p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-icon-block {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0066CC, #0099FF);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-label-block {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}
.contact-value-block {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Contact Form */
.contact-form-new .form-row-new {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group-new {
    flex: 1;
}
.form-group-full {
    margin-bottom: 20px;
}
.form-group-new label,
.form-group-full label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.form-group-new input,
.form-group-full textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #fafafa;
}
.form-group-new input:focus,
.form-group-full textarea:focus {
    outline: none;
    border-color: #0066CC;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.form-group-full textarea {
    resize: vertical;
    min-height: 100px;
}
/* 表单/卡片内按钮占满宽度, 限定作用域避免污染 CTA 条 */
.form-group-new .btn-primary,
.form-group-full .btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0066CC, #0099FF);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover {
    opacity: 0.9;
}

/* About Intro */
.about-intro-new {
    display: flex;
    gap: 60px;
    align-items: center;
}
.about-intro-content {
    flex: 1.2;
}
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0066CC, #0099FF);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.about-intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 20px;
}
.about-intro-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0066CC;
}
.stat-label {
    font-size: 0.85rem;
    color: #999;
    margin-top: 4px;
}
.about-intro-visual {
    flex: 1;
}
.about-visual-box {
    background: linear-gradient(135deg, #0a1628, #0066CC);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
}
.visual-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}
.visual-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Advantages */
.about-advantages-section {
    background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .hero-tag {
    display: inline-block;
    background: rgba(0,102,204,0.1);
    color: #0066CC;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}
.section-header p {
    font-size: 1rem;
    color: #666;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 12px;
}
.advantage-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Scenarios */
.about-scenarios-section {
    background: #fff;
}
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.scenario-card {
    background: linear-gradient(135deg, #f8f9fc, #fff);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}
.scenario-card:hover {
    border-color: #0066CC;
    box-shadow: 0 8px 30px rgba(0,102,204,0.1);
}
.scenario-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.scenario-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 8px;
}
.scenario-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-intro-new {
        flex-direction: column;
        gap: 40px;
    }
    .advantages-grid,
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 968px) {
    .contact-grid-new {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .advantages-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        justify-content: center;
    }
}

/* 产品详情页图片居中 */
.main-img {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fc, #e8ecf4);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 16px;
}
.main-img img {
    display: inline-block;
    max-height: 350px;
    width: auto;
}

/* ========== 移动端适配增强 ========== */

/* 移动端导航 */
@media (max-width: 968px) {
    .site-header {
        height: 60px !important;
    }
    .header-inner {
        padding: 0 16px !important;
        position: relative !important;
    }
    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(255,255,255,0.98) !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }
    .main-nav.open {
        display: flex !important;
    }
    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }
    .main-nav ul li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #eee;
    }
    .main-nav ul li a {
        display: block !important;
        padding: 16px 0 !important;
        font-size: 1.1rem !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
    .nav-cta {
        display: block !important;
        margin: 20px auto 0 !important;
        width: 80% !important;
        max-width: 280px !important;
        text-align: center !important;
        padding: 14px 24px !important;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-overlay {
        display: none;
    }
    body.menu-open .nav-overlay {
        display: block !important;
    }
}

/* 移动端 Hero */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px !important;
        padding-bottom: 120px !important;
        min-height: auto !important;
    }
    .hero-inner {
        padding: 0 16px 20px;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .hero-visual {
        display: block !important;
    }
    .hero-card {
        max-width: 100% !important;
        padding: 24px !important;
    }
    .hero-card h3 {
        font-size: 1rem !important;
    }
    .spec-row {
        padding: 10px 0 !important;
        font-size: 0.9rem !important;
    }
    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    .hero-text p {
        font-size: 0.95rem !important;
    }
    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    /* 产品页 Hero */
    .product-hero,
    .tech-hero,
    .contact-hero,
    .about-hero,
    .download-hero {
        padding-top: 140px !important;
        padding-bottom: 100px !important;
    }
    .product-hero h1,
    .tech-hero h1,
    .contact-hero h1,
    .about-hero h1,
    .download-hero h1 {
        font-size: 1.6rem !important;
    }
}

/* 移动端产品卡片 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .product-card {
        margin-bottom: 20px;
        padding-bottom: 80px !important;
    }
    .product-card-img {
        height: 160px !important;
    }
    .product-card-img img {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 120px !important;
    }
    .product-card-body {
        padding: 20px !important;
    }
    .product-card-body h3 {
        font-size: 1.2rem !important;
    }
    .product-specs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .product-specs .spec {
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
    }
    .card-footer {
        position: relative !important;
        margin-top: 16px !important;
    }
}

/* 移动端产品详情页 */
@media (max-width: 768px) {
    .product-detail-inner {
        flex-direction: column !important;
    }
    .product-gallery {
        width: 100% !important;
        margin-bottom: 30px;
    }
    .product-info {
        width: 100% !important;
    }
    .main-img {
        padding: 20px;
    }
    .main-img img {
        max-height: 250px !important;
    }
    .thumbs {
        display: none;
    }
    .product-params {
        grid-template-columns: 1fr !important;
    }
    .product-actions {
        flex-direction: column;
        gap: 12px;
    }
    .product-actions a {
        width: 100%;
        text-align: center;
    }
}

/* 移动端联系页面 */
@media (max-width: 768px) {
    .contact-grid-new {
        flex-direction: column !important;
        gap: 20px;
    }
    .contact-info-block,
    .contact-form-block {
        padding: 24px !important;
    }
    .form-row-new {
        flex-direction: column !important;
        gap: 12px;
    }
}

/* 移动端关于页面 */
@media (max-width: 768px) {
    .about-intro-new {
        flex-direction: column !important;
        gap: 30px;
    }
    .about-intro-content {
        padding: 0;
    }
    .about-intro-content h2 {
        font-size: 1.5rem !important;
    }
    .about-visual-box {
        padding: 30px;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .advantage-card {
        padding: 24px 16px;
    }
    .scenarios-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* 移动端页脚 */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .footer-links a {
        display: block;
        margin: 8px 0;
    }
}

/* 移动端技术中心 */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .tech-card {
        margin-bottom: 0;
    }
}

/* 移动端下载页面 */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .download-icon {
        margin: 0 auto 16px;
    }
}

/* 移动端询盘表单 */
@media (max-width: 768px) {
    .inquiry-inner {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .inquiry-info h2 {
        font-size: 1.5rem !important;
    }
    .inquiry-form {
        padding: 24px !important;
    }
}

/* 移动端技术文章 */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
        font-size: 0.95rem;
    }
    .article-content h2 {
        font-size: 1.3rem;
    }
    .article-sidebar {
        width: 100% !important;
        margin-top: 30px;
    }
}

/* 移动端按钮 */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

/* 极小屏幕优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 40px 0 80px;
    }
    .hero {
        padding-bottom: 100px !important;
    }
    .hero-text h1 {
        font-size: 1.6rem !important;
    }
    .product-card {
        padding-bottom: 70px !important;
    }
    .product-hero h1,
    .tech-hero h1,
    .contact-hero h1,
    .about-hero h1,
    .download-hero h1 {
        font-size: 1.5rem !important;
    }
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    .customer-service-fixed {
        bottom: 12px !important;
        right: 12px !important;
    }
    .cs-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========== 移动端导航 ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex !important;
    }
    .nav-menu li {
        margin: 12px 0;
    }
}

/* ========== 移动端导航 ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav-menu.active {
        display: flex !important;
    }
    .nav-menu li {
        margin: 12px 0;
    }
}

/* ========== Hero 动态效果 ========== */
.corporate-hero {
    overflow: visible;
}
.corporate-hero .hero-tag {
    animation: fadeInDown 0.6s ease-out forwards;
    opacity: 0;
}
.corporate-hero h1 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}
.corporate-hero p {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 顶部装饰线动画 */
.corporate-hero::before {
    animation: gradientShift 3s ease infinite;
    background-size: 200% 100%;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* 标题橙色横线动画 */
.corporate-hero h1::after {
    animation: expandWidth 0.8s ease-out 0.6s forwards;
    width: 0;
}
@keyframes expandWidth {
    to { width: 70px; }

/* ========== Hero 动态效果 ========== */
    opacity: 0;
}
.product-hero .hero-subtitle, .tech-hero .hero-subtitle, .contact-hero .hero-subtitle, .about-hero .hero-subtitle, .download-hero .hero-subtitle, .solutions-hero p, .products-hero p, .page-hero p {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 网格背景动画 */
.product-hero::before, .tech-hero::before, .contact-hero::before, .about-hero::before, .download-hero::before {
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

/* ========== Hero 页面加载动画 ========== */
@keyframes heroFadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 标签动画 */
.product-hero .hero-tag, .tech-hero .hero-tag, .contact-hero .hero-tag, .about-hero .hero-tag, .download-hero .hero-tag, .solutions-hero .hero-tag, .products-hero .hero-tag, .page-hero .hero-tag {
    animation: heroFadeInDown 0.6s ease-out forwards;
    opacity: 0;
}
/* 标题动画 */
.product-hero h1, .tech-hero h1, .contact-hero h1, .about-hero h1, .download-hero h1, .solutions-hero h1, .products-hero h1, .page-hero h1 {
    animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}
/* 副标题动画 */
.product-hero .hero-subtitle, .tech-hero .hero-subtitle, .contact-hero .hero-subtitle, .about-hero .hero-subtitle, .download-hero .hero-subtitle, .solutions-hero p, .products-hero p, .page-hero p {
    animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* 强制统一所有Hero区域宽度 */
section[class$=hero] {
    padding: 140px 0 80px !important;
}

/* 强制Hero宽度 */
[class*=-hero] {
    padding: 140px 0 80px !important;
}
/**
 * EZMAX 产品对比页样式
 * Version: 1.0.20
 * 适配 EZMAX 主题风格:深蓝灰 + 蓝色高亮 + 橙色点缀
 */

/* ============================================
   面包屑导航
   ============================================ */
.ez-breadcrumb {
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 12px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.breadcrumb-nav a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #3b82f6;
}

.breadcrumb-nav .sep {
    color: #475569;
}

.breadcrumb-nav .current {
    color: #e2e8f0;
}

/* ============================================
   页面标题区
   ============================================ */
.compare-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.compare-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, #f59e0b, #3b82f6, transparent);
}

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

.compare-title {
    font-size: 42px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
}

.compare-title .highlight {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compare-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.compare-badge {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.compare-badge .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: #60a5fa;
}

/* ============================================
   产品卡片对比区
   ============================================ */
.product-cards-compare {
    background: #0f172a;
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .vs-divider {
        order: -1;
    }
}

.product-compare-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-compare-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}

.product-compare-card.featured {
    border-color: rgba(245, 158, 11, 0.3);
}

.product-compare-card.featured:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(245, 158, 11, 0.15);
}

.card-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    flex-wrap: wrap;
}

.chip-badge,
.port-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.chip-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.port-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.port-badge.hot {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.recommend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card-image {
    padding: 30px;
    text-align: center;
    background: rgba(15, 23, 42, 0.3);
}

.card-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.card-body {
    padding: 24px;
}

.card-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.card-tags .tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    font-size: 12px;
    color: #60a5fa;
}

.card-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 10px;
    padding: 0 24px 24px;
}

.card-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
}

.btn-outline:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* VS 分隔 */
.vs-divider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* ============================================
   核心规格对比表
   ============================================ */
.spec-compare-section {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 32px;
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e293b;
    min-width: 600px;
}

.compare-table thead th {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.th-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.th-name {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
}

.th-chip {
    font-size: 13px;
    color: #60a5fa;
}

.th-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.compare-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    font-size: 15px;
}

.compare-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

.spec-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
}

.spec-icon {
    font-size: 20px;
}

.highlight-col {
    background: rgba(245, 158, 11, 0.05);
}

.highlight-cell {
    background: rgba(245, 158, 11, 0.05);
    position: relative;
}

.diff-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.diff-row td {
    vertical-align: top;
}

.scene-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scene-list li {
    padding: 4px 0;
    color: #cbd5e1;
}

.scene-list li strong {
    color: #fbbf24;
}

/* ============================================
   企业级功能对比
   ============================================ */
.features-compare-section {
    background: #0f172a;
    padding: 60px 0;
}

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

.feature-category {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.feature-category h3 {
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    font-size: 14px;
}

.feature-name {
    color: #cbd5e1;
}

.feature-2cp,
.feature-4cp,
.feature-check {
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.feature-2cp {
    color: #60a5fa;
}

.feature-4cp {
    color: #fbbf24;
}

.feature-4cp.highlight {
    background: rgba(245, 158, 11, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
}

.feature-check {
    color: #34d399;
}

/* ============================================
   操作系统兼容性
   ============================================ */
.os-compat-section {
    background: linear-gradient(180deg, #1e293b, #0f172a);
    padding: 60px 0;
}

.section-desc {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
}

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

.compat-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.compat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.compat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.compat-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 8px;
}

.compat-card p {
    font-size: 14px;
    color: #94a3b8;
}

/* ============================================
   选型建议
   ============================================ */
.selection-guide-section {
    background: #0f172a;
    padding: 60px 0;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .guide-cards {
        grid-template-columns: 1fr;
    }
}

.guide-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.recommend-2cp::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.recommend-4cp::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.featured-guide {
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.guide-icon {
    font-size: 24px;
}

.guide-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.5;
}

.guide-list .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    font-size: 12px;
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-list li strong {
    color: #f8fafc;
}

.guide-tag {
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    font-size: 13px;
    color: #60a5fa;
    text-align: center;
}

/* 快速决策表 */
.decision-table {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.decision-table h3 {
    font-size: 20px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 20px;
    text-align: center;
}

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

.decision-table th {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.decision-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 14px;
    color: #cbd5e1;
}

.decision-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

.badge-2cp,
.badge-4cp {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.badge-2cp {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-4cp {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ============================================
   CTA 区域
   ============================================ */
.compare-cta-section {
    background: linear-gradient(135deg, #1e3a5f, #0f172a, #1e293b);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.compare-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, #f59e0b, #3b82f6, transparent);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-buttons a {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-lg {
    padding: 14px 32px;
}

.btn-chat {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
}

.btn-chat:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.05);
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94a3b8;
}

.cta-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   相关资源
   ============================================ */
.related-resources-section {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    padding: 60px 0 80px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.resource-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.resource-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.resource-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

/* ============================================
   容器
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .compare-title {
        font-size: 28px;
    }

    .compare-subtitle {
        font-size: 16px;
    }

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

    .compare-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .card-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-contact {
        flex-direction: column;
        gap: 8px;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .feature-name {
        font-weight: 600;
    }
}

/* ========== 导航栏修复 ========== */

/* 主内容容器最小约束（原基础样式未定义 .site-content） */
.site-content { display: block; }
.site-content .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 移动端导航菜单样式覆盖 *//* 移动端导航菜单样式覆盖 */
@media (max-width: 968px) {
    .site-header {
        height: 60px !important;
    }
    .site-header .header-inner {
        max-width: 100% !important;
        padding: 0 16px !important;
    }
    .site-header .main-nav {
        display: none !important;
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(255,255,255,0.99) !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
    }
    .site-header .main-nav.open {
        display: flex !important;
    }
    .site-header .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .site-header .main-nav ul li {
        display: block !important;
        border-bottom: 1px solid #eee !important;
    }
    .site-header .main-nav ul li a {
        display: block !important;
        padding: 16px 0 !important;
        font-size: 1.05rem !important;
        text-align: center !important;
    }
    .site-header .nav-cta {
        display: block !important;
        margin: 20px auto !important;
        width: 80% !important;
        text-align: center !important;
    }
    .site-header .lang-switch {
        display: flex !important;
        position: absolute !important;
        right: 60px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        gap: 6px !important;
        padding-left: 0 !important;
        border-left: none !important;
        margin-left: 0 !important;
        z-index: 10002 !important;
    }
    .site-header .lang-switch a {
        font-size: 0.75rem !important;
        padding: 4px 6px !important;
        border-radius: 4px !important;
    }
    .site-header .hamburger {
        position: absolute !important;
        right: 16px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10003 !important;
    }
}


/* ============================================
   移动端显示优化 - 修复溢出和显示不全问题
   ============================================ */

/* 移动端基础缩放调整 */
@media (max-width: 768px) {
    /* 防止横向溢出 */
    html, body {
        
        max-width: 100vw !important;
    }
    
    /* 确保所有容器不超过屏幕宽度 */
    .container,
    .wp-container,
    .resource-container,
    .tech-container,
    .about-container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* 减小Hero区域尺寸 */
    .page-hero {
        padding: 100px 16px 50px !important;
    }
    
    .page-hero h1 {
        font-size: 1.8rem !important;
    }
    
    .page-hero p {
        font-size: 0.95rem !important;
    }
    
    /* 减小卡片内边距 */
    .product-card,
    .tech-card,
    .wp-card {
        padding: 16px !important;
    }
    
    .product-card-body,
    .tech-card-body,
    .wp-card-body {
        padding: 16px !important;
    }
    
    /* 减小按钮尺寸 */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }
    
    /* 减小表单输入框 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    /* 确保图片不超出宽度 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 表格横向滚动 */
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* 小屏手机进一步优化 */
@media (max-width: 480px) {
    /* 基础字体缩小 */
    html {
        font-size: 14px !important;
    }
    
    /* Hero区域进一步缩小 */
    .page-hero {
        padding: 80px 12px 40px !important;
    }
    
    .page-hero h1 {
        font-size: 1.5rem !important;
    }
    
    /* 减小所有padding */
    .section,
    .wp-section {
        padding: 30px 0 !important;
    }
    
    /* 减小卡片间距 */
    .products-grid,
    .tech-grid,
    .wp-grid {
        gap: 16px !important;
    }
    
    /* 网格单列显示 */
    .products-grid,
    .features-grid,
    .tech-preview {
        grid-template-columns: 1fr !important;
    }
}

/* 发展历程配图 */
.history-figure{max-width:960px;margin:32px auto 0;}
.history-figure img{width:100%;height:auto;display:block;border-radius:14px;box-shadow:0 12px 36px rgba(11,31,58,.18);}

/* 关于我们 - 发展历程时间轴 */
.timeline{max-width:920px;margin:34px auto 0;position:relative;padding-left:28px;}
.timeline::before{content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,#0066CC,#4da6ff);}
.tl-item{position:relative;padding:0 0 28px 18px;}
.tl-item::before{content:"";position:absolute;left:-28px;top:6px;width:14px;height:14px;border-radius:50%;background:#0066CC;border:3px solid #fff;box-shadow:0 0 0 2px #4da6ff;}
.tl-year{font-weight:800;color:#0066CC;font-size:1.05rem;margin-bottom:6px;}
.tl-body h3{font-size:1.15rem;margin:0 0 6px;color:#1a1a2e;}
.tl-body p{margin:0;color:#555;line-height:1.8;font-size:.95rem;}

/* 资质荣誉板块 - 参考 ezmax.cc/certifications 版式 */
.cert-wrap{max-width:920px;margin:34px auto 0;}
.cert-cat{display:flex;align-items:center;gap:14px;margin:26px 0 12px;}
.cert-cat-ico{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;font-size:22px;background:#eef3fb;border-radius:12px;}
.cert-cat-head h3{font-size:19px;color:var(--ink,#0b1f3a);margin:0 0 2px;}
.cert-cat-head p{font-size:13px;color:#7a8699;margin:0;}
.cert-line{list-style:none;padding:0;margin:0 0 6px;}
.cert-line li{position:relative;padding:7px 0 7px 18px;font-size:14px;color:#44516a;border-bottom:1px dashed #eef2f8;}
.cert-line li::before{content:"";position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:#2f6bff;}
.cert-row-list{list-style:none;padding:0;margin:0;}
.cert-row-list li{display:flex;align-items:center;gap:12px;padding:11px 14px;border:1px solid #e9eff8;border-radius:12px;margin-bottom:10px;background:#fff;transition:.2s;}
.cert-row-list li:hover{box-shadow:0 6px 18px rgba(11,31,58,.08);}
.cert-row-list .cr-ico{font-size:18px;flex:0 0 auto;}
.cert-row-list .cr-name{flex:1;font-size:14px;color:#33425c;font-weight:500;}
.cert-row-list .cr-no{font-size:12px;color:#2f6bff;background:#e8f0ff;padding:2px 10px;border-radius:20px;flex:0 0 auto;}
.cert-row-list .cr-view{flex:0 0 auto;font-size:13px;color:#2f6bff;text-decoration:none;font-weight:600;border:1px solid #cfe0ff;padding:4px 14px;border-radius:20px;transition:.2s;}
.cert-row-list .cr-view:hover{background:#2f6bff;color:#fff;border-color:#2f6bff;}
@media(max-width:640px){.cert-row-list li{flex-wrap:wrap;}.cert-row-list .cr-name{flex:1 1 100%;order:3;}}

/* 移动端抽屉：桌面端默认隐藏，避免与桌面导航形成"两套"（原规则在已停用的 ezmaxos.css 中）
   桌面端 display:none；body.menu-open 时滑出 */
.mobile-drawer {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 78% !important;
    max-width: 320px !important;
    height: 100% !important;
    background: #0b1f3a !important;
    padding: 80px 24px 24px !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 70 !important;
    overflow-y: auto !important;
}
.mobile-drawer ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mobile-drawer a {
    display: block !important;
    padding: 12px 0 !important;
    color: #cdd8ea !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    text-decoration: none !important;
}
.mobile-drawer a:hover { color: #fff !important; }
body.menu-open .mobile-drawer { display: block !important; transform: translateX(0) !important; }

/* 英文页二级菜单 .sub-menu（header-en 使用此类名）沿用下拉逻辑 */
.main-nav ul li.menu-item-has-children { position: relative !important; }
.main-nav ul li .sub-menu {
    position: absolute !important;
    display: block !important;
    flex-direction: column !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px;
    margin: 0 !important;
    padding: 10px 0 !important;
    list-style: none !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(10,22,40,0.16) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s !important;
    z-index: 200 !important;
}
.main-nav ul li.menu-item-has-children:hover > .sub-menu,
.main-nav ul li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.main-nav ul li .sub-menu li { display: block !important; }
.main-nav ul li .sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    color: #333 !important;
    white-space: nowrap;
}
.main-nav ul li .sub-menu li a:hover { background: #f2f7ff !important; color: #0066CC !important; }

/* 解决方案卡片（首页 + 总览页）：让"查看/了解方案"按钮单独成行 */
.sol-body { display:flex !important; flex-direction:column !important; align-items:flex-start !important; }
.sol-body .scope { margin-bottom:12px !important; }
.sol-body .more { display:inline-block !important; }
