/* ============================================================
   江苏中天矿山设备股份有限公司 - 企业官网设计系统
   Design System v1.0
   ============================================================ */

/* ===== CSS Variables / 设计令牌 ===== */
:root {
  /* 背景色 - 白色及浅灰色 (70%) */
  --bg-primary: #FFFFFF;
  --bg-cool: #F6F8FB;
  --bg-light: #EEF2F7;
  --bg-muted: #E8EDF3;
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(10, 26, 48, 0.55);

  /* 主品牌色 - 深海军蓝/科技蓝 (20%) */
  --navy-900: #061427;
  --navy-800: #0A2540;
  --navy-700: #113456;
  --navy-600: #1B4D7E;
  --navy-500: #2563A6;
  --blue-500: #2B7AC9;
  --blue-400: #4A9BE0;

  /* 强调色 - 企业红 (<10%) */
  --red-600: #B91C2C;
  --red-500: #D11E33;
  --red-400: #E03447;
  --red-50: #FDF2F3;

  /* 辅助色 - 浅蓝灰/中性灰 */
  --slate-700: #3D4F63;
  --slate-600: #5A6B7E;
  --slate-500: #7888A0;
  --slate-400: #9AABC0;
  --slate-300: #C2CEDD;
  --slate-200: #DDE5EE;
  --slate-100: #ECF1F7;

  /* 文字色 */
  --text-primary: #0F1B2D;
  --text-body: #3D4F63;
  --text-muted: #7888A0;
  --text-inverse: #FFFFFF;
  --text-link: #1B4D7E;

  /* 分隔线/边框 */
  --border-light: #E8EDF3;
  --border-default: #D6DEE7;
  --border-strong: #B8C4D2;

  /* 字体 */
  --font-display: 'Archivo', 'Noto Sans SC', sans-serif;
  --font-body: 'Manrope', 'Noto Sans SC', sans-serif;
  --font-cn: 'Noto Sans SC', 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(10, 26, 48, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 26, 48, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 26, 48, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 26, 48, 0.12);
  --shadow-red: 0 6px 20px rgba(209, 30, 51, 0.25);

  /* 间距系统 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* 布局 */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Container ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; }

/* ===== Typography ===== */
.font-display { font-family: var(--font-display); }
.font-cn { font-family: var(--font-cn); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.h4 { font-size: 1.125rem; font-weight: 700; }
.h5 { font-size: 1rem; font-weight: 600; }

.text-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
}
.text-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red-500);
}
.text-eyebrow.blue { color: var(--navy-600); }
.text-eyebrow.blue::before { background: var(--navy-600); }

.text-muted { color: var(--text-muted); }
.text-navy { color: var(--navy-800); }
.text-red { color: var(--red-500); }
.text-white { color: #fff; }

.lead { font-size: 1.125rem; line-height: 1.8; color: var(--text-body); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-cn);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }

.btn-red {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
}
.btn-red:hover {
  background: var(--red-600);
  border-color: var(--red-600);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}
.btn-blue:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
}

.btn-outline-white {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--navy-600);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--red-500); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.btn-arrow::after {
  content: '→';
  font-family: var(--font-display);
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Header / Navigation ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--red-500);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .cn {
  font-family: var(--font-cn);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.logo-text .en {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-mark-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand .logo-mark-img {
  height: 54px;
}
.logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.footer-brand .logo-img {
  height: 96px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-main > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--font-cn);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-main > li > a:hover { color: var(--navy-800); background: var(--bg-cool); }
.nav-main > li > a.active { color: var(--red-500); }
.nav-main > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--red-500);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}
.nav-item-dropdown { position: relative; }
.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-dropdown a:hover { background: var(--bg-cool); color: var(--navy-800); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
}
.header-phone svg { width: 16px; height: 16px; color: var(--red-500); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--navy-800);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile Nav ===== */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-cn);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:hover { color: var(--red-500); }

/* ===== Section ===== */
.section { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }
.section-lg { padding: var(--space-4xl) 0; }
.section-cool { background: var(--bg-cool); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-xl);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .text-eyebrow::before { display: none; }
.section-head.center .text-eyebrow {
  justify-content: center;
}
.section-title { margin-top: 16px; }
.section-desc {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-flat {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition);
}
.card-flat:hover {
  border-color: var(--navy-500);
  box-shadow: var(--shadow-sm);
}

