/* ============================================================
   刻图KT官网 设计系统
   品牌基因取自 App 图标小蓝猫：猫蓝主色 + 腮红粉点缀
   字体策略：纯系统字体栈（SF Pro / Segoe UI / PingFang SC），
   零外部字体请求，保证国内加载速度
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色板：猫蓝主色 + 腮红粉微点缀，饱和度克制 */
  --bg: #f8fafc;               /* 页面冷调白底 */
  --bg-alt: #eef3f8;           /* 交替区块底 */
  --surface: #ffffff;          /* 卡片面 */
  --ink: #1d2a3a;              /* 主文字（深藏蓝） */
  --ink-2: #5a6a7d;            /* 次级文字 */
  --ink-3: #64748b;            /* 弱化文字（白底对比度 4.5:1+） */
  --line: #e1e8f0;             /* 分隔线 */


  --accent: #3f7fc2;           /* 主强调色（猫蓝，仅用于图形/描边） */
  --accent-deep: #2c5fa3;      /* 白字承载色（按钮/徽章底，对比度 6.4:1） */
  --accent-darker: #254f8a;    /* 白字按钮 hover 深一档 */
  --accent-soft: #e9f2fb;      /* 强调色浅衬 */
  --accent-ring: rgba(63, 127, 194, 0.18);
  --blush: #f2a9a0;            /* 腮红粉：极少量点缀（爪印/高亮） */

  /* 毛玻璃（沿作品牌基因） */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.85);

  /* 圆角与阴影 */
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-card: 0 2px 6px rgba(29, 42, 58, 0.04), 0 12px 32px rgba(29, 42, 58, 0.07);
  --shadow-float: 0 8px 40px rgba(63, 127, 194, 0.18);

  /* 字体 */
  --font-latin: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cn: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;

  /* 动效 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给吸顶导航留出空间 */
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-latin), var(--font-cn);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;          /* 触控目标下限（小屏按钮 sm 档也够 44px） */
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out),
              background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

.btn:active { transform: scale(0.98); }  /* 触觉反馈 */

/* 白字按钮用 accent-deep 底（6.4:1），accent 底只有 4.17:1 不达标 */
.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-ring);
}
.btn-primary:hover {
  background: var(--accent-darker);
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
/* hover 深蓝文字：accent 小字在白底只有 4.17:1，统一用 accent-deep（6.4:1） */
.btn-ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.btn-outline {
  background: var(--surface);
  color: var(--accent-deep);   /* accent 只有 4.17:1，不达 AA */
  border-color: var(--accent-deep);
}
.btn-outline:hover { background: var(--accent-soft); transform: translateY(-2px); }

.btn-qq-entry {
  background: #1677ff;
  color: #fff;
}
.btn-qq-entry:hover { background: #0969da; transform: translateY(-2px); }
.btn-qq-entry img { width: 24px; height: 24px; border-radius: 5px; }

.btn-sm { padding: 9px 22px; font-size: 0.9rem; }
.btn-lg { padding: 17px 44px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---------- 吸顶导航 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 232, 228, 0.7);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-logo { border-radius: 26%; }
.brand-accent { color: var(--accent); }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a { transition: color 0.18s; }
.nav-links a:hover { color: var(--accent-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 110px;
  /* 柔和品牌渐变底：猫蓝光晕 + 腮红粉微光 */
  background:
    radial-gradient(560px 380px at 12% -8%, rgba(63, 127, 194, 0.13), transparent 65%),
    radial-gradient(480px 320px at 95% 12%, rgba(242, 169, 160, 0.12), transparent 60%),
    linear-gradient(180deg, #f0f5fa 0%, var(--bg) 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 22px 0 20px;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  /* 建立 stacking context，让下划线伪元素只垫在 em 文字后、不被 hero 背景吃掉 */
  isolation: isolate;
}
/* "搞定"下的腮红粉高亮条，呼应小蓝猫腮红 */
.hero-title em::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 2px;
  height: 10px;
  background: rgba(242, 169, 160, 0.4);
  border-radius: var(--r-pill);
  z-index: -1;
}

.hero-sub {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 1.08rem;
}

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

/* ---------- 猫爪盖章流水线（Hero 视觉） ---------- */
.hero-visual { position: relative; }

.orbit-stage {
  position: relative;
  height: 540px;
  max-width: 560px;
  margin: 0 auto;
}

/* 中央小蓝猫：app 图标造型 + 光晕 + 呼吸浮动 */
.mascot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 218px;
  height: 218px;
  animation: mascot-float 5s ease-in-out infinite;
}
.mascot img {
  width: 100%;
  height: 100%;
  border-radius: 27%;
  box-shadow: 0 14px 44px rgba(63, 127, 194, 0.22);
  position: relative;
  z-index: 2;
}
/* 猫背后的柔光晕盘 */
.mascot-halo {
  position: absolute;
  inset: -17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 127, 194, 0.16) 0%, rgba(242, 169, 160, 0.09) 55%, transparent 72%);
  z-index: 1;
}

