/* ============ 设计令牌 Design Tokens（麦哲克品牌绿，源自 Logo 主色 #2CC335） ============ */
/* 首页样式：首屏、产品、方案、案例和联系表单 */
/* 设计变量：颜色、字号、间距和组件参数 */
:root {
  --brand: #2cc335; /* 品牌主色：鲜绿（来自 Logo 提取） */
  --brand-600: #22a82a; /* 深绿（按钮/链接 hover） */
  --brand-50: #f0fdf4; /* 极浅绿（背景/标签底色） */
  --error: #dc2626;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --bg: #ffffff;
  --bg-subtle: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);

  --font:
    "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 30px;
  --fs-4xl: 36px;
  --fs-5xl: 46px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 12px 32px rgb(0 0 0 / 0.12);
  --ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置和通用排版 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section {
  padding: var(--space-20) 0;
}
.section--subtle {
  background: var(--bg-subtle);
}
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 600px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--ease);
  min-height: 44px;
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}
.btn--lg {
  font-size: var(--fs-base);
  padding: var(--space-4) var(--space-8);
}

/* ============ Header ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--gray-600);
  transition: color var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-item--products {
  position: relative;
}
.nav-item--products > a {
  display: inline-flex;
  align-items: center;
}
.nav-chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--ease);
}
.product-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 216px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.98);
  box-shadow: 0 10px 30px rgb(17 24 39 / 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity var(--ease),
    visibility var(--ease),
    transform var(--ease);
}
.product-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}
.nav-item--products:hover .product-menu,
.nav-item--products:focus-within .product-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-item--products:hover .nav-chevron,
.nav-item--products:focus-within .nav-chevron {
  transform: translateY(1px) rotate(225deg);
}
.nav-links .product-menu a {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 5px;
  color: var(--gray-700);
}
.nav-links .product-menu a::after {
  display: none;
}
.nav-links .product-menu a:hover,
.nav-links .product-menu a:focus-visible {
  color: var(--text);
  background: var(--brand-50);
  outline: none;
}
.product-menu b {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.product-menu small {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: var(--ease);
}

/* 首屏：渐变背景、装饰元素和轮播内容 */
.hero {
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 900px 600px at 85% 60%,
      rgba(30, 64, 175, 0.14),
      transparent
    ),
    radial-gradient(
      ellipse 600px 400px at 10% 20%,
      rgba(44, 195, 53, 0.1),
      transparent
    ),
    radial-gradient(
      ellipse 500px 300px at 50% 100%,
      rgba(34, 168, 42, 0.06),
      transparent
    ),
    linear-gradient(165deg, #f8fafc 0%, #f0fdf4 35%, #ecfdf5 70%, #fafbfc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 195, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 195, 53, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.45;
}
.hero-glow--1 {
  width: 420px;
  height: 420px;
  background: rgba(44, 195, 53, 0.2);
  top: -80px;
  right: 8%;
  animation: glowDrift1 10s ease-in-out infinite;
}
.hero-glow--2 {
  width: 300px;
  height: 300px;
  background: rgba(90, 208, 98, 0.15);
  bottom: 5%;
  left: -4%;
  animation: glowDrift2 12s ease-in-out infinite;
}
.hero-glow--3 {
  width: 200px;
  height: 200px;
  background: rgba(34, 168, 42, 0.12);
  top: 40%;
  right: 30%;
  animation: glowDrift3 8s ease-in-out infinite;
}
@keyframes glowDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 16px);
  }
}
@keyframes glowDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -14px);
  }
}
@keyframes glowDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, -18px);
  }
}

.hero-lines {
  position: absolute;
  top: 18%;
  right: 6%;
  width: 280px;
  height: 320px;
  pointer-events: none;
  opacity: 0.12;
}
.hero-lines svg {
  width: 100%;
  height: 100%;
}

