/* ============================================
   锐晟智行 Agilisun - 浅色商务风设计系统
   ============================================ */

:root {
  /* 主色 - 锐意蓝（冷色调，比深空更柔和） */
  --brand-50:  #EEF4FF;
  --brand-100: #DCE7FE;
  --brand-200: #B8CFFD;
  --brand-300: #8FB1FB;
  --brand-400: #5E8DF7;
  --brand-500: #2D6BF0;   /* 主品牌色 */
  --brand-600: #1F50D1;
  --brand-700: #193CA5;
  --brand-800: #152E7E;
  --brand-900: #10215A;

  /* 强调色 - 青绿 */
  --accent-400: #2DD4BF;
  --accent-500: #14B8A6;
  --accent-600: #0D9488;

  /* 灰阶 - 浅色友好 */
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;

  /* 背景 */
  --bg-page:  #FFFFFF;
  --bg-soft:  #F8FAFC;
  --bg-tint:  #F1F5F9;

  /* 文字 */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;

  /* 圆角 / 阴影 */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-brand: 0 8px 24px rgba(45, 107, 240, 0.18);

  /* 间距 */
  --container: 1200px;
  --section-gap: 96px;
  /* 导航栏高度 - 用于计算 hero/页面顶部内边距，避免被固定导航遮住 */
  --nav-height: 156px;
  --nav-height-mobile: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--brand-700); }

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

p { margin: 0; }

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

/* ============================================
   通用工具
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.section-title {
  margin-top: 16px;
  font-size: 40px;
  letter-spacing: -0.02em;
}
.section-desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* 文字渐变 - 蓝→青 */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(45, 107, 240, 0.25);
}
.btn-outline {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--ink-200);
}
.btn-outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}

/* ============================================
   卡片
   ============================================ */
.card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s;
}
.card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--brand-600);
}

.card-title {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 700;
}

.card-text {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   导航栏
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--ink-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}
.brand-logo {
  height: 132px; width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--brand-600); background: var(--brand-50); }
.nav-link.active {
  color: #FFFFFF;
  background: var(--brand-500);
  box-shadow: 0 2px 8px rgba(45, 107, 240, 0.25);
}
.nav-cta {
  margin-left: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
  touch-action: manipulation; /* 关闭移动端双击放大延迟 */
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 28px) 0 80px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 107, 240, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(20, 184, 166, 0.06), transparent 50%),
    var(--bg-page);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-title {
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 20px;
}
.hero-desc {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-200);
}
.hero-metric-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-600);
  font-variant-numeric: tabular-nums;
}
.hero-metric-label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-video {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink-900);
  aspect-ratio: 16 / 10;
}
.hero-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video .badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.7);
  color: #4ADE80;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-video .badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   能力卡片 - 三大特性
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
/* 2 列变体：用于"产品方案"等只放 2 张卡片、要求并排撑满的场景 */
.feature-grid--two {
  grid-template-columns: repeat(2, 1fr);
}


/* ============================================
   战略蓝图 - 横向 4 列卡片
   ============================================ */
.roadmap-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.roadmap-horizontal::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  z-index: 0;
}
.h-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.h-step-circle { margin-bottom: 20px; }
.h-step-num { margin-bottom: 8px; }
.h-step-title { margin-bottom: 10px; }
.h-step-desc { margin-bottom: 14px; }
.h-step-status { align-self: center; margin-bottom: 12px; }
.h-step-tags { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--ink-200); }
.h-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.h-step-circle {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 16px rgba(45, 107, 240, 0.25);
  position: relative;
  z-index: 2;
}
.h-step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.h-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.h-step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.h-step-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.h-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 4px;
}
.h-step-tags .tag { font-size: 11px; padding: 3px 8px; }

@media (max-width: 960px) {
  .roadmap-horizontal { grid-template-columns: repeat(2, 1fr); }
  .roadmap-horizontal::before { display: none; }
}
@media (max-width: 560px) {
  .roadmap-horizontal { grid-template-columns: 1fr; }
}

/* ============================================
   战略蓝图（纵向时间线，已被横向卡片替代）
   ============================================ */
.roadmap {
  position: relative;
  margin-top: 64px;
}
.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent-500), transparent);
  transform: translateX(-50%);
}
.roadmap-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
.roadmap-step:last-child { margin-bottom: 0; }
.roadmap-step .step-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.roadmap-step .step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.roadmap-step:nth-child(odd) .step-card { grid-column: 1; text-align: right; }
.roadmap-step:nth-child(even) .step-card { grid-column: 3; }
.roadmap-step .step-node {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.roadmap-step .step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-brand);
  position: relative;
  z-index: 2;
}
.roadmap-step .step-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-current { background: #ECFDF5; color: var(--accent-600); }
.status-future  { background: var(--brand-50); color: var(--brand-600); }

.step-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.roadmap-step:nth-child(odd) .step-tags { justify-content: flex-end; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--text-secondary);
}

