/* =====================================================================
   磐石云创软件开发工作室 · 官网样式
   设计基调：克制、高级、留白。参考 Vercel / Linear / Stripe / Apple。
   配色取自真实 LOGO：深石墨 #2E2D2A / 深岩灰 #434441 /
   岩棕灰 #88867F / 银灰蓝 #A3A7A5 #CBCECD（云纹高光）。
   浅色 + 深色双主题；8pt 间距网格；克制圆角；≤3 档极淡阴影。
   ===================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 8pt 间距 */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  /* 圆角（克制） */
  --r-sm: 8px;  --r: 12px;   --r-lg: 18px;

  --maxw: 1180px;

  /* 统一缓动 */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

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

/* ---------- 浅色主题（默认） ---------- */
:root,
[data-theme="light"] {
  --bg: #FBFBFA;
  --bg-alt: #F4F4F1;
  --surface: #FFFFFF;
  --surface-2: #F6F6F3;
  --card-glass: rgba(255, 255, 255, .92);

  --text: #2E2D2A;          /* 深石墨 主色 */
  --text-2: #46443F;        /* 深岩灰 次级文字 */
  --text-3: #76746D;        /* 加深岩棕灰（保证 AA 对比度） */
  --text-4: #88867F;        /* 岩棕灰 装饰性最弱文字 */

  --border: rgba(46, 45, 42, .10);
  --border-soft: rgba(46, 45, 42, .06);

  --accent: #3E7C8C;        /* 品牌强调色：自 LOGO 银灰蓝提纯提亮的青灰蓝 */
  --accent-2: #4E8E9E;
  --accent-soft: rgba(62, 124, 140, .12);

  --logo-bg: #FBFBFA;
  --nav-bg: rgba(251, 251, 250, .72);

  /* ≤3 档极淡阴影 */
  --shadow-1: 0 1px 2px rgba(46, 45, 42, .05);
  --shadow-2: 0 8px 24px rgba(46, 45, 42, .07);
  --shadow-3: 0 18px 50px rgba(46, 45, 42, .10);
}

/* ---------- 深色主题 ---------- */
[data-theme="dark"] {
  --bg: #171614;
  --bg-alt: #1E1C19;
  --surface: #211F1C;
  --surface-2: #2A2825;
  --card-glass: rgba(33, 31, 28, .92);

  --text: #F1F0EC;
  --text-2: #C7C5BD;
  --text-3: #9C9A91;
  --text-4: #B6B4AC;

  --border: rgba(255, 255, 255, .10);
  --border-soft: rgba(255, 255, 255, .06);

  --accent: #8FC3CE;        /* 品牌强调色：亮青灰蓝（暗底上更跳，与浅色同族） */
  --accent-2: #A6D2DC;
  --accent-soft: rgba(143, 195, 206, .16);

  --logo-bg: #FFFFFF;
  --nav-bg: rgba(23, 22, 20, .72);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .40);
  --shadow-2: 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-3: 0 20px 54px rgba(0, 0, 0, .55);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}