.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.15;
}
.hero-dot--1 {
  top: 20%;
  left: 12%;
  width: 5px;
  height: 5px;
  opacity: 0.2;
  animation: dotPulse 4s ease-in-out infinite;
}
.hero-dot--2 {
  top: 55%;
  left: 6%;
  opacity: 0.1;
  animation: dotPulse 5s ease-in-out infinite 1s;
}
.hero-dot--3 {
  top: 72%;
  right: 22%;
  width: 3px;
  height: 3px;
  opacity: 0.18;
  animation: dotPulse 3.5s ease-in-out infinite 0.5s;
}
.hero-dot--4 {
  top: 15%;
  right: 35%;
  opacity: 0.12;
  animation: dotPulse 6s ease-in-out infinite 2s;
}
.hero-dot--5 {
  bottom: 25%;
  right: 10%;
  width: 6px;
  height: 6px;
  opacity: 0.14;
  animation: dotPulse 4.5s ease-in-out infinite 1.5s;
}
@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: var(--_o, 0.15);
  }
  50% {
    transform: scale(1.6);
    opacity: calc(var(--_o, 0.15) * 2.5);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: var(--fs-5xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.hero p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.6);
  box-shadow:
    0 4px 24px rgba(30, 64, 175, 0.1),
    0 12px 48px rgba(30, 58, 138, 0.08);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.hero-visual .stat-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.hero-visual .stat-row:last-child {
  border-bottom: none;
}
.hero-visual .stat-row .k {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.hero-visual .stat-row .v {
  font-weight: 700;
  color: var(--brand);
}
.hero-visual .badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: var(--brand-50);
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.hero-visual--flow {
  aspect-ratio: auto;
  padding: var(--space-6);
  max-width: 420px;
}
.hero-visual--flow .stat-row {
  padding: var(--space-2) 0;
}

.hero-visual .pm {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.hero-visual .pm:last-child {
  border-bottom: none;
}
.hero-visual .pm-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-base);
}
.hero-visual .pm b {
  display: block;
  font-size: var(--fs-sm);
  color: var(--gray-900);
}
.hero-visual .pm small {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.hero-visual .flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-4);
}
.hero-visual .flow-node {
  flex: 1;
  text-align: center;
  background: var(--brand-50);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-2);
}
.hero-visual .flow-node b {
  display: block;
  font-size: var(--fs-lg);
  color: var(--brand);
  font-weight: 700;
}
.hero-visual .flow-node small {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.hero-visual .flow-link {
  color: var(--brand);
  font-size: var(--fs-xl);
  font-weight: 700;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(44, 195, 53, 0.2);
  margin-bottom: var(--space-5);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 195, 53, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(44, 195, 53, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(44, 195, 53, 0.06);
  }
}

.btn--ghost {
  background: transparent;
  color: var(--gray-800);
  border: none;
  padding-left: 0;
  padding-right: 0;
  font-weight: 600;
}
.btn--ghost:hover {
  color: var(--brand);
  transform: none;
  box-shadow: none;
}
.btn--ghost::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  margin-top: 4px;
  transition: opacity var(--ease);
}
.btn--ghost:hover::after {
  opacity: 1;
}

/* 4 产品 logo 卡片（2x2 网格，零编造数据） */
.product-cards {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 420px;
  min-width: 360px;
  box-shadow:
    0 24px 60px -20px rgba(15, 42, 30, 0.14),
    0 6px 18px -8px rgba(15, 42, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cards-eyebrow {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.card-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition:
    border-color var(--ease),
    background var(--ease);
}
.card-item:hover {
  border-color: var(--brand);
  background: var(--brand-50);
}
.card-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: 700;
  flex: none;
  transition:
    background var(--ease),
    color var(--ease);
}
.card-item:hover .card-ic {
  background: var(--brand);
  color: #fff;
}
.card-text b {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-900);
}
.card-text small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.cards-cap {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--gray-200);
}

