/* 吉禄实业企业官网 — 现代 H5 响应式样式 */
:root {
  --bg: #0a1628;
  --bg-soft: #111827;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #1e293b;
  --text-muted: #64748b;
  --primary: #0d4f8b;
  --primary-dark: #0a3d6e;
  --primary-light: #1a6bb5;
  --accent: #c8960c;
  --accent-light: #ddb326;
  --accent-soft: #fef3c7;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 9999;
}

.skip-link:focus {
  top: 16px;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-logo-full {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.brand-full {
  gap: 0;
  background: transparent;
}

.brand-logo-full {
  background: transparent;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.brand-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.header-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 14px;
  background: var(--surface-alt);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hotline-label {
  font-size: 11px;
  color: var(--text-muted);
}

.hotline-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-hotline {
  font-size: 18px;
  font-weight: 700;
  color: #00d4ff;
  text-decoration: none;
  padding: 0 6px;
  margin-left: 2px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-hotline:hover {
  color: #7dd3fc;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.nav a:hover,
.nav a.nav-active {
  color: var(--primary);
  background: rgba(13, 79, 139, 0.06);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  margin-left: 4px;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 48px) 0 48px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2540 0%, #0d4f8b 50%, #1a6bb5 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200, 150, 12, 0.15), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.07), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  flex: 1;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.35);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #1a1a1a;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-item {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
}

.hero-float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: absolute;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 0;
  left: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  animation-delay: 1.3s;
}

.hero-float-card.card-3 {
  bottom: 20px;
  left: 10%;
  animation-delay: 2.6s;
}

.card-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: 13px;
  color: var(--primary);
}

.hero-float-card p {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-figure {
  margin: 40px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-figure img {
  width: 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-card.card-2 {
  animation-name: float2;
}

@keyframes float2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

.hero-brands {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-tag {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* —— Sections —— */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--bg);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* Reveal animation — 无 JS 时默认显示，避免部署后大片空白 */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.3s; }

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.about-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.vision-card {
  padding: 20px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.vision-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--primary);
}

.vision-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.honor-panel {
  padding: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  color: #fff;
  margin-bottom: 20px;
}

.honor-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

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

.honor-list li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.honor-list li:last-child {
  border-bottom: none;
}

.philosophy {
  margin: 0 0 20px;
  padding: 20px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.philosophy p {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #92400e;
}

.philosophy cite {
  font-size: 12px;
  color: #b45309;
  font-style: normal;
}

.timeline-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 14px;
}

.timeline-item .year {
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}

/* —— Products —— */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 10px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: inherit;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tab-panel[hidden] {
  display: none;
}

.brand-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: inherit;
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.hidden {
  display: none;
}

.product-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.product-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-tags li {
  padding: 3px 10px;
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.software-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.software-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.software-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0a2540, #0d4f8b);
  color: #fff;
  border: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.software-card.featured h3 {
  color: #fff;
}

.software-card.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.software-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.software-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.software-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* —— Solutions —— */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.solution-card {
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.solution-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.solution-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* —— Cases —— */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(13, 79, 139, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.4;
}

.case-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* —— News —— */
.news-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.news-slider {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-track {
  position: relative;
  min-height: 280px;
}

.news-slide {
  display: none;
  padding: 36px;
}

.news-slide.active {
  display: block;
}

.news-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: #92400e;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.news-slide h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
}

.news-slide p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.news-slide time {
  font-size: 13px;
  color: var(--text-muted);
}

.news-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  font-family: inherit;
  line-height: 1;
}

.slider-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.news-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.news-list-title {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--primary);
}

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

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.news-list a:hover {
  color: var(--primary);
}

.news-list a span:first-child {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.news-list time {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  padding: 2px 8px;
  background: var(--surface-alt);
  border-radius: 4px;
}

/* —— Services —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.service-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-extra-item {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-extra-item strong {
  font-size: 15px;
  color: var(--primary);
}

.service-extra-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* —— Contact —— */
.contact-section {
  background: linear-gradient(180deg, var(--surface-alt) 0%, #eef2f7 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.contact-info > p {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 15px;
}

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

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.contact-label {
  font-weight: 600;
  color: var(--text-muted);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-form {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.form-hint {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--surface-alt);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.1);
  background: var(--surface);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  margin: 16px 0 0;
  padding: 12px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  background: var(--bg);
  color: #94a3b8;
  padding: 56px 0 0;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: #e2e8f0;
  font-size: 15px;
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-nav strong {
  display: block;
  color: #e2e8f0;
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-nav a {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  padding: 4px 0;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 12px;
}

.footer-legal {
  padding: 28px 0 32px;
  text-align: center;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 2px;
  margin-bottom: 14px;
}

.footer-legal-nav a {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  padding: 2px 6px;
}

.footer-legal-nav a:hover {
  color: #7dd3fc;
}

.footer-sep {
  color: #64748b;
  font-size: 12px;
  user-select: none;
}

.footer-contact {
  margin: 0 0 14px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.75;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  font-size: 12px;
  color: #94a3b8;
}

.footer-meta a.footer-icp {
  color: var(--primary);
  text-decoration: none;
}

.footer-meta a.footer-icp:hover {
  color: #7dd3fc;
}

.footer-icp {
  font-weight: 500;
}

.footer-weibo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-weibo-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #e6162d;
  position: relative;
  flex-shrink: 0;
}

.footer-weibo-icon::after {
  content: "";
  position: absolute;
  inset: 3px 2px 4px 2px;
  border: 2px solid #fff;
  border-radius: 50% 50% 45% 45%;
  border-top: none;
}

.legal-content h1 {
  margin: 0 0 20px;
  font-size: 28px;
  color: #f1f5f9;
}

.legal-content p {
  margin: 0 0 14px;
  color: #94a3b8;
  line-height: 1.75;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px 32px;
  margin-top: 24px;
}

.sitemap-group h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--primary);
}

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

.sitemap-links li {
  margin-bottom: 8px;
}

.sitemap-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.sitemap-links a:hover {
  color: #fff;
}

/* —— Back to top —— */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 100;
  transition: transform var(--transition), opacity var(--transition);
}

.back-top:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
}

.back-top[hidden] {
  display: none;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .software-card.featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .header-hotline {
    display: none;
  }

  .nav-hotline {
    display: block;
    font-size: 17px;
    padding: 12px 0;
    margin-left: 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-float-card {
    position: relative;
    margin-bottom: 10px;
    animation: none;
  }

  .hero-float-card.card-1,
  .hero-float-card.card-2,
  .hero-float-card.card-3 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .hero-card-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-figure {
    margin-top: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .about-vision {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .service-extra {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* backdrop-filter 会使内部 fixed 导航被限制在顶栏高度内，移动端关闭毛玻璃 */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.menu-open .site-header {
    z-index: 220;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 205;
    background: rgba(7, 11, 20, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 221;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 210;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    box-sizing: border-box;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 11px 12px;
    font-size: 15px;
    line-height: 1.35;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 12px 18px !important;
    text-align: center;
    border-radius: 999px !important;
    border-bottom: none !important;
  }

  .lang-switch {
    margin-top: 10px;
    align-self: center;
  }

  .nav-hotline {
    margin-top: 6px;
    padding: 10px 0 4px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: none !important;
  }

  .section {
    padding: 64px 0;
  }

  .product-grid,
  .solutions-grid,
  .cases-grid,
  .software-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-brands {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— 子页面：产品中心层级 —— */
.subpage .page-main {
  padding-top: var(--header-h);
}

.page-hero {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span:last-child {
  color: var(--text);
  font-weight: 600;
}

.bc-sep {
  color: var(--border);
  margin: 0 2px;
}

.page-section {
  padding: 48px 0 80px;
}

.page-section .section-head h1 {
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 0 0 12px;
}

.text-link {
  font-weight: 600;
  margin-left: 8px;
}

.subsection-title {
  font-size: 20px;
  color: var(--primary);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.brand-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.brand-tags-inline .brand-tag {
  padding: 5px 14px;
  background: rgba(13, 79, 139, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(13, 79, 139, 0.15);
}

/* 分类卡片（二级） */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  display: block;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  text-decoration: none;
}

.category-card.featured {
  background: linear-gradient(135deg, #0a2540, #0d4f8b);
  color: #fff;
  border: none;
}

.category-card.featured h3,
.category-card.featured .card-arrow {
  color: #fff;
}

.category-card.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.category-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
}

.category-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--bg);
}

.category-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.category-count {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.card-arrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
}

/* 首页产品卡片链接 */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card-link .card-arrow {
  margin-top: 12px;
}

.card-arrow-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.card-arrow-link:hover {
  color: var(--primary-light);
}

.software-card h3 a {
  color: inherit;
  text-decoration: none;
}

.software-card h3 a:hover {
  color: var(--primary);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost-dark:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

/* 分类页头部 */
.category-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.category-hero-icon {
  font-size: 48px;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.category-header h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
}

.category-header p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.spec-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tags-inline span {
  padding: 4px 12px;
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  border: 1px solid var(--border);
}

.list-count {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 产品列表（二级 → 三级入口） */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-list-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-list-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  text-decoration: none;
}

.product-list-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--surface-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.thumb-icon {
  font-size: 32px;
}

.product-list-body {
  flex: 1;
  min-width: 0;
}

.product-model {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(13, 79, 139, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.product-list-body h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.product-list-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.page-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* 产品详情（三级） */
.product-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.product-detail-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-alt), #e8eef5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.detail-icon {
  font-size: 64px;
}

.product-detail-cat {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: center;
}

.product-detail-cat a {
  color: var(--primary);
  font-weight: 600;
}

.product-detail-info h1 {
  margin: 8px 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
}

.product-summary {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.detail-panel {
  padding: 28px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.detail-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--primary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
  width: 38%;
}

.spec-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.detail-features li {
  font-size: 14px;
}

.related-products h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-item {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.related-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

.software-detail-panel {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 720px;
}

.software-detail-panel h2 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--primary);
}

.site-footer .footer-bottom {
  justify-content: space-between;
  padding: 24px 0;
}

.site-footer .footer-bottom a {
  color: #94a3b8;
}

.site-footer .footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

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

  .category-header {
    flex-direction: column;
  }
}

/* 链接卡片与图文内容 */
.solution-card-link,
.case-card-link,
.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.solution-card-link:hover,
.case-card-link:hover,
.service-card-link:hover {
  text-decoration: none;
}

.service-extra-link {
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-extra-link:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.category-card-img {
  margin: -8px -8px 12px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 140px;
}

.category-card-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.product-list-thumb.has-img {
  width: 96px;
  height: 96px;
  padding: 0;
  overflow: hidden;
}

.list-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.detail-img,
.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-detail h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.article-meta {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 28px;
}

.article-body p {
  margin: 0 0 16px;
}

.article-hero {
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.news-slide h3 a {
  color: inherit;
  text-decoration: none;
}

.news-slide h3 a:hover {
  color: var(--primary);
}

.subcategory-block {
  margin-bottom: 0;
}

.solution-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin-bottom: 32px;
}

.solution-subcategory-grid .subcategory-block .product-list-grid-single {
  grid-template-columns: 1fr;
}

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

.download-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.download-list li {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-list .download-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-list {
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--surface);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