/* 动态背景：先恢复原始云团比例，再叠加极光流动 */
/* 底层：柔和底色 */
body::before {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(135deg, #e8edef 0%, #fbfbfa 45%, #f0efed 100%);
}

/* 云团层：使用加入极光前的原始比例（4 个大模糊云团），再叠加极光色彩与流动 */
body::after {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: -1;
  pointer-events: none;
  background:
    /* 左上：青绿极光云团 */
    radial-gradient(circle at 25% 25%, rgba(62, 210, 175, .55) 0%, rgba(62, 150, 190, .35) 20%, transparent 30%),
    /* 右下：蓝紫极光云团 */
    radial-gradient(circle at 75% 75%, rgba(130, 140, 215, .48) 0%, rgba(80, 170, 205, .30) 20%, transparent 30%),
    /* 顶部中央：青蓝极光云团 */
    radial-gradient(circle at 55% 15%, rgba(75, 215, 190, .45) 0%, rgba(62, 140, 160, .28) 16%, transparent 28%),
    /* 左下：暖紫极光云团 */
    radial-gradient(circle at 15% 85%, rgba(180, 150, 205, .38) 0%, rgba(95, 170, 215, .24) 16%, transparent 28%);
  filter: blur(90px);
  opacity: .95;
  animation: auroraCloudDrift 14s ease-in-out infinite, auroraCloudHue 22s linear infinite;
  will-change: transform, filter;
}

/* 深色主题：暗色底色 + 明亮极光云团 */
[data-theme="dark"] body::before {
  background: linear-gradient(135deg, #1c2021 0%, #171614 45%, #1a1815 100%);
}
[data-theme="dark"] body::after {
  background:
    radial-gradient(circle at 25% 25%, rgba(100, 230, 205, .62) 0%, rgba(100, 180, 210, .38) 20%, transparent 30%),
    radial-gradient(circle at 75% 75%, rgba(170, 160, 240, .55) 0%, rgba(100, 185, 215, .34) 20%, transparent 30%),
    radial-gradient(circle at 55% 15%, rgba(110, 240, 215, .52) 0%, rgba(100, 180, 200, .30) 16%, transparent 28%),
    radial-gradient(circle at 15% 85%, rgba(190, 170, 230, .45) 0%, rgba(100, 185, 215, .28) 16%, transparent 28%);
}

/* 原始云团比例：大幅漂移 + 缩放 */
@keyframes auroraCloudDrift {
  0%   { transform: translate(0, 0)     scale(1); }
  25%  { transform: translate(12%, -8%) scale(1.08); }
  50%  { transform: translate(-6%, 10%) scale(1); }
  75%  { transform: translate(-10%, -6%) scale(1.10); }
  100% { transform: translate(0, 0)     scale(1); }
}

/* 在云团上叠加极光流动：色相微移 */
@keyframes auroraCloudHue {
  0%   { filter: blur(90px) hue-rotate(0deg); }
  50%  { filter: blur(90px) hue-rotate(35deg); }
  100% { filter: blur(90px) hue-rotate(0deg); }
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ---------- 通用区块 ---------- */
.section { padding: var(--sp-8) 0; }
.section-alt { background: transparent; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head { max-width: 640px; margin-bottom: var(--sp-5); }
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-top: var(--sp-1);
}
.section-head p {
  margin-top: var(--sp-2);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--text-2); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-lg { padding: 14px 22px; font-size: 15.5px; }
.btn-sm { padding: 9px 15px; font-size: 14px; }

/* ---------- 状态标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--surface);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.tag-on  { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-soft); }
.tag-on  .dot { background: var(--accent); }
.tag-soon .dot { background: var(--text-3); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease-soft);
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  flex: none;
}
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--logo-bg);
  padding: 3px;
  display: block;
  object-fit: contain;
}

.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: var(--sp-2); }

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--accent); background: var(--surface-2); }

/* 产品下拉 */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-toggle .caret { font-size: 10px; opacity: .6; transition: transform .2s var(--ease); }
.has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 560px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-3);
  padding: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.has-dropdown.open .dropdown-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }

.dropdown-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-3);
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--text);
  transition: background .18s var(--ease);
}
.dropdown-item:hover { background: var(--surface-2); }
.di-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.di-icon svg { width: 16px; height: 16px; }
.di-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.di-name { font-size: 14px; font-weight: 500; }
.di-status { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }

/* 导航右侧 */
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-3); background: var(--surface-2); }
.theme-toggle svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding: var(--sp-8) 0 var(--sp-7); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: var(--sp-6);
  align-items: center;
}
.hero-eyebrow { color: var(--accent); }
.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-top: var(--sp-2);
}
.hero-title .hl { color: var(--accent); }
.hero-sub {
  margin-top: var(--sp-3);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 52ch;
}
.hero-actions { margin-top: var(--sp-4); display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: none;
  margin-top: var(--sp-5);
  align-items: center;
  gap: 14px;
  color: var(--text-3);
  font-size: 13.5px;
}
.hero-trust .sep { width: 1px; height: 14px; background: var(--border); }