.hero-dash {
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff 0%, #f4fbf5 100%);
  border: 1px solid var(--gray-200);
  box-shadow:
    0 24px 60px rgba(44, 195, 53, 0.12),
    0 8px 24px rgba(17, 24, 39, 0.06);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
  min-width: 320px;
  max-width: 420px;
}
.hero-dash::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #5ad062);
}
.dash-apps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.dash-app {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  letter-spacing: 0.02em;
}
.dash-sep {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--gray-200);
}
.dash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.dash-tag {
  font-size: var(--fs-xs);
  color: var(--gray-600);
  background: #f5f7f6;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ============ Hero 轮播 Carousel ============ */
.carousel {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.slides {
  position: relative;
  display: grid;
}
.slide {
  grid-area: 1/1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gray-700);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all var(--ease);
}
.carousel__arrow:hover {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-md);
  opacity: 1;
}
.carousel__arrow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.carousel__arrow--prev {
  left: var(--space-4);
}
.carousel__arrow--next {
  right: var(--space-4);
}
.carousel__dots {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: var(--space-3);
}
.carousel__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(30, 64, 175, 0.25);
  transition: all var(--ease);
}
.carousel__dots .dot.active {
  background: var(--brand);
  width: 28px;
  border-radius: 6px;
}
.carousel__dots .dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 数据概览：展示服务范围和核心系统 */
.cred {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.cred .num {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--brand);
}
.cred .label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}
.cred .num small {
  font-size: var(--fs-lg);
}
.cred .count {
  font-variant-numeric: tabular-nums;
}

/* 产品矩阵：展示四套业务系统 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.prod {
  display: flex;
  gap: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}
.prod:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.prod .icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  transition: transform var(--ease);
}
.prod:hover .icon {
  transform: translateY(-2px) scale(1.06);
}
.prod h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.prod p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}
.prod .more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
}

/* 解决方案：图文交替介绍业务能力 */
.sol-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}
.sol-row:last-child {
  margin-bottom: 0;
}
.sol-row.reverse .sol-text {
  order: 2;
}
.sol-text h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.sol-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.sol-list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
}
.sol-list .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  margin-top: 2px;
  transition: transform var(--ease);
}
.sol-list li:hover .tick {
  transform: scale(1.1);
}
.sol-visual {
  aspect-ratio: 16 / 8.8;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform var(--ease);
}
.sol-row:hover .sol-visual {
  transform: scale(1.02);
}
.finance {
  width: 100%;
  height: 100%;
  background-image: url("../images/finance.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.salary {
  width: 100%;
  height: 100%;
  background-image: url("../images/salary.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.MES {
  width: 100%;
  height: 100%;
  background-image: url("../images/MES.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 合作伙伴：行业和客户标签 */
.partner-group {
  margin-bottom: var(--space-12);
}
.partner-group:last-child {
  margin-bottom: 0;
}
.partner-group h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--gray-700);
  transition: all var(--ease);
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* 行动号召：引导用户获取方案 */
.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.cta p {
  font-size: var(--fs-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}
.cta .btn--secondary {
  background: #fff;
  color: var(--brand);
}

/* 页脚：站点信息和链接 */
footer {
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.footer-grid p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 260px;
  margin-top: var(--space-4);
}
.footer-grid h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

/* footer 二维码：放在第一列介绍下方 */
.footer-qrcode {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer-qrcode img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.footer-qrcode span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.footer-grid a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* 移动菜单：小屏幕抽屉导航 */
.mobile-menu {
  position: fixed;
  inset: 68px 0 0;
  background: #fff;
  z-index: 40;
  transform: translateX(100%);
  transition: transform var(--ease);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-size: var(--fs-lg);
  color: var(--gray-700);
}
.mobile-product-links {
  display: grid;
  gap: var(--space-3);
  margin-top: calc(var(--space-3) * -1);
  padding-left: var(--space-5);
  border-left: 2px solid rgb(44 195 53 / 0.24);
}
.mobile-menu .mobile-product-links a {
  font-size: var(--fs-base);
  color: var(--text-muted);
}

/* 滚动动画：内容进入视口时渐显 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.18s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.26s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.34s;
}

/* 客户案例：横向无缝滚动卡片 */
.cases {
  overflow: hidden;
}
.case-marquee {
  position: relative;
  margin-top: var(--space-12);
}
.case-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.case-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.case-card {
  flex: 0 0 calc((100vw - var(--space-6) * 5 - 1200px) / 3 * 1 + 340px);
  min-width: 300px;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-tag {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-50);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.case-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.case-logo {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray-600);
  font-size: var(--fs-sm);
  object-fit: contain;
  padding: 2px;
  border: 1px solid var(--border);
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  padding-top: var(--space-3);
}
.case-link:hover {
  text-decoration: underline;
}

/* 联系表单：需求说明、输入和提交状态 */
.lead {
  background: linear-gradient(135deg, #0f2e14 0%, #14532d 45%, #166534 100%);
  position: relative;
  overflow: hidden;
}
.lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 195, 53, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 195, 53, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}
.lead-text {
  color: #fff;
}
.lead-text .eyebrow {
  color: #b9f6c6;
  background: rgba(44, 195, 53, 0.16);
}
.lead-text h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.3;
}
.lead-text p.lead-lead {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--space-8);
  max-width: 440px;
}
.lead-points {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}
.lead-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-sm);
}
.lead-points .lp-ic {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(44, 195, 53, 0.22);
  color: #b9f6c6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  margin-top: 1px;
}
.lead-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}
.lead-form h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.lead-form .lf-sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.field {
  margin-bottom: var(--space-4);
}
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--text);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 195, 53, 0.15);
  background: #fff;
}
.field input.is-invalid {
  border-color: var(--error);
  background: #fff;
}
.field input.is-invalid:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.12);
}
.field-error {
  margin-top: 6px;
  color: var(--error);
  font-size: var(--fs-xs);
  line-height: 1.4;
}
.field-error[hidden] {
  display: none;
}
.field textarea {
  resize: vertical;
  min-height: 84px;
}
.lead-form .btn--primary {
  width: 100%;
  margin-top: var(--space-2);
}
.lf-note {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  margin-top: var(--space-3);
  text-align: center;
}
.lf-success {
  display: none;
  text-align: center;
  padding: var(--space-8) 0;
}
.lf-success.show {
  display: block;
}
.lf-success .ok {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-4);
}

