/* ============================================================
   佳苏度科技 GSOONDO —— 官网全静态版样式
   纯手写 CSS，无框架、无 CDN、无外部字体，可离线打开
   ============================================================ */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e6edf6;
  --bg: #ffffff;
  --gray: #f5f8fc;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.2);
  --shadow-blue: 0 24px 50px -28px rgba(29, 78, 216, 0.45);

  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--dark);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 通用文字 ---------------- */

.lead {
  font-size: 1.05rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.highlight {
  color: var(--blue-700);
  font-weight: 600;
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -28px rgba(29, 78, 216, 0.6);
}

.btn--outline {
  border-color: var(--blue-200);
  color: var(--blue-700);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-800));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav a.is-active {
  color: var(--blue-700);
  font-weight: 600;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: translateX(-50%);
}

.header-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f8fbff 0%, #eef5ff 45%, #e5f0ff 100%);
  padding: 88px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow--1 {
  top: -220px;
  right: -120px;
  background: radial-gradient(circle, #93c5fd, transparent 65%);
}

.hero-glow--2 {
  bottom: -280px;
  left: -160px;
  background: radial-gradient(circle, #bfdbfe, transparent 65%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.grad {
  background: linear-gradient(100deg, var(--blue-600), #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-points .point {
  display: flex;
  flex-direction: column;
}

.hero-points strong {
  font-size: 1.05rem;
  color: var(--dark);
}

.hero-points span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero 右侧面板（界面示意） */

.panel {
  position: relative;
  background: linear-gradient(160deg, #0f2a5e, #1d4ed8 60%, #2563eb);
  border-radius: 22px;
  padding: 26px;
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(29, 78, 216, 0.75);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #dbeafe;
}

/* ---------- 看板：KPI ---------- */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.kpi-label {
  font-size: 0.68rem;
  color: #bfdbfe;
}

.kpi-value {
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.01em;
}

.kpi-value em {
  margin-left: 2px;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 600;
  color: #bfdbfe;
}

.kpi-trend {
  font-size: 0.62rem;
  color: #6ee7b7;
}

/* ---------- 看板：面积折线图 ---------- */
.dash-chart {
  margin-top: 16px;
}

.dash-chart svg {
  display: block;
  width: 100%;
  height: 118px;
  overflow: visible;
}

.dash-x {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.6rem;
  color: rgba(191, 219, 254, 0.75);
}

/* ---------- 看板：环形 + 产线负载 ---------- */
.dash-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.donut {
  position: relative;
  flex-shrink: 0;
  width: 74px;
  height: 74px;
}

.donut svg {
  display: block;
  width: 74px;
  height: 74px;
}

.donut-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.donut-text strong {
  font-size: 0.95rem;
  color: #fff;
}

.donut-text strong em {
  font-size: 0.6rem;
  font-style: normal;
  color: #bfdbfe;
}

.donut-text span {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: #bfdbfe;
}

.dash-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 26px 1fr 32px;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  color: #dbeafe;
}

.bar-row .track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.bar-row .track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
}

.bar-row b {
  font-size: 0.64rem;
  font-weight: 700;
  text-align: right;
  color: #fff;
}

/* ---------- 3D 智能工厂场景 ---------- */
.hero-3d {
  position: relative;
  height: 372px;
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: radial-gradient(120% 110% at 72% 8%, #16406f 0%, #0b1e3d 55%, #071426 100%);
}

.hero-3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* 2D 看板兜底：仅当 WebGL / three.js 不可用时显示 */
.hero-3d-fallback {
  display: none;
}

.hero-3d.is-fallback canvas {
  display: none;
}

.hero-3d.is-fallback {
  height: auto;
  background: transparent;
  border-color: transparent;
  overflow: visible;
}

.hero-3d.is-fallback .hero-3d-fallback {
  display: block;
}

/* ---------------- 段落 & 标题 ---------------- */

.section {
  padding: 92px 0;
}

.section--gray {
  background: var(--gray);
}

.section--blue {
  background: linear-gradient(140deg, #0f2a5e, #1d4ed8 55%, #2563eb);
  color: #dbeafe;
}

.section--blue h2,
.section--blue h3,
.section--blue h4 {
  color: #fff;
}

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

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.section--blue .tag {
  color: var(--blue-200);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.section--blue .section-head p {
  color: #bfdbfe;
}

/* ---------------- 网格 ---------------- */

.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------------- 卡片 ---------------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 18px;
  font-size: 1.12rem;
}

.card > p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue-700);
  background: linear-gradient(150deg, var(--blue-50), var(--blue-100));
  border: 1px solid var(--blue-100);
}

/* 产品图标：内联 SVG 线性图标，颜色随 currentColor 继承 */
.card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--text);
}