/* Hero 品牌面板（使用真实 LOGO） */
.hero-panel {
  display: none !important;
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
}
.hero-badge {
  width: 96px; height: 96px;
  border-radius: 22px;
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  backdrop-filter: blur(8px) saturate(160%);
  padding: 11px;
  box-shadow: var(--shadow-2);
  display: grid; place-items: center;
}
.hero-badge .hero-logo { width: 100%; height: 100%; object-fit: contain; }
.hero-panel-name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.hero-panel-slogan { color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 28ch; }
.hero-divider { width: 40px; height: 1px; background: var(--border); margin: var(--sp-1) 0; }
/* Hero 品牌面板：聚焦品牌表达（非产品罗列） */
.hero-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-keyword {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
}
.hero-dot { color: var(--text-4); }
.hero-strata {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 96px;
  margin: 4px 0;
  opacity: .9;
}
.hero-strata i {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hero-strata i:nth-child(1) { width: 100%; }
.hero-strata i:nth-child(2) { width: 70%; }
.hero-strata i:nth-child(3) { width: 85%; }
.hero-panel-note { color: var(--text-3); font-size: 13.5px; line-height: 1.6; max-width: 30ch; }

/* ---------- 产品网格 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-3);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-3);
  box-shadow: var(--shadow-2);
}
.product-card:hover::after { opacity: 1; }

.pc-top { display: flex; align-items: center; justify-content: space-between; }
.pc-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.pc-icon svg { width: 22px; height: 22px; }
.pc-cat { font-size: 12.5px; color: var(--text-3); letter-spacing: .04em; }
.pc-name { font-size: 18px; font-weight: 600; margin-top: var(--sp-2); letter-spacing: -.01em; }
.pc-tagline { color: var(--text-2); font-size: 14.5px; line-height: 1.6; margin-top: 8px; flex: 1; }
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border-soft);
}
.pc-link {
  font-size: 13.5px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s var(--ease);
}
.product-card:hover .pc-link { color: var(--accent); }
.product-card:hover .pc-link .arrow { transform: translateX(3px); }

/* ---------- 关于我们 ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-6); align-items: start; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.about-text p { color: var(--text-2); margin-top: var(--sp-2); line-height: 1.75; }

.about-points { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: flex; flex-direction: column; gap: 18px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.ap-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
  margin-top: 2px;
}
.ap-check svg { width: 14px; height: 14px; }
.ap-text strong { display: block; font-weight: 600; font-size: 15.5px; }
.ap-text span { color: var(--text-3); font-size: 14px; }

.about-stats {
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}
.stat { padding: var(--sp-3) 0; border-top: 1px solid var(--border-soft); }
.stat:first-child { padding-top: 0; border-top: none; }
.stat:last-child { padding-bottom: 0; }
.stat-num { font-size: 34px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-3); font-size: 13.5px; margin-top: 4px; }

/* ---------- 联系我们 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.contact-card {
  background: var(--card-glass);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-3);
}
.contact-label { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.contact-value { margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--text); word-break: break-word; }
.contact-actions { margin-top: var(--sp-4); }

/* ---------- 页脚（始终深色，独立于主题） ---------- */
.footer {
  --f-bg: #161513;
  --f-surface: #1F1D1A;
  --f-text: #EDECE8;
  --f-text-2: #C2BFB6;
  --f-text-3: #908E85;
  --f-border: rgba(255, 255, 255, .09);
  --accent: #8FC3CE;          /* 页脚始终深色，固定使用亮青灰蓝保证对比度 */
  --accent-soft: rgba(143, 195, 206, .16);

  background: var(--f-bg);
  color: var(--f-text);
  padding: var(--sp-7) 0 var(--sp-4);
  margin-top: var(--sp-8);
  border-top: 1px solid var(--f-border);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-5);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand-logo {
  width: 36px; height: 36px;
  background: #fff;
  padding: 4px;
  border-radius: 8px;
}
.footer-brand .fb-name { font-weight: 600; font-size: 15px; color: var(--f-text); }
.footer-brand .fb-desc { color: var(--f-text-3); font-size: 13.5px; max-width: 34ch; line-height: 1.6; }

.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--f-text-3);
  font-weight: 600;
  margin: 0 0 var(--sp-2);
}
.footer-col a {
  display: block;
  color: var(--f-text-2);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--maxw);
  margin: var(--sp-5) auto 0;
  padding: var(--sp-3) var(--sp-3) 0;
  border-top: 1px solid var(--f-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--f-text-3);
  font-size: 13px;
}
.footer-bottom a { color: var(--f-text-3); text-decoration: none; transition: color .2s var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 产品详情页 ---------- */
.product-detail { padding: var(--sp-7) 0 var(--sp-8); max-width: 820px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: color .2s var(--ease);
}
.back-link:hover { color: var(--accent); }

.pd-head { display: flex; gap: 18px; align-items: flex-start; }
.pd-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.pd-icon svg { width: 28px; height: 28px; }
.pd-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-title-row h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; }
.pd-tagline { color: var(--text-2); margin-top: 8px; font-size: 16px; }
.pd-desc { color: var(--text-2); font-size: 16.5px; line-height: 1.8; margin-top: var(--sp-4); }
.pd-sub {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin: var(--sp-5) 0 var(--sp-2);
}
.pd-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pd-features li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.fi-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
  margin-top: 1px;
}
.fi-check svg { width: 13px; height: 13px; }
.pd-actions { margin-top: var(--sp-5); display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }

/* ---------- 滚动 reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: grid; }
  .nav-menu {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-3);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-menu.show { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 12px; }

  .dropdown-panel {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    padding: 8px 0 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }
  .has-dropdown.open .dropdown-panel { display: grid; }
  .dropdown-cat { padding-top: 12px; }
}

@media (max-width: 720px) {
  .section { padding: var(--sp-7) 0; }
  .hero { padding: var(--sp-7) 0 var(--sp-6); }
  .product-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-right .btn-login { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .stat-num { font-size: 30px; }
}

/* ---------- 动效偏好：关闭 reveal 与平滑滚动 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card, .hero-cat, .nav-link, .dropdown-item,
  .theme-toggle, .pc-link .arrow, .btn .arrow { transition: none; }
  body::before,
  body::after { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ---------- 付费下载支付弹窗 ---------- */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2);
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.pay-modal.active { opacity: 1; pointer-events: auto; }

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
}

.pay-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: var(--sp-4);
  text-align: center;
  transform: translateY(12px) scale(.98);
  transition: transform .25s var(--ease);
}
.pay-modal.active .pay-modal-panel {
  transform: none;
}

.pay-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-modal-close:hover { color: var(--text); background: var(--surface-2); }

.pay-modal-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  padding-right: 28px;
}

.pay-modal-desc {
  font-size: .95rem;
  color: var(--text-3);
  margin-bottom: var(--sp-3);
}

.pay-modal-qrs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.pay-modal-qr {
  flex: 1 1 140px;
  max-width: 170px;
  text-align: center;
}

.pay-modal-qr-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pay-modal-qr img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.pay-modal-download {
  width: 100%;
  justify-content: center;
}

@media (max-width: 480px) {
  .pay-modal-panel { padding: var(--sp-3); }
  .pay-modal-title { font-size: 1.15rem; }
  .pay-modal-qr { max-width: 140px; }
}
