/* ============================================
   SCEC Technology - Global Styles
   Bilingual Corporate Website
   Dark Tech Theme
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #f7f9fc;
  --bg-secondary: #eef2f8;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --border: rgba(15,35,70,0.10);
  --border-hover: rgba(31,122,224,0.45);
  --text-primary: #16233b;
  --text-secondary: #45526b;
  --text-muted: #7c8aa5;
  --accent: #1f7ae0;
  --accent-glow: rgba(31,122,224,0.12);
  --accent-dark: #0f62b8;
  --accent-gradient: linear-gradient(135deg, #2f8af0 0%, #4f63e6 100%);
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(23,43,77,0.08);
  --shadow-lg: 0 8px 40px rgba(23,43,77,0.12);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1280px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Font Face (local, no external CDN) ---- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VF.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC';
  src: url('../fonts/NotoSansSC-site.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p { color: var(--text-secondary); }

/* ---- Layout Helpers ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Grid ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* ---- Section Title ---- */
.section-title {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 600px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Accent line ---- */
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin-bottom: 24px;
}
.accent-line.center { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(64,180,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64,180,255,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,0.72);
  color: var(--text-primary);
  border: 1px solid rgba(15,35,70,0.22);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.95);
  border-color: var(--border-hover);
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 2px 20px rgba(23,43,77,0.10);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand .brand-name { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.nav-brand .brand-tag { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; }
/* 品牌 logo：源文件 267×114，按高度自适应 */
.nav-brand .nav-logo {
  height: 40px; width: auto;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nav-brand .nav-logo { height: 32px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: rgba(64,180,255,0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---- Language Switcher ---- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.lang-switch button {
  padding: 4px 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

/* ---- Mobile Menu ---- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,14,23,0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,14,23,0.85) 0%, rgba(10,14,23,0.6) 50%, rgba(17,24,39,0.8) 100%);
}
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(64,180,255,0.1);
  border: 1px solid rgba(64,180,255,0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(64,180,255,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(64,180,255,0); }
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 800px;
}
.hero-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 36px;
  color: var(--text-secondary);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.product-card .card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.product-card .card-body {
  padding: 24px;
}
.product-card .card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.product-card .card-desc {
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.product-card .card-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.product-card .card-link:hover { gap: 8px; }

/* ---- Category Card (with bg image) ---- */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31,122,224,0.28);
}
.cat-card .cat-bg {
  position: static;
  display: block;
  width: 100%;
  height: 232px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s ease;
}
.cat-card::after { display: none; }
.cat-card .cat-content {
  position: relative;
  z-index: 2;
  padding: 26px 28px 30px;
}
.cat-card .cat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(31,122,224,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.cat-card .cat-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.cat-card .cat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Spec Table ---- */
.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--bg-card);
}
.spec-table th {
  background: var(--bg-elevated);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
}
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.spec-table tbody tr:hover {
  background: rgba(64,180,255,0.04);
}
.spec-table .model-cell {
  font-weight: 600;
  color: var(--accent);
}

/* ---- Feature Card ---- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feature-card .feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(64,180,255,0.1);
  border: 1px solid rgba(64,180,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-card .feature-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature-card .feature-desc {
  font-size: 0.9rem;
}

/* ---- Process Steps ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(64,180,255,0.3);
}
.process-step .step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process-step .step-desc {
  font-size: 0.85rem;
}

/* ---- Split Section (image + text) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 80px 48px;
  text-align: center;
  background: linear-gradient(135deg, rgba(64,180,255,0.1) 0%, rgba(99,102,241,0.1) 100%);
  border: 1px solid rgba(64,180,255,0.15);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; font-size: 1.1rem; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* 品牌栏占满整行：邮箱 sales@scec-tech.com.cn 较长，半列宽会被截断 */
  .footer-brand { grid-column: 1 / -1; }
}
/* 邮箱地址不在词中间断行 */
a[href^="mailto:"] { word-break: keep-all; overflow-wrap: normal; }
.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand .footer-logo {
  height: 36px; width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Contact Form ---- */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64,180,255,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* 蜜罐字段：真人不可见，机器人会填 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 1.2em;
  color: var(--text-secondary);
}
.form-status.is-error { color: #d93025; }
.form-status.is-ok { color: #0f9d58; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none !important; }

/* ---- Info Cards ---- */
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-card .info-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(64,180,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.info-card .info-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.info-card .info-content p {
  font-size: 0.9rem;
}

/* ---- QR Code Cards ---- */
.qr-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 720px;
}
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.qr-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.qr-card .qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.qr-link { display: inline-block; line-height: 0; }
.qr-card .qr-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.qr-card .qr-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Click-to-call / mail links ---- */
.contact-link {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
  word-break: break-all;
}
.contact-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: rgba(64,180,255,0.15); color: var(--accent); }
.badge-green { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-orange { background: rgba(245,158,11,0.15); color: var(--warning); }

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Page Banner ---- */
.page-banner {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner .banner-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.page-banner .banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.page-banner .banner-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,14,23,0.7) 0%, rgba(10,14,23,0.9) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { margin-bottom: 12px; }
.page-banner p { font-size: 1.15rem; max-width: 600px; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---- Glow background effect ---- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.glow-orb.blue {
  width: 400px; height: 400px;
  background: var(--accent);
}
.glow-orb.purple {
  width: 300px; height: 300px;
  background: #6366f1;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-num { font-size: 1.8rem; }
  .contact-form { padding: 24px; }
}

/* ============================================
   Hero — 浅色分栏 + 业务图轮播
   ============================================ */
.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: 128px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 680px; height: 680px;
  right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(47,138,240,0.12) 0%, rgba(47,138,240,0) 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.22; }
.hero-desc { max-width: 520px; }
.hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  max-width: 500px;
}
.hero .stat-num { color: var(--accent); font-size: 1.9rem; line-height: 1.1; }
.hero .stat-label { font-size: 0.85rem; }

.hero-visual { display: flex; flex-direction: column; }
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(23,43,77,0.16);
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-tabs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0; padding: 0;
}
.hero-tabs li { display: flex; }
.hero-tab {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: none;
  border: 0;
  border-top: 2px solid var(--border);
  padding: 14px 8px 0;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: inherit;
}
.hero-tab .t-num { font-size: 0.7rem; letter-spacing: 0.18em; opacity: 0.75; }
.hero-tab .t-name { font-size: 0.9rem; font-weight: 600; }
.hero-tab:hover { color: var(--text-primary); }
.hero-tab.is-active { border-top-color: var(--accent); color: var(--text-primary); }
.hero-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero { padding: 104px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: none; }
  .hero-desc { max-width: none; }
  .hero .hero-stats { gap: 18px; margin-top: 32px; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .stat-num { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ============================================
   二级页：浅色页头 / 电芯总表 / 单品详情
   ============================================ */
.page-banner {
  padding: 118px 0 44px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}
.page-banner .banner-bg img { opacity: 0.18; }
.page-banner .banner-bg::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,249,252,0.96) 100%);
}
.page-banner h1 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.page-banner p { color: var(--text-secondary); }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.crumb a { color: var(--text-muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

.series-tabs { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.series-tabs a {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}
.series-tabs a:hover { border-color: var(--accent); color: var(--accent); }

.series-block { margin-bottom: 56px; }
.series-title {
  font-size: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.series-count { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }

.model-table { font-size: 0.88rem; }
.model-table th { background: #f4f7fb; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text-muted); }
.model-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.model-table tbody tr { cursor: pointer; transition: background 0.2s ease; }
.model-table tbody tr:hover { background: rgba(31,122,224,0.05); }
.model-table .m-cell { display: flex; align-items: center; gap: 10px; }
.model-table .m-cell img { width: 44px; height: 30px; object-fit: contain; }
.model-table .m-code { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.model-table .m-strong { color: var(--accent); font-weight: 600; }
.model-table .m-link { color: var(--accent); text-decoration: none; white-space: nowrap; font-size: 0.82rem; }

.table-note { margin-top: 22px; font-size: 0.82rem; color: var(--text-muted); }

/* 单品详情 */
.cell-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.cell-photo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.cell-photo img { width: 100%; max-width: 460px; height: auto; }
.cell-h2 { font-size: 1.1rem; margin-bottom: 16px; }
.kv-table { font-size: 0.9rem; }
.kv-table th {
  width: 34%;
  background: #f7f9fc;
  color: var(--text-muted);
  font-weight: 500;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.kv-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-primary); }
.cell-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.detail-para { color: var(--text-secondary); max-width: 880px; line-height: 1.9; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(31,122,224,0.16);
  color: var(--accent-dark);
  font-size: 0.82rem;
}
.sib-title { font-size: 1rem; margin: 44px 0 16px; }
.sib-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.sib-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: var(--transition);
}
.sib-card:hover { border-color: var(--accent); color: var(--accent); }
.sib-card img { width: 34px; height: 46px; object-fit: contain; flex: 0 0 auto; }

@media (max-width: 900px) {
  .cell-detail { grid-template-columns: 1fr; gap: 32px; }
  .cell-photo { padding: 24px; }
  .spec-table-wrap { overflow-x: auto; }
  .model-table { min-width: 760px; }
}

/* ---- 移动端修正：栅格不撑破容器 + 二维码单列 ---- */
.split > *,
.grid > * { min-width: 0; }

@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
  .qr-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }
  .qr-card { padding: 20px; }
  .qr-card .qr-img { width: 168px; height: 168px; }
}

/* ---- 页脚即时沟通入口（WhatsApp / 微信）---- */
.foot-sep {
  opacity: 0.4;
  margin: 0 7px;
}
/* 从页脚跳转到联系页二维码区时，避开固定导航 */
#chat-qr { scroll-margin-top: 104px; }

/* ---- 业务页 Banner 应用场景背景轮播 ---- */
.app-banner {
  padding: 138px 0 58px;
  min-height: 430px;
  display: flex;
  align-items: center;
  background: #0d1526;
}
.app-banner .banner-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.app-banner .banner-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.app-banner .banner-slide.is-active { opacity: 1; }
.app-banner .banner-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 48%;
  transform: scale(1.02);
  transition: transform 9s linear;
  will-change: transform;
}
.app-banner .banner-slide.is-active img { transform: scale(1.11); }
.app-banner .banner-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,14,26,0.92) 0%, rgba(8,14,26,0.80) 34%, rgba(8,14,26,0.42) 64%, rgba(8,14,26,0.16) 100%),
    linear-gradient(180deg, rgba(8,14,26,0.55) 0%, rgba(8,14,26,0) 34%, rgba(8,14,26,0.30) 100%);
}
.app-banner .container { position: relative; z-index: 2; }
.app-banner .crumb, .app-banner .crumb a { color: rgba(255,255,255,0.60); }
.app-banner .crumb a:hover { color: #fff; }
.app-banner .crumb span:last-child { color: rgba(255,255,255,0.86); }
.app-banner h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.app-banner p {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
  max-width: 640px;
}
.app-banner .series-tabs a {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.34);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.app-banner .series-tabs a:hover,
.app-banner .series-tabs a:focus-visible {
  background: rgba(255,255,255,0.26);
  border-color: #fff;
  color: #fff;
}

.banner-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 32px;
}
.banner-dots { display: flex; gap: 9px; align-items: center; }
.banner-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.42); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.banner-dot:hover { background: rgba(255,255,255,0.72); }
.banner-dot.is-active { width: 26px; border-radius: 5px; background: #fff; }
.banner-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.banner-scene {
  font-size: 0.82rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.74);
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.28);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .app-banner { padding: 108px 0 44px; min-height: 350px; }
  .app-banner .banner-veil {
    background: linear-gradient(180deg, rgba(8,14,26,0.88) 0%, rgba(8,14,26,0.74) 46%, rgba(8,14,26,0.64) 100%);
  }
  .app-banner p { font-size: 1rem; }
  .banner-foot { margin-top: 24px; gap: 14px; }
  .banner-scene { font-size: 0.75rem; padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-banner .banner-slide,
  .app-banner .banner-slide img,
  .app-banner .banner-slide.is-active img { transition: none; transform: none; }
}

/* ---- 修复：移动端语言按钮被挤压换行 ---- */
.lang-switch button { white-space: nowrap; flex: 0 0 auto; }

/* ---- 场景名胶囊底衬，压在任何图片上都清晰 ---- */
.banner-scene {
  padding: 6px 14px;
  border-left: 0;
  border-radius: 100px;
  background: rgba(8, 14, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
}