/* Icon Card */
.icon-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
}
.icon-card:hover {
  border-color: var(--navy-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.icon-card .icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-cool);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.icon-card:hover .icon-box {
  background: var(--navy-800);
}
.icon-card .icon-box svg {
  width: 28px; height: 28px;
  color: var(--navy-600);
  transition: color var(--transition);
}
.icon-card:hover .icon-box svg { color: #fff; }
.icon-card h4 { margin-bottom: 8px; }
.icon-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Scene Card (应用场景) */
.scene-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: all var(--transition);
}
.scene-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.scene-card:hover img { transform: scale(1.06); }
.scene-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,20,39,0.85) 0%, rgba(6,20,39,0.3) 50%, transparent 100%);
}
.scene-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.scene-card-content .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--red-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.scene-card-content h3 { color: #fff; margin-bottom: 8px; }
.scene-card-content p { color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.scene-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}
.scene-card:hover .scene-card-link {
  color: var(--red-400);
  border-color: var(--red-400);
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.product-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-cool);
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}
.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h4 { margin-bottom: 4px; }
.product-card-model {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red-500);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.product-card-specs span {
  font-size: 0.75rem;
  padding: 3px 8px;
  background: var(--bg-cool);
  color: var(--slate-600);
  border-radius: var(--radius-sm);
}
.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.product-card-footer .btn { flex: 1; padding: 8px 12px; font-size: 0.8rem; }

/* ===== Tags / Badges ===== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.tag-red { background: var(--red-50); color: var(--red-600); }
.tag-blue { background: var(--slate-100); color: var(--navy-600); }
.tag-navy { background: var(--navy-800); color: #fff; }
.tag-outline { border: 1px solid var(--border-default); color: var(--slate-600); }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
}
.pill-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-400);
}

/* ===== Stats / Data ===== */
.stat-block {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-number .unit { font-size: 0.5em; font-weight: 600; color: var(--slate-500); margin-left: 4px; }
.stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Tables ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.spec-table th {
  background: var(--bg-cool);
  font-family: var(--font-cn);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  white-space: nowrap;
}
.spec-table td {
  color: var(--text-body);
  font-size: 0.9rem;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--bg-cool); }

/* ===== Forms ===== */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-cn);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.form-label .required { color: var(--red-500); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #fff;
  transition: all var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(43, 122, 201, 0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237888A0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--red-500); }
.breadcrumb .sep { color: var(--slate-400); }
.breadcrumb .current { color: var(--text-primary); font-weight: 600; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,20,39,0.9) 0%, rgba(10,37,64,0.7) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text .cn { color: #fff; }
.footer-brand .logo-text .en { color: rgba(255,255,255,0.6); }
.footer-brand p {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
}
.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--red-400); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--red-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: var(--red-400); }