.feature-list li::before {
  content: "✓";
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* 解决方案卡片 */

.solution-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), #06b6d4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.solution-card .num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 7px;
  padding: 4px 8px;
}

.solution-card > p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.solution-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.solution-card li {
  font-size: 0.8rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gray);
  border: 1px solid var(--line);
  color: var(--text);
}

/* ---------------- 数字条 ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.87rem;
  color: #bfdbfe;
}

.section--gray .stat-value,
.section:not(.section--blue) .stat-value {
  color: var(--blue-700);
}

.section--gray .stat-label,
.section:not(.section--blue) .stat-label {
  color: var(--muted);
}

/* ---------------- 实施步骤 ---------------- */

.step {
  position: relative;
  padding-left: 0;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 16px;
}

.step h4 {
  font-size: 1rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #bfdbfe;
}

/* ---------------- 时间线（能力演进 / 发展历程） ---------------- */

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 28px;
  border-left: 2px solid var(--blue-100);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-600);
}

.timeline-item h4 {
  font-size: 1rem;
}

.timeline-item p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------------- 新闻卡片 ---------------- */

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}

.news-cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

.news-card h3 {
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.5;
}

.news-card p {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.news-more {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* ---------------- 内页页头 ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 66px;
  background: linear-gradient(160deg, #0f2a5e, #1d4ed8 60%, #2563eb);
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16), transparent 45%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.page-hero p {
  margin-top: 14px;
  color: #dbeafe;
  font-size: 1rem;
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: #bfdbfe;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: 0.6;
}

/* ---------------- CTA 区块 ---------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
}

.cta::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.45), transparent 65%);
}

.cta .container {
  position: relative;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta p {
  margin-top: 12px;
  color: #dbeafe;
}

.cta .btn {
  margin-top: 30px;
}

/* ---------------- 联系页 ---------------- */

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

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-item:first-of-type {
  padding-top: 0;
}

.contact-item .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  margin-top: 4px;
  font-size: 1rem;
  color: var(--dark);
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--blue-700);
}

.map-box {
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #f0f7ff, #e6f0ff);
  padding: 40px 24px;
  text-align: center;
  overflow: hidden;
}

.map-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-box > * {
  position: relative;
}

.map-box .pin {
  width: 12px;
  height: 12px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.15), 0 0 0 18px rgba(37, 99, 235, 0.07);
}

/* ---------------- 表单 ---------------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 1.25rem;
}

.form-card > p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}

.field .req {
  color: #ef4444;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--dark);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a3b1c6;
}

.form-actions {
  margin-top: 24px;
}

.form-actions .btn {
  width: 100%;
}

.form-tip {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-800);
}

.form-tip.is-show {
  display: block;
}

.form-tip.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------------- 页脚 ---------------- */

.site-footer {
  background: #0b1729;
  color: #94a3b8;
  padding: 68px 0 26px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.site-footer .brand-text strong {
  color: #fff;
}

.site-footer .brand-text small {
  color: #64748b;
}

.footer-about p {
  margin-top: 18px;
  line-height: 1.9;
  max-width: 320px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

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

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

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

.footer-contact .lbl {
  color: #64748b;
  margin-right: 6px;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.8rem;
  color: #64748b;
}

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

/* ---------------- 回到顶部 ---------------- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-700);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------------- 滚动动效 ---------------- */

.reveal {
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 仅当 JS 确认可用时才启用「先隐藏后入场」，
   避免脚本异常时整页内容不可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1024px) {
  .hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding: 64px 0 80px;
  }

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

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

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

@media (max-width: 860px) {
  .site-header .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.5);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav a.is-active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .panel {
    padding: 20px;
  }

  .hero-3d {
    height: 292px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions .btn,
  .form-row {
    width: 100%;
  }

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

  .hero-points {
    gap: 20px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .form-card {
    padding: 24px;
  }

  .card,
  .solution-card,
  .news-card {
    padding: 24px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