/* 响应式：平板和移动端布局 */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-dash {
    max-width: 480px;
    margin: 0 auto;
    min-width: 0;
  }
  .product-cards {
    max-width: 480px;
    margin: 0 auto;
    min-width: 0;
  }
  .hero-lines {
    display: none;
  }
  .sol-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .sol-row.reverse .sol-text {
    order: 0;
  }
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }
  .lead-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .case-card {
    min-width: 260px;
    max-width: 320px;
  }
  .hero-glow--1 {
    width: 260px;
    height: 260px;
    opacity: 0.3;
  }
  .hero-glow--2 {
    width: 180px;
    height: 180px;
    opacity: 0.25;
  }
  .hero-glow--3 {
    display: none;
  }
}
@media (max-width: 767px) {
  .hero {
    padding: 40px 0 48px;
  }
  /* Keep inactive slides out of the mobile flow so they do not inflate the hero height. */
  .slides {
    display: block;
  }
  .slide {
    display: none;
  }
  .slide.active {
    display: block;
  }
  .hero-grid {
    gap: 28px;
  }
  .nav-links,
  .nav-cta .btn--secondary {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .prod-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    min-width: 220px;
    max-width: 280px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9vw, var(--fs-4xl));
    line-height: 1.16;
    margin-bottom: 18px;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
  }
  .hero-visual,
  .product-cards {
    width: min(100%, 360px);
    padding: 22px;
    border-radius: 18px;
  }
  .hero-visual {
    aspect-ratio: auto;
    min-height: 210px;
  }
  .product-cards {
    min-height: 210px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .btn {
    min-height: 48px;
  }
  .carousel__dots {
    position: static;
    transform: none;
    justify-content: center;
    margin: 26px auto 0;
  }
  .section {
    padding: var(--space-16) 0;
  }
  .hero-dots {
    display: none;
  }
  .hero-glow--2 {
    display: none;
  }
  .carousel__arrow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-visual {
    animation: none !important;
  }
  .slide {
    transition: none !important;
  }
  .hero-glow--1,
  .hero-glow--2,
  .hero-glow--3 {
    animation: none !important;
  }
  .hero-dot--1,
  .hero-dot--2,
  .hero-dot--3,
  .hero-dot--4,
  .hero-dot--5 {
    animation: none !important;
  }
  .case-track {
    animation: none !important;
  }
}
/* 首页通用辅助类 */
.section--flush-top {
  padding-top: 0;
}
.text-center {
  text-align: center;
}