/* ===== Mobile Bottom Bar ===== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(10,26,48,0.08);
}
.mobile-action-bar .btn { flex: 1; padding: 12px; }

/* ===== Utilities ===== */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mt-2xl { margin-top: 64px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.kenburns { animation: kenburns 20s ease-out forwards; }

/* ===== Responsive ===== */

/* ---- Tablet (≤1100px) ---- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile (≤900px) ---- */
@media (max-width: 900px) {
  :root {
    --header-height: 60px;
    --space-3xl: 56px;
    --space-4xl: 72px;
    --space-2xl: 40px;
  }

  /* Header */
  .nav-main, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .logo-mark-img { height: 30px; }
  .logo-text .cn { font-size: 0.78rem; }
  .logo-text .en { display: none; }
  .logo-img { height: 44px; }
  .footer-brand .logo-img { height: 56px; }

  /* Mobile Nav */
  .mobile-nav { top: var(--header-height); padding: 16px; }
  .mobile-nav a { padding: 14px 0; font-size: 1rem; }

  /* Container & Section */
  .container, .container-wide { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-lg { padding: 56px 0; }
  .section-sm { padding: 28px 0; }
  .section-head { margin-bottom: 24px; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  /* Typography */
  .h-display { font-size: 1.6rem; }
  .h1 { font-size: 1.5rem; }
  .h2 { font-size: 1.3rem; }
  .lead { font-size: 1rem; }
  .section-desc { font-size: 0.95rem; }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.875rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.9rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 0; }
  .footer-brand p { font-size: 0.82rem; }

  /* Mobile action bar */
  .mobile-action-bar { display: flex; gap: 10px; padding: 8px 12px; }
  .mobile-action-bar .btn { padding: 10px; font-size: 0.85rem; }
  body { padding-bottom: 64px; }

  /* Cards */
  .icon-card { padding: 20px; }
  .icon-card .icon-box { width: 44px; height: 44px; margin-bottom: 14px; }
  .icon-card .icon-box svg { width: 24px; height: 24px; }
  .icon-card p { font-size: 0.85rem; }
  .card-flat { padding: 20px; }

  /* Page hero */
  .page-hero { padding: calc(var(--header-height) + 40px) 0 48px; }
  .page-hero h1 { font-size: 1.5rem; margin-bottom: 12px; }
  .page-hero p { font-size: 0.95rem; }

  /* Spec table */
  .spec-table th, .spec-table td { padding: 10px 14px; font-size: 0.82rem; }

  /* Floating panel - hide on mobile, use action bar instead */
  .floating-panel { display: none; }

  /* Breadcrumb */
  .breadcrumb { flex-wrap: wrap; gap: 4px; font-size: 0.78rem; }
}

/* ---- Small mobile (≤600px) ---- */
@media (max-width: 600px) {
  :root {
    --header-height: 56px;
  }

  .container, .container-wide { padding: 0 14px; }
  .header-inner { padding: 0 14px; }
  .section { padding: 32px 0; }
  .section-lg { padding: 40px 0; }
  .section-sm { padding: 24px 0; }
  .section-head { margin-bottom: 20px; }

  /* Grids */
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid { gap: 16px; }

  /* Typography */
  .h-display { font-size: 1.4rem; }
  .h1 { font-size: 1.3rem; }
  .h2 { font-size: 1.15rem; }
  .h3 { font-size: 1.05rem; }
  .lead { font-size: 0.95rem; }

  /* Logo */
  .logo-mark-img { height: 26px; }
  .logo-text .cn { font-size: 0.7rem; letter-spacing: 0; }
  .logo-img { height: 36px; }
  .footer-brand .logo-img { height: 48px; }

  /* Buttons */
  .btn { padding: 10px 20px; font-size: 0.82rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.875rem; }
  .btn-sm { padding: 8px 16px; font-size: 0.78rem; }

  /* Cards */
  .icon-card { padding: 16px; }
  .card-flat { padding: 16px; }
  .scene-card { aspect-ratio: 3/4; }
  .scene-card-content { padding: 20px; }
  .scene-card-content h3 { font-size: 1rem; }
  .scene-card-content p { font-size: 0.8rem; }
  .product-card-body { padding: 16px; }

  /* Footer */
  .footer-top { gap: 24px; padding-bottom: 24px; }
  .footer-col h5 { margin-bottom: 14px; font-size: 0.875rem; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { font-size: 0.82rem; }
  .footer-contact-item { font-size: 0.82rem; }

  /* Stats */
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.8rem; }

  /* Spec table */
  .spec-table th, .spec-table td { padding: 8px 12px; font-size: 0.78rem; }

  /* Mobile nav */
  .mobile-nav a { padding: 12px 0; font-size: 0.95rem; }
  .mobile-nav .btn { margin-top: 16px; }

  /* Form */
  .form-input, .form-select, .form-textarea { padding: 10px 14px; font-size: 0.875rem; }
  .form-group { margin-bottom: 16px; }
}

/* ===== Floating Contact Panel ===== */
.floating-panel {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(10, 26, 48, 0.18);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.fp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 12px;
  min-width: 72px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
}
.fp-item:last-child {
  border-bottom: none;
}
.fp-item:hover {
  background: var(--bg-cool);
}
.fp-item:hover .fp-label {
  color: var(--red-500);
}
.fp-item svg {
  width: 24px;
  height: 24px;
  color: var(--navy-700);
}
.fp-item:hover svg {
  color: var(--red-500);
}
.fp-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  font-family: var(--font-cn);
  white-space: nowrap;
}

/* WeChat QR Popup */
.fp-wechat-popup {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(10, 26, 48, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  white-space: nowrap;
  text-align: center;
  border: 1px solid var(--border-light);
  z-index: 1001;
}
.fp-item:hover .fp-wechat-popup,
.fp-item.active .fp-wechat-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.fp-wechat-popup::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #fff;
}
.fp-wechat-qr {
  width: 160px;
  height: 160px;
  background: var(--bg-cool);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.fp-wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-wechat-popup .fp-wx-tip {
  font-size: 0.82rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 2px;
}
.fp-wechat-popup .fp-wx-id {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 10px;
}
.fp-wechat-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--navy-700);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-cn);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.fp-wechat-save:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}
.fp-wechat-save svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

/* WeChat fullscreen overlay for mobile */
.fp-wechat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fp-wechat-overlay.show {
  display: flex;
}
.fp-wechat-overlay-content {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  position: relative;
  animation: fpFadeIn 0.25s ease;
}
@keyframes fpFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.fp-wechat-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-cool);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.fp-wechat-overlay-close:hover {
  background: var(--border-light);
}
.fp-wechat-overlay-qr {
  width: 200px;
  height: 200px;
  margin: 16px auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-cool);
}
.fp-wechat-overlay-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-wechat-overlay-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.fp-wechat-overlay-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.fp-wechat-overlay-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--navy-700);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-cn);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.fp-wechat-overlay-save:hover {
  background: var(--navy-800);
}
.fp-wechat-overlay-save svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .floating-panel {
    right: 10px;
    gap: 0;
    border-radius: 10px;
  }
  .fp-item {
    padding: 10px 8px;
    min-width: 58px;
  }
  .fp-item svg {
    width: 20px;
    height: 20px;
  }
  .fp-label {
    font-size: 0.65rem;
  }
  .fp-wechat-popup {
    right: calc(100% + 8px);
    padding: 12px;
  }
  .fp-wechat-qr {
    width: 120px;
    height: 120px;
  }
}
