/* ================================
   Qsling 官网样式
   设计语言：克制白底 / 简约大气 / 编辑感小标号
   排版：Onest（grotesk）+ 中文系统字体（PingFang / 微软雅黑）
   调色：OKLCH 中性微偏冷蓝
   ================================ */

:root {
  /* OKLCH 调色板：中性微微偏冷蓝 */
  --bg: oklch(100% 0 0);
  --bg-soft: oklch(98.5% 0.003 247);
  --bg-muted: oklch(96% 0.005 247);
  --text: oklch(15% 0.01 247);            /* 不用纯黑，微偏蓝灰 */
  --text-secondary: oklch(45% 0.012 247);
  --text-tertiary: oklch(65% 0.008 247);
  --border: oklch(92% 0.005 247);
  --border-strong: oklch(85% 0.008 247);
  --accent: oklch(55% 0.18 250);          /* 蓝，用于稀有强调 */
  --accent-soft: oklch(96% 0.025 250);

  --max-width: 1120px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px 0 oklch(15% 0.01 247 / 0.04);
  --shadow-md: 0 4px 16px -2px oklch(15% 0.01 247 / 0.05), 0 2px 4px -1px oklch(15% 0.01 247 / 0.03);
  --shadow-lg: 0 24px 48px -12px oklch(15% 0.01 247 / 0.08), 0 8px 16px -4px oklch(15% 0.01 247 / 0.03);

  /* ── Type scale（8 级，rem 制，1.25 模数） ─────────── */
  --text-micro:   0.75rem;                              /* 12px - eyebrow / footer ICP */
  --text-small:   0.875rem;                             /* 14px - 按钮/导航/辅助 */
  --text-body:    1rem;                                 /* 16px - 正文 */
  --text-lead:    clamp(1.0625rem, 1.2vw, 1.1875rem);   /* 17-19px - 段首引言 */
  --text-h4:      1.25rem;                              /* 20px - 卡片小标 */
  --text-h3:      clamp(1.375rem, 2.4vw, 1.75rem);      /* 22-28px - 三级标题 */
  --text-h2:      clamp(1.75rem, 3.4vw, 2.5rem);        /* 28-40px - CTA / stat 数字 */
  --text-h1:      clamp(2rem, 4vw, 3.25rem);            /* 32-52px - 章节标题 */
  --text-display: clamp(2.5rem, 6.4vw, 5rem);           /* 40-80px - hero 大标题 */

  /* ── 字重（3 级） ─────────── */
  --w-regular:  400;
  --w-medium:   500;
  --w-semibold: 600;

  /* ── 行高（4 级语义） ─────────── */
  --lh-tight:   1.1;    /* 大型 display 标题 */
  --lh-snug:    1.25;   /* 卡片标题、小标题 */
  --lh-normal:  1.5;    /* 正文短段 */
  --lh-relaxed: 1.65;   /* 正文长段、中文阅读 */

  /* ── 字距（4 级语义） ─────────── */
  --ls-tight:   -0.025em;  /* display 大标题 */
  --ls-snug:    -0.015em;  /* h2/h3 */
  --ls-normal:   0;
  --ls-wider:    0.12em;   /* uppercase 小标号 */

  /* 间距：拉大段间距让呼吸更明显 */
  --gap-section: clamp(96px, 14vw, 180px);

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--text-body);
  line-height: var(--lh-relaxed);
  font-weight: var(--w-regular);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* 标题统一应用 text-wrap balance 防孤词 */
h1, h2, h3, h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* 可见 focus 状态 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 尊重 reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
}

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

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