/* ============================================
   收费模式
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.pricing-card.featured {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-meta strong { color: #fff; }
.pricing-card.featured .pricing-meta { color: rgba(255, 255, 255, 0.85); }
.pricing-card.featured::after {
  content: "推荐";
  position: absolute;
  top: -10px; right: 20px;
  background: var(--accent-500);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.pricing-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-600);
  font-variant-numeric: tabular-nums;
}
.pricing-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.pricing-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--ink-200);
  font-size: 13px;
  color: var(--text-muted);
}
.pricing-card.featured .pricing-meta { border-top-color: rgba(255, 255, 255, 0.25); }
.pricing-meta strong { color: var(--text-primary); font-weight: 600; }

/* ============================================
   目标客户
   ============================================ */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
/* 2 张卡铺满整行（关于我们 - 关联企业） */
.customer-grid--full { grid-template-columns: repeat(2, 1fr); }
.customer-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  align-items: center;
}
.customer-card:hover {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-lg);
}
.customer-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-600);
  letter-spacing: 0.05em;
  margin: 0 auto 14px;
}
.customer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}
.customer-subtitle {
  font-size: 14px;
  color: var(--brand-600);
  font-weight: 500;
  margin-bottom: 16px;
}
.customer-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.customer-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
  font-size: 13.5px;
  color: var(--text-secondary);
}
.customer-meta strong { color: var(--text-primary); font-weight: 600; }

/* ============================================
   关于我们
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-info {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.about-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.about-info-item .label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 70px;
}
.about-info-item .value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.partner-card {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
}
.partner-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================
   关联企业卡片 - 名称前 logo
   ============================================ */
.partner-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  text-align: center;
}
.partner-head .customer-title {
  margin: 0;
  text-align: center;
}
.partner-logo {
  width: 176px;
  height: 176px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--ink-200);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.partner-link {
  text-align: left;
}
.partner-link {
  margin-top: 8px;
  font-size: 14px;
  color: var(--brand-600);
  font-weight: 500;
  text-align: center;
}
.partner-link:hover { text-decoration: underline; }

/* ============================================
   专利
   ============================================ */
.patent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--brand-50), var(--bg-soft));
  border: 1px solid var(--brand-200);
  border-radius: var(--radius);
}
.patent-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-600);
  font-family: "SF Mono", Menlo, monospace;
  letter-spacing: 0.05em;
}
.patent-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 56px 0 28px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.footer-logo {
  height: 132px;
  width: 132px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 16px;
}
.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-400);
  max-width: 320px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-400);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-700);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-500);
}
/* ============================================
   桌面端专属：让内容卡铺满整行
   只在 ≥961px 生效，不影响 ≤960px 的移动/平板规则
   ============================================ */
@media (min-width: 961px) {
  /* 目标客户页 - 三种收费模式（3 张卡，铺满整行） */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================
   响应式
   ============================================ */
@media (max-width: 960px) {
  :root {
    --section-gap: 64px;
    --nav-height: 129px;
  }
  .section-title { font-size: 30px; }
  .hero { padding: calc(var(--nav-height) + 24px) 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-metric-num { font-size: 24px; }
  .feature-grid,
  .customer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* 缩放后的导航 */
  .brand-logo { height: 113px; }
  .nav-toggle { display: flex; }
  .nav-links {
    /* 关键：display: none 收起，避免 iOS WebKit 对 visibility:hidden + position:fixed
       仍会拦截触摸导致整页不能滚的问题。
       用 JS 在 .open 时切到 display: flex。 */
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--ink-200);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 99;       /* 展开时盖在 nav 内容之上 */
    touch-action: pan-y; /* 允许菜单内部纵向滚动 */
  }
  .nav-links.open {
    display: flex;
    animation: navSlideIn 0.22s ease-out;
  }
  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-link { padding: 14px 18px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }

  /* Roadmap 在移动端改为单列 */
  .roadmap-line { left: 24px; }
  .roadmap-step { grid-template-columns: 48px 1fr; gap: 16px; margin-bottom: 32px; }
  .roadmap-step .step-card { grid-column: 2; text-align: left !important; }
  .roadmap-step .step-node { grid-column: 1; }
  .roadmap-step .step-circle { width: 44px; height: 44px; font-size: 15px; }
  .roadmap-step:nth-child(odd) .step-tags { justify-content: flex-start; }

  /* 缩放后的关联企业 logo */
  .partner-logo { width: 128px; height: 128px; padding: 12px; }

  /* 缩放后的页脚 logo */
  .footer-logo { height: 144px; width: 144px; padding: 12px; }

  /* 专利块在中等屏幕可换行 */
  .patent { flex-wrap: wrap; }
  .patent > div:last-child { text-align: left !important; }
}

@media (max-width: 560px) {
  :root { --nav-height: 111px; }
  .container { padding: 0 20px; }
  .hero { padding: calc(var(--nav-height) + 20px) 0 40px; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 20px; }
  .hero-metrics > div { text-align: center; }
  .hero-metric-num { font-size: 22px; }
  .hero-metric-label { font-size: 11px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-logo { height: 95px; }
  .partner-logo { width: 104px; height: 104px; padding: 10px; }
  .footer-logo { height: 108px; width: 108px; }
  /* 卡片和按钮在更小屏上更紧凑 */
  .card { padding: 24px 20px; }
  .customer-card { padding: 24px 20px; }
  .pricing-card { padding: 24px 20px; }
  .patent { padding: 16px 18px; }
  .patent-num { font-size: 16px; }
}

/* 移动端菜单展开时锁定 body 滚动（兼容 iOS Safari） */
body.nav-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