@keyframes mascot-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 10px)); }
}

/* 派发轨道：猫到卡片的虚线弧 */
.orbit-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.orbit-links path {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  opacity: 0.38;
}

/* 环绕的头像卡片 */
.stamp-card {
  position: absolute;
  width: 138px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  animation: card-float 4.4s ease-in-out infinite;
}
/* 四张卡片错落分布 + 错峰浮动 */
.sc1 { left: 1.5%; top: 5%; animation-delay: 0s; }
.sc2 { right: 0; top: 13%; animation-delay: 1.1s; }
.sc3 { left: 5%; bottom: 7%; animation-delay: 2.2s; }
.sc4 { right: 5.5%; bottom: 3%; animation-delay: 3.3s; }

@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-11px) rotate(var(--tilt, 0deg)); }
}
.sc1 { --tilt: -3.5deg; }
.sc2 { --tilt: 2.5deg; }
.sc3 { --tilt: 2deg; }
.sc4 { --tilt: -2deg; }

/* 卡片内的"头像"：柔和渐变块模拟 */
.stamp-card .ava {
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ava-c1, #d6e5f4), var(--ava-c2, #a9c4e0));
}
/* 每张卡片换一组蓝粉奶油系配色 */
.sc1 .ava { --ava-c1: #d9e6f4; --ava-c2: #a9c4e0; }
.sc2 .ava { --ava-c1: #f4dde2; --ava-c2: #e0b3bd; }
.sc3 .ava { --ava-c1: #e3ddf3; --ava-c2: #bfaadd; }
.sc4 .ava { --ava-c1: #d8ebee; --ava-c2: #a8cfd6; }

/* 猫爪印水印徽章：白圆底 + 爪印 */
.paw-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(29, 42, 58, 0.16);
  display: grid;
  place-items: center;
}
.paw-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

/* 正在盖章的卡片：粉色爪印循环"落下盖章" */
.stamping .paw-badge svg {
  fill: var(--blush);
  animation: paw-stamp 3.2s var(--ease-out) infinite;
}
@keyframes paw-stamp {
  0% { transform: scale(1.7); opacity: 0; }
  12% { transform: scale(0.9); opacity: 1; }
  20% { transform: scale(1); opacity: 1; }
  82% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* 悬浮状态气泡（微浮动循环动画） */
.float-chip {
  position: absolute;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  animation: chip-float 4.2s ease-in-out infinite;
}
.chip-a { top: -20px; right: 34px; }
.chip-b { bottom: -18px; left: 26px; animation-delay: 2.1s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 104px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
}
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}
/* 左对齐变体：打破全居中的模板节奏 */
.section-head-left {
  text-align: left;
  margin: 0 0 54px;
  max-width: 720px;
}
.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.section-sub { color: var(--ink-2); font-size: 1.02rem; }

/* ---------- 模块卡片公共件（供 bento 使用） ---------- */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card-title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- 下载：紧凑平台条 ---------- */
.download-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 40px 44px 36px;
}

.dl-bar-head { margin-bottom: 26px; }
.dl-bar-head .section-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.dl-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
/* 每项纵向三层：图标+标题 / 说明 / 按钮，任何宽度都不挤爆 */
.dl-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 24px;
}
/* 平台项之间用细分隔线代替卡片盒子 */
.dl-item + .dl-item { border-left: 1px solid var(--line); }

.dl-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dl-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.dl-head h3 { font-size: 1rem; font-weight: 700; }
.dl-desc { font-size: 0.85rem; line-height: 1.6; color: var(--ink-3); }
/* 说明行数不齐时按钮统一沉底对齐（grid 默认 stretch 等高） */
.dl-item .btn { margin-top: auto; }

/* ---------- 五大模块 Bento 网格 ---------- */
/* 6 列体系：贴膜机/预览机双核心各占一半，次级模块各占 1/3 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 10px rgba(29, 42, 58, 0.05), 0 20px 48px rgba(29, 42, 58, 0.11);
}

/* 次级模块默认占 1/3 */
.bento-card { grid-column: span 2; }
/* 贴膜机/预览机双核心等宽并排，各占一半 */
.bento-core { grid-column: span 3; }

/* 贴膜机主卡：浅猫蓝渐变底，打破白卡海洋 */
.bento-hero-card {
  background: linear-gradient(135deg, #eaf3fc 0%, #f6fafd 70%);
  border-color: rgba(63, 127, 194, 0.22);
}
.bento-hero-card .tag { background: rgba(255, 255, 255, 0.85); }

/* 双核卡图标加大加重，形成视觉锚 */
.bento-core .card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}
.bento-core .card-icon svg { width: 29px; height: 29px; }
.bento-hero-card .card-icon {
  background: var(--accent);
  color: #fff;
}

.bento-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.bento-head .card-icon { margin-bottom: 0; flex-shrink: 0; }
.bento-sub { font-size: 0.84rem; color: var(--ink-3); }

/* 功能标签流 */
.tag-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--bg-alt);
}
/* 工具箱富标签：工具名 + 灰注（灰注用 ink-2：ink-3 在 bg-alt 底只有 4.26:1 不达 AA） */
.tag b { font-weight: 600; color: var(--ink); }
.tag small { margin-left: 6px; font-size: 0.78rem; color: var(--ink-2); }
/* 高亮标签：王牌功能/隐私卖点 */
.tag-hot {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.bento-foot {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* ---------- 价格信任行 ---------- */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent-deep);
  background: var(--accent-soft);
}
/* 对勾符号 */
.trust-row li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 58%, transparent 58%) 3px 6px / 8px 4px no-repeat,
    linear-gradient(135deg, currentColor 40%, transparent 40%) 3px 8px / 4px 5px no-repeat;
}

