/* ===== CSS Variables ===== */
:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --secondary: #00c853;
  --accent: #ff6d00;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f8f9fa;
  --bg-white: #fff;
  --bg-gray: #f0f2f5;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-height: 64px;
  --transition: all 0.25s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-title {
  font-size: 1.9em;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  gap: 6px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,115,232,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26,115,232,0.45);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,109,0,0.35);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }

/* Pulse animation for CTA buttons */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(255,109,0,0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(255,109,0,0.7);
  }
}
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ===== Header & Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--primary-dark);
}
.logo img { height: 36px; width: auto; }

/* Desktop Nav */
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  display: block;
  padding: 20px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.nav-desktop > li > a:hover, .nav-desktop > li.active > a { color: var(--primary); }
.nav-desktop .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.nav-desktop > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 14px;
}
.dropdown a:hover { background: var(--bg-gray); color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .tel { font-size: 14px; color: var(--text-light); }
.nav-cta .tel strong { color: var(--primary); font-size: 16px; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateX(0); }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-weight: 500;
}
.mobile-nav .submenu { padding-left: 16px; padding-bottom: 8px; }
.mobile-nav .submenu a {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--bg-gray);
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--text); }

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: #b0b0c0;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: #b0b0c0;
  padding: 6px 0;
  font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-contact p { font-size: 14px; margin: 8px 0; display: flex; align-items: center; gap: 8px; }
.footer-contact .phone { color: #fff; font-size: 1.3em; font-weight: 700; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* ===== Floating Action Buttons ===== */
.fab-group {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: var(--transition);
  font-size: 20px;
}
.fab:hover { transform: scale(1.1); color: #fff; }
.fab.wechat { background: #07c160; }
.fab.phone { background: var(--accent); }
.fab.top { background: var(--text-muted); }
.fab-label {
  position: absolute;
  right: 60px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.fab:hover .fab-label { opacity: 1; visibility: visible; }

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #00b0ff 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { font-size: 2.8em; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.15em; opacity: 0.9; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-btns .btn-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  max-height: 360px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: #fff;
  padding: 40px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 2em; color: var(--primary); }
.stat-item p { color: var(--text-light); font-size: 14px; }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
/* 两列布局：用于行业解决方案等区域，与核心产品区分 */
.card-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .card-grid-2col {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img { min-height: 220px; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 20px; }
.card-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.15em; margin-bottom: 10px; }
.card-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; }
.card-footer { padding: 0 24px 24px; }

/* ===== Product Center ===== */
.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}
.product-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: 84px;
}
.product-sidebar h3 {
  font-size: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-gray);
  margin-bottom: 12px;
}
.product-sidebar li { border-bottom: 1px solid var(--border); }
.product-sidebar a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-size: 14px;
}
.product-sidebar a:hover, .product-sidebar a.active { color: var(--primary); font-weight: 500; }

.product-main { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9ff, #fff);
}
.product-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
}
.product-hero-img img { max-height: 300px; }
.product-hero-info h1 { font-size: 1.8em; margin-bottom: 16px; }
.product-hero-info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag-pill {
  background: #e3f2fd;
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
}
.product-hero-info .desc { color: var(--text-light); margin-bottom: 24px; }
.product-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product Tabs */
.product-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.product-tab {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.product-tab:hover { color: var(--primary); }
.product-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: #fff; }
.product-tab-panel { display: none; padding: 32px 40px; }
.product-tab-panel.active { display: block; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table th { background: var(--bg-gray); width: 200px; font-weight: 500; }
.spec-table tr:hover td { background: #fafafa; }

/* ===== Solution Page ===== */
.solution-hero {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.solution-hero h1 { font-size: 2.2em; margin-bottom: 16px; }
.solution-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.pain-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffebee;
  color: #c62828;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.pain-card h3 { margin-bottom: 10px; }
.pain-card p { color: var(--text-light); font-size: 14px; }

.solution-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.flow-step {
  text-align: center;
  position: relative;
}
.flow-step::after {
  content: '→';
  position: absolute;
  top: 30px;
  right: -16px;
  color: var(--primary);
  font-size: 20px;
}
.flow-step:last-child::after { display: none; }
.flow-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.flow-step h4 { margin-bottom: 8px; }
.flow-step p { color: var(--text-light); font-size: 14px; }

/* ===== Contact Page ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: #e3f2fd;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { color: var(--text-light); font-size: 14px; }
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Feature List ===== */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { color: var(--text-light); font-size: 14px; }

/* ===== Quick Form Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { font-size: 1.2em; }
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--bg-gray); color: var(--text); }
.modal-body { padding: 20px 24px 24px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 220px 1fr; }
  .pain-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-drawer { display: block; }
  .hero { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2em; }
  .hero p { margin: 0 auto 24px; }
  .hero-btns { justify-content: center; }
  .hero-visual img { max-height: 240px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.5em; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .product-hero { grid-template-columns: 1fr; padding: 24px; }
  .product-tabs { overflow-x: auto; }
  .pain-points { grid-template-columns: 1fr; }
  .solution-flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6em; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .solution-flow { grid-template-columns: 1fr; }
}

/* ===== Article Page ===== */
.article-page {
  background: #fff;
  padding: 40px 0 60px;
  min-height: 60vh;
}
.article-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg-gray);
}
.article-header h1 {
  font-size: 1.8em;
  line-height: 1.4;
  color: var(--text);
}
.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.article-content p {
  margin-bottom: 16px;
  text-indent: 2em;
}
.article-content img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: var(--radius);
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
}
.article-content a:hover {
  color: var(--primary-dark);
}
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
  text-indent: 0;
  margin: 24px 0 12px;
  font-weight: 600;
}
.article-content h2 { font-size: 1.4em; }
.article-content h3 { font-size: 1.2em; }
.article-content ul, .article-content ol {
  margin: 12px 0;
  padding-left: 2em;
  list-style: disc;
}
.article-content ol { list-style: decimal; }
.article-content li {
  margin-bottom: 8px;
}
.article-content strong, .article-content b {
  font-weight: 600;
}

/* Video container styles */
.video-container {
  margin: 24px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
.video-container video,
video.video-responsive {
  width: 100%;
  max-width: 800px;
  max-height: 800px;
  min-height: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: contain;
  background-color: #000;
  background-image: none;
  display: block;
  margin: 0 auto;
}
