/* ===== WhatsApp 浮动联系按钮 ===== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.wa-btn svg { flex-shrink: 0; }

.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform-origin: bottom right;
  transition: opacity 0.25s, transform 0.25s;
  opacity: 0;
  transform: scale(0.85) translateY(8px);
  pointer-events: none;
}
.wa-card.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.wa-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}
.wa-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.wa-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}
.wa-card-role {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.wa-card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #059669;
  margin-bottom: 12px;
}
.wa-card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  animation: wa-blink 1.5s ease-in-out infinite;
}
@keyframes wa-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.wa-card-tip {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.5;
}
.wa-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.wa-card-link:hover { opacity: 0.88; }

.wa-hide-btn {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.wa-hide-btn:hover { background: #ef4444; color: #fff; }

.wa-float.hidden .wa-card { display: none; }
.wa-float.hidden .wa-btn { width: 38px; height: 38px; opacity: 0.65; }
.wa-float.hidden .wa-btn::before { display: none; }

@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 80px; }
  .wa-card { min-width: 190px; }
}

/* ===== 语言切换器 ===== */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 8px;
  z-index: 1100;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.lang-current:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--primary);
}

.lang-flag { font-size: 16px; line-height: 1; }
.lang-label { font-size: 12px; font-weight: 500; }
.lang-arrow {
  transition: transform 0.2s;
  opacity: 0.7;
  flex-shrink: 0;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang-dropdown.open {
  display: flex;
  animation: langDropIn 0.15s ease;
}
@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.lang-option:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary);
}
.lang-option.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  font-weight: 600;
}
.lang-opt-flag { font-size: 16px; flex-shrink: 0; }
.lang-opt-label { white-space: nowrap; }

/* RTL 支持 */
body.rtl {
  direction: rtl;
  text-align: right;
}
body.rtl .nav-container {
  flex-direction: row-reverse;
}
body.rtl .lang-dropdown {
  right: auto;
  left: 0;
}
body.rtl .logo-text {
  text-align: right;
}

@media (max-width: 768px) {
  .lang-current .lang-label {
    display: none;
  }
  .lang-current {
    padding: 6px 8px;
  }
  .lang-switcher {
    margin-right: 4px;
  }
}

/* ===== 基础重置 & 变量 ===== */
:root {
  --primary: #10b981;
  --primary-dark: #0f766e;
  --accent: #059669;
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-card2: #f7f8fa;
  --border: #e5e7eb;
  --border-hover: #10b981;
  --text: #1f2937;
  --text-muted: #6b7280;
  --header-h: 72px;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section 通用 ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.light .section-title {
  color: #ffffff;
}
.section-header.light .section-desc {
  color: rgba(255,255,255,0.7);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 4px 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-cn {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 1px;
}
.logo-en {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  padding: 6px 16px;
  font-size: 14px;
  color: #4b5563;
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}

/* === AI生态下拉菜单 === */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  font-size: 14px;
  color: #4b5563;
  border-radius: 6px;
  transition: all 0.25s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}
.nav-dropdown-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
  margin-left: 2px;
  margin-top: -3px;
}
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(225deg) translateY(-2px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  width: max-content;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(16, 185, 129, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
  box-sizing: border-box;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}
.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(20, 184, 166, 0.08) 100%);
  color: var(--primary);
}
.nav-dropdown-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(20, 184, 166, 0.12) 100%);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-nav {
  flex-shrink: 0;
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1f2937;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%, #f7f8fa 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#circuitCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 6px 18px;
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: fadeInDown 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: #4b5563;
  margin-bottom: 36px;
  max-width: 600px;
  animation: fadeInUp 0.7s ease 0.2s both;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover::after { background: rgba(255,255,255,0.1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: var(--primary);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 24px 32px;
  max-width: 640px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.7s ease 0.4s both;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  width: 6px;
  height: 30px;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 3px;
  position: relative;
  animation: scrollBounce 2s ease infinite;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: var(--primary);
  border-radius: 1px;
  animation: scrollDot 2s ease infinite;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: default;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.service-features li {
  font-size: 12px;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 4px;
  padding: 3px 10px;
}

.service-arrow {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 18px;
  color: var(--primary);
  opacity: 0;
  transition: all 0.3s;
  transform: translateX(-8px);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Capabilities ===== */
.capabilities {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #f7f8fa;
}

.capabilities .container { position: relative; z-index: 1; }

.cap-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pcb-visual {
  position: relative;
  aspect-ratio: 4/3;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pcb-layer {
  position: absolute;
  border-radius: 4px;
}
.layer-1 {
  inset: 20px;
  background: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.layer-2 {
  inset: 35px;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.1);
}
.layer-3 {
  inset: 50px;
  background: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.08);
}

.pcb-dots {
  position: absolute;
  inset: 0;
}
.pcb-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}
.pcb-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  animation: dotPulse 2s ease infinite;
}

.pcb-lines {
  position: absolute;
  inset: 0;
}

.pcb-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pcb-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  white-space: nowrap;
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cap-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s;
}
.cap-item:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.02);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cap-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cap-content { flex: 1; }
.cap-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}
.cap-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.cap-bar {
  height: 3px;
  background: #f3f4f6;
  border-radius: 2px;
  overflow: hidden;
}
.cap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform-origin: left;
  animation: barGrow 1.5s ease 0.5s both;
}