/* ================================
   导航栏
   ================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(100% 0 0 / 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--w-semibold);
  font-size: var(--text-body);
  letter-spacing: var(--ls-snug);
  cursor: pointer;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--text);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--w-semibold);
  font-size: 0.9375rem;
  letter-spacing: -0.04em;
  transition: transform 0.5s var(--ease-out-expo),
              border-radius 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

/* logo "网格微偏移" — 鼠标在 logo 上时，方块轻微旋转 + 内部网格扫光 */
.logo:hover .logo-mark {
  transform: rotate(-8deg);
  border-radius: 12px;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    oklch(100% 0 0 / 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.logo:hover .logo-mark::after {
  transform: translateX(100%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: var(--text-small);
  color: var(--text-secondary);
  font-weight: var(--w-medium);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-quart);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 18px;
  background: var(--text);
  color: white !important;
  border-radius: 100px;
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  transition: background 0.25s var(--ease-out-quart),
              transform 0.25s var(--ease-out-quart);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: oklch(25% 0.012 247);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ================================
   通用区块
   ================================ */
section {
  padding: var(--gap-section) 0;
}

/* 章节小标号：01 / SERVICES */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 28px;
}

.eyebrow .num {
  font-weight: var(--w-regular);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.eyebrow .num::after {
  content: " /";
  margin: 0 6px 0 2px;
  color: var(--text-tertiary);
}

.section-title {
  font-size: var(--text-h1);
  font-weight: var(--w-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 20px;
  color: var(--text);
  max-width: 22ch;
}

.section-subtitle {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: var(--lh-relaxed);
  font-weight: var(--w-regular);
}

.section-header {
  margin-bottom: clamp(56px, 7vw, 96px);
  max-width: 760px;
}

/* ================================
   按钮
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out-quart);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.005em;
}

.btn-primary {
  background: var(--text);
  color: white;
}

.btn-primary:hover {
  background: oklch(25% 0.012 247);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* ================================
   首页 - Hero（克制留白）
   ================================ */
.hero {
  padding: clamp(80px, 11vw, 140px) 0 clamp(96px, 14vw, 180px);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  background: white;
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: var(--text-small);
  font-weight: var(--w-medium);
  margin-bottom: 36px;
  border: 1px solid var(--border);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: oklch(65% 0.18 145); /* 绿点更"在线"感 */
  border-radius: 50%;
  position: relative;
}

.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: oklch(65% 0.18 145 / 0.3);
  animation: pulse-ring 2s var(--ease-out-quart) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero h1 {
  font-size: var(--text-display);
  font-weight: var(--w-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 28px;
  color: var(--text);
  max-width: 18ch;
}

.hero h1 .accent-word {
  font-weight: var(--w-regular);
  color: var(--accent);
  font-style: normal;
}

.hero p {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  max-width: 48ch;
  margin-bottom: 40px;
  line-height: var(--lh-relaxed);
}

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

/* 入场动画 —— 错落延迟 */
.hero-badge { animation: rise 0.8s var(--ease-out-expo) 0s both; }
.hero h1 { animation: rise 1s var(--ease-out-expo) 0.1s both; }
.hero p { animation: rise 0.9s var(--ease-out-expo) 0.3s both; }
.hero-actions { animation: rise 0.9s var(--ease-out-expo) 0.5s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
   服务卡片网格
   ================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  padding: 48px 40px 44px;
  background: white;
  position: relative;
  cursor: default;
  transition: background 0.4s var(--ease-out-quart);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-soft);
}

.service-num {
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  margin-bottom: auto;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  font-size: var(--text-h4);
  font-weight: var(--w-semibold);
  margin: 36px 0 10px;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
}

.service-card p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 32ch;
}

/* 卡片不可点击，不加 hover 箭头避免误导 —— 仅靠背景色变化提示分组 */

/* ================================
   团队 / 文化区域
   ================================ */
.culture {
  background: var(--bg-soft);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.culture-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-strong);
}

.stat {
  position: relative;
}

.stat-number {
  font-size: var(--text-h2);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number .suffix {
  font-size: 0.55em;
  font-weight: var(--w-medium);
  color: var(--text-secondary);
}

.stat-label {
  font-size: var(--text-micro);
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* 大字招贴 */
.culture-poster {
  background: var(--text);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.poster-tag {
  font-size: var(--text-micro);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.45);
  font-weight: var(--w-medium);
}

.poster-words {
  font-size: var(--text-h2);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}

.poster-words .light {
  font-weight: var(--w-regular);
  color: oklch(100% 0 0 / 0.6);
}

.poster-meta {
  font-size: var(--text-micro);
  color: oklch(100% 0 0 / 0.5);
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* ================================
   CTA 区域
   ================================ */
.cta {
  text-align: left;
}

.cta-card {
  background: var(--text);
  color: white;
  padding: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 72px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}

.cta-card h2 {
  font-size: var(--text-h2);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-tight);
  margin-bottom: 16px;
  line-height: var(--lh-tight);
  max-width: 18ch;
}

.cta-card .cta-side p {
  font-size: var(--text-small);
  color: oklch(100% 0 0 / 0.65);
  margin-bottom: 24px;
  line-height: var(--lh-relaxed);
  max-width: 32ch;
}

.cta-card .btn-primary {
  background: white;
  color: var(--text);
}

.cta-card .btn-primary:hover {
  background: oklch(95% 0 0);
}

/* 紧贴上一区块（消除上方 padding） */
section.flush-top { padding-top: 0; }

/* CTA 区域内 eyebrow 的颜色修饰（移除 inline style） */
.cta-card .eyebrow {
  color: oklch(100% 0 0 / 0.5);
  margin-bottom: 20px;
}

.cta-card .eyebrow .num,
.cta-card .eyebrow .num::after {
  color: oklch(100% 0 0 / 0.4);
}

/* ================================
   产品页
   ================================ */
.product-hero {
  padding: clamp(80px, 10vw, 140px) 0 80px;
}

.product-hero h1 {
  font-size: var(--text-display);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: 24px;
  max-width: 16ch;
}

.product-hero .subtitle {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  max-width: 50ch;
  margin-bottom: 40px;
  line-height: var(--lh-relaxed);
}

/* 产品展示双栏：左侧视觉图 + 右侧 5 个功能编号 */
.product-showcase {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase-visual {
  background: var(--bg-soft);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

/* 三张真截图叠加：等大、等高、轻微重叠 */
.screens {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

.screen {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  box-shadow:
    0 14px 32px -12px oklch(15% 0.01 247 / 0.14),
    0 4px 8px -2px oklch(15% 0.01 247 / 0.04);
  transition: transform 0.3s var(--ease-out-quart);
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-front {
  z-index: 2;
  position: relative;
}

.screen-back {
  z-index: 1;
  opacity: 0.96;
}

.screen-l { margin-right: -8%; }
.screen-r { margin-left: -8%; }

/* 鼠标悬停时三卡轻微展开 */
.screens:hover .screen-l { transform: translateX(-4%); }
.screens:hover .screen-r { transform: translateX(4%); }

.showcase-features {
  background: white;
  padding: clamp(48px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.5vw, 44px);
  justify-content: center;
}

.feat {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: start;
}

.feat-num {
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.feat-body h4 {
  font-size: var(--text-h4);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
  margin-bottom: 8px;
  color: var(--text);
}

.feat-body p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0;
  max-width: 28ch;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  margin-bottom: clamp(72px, 10vw, 128px);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-num {
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-content h3 {
  font-size: var(--text-h3);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
  margin-bottom: 16px;
}

.feature-content p {
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: var(--lh-relaxed);
  max-width: 48ch;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: var(--text-small);
  color: var(--text);
  border-top: 1px solid var(--border);
  line-height: var(--lh-normal);
}

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

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}

.feature-visual {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ================================
   联系页
   ================================ */
.contact-hero {
  padding: clamp(80px, 11vw, 140px) 0 64px;
}

.contact-hero h1 {
  font-size: var(--text-display);
  font-weight: var(--w-semibold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: 20px;
  max-width: 14ch;
}

.contact-hero p {
  font-size: var(--text-lead);
  color: var(--text-secondary);
  max-width: 50ch;
  line-height: var(--lh-relaxed);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-bottom: 64px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-card {
  padding: 44px 36px 40px;
  background: white;
  transition: background 0.3s var(--ease-out-quart);
}

.contact-card:hover {
  background: var(--bg-soft);
}

.contact-card .ic {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--text);
}

.contact-card h3 {
  font-size: var(--text-micro);
  color: var(--text-tertiary);
  font-weight: var(--w-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 10px;
}

.contact-card .value {
  font-size: var(--text-lead);
  font-weight: var(--w-medium);
  color: var(--text);
  word-break: break-all;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
}

.contact-card .value a {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease-out-expo);
  padding-bottom: 2px;
}

.contact-card .value a:hover {
  background-size: 100% 1.5px;
}

.map-container {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
}

.map-container h3 {
  font-size: var(--text-h3);
  font-weight: var(--w-semibold);
  margin-bottom: 12px;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
}

.map-container .address {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: var(--text-lead);
  line-height: var(--lh-relaxed);
  max-width: 56ch;
}

/* 地图卡：SVG 街道底图 + 橙色定位针 + 地址悬浮卡 + CTA */
.map-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 16/7;
  overflow: hidden;
  background: #f5f5f7;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-quart),
              box-shadow 0.3s var(--ease-out-quart);
}

.map-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 2;
}

.map-pin svg {
  display: block;
  filter: drop-shadow(0 4px 8px oklch(15% 0.01 247 / 0.18));
  position: relative;
  z-index: 2;
}

.map-pin-pulse {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 18px;
  height: 6px;
  margin-left: -9px;
  background: oklch(15% 0.01 247 / 0.18);
  border-radius: 50%;
  filter: blur(3px);
}

.map-pin-pulse::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid #FF6B35;
  opacity: 0;
  animation: map-pin-ping 2.4s var(--ease-out-quart) infinite;
  transform-origin: center;
}

@keyframes map-pin-ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.map-addr-chip {
  position: absolute;
  top: clamp(16px, 2.5vw, 24px);
  left: clamp(16px, 2.5vw, 24px);
  background: white;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 240px;
  z-index: 2;
}

.map-addr-chip-name {
  font-size: var(--text-small);
  font-weight: var(--w-semibold);
  color: var(--text);
  letter-spacing: var(--ls-snug);
  margin-bottom: 2px;
}

.map-addr-chip-line {
  font-size: var(--text-micro);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.map-card-cta {
  position: absolute;
  right: clamp(16px, 2.5vw, 24px);
  bottom: clamp(16px, 2.5vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: white;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  letter-spacing: 0.02em;
  z-index: 2;
  transition: background 0.2s var(--ease-out-quart);
}

.map-card:hover .map-card-cta {
  background: oklch(25% 0.012 247);
}

.map-card-cta svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.map-card:hover .map-card-cta svg {
  transform: translate(2px, -2px);
}

/* 备用地图链接 */
.map-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: var(--text-small);
  color: var(--text-tertiary);
}

.map-actions-label {
  letter-spacing: 0.02em;
}

.map-actions a {
  color: var(--text-secondary);
  font-weight: var(--w-medium);
  position: relative;
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease-out-expo), color 0.2s ease;
}

.map-actions a:hover {
  color: var(--text);
  background-size: 100% 1px;
}

/* ================================
   页脚
   ================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: var(--text-small);
  margin-top: 20px;
  line-height: var(--lh-relaxed);
  max-width: 36ch;
}

.footer-col h4 {
  font-size: var(--text-micro);
  font-weight: var(--w-medium);
  margin-bottom: 20px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: var(--text-small);
  color: var(--text);
  position: relative;
  display: inline-block;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-quart);
}

.footer-col a:hover::after { transform: scaleX(1); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: var(--text-micro);
  color: var(--text-tertiary);
}

.footer-bottom .icp {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-bottom a {
  color: var(--text-tertiary);
}

.footer-bottom a:hover { color: var(--text); }

/* ================================
   响应式
   ================================ */
@media (max-width: 900px) {
  .culture-grid,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 56px;
    direction: ltr;
  }

  .culture-poster { aspect-ratio: 3/4; }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* 单列时取消文案宽度限制，让段落填满列 */
  .cta-card .cta-side p { max-width: none; }

  /* 产品展示卡：移动端改单列堆叠 */
  .product-showcase { grid-template-columns: 1fr; }
  .showcase-visual {
    min-height: 0;
    padding: 56px 24px;
  }
  .screens { max-width: 380px; }

  /* 地图卡：移动端改更高比例，地址卡缩小 */
  .map-card { aspect-ratio: 4/3; }
  .map-addr-chip { max-width: 200px; padding: 12px 14px; }

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

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 28px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
  }

  .culture-stats { gap: 28px; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .culture-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