/* ---------- 价格 ---------- */
.pricing-group { margin-bottom: 56px; }

.pricing-group-head {
  text-align: center;
  margin-bottom: 28px;
}
.pricing-group-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.platform-tag {
  display: inline-block;
  vertical-align: 3px;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 600;
}
.pricing-group-head p { margin-top: 6px; color: var(--ink-2); font-size: 0.94rem; }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-cards-pc {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out);
}
.price-card:hover { transform: translateY(-5px); }

/* 推荐档：青绿描边突出 */
.price-card-hot {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 36px var(--accent-ring);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.price-name { font-size: 0.98rem; font-weight: 600; color: var(--ink-2); }
.price-value {
  margin: 10px 0 20px;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.price-unit {
  margin-left: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
}

.price-list {
  margin-bottom: 26px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
/* 打勾符号 */
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.price-list li::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 8.5px;
  width: 5px;
  height: 8px;
  border: solid var(--accent-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  /* ink-3 在 bg-alt 底只有 4.26:1，用 ink-2 保证 AA */
  color: var(--ink-2);
}

/* ---------- 底部 CTA ---------- */
.cta-band {
  padding: 100px 24px;
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(63, 127, 194, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #eaf1f8 100%);
}
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.cta-inner p { margin: 14px 0 32px; color: var(--ink-2); font-size: 1.04rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--accent-deep); }
.footer-copy { width: 100%; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- PC QQ 登录审核页 ---------- */
.qq-page {
  min-height: 100vh;
  background: var(--bg-alt);
}
.qq-page .site-nav { position: static; }
.qq-nav-link {
  margin-left: auto;
  color: var(--accent-deep);
  font-size: 0.94rem;
  font-weight: 600;
}
.qq-shell {
  max-width: 1040px;
  min-height: calc(100vh - 77px);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  align-items: center;
}
.qq-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 64px;
  align-items: center;
}
.qq-login-copy h1 {
  margin: 18px 0 20px;
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.16;
}
.qq-login-copy > p {
  max-width: 48ch;
  color: var(--ink-2);
  font-size: 1.04rem;
}
.qq-steps {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  counter-reset: qq-step;
}
.qq-steps li {
  position: relative;
  min-height: 38px;
  padding-left: 52px;
  color: var(--ink-2);
}
.qq-steps li::before {
  counter-increment: qq-step;
  content: counter(qq-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}
.qq-auth-panel {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.qq-auth-panel h2 { margin-top: 18px; font-size: 1.55rem; }
.qq-auth-panel > p { margin: 8px 0 26px; color: var(--ink-2); font-size: 0.92rem; }
.qq-app-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}
.qq-app-mark img { width: 42px; height: 42px; border-radius: 10px; }
.qq-login-button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font: 600 1rem var(--font-latin), var(--font-cn);
  cursor: pointer;
  transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.qq-login-button:hover { background: #0969da; transform: translateY(-1px); }
.qq-login-button:disabled { cursor: wait; opacity: 0.7; transform: none; }
.qq-login-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.qq-login-button img { width: 26px; height: 26px; border-radius: 6px; }
.qq-login-status {
  min-height: 24px;
  margin: 14px 0 0 !important;
  color: var(--accent-deep) !important;
  text-align: center;
}
.qq-security-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.8rem;
}

/* ---------- 滚动渐显（JS 切换 .revealed） ---------- */
/* 只在 JS 可用时才隐藏（html.js 由 <head> 内联脚本添加），无 JS 页面内容直接可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.revealed { opacity: 1; transform: none; }

/* 同组卡片错峰延迟（价格卡无 reveal 类，只列 bento） */
.bento-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.bento-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.bento-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.bento-grid .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ---------- 无障碍：尊重减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 焦点可见性（用 outline 不用 box-shadow；不强行改圆角，贴合元素自身形状） */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { padding: 72px 24px 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  /* width:100% 恢复 grid 拉伸：margin auto 会取消 stretch，
     内部全是 absolute 元素时 shrink-to-fit 宽度塌成 0，整块视觉区消失 */
  .hero-visual { width: 100%; max-width: 520px; margin: 0 auto; }

  /* 双核保持并排，次级模块两列流 */
  .bento-card { grid-column: span 3; }
  .bento-core { grid-column: span 3; }

  .download-bar { padding: 32px 30px 28px; }
  .dl-item { padding: 16px 18px; }
}

@media (max-width: 720px) {
  .section { padding: 76px 20px; }

  /* 小屏保留锚点导航（缩字号缩间距），手机也能直达价格 */
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .brand { font-size: 1.1rem; }
  .brand-logo { width: 30px; height: 30px; }
  .nav-links { gap: 14px; font-size: 0.85rem; }

  /* 盖章流水线整体缩小，避免溢出 */
  .orbit-stage { height: 430px; }
  .mascot { width: 170px; height: 170px; }
  .stamp-card { width: 104px; padding: 6px; border-radius: 16px; }
  .stamp-card .ava { border-radius: 11px; }
  .paw-badge { width: 27px; height: 27px; right: 7px; bottom: 7px; }
  .paw-badge svg { width: 16px; height: 16px; }
  .float-chip { font-size: 0.78rem; padding: 7px 14px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-core { grid-column: auto; }
  .pricing-cards,
  .pricing-cards-pc { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* 下载条单列堆叠，分隔线转横向（左右 0 padding，与标题对齐） */
  .dl-row { grid-template-columns: 1fr; }
  .dl-item + .dl-item { border-left: none; border-top: 1px solid var(--line); }
  .dl-item { padding: 16px 0; }

  .footer-links { margin-left: 0; }

  .qq-shell { padding: 48px 20px; }
  .qq-login-layout { grid-template-columns: 1fr; gap: 40px; }
  .qq-login-copy h1 { max-width: none; }
  .qq-auth-panel { padding: 28px 22px; }
}

/* 极窄屏（≤400px）：导航放不下 CTA，隐藏之（hero/下载区/价格区均有下载入口） */
@media (max-width: 400px) {
  .nav-inner > .btn { display: none; }
}