/* ===== Industries ===== */
.industries {
  padding: 100px 0;
  background: #ffffff;
}

.industry-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 140px;
  flex: 1;
  max-width: 180px;
  transition: all 0.35s;
  cursor: default;
}
.industry-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.ind-icon {
  width: 52px;
  height: 52px;
}
.ind-icon svg { width: 100%; height: 100%; }

.industry-card span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #f7f8fa;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-content .section-tag { margin-bottom: 14px; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }

.about-intro {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: all 0.3s;
}
.value-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.value-icon { font-size: 20px; }
.value-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.value-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cert-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.cert-card {
  padding: 20px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
}
.cert-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cert-icon { font-size: 28px; margin-bottom: 8px; }
.cert-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.cert-desc { font-size: 12px; color: var(--text-muted); }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0.3;
}
.tl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -28px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #f7f8fa;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.tl-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  min-width: 40px;
}
.tl-event {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.qr-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.qr-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.qr-code {
  display: inline-block;
  margin-bottom: 16px;
}
.qr-inner {
  position: relative;
  padding: 12px;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: inline-block;
}
.qr-tip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  font-size: 11px;
  border-radius: 8px;
  text-align: center;
  padding: 8px;
  backdrop-filter: blur(2px);
}
.qr-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background: linear-gradient(135deg, #07c160, #04a050);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.2);
}
.btn-wechat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35);
}

.contact-alt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.alt-item:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.02);
}
.alt-item svg { flex-shrink: 0; color: var(--primary); }
.alt-item strong { color: var(--text); }

/* ===== Form ===== */
.form-block {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.form-group label span { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.25s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }
.form-group select option { background: #ffffff; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

/* ===== 工厂实景画廊 ===== */
.gallery { background: linear-gradient(180deg, #0b1a2e 0%, #0d2137 100%); padding: 100px 0; }
.gallery .section-tag { color: #00d4ff; }
.gallery .section-title { color: #fff; }
.gallery .section-desc { color: #7eb8d4; }
.gallery-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(0,212,255,0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #e0f0ff;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
  letter-spacing: 0.02em;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
/* Step number badge */
.step-num {
  position: absolute;
  top: 10px; left: 10px;
  width: 32px; height: 32px;
  background: rgba(0,212,255,0.9);
  color: #0b1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,212,255,0.4);
  letter-spacing: 0;
}
.gallery-item:hover .step-num {
  background: #00ffb3;
  box-shadow: 0 2px 12px rgba(0,255,179,0.5);
}
/* SVG placeholder styling */
.gallery-item img[src$=".svg"] {
  object-fit: contain;
  background: #0d1f33;
  padding: 8px;
}

/* ===== Footer ===== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 60px 24px 40px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-domain {
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 1px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact p {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
}
.footer-contact .contact-label {
  color: var(--text);
  font-weight: 500;
  margin-right: 4px;
}
.footer-social { margin-top: 16px; }
.social-btn {
  display: inline-block;
  padding: 7px 18px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.25s;
  cursor: pointer;
}
.wechat-btn {
  background: rgba(7, 193, 96, 0.12);
  border: 1px solid rgba(7, 193, 96, 0.25);
  color: #07c160;
}
.wechat-btn:hover { background: rgba(7, 193, 96, 0.2); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--primary); }

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-top:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== Why Choose Us ===== */
.why-us {
  padding: 100px 0;
  background: #f7f8fa;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s ease;
}
.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1;
}

.why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes scrollDot {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.6); }
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ===== Intersection Observer ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 999;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(16, 185, 129, 0.04);
    border-radius: 10px;
    margin-top: 4px;
    padding: 6px;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    transform: none;
  }
  .nav-dropdown-item {
    padding: 12px 14px;
    font-size: 14px;
  }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }
  .stat-divider { display: none; }
  .stat-item { min-width: calc(50% - 8px); }

  .services-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .about-values { grid-template-columns: 1fr; }
  .cert-cards { grid-template-columns: 1fr 1fr; }
  .gallery-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .gallery-flow { grid-template-columns: 1fr; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .industry-grid { gap: 12px; }
  .industry-card { min-width: 120px; padding: 20px 16px; }
}
/* ===== m15 Mobile inquiry UX (2026-10-25) ===== */
.m15-ctabar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:9998;gap:10px;
  padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(15,23,42,.96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 -6px 24px rgba(0,0,0,.18);}
.m15-ctabar a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:50px;border-radius:12px;font-weight:600;font-size:15px;line-height:1.2;
  text-decoration:none;-webkit-tap-highlight-color:transparent;}
.m15-cta-primary{background:#059669;color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.25);}
.m15-cta-ghost{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.16);}
@media (max-width:640px){
  html,body{overflow-x:clip;}
  .m15-ctabar{display:flex;}
  body.m15-hasbar{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));}
  input,select,textarea{font-size:16px !important;}
  input,select{min-height:48px;}
  textarea{min-height:120px;}
  button[type="submit"],.btn{min-height:48px;}
}

