/* ══════════════════════════════════════════════════
   悦舍堂 · 功能详情页共享样式（依据 Design.md）
   ══════════════════════════════════════════════════ */
:root {
  --brand-green: #00D4A4;
  --brand-green-deep: #00B88D;
  --brand-green-soft: rgba(0, 212, 164, 0.12);
  --testimonial-orange: #FF7847;

  --canvas: #FFFFFF;
  --surface: #F6F6F5;
  --surface-soft: #FAFAF9;
  --surface-code: #0D1117;
  --hairline: #E5E5E3;
  --hairline-soft: #EEEEEC;

  --hero-sky-from: #DFF0FF;
  --hero-sky-to: #FDF6EC;
  --hero-dark-from: #0B2B2A;
  --hero-dark-to: #0E5C4F;

  --primary: #0A0A0A;
  --on-primary: #FFFFFF;
  --ink: #0A0A0A;
  --charcoal: #3D3D3C;
  --slate: #6E6E6D;
  --steel: #8E8E8C;
  --muted: #A8A8A6;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, 0.64);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;

  --shadow-subtle: rgba(0, 0, 0, 0.04) 0px 1px 2px 0px;
  --shadow-card: rgba(0, 0, 0, 0.08) 0px 4px 12px 0px;
  --shadow-mockup: rgba(0, 0, 0, 0.12) 0px 24px 48px -8px;
  --shadow-featured: rgba(0, 212, 164, 0.08) 0px 8px 24px;

  --container: 1080px;
  --gutter: 32px;
  --section-gap: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

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

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

/* ══════════════ 排版令牌 ══════════════ */
.hero-title { font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -1.5px; }
.heading-2 { font-size: 32px; font-weight: 600; line-height: 1.22; letter-spacing: -0.5px; }
.heading-3 { font-size: 22px; font-weight: 600; line-height: 1.30; }
.subtitle { font-size: 18px; line-height: 1.55; color: var(--slate); }
.micro-uppercase {
  font-size: 11px; font-weight: 600; line-height: 1.40;
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* ══════════════ 按钮 ══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.30;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:active { background: var(--charcoal); }
.btn-accent-green { background: var(--brand-green); color: var(--primary); }
.btn-accent-green:active { background: var(--brand-green-deep); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ══════════════ PROMO BANNER ══════════════ */
.promo-banner {
  background: var(--surface-code);
  color: var(--on-dark);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 110;
}
.promo-banner a {
  color: var(--brand-green);
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
}

/* ══════════════ NAV ══════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo span { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-ctas { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--slate); text-decoration: none; }
.nav-login:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: var(--canvas);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); display: block; }

/* ══════════════ PAGE HERO ══════════════ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hero-sky-from) 0%, var(--hero-sky-to) 100%);
  padding: 88px 0 72px;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 40% at 85% 10%, rgba(255,255,255,0.55) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--steel);
  margin-bottom: 20px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--muted); }
.breadcrumb .here { color: var(--charcoal); font-weight: 500; }
.hero-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}
.page-hero .hero-title { margin-bottom: 16px; }
.page-hero .subtitle { max-width: 640px; margin-bottom: 32px; }
.page-hero .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ══════════════ 通用区块 ══════════════ */
.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-green);
  flex-shrink: 0;
}
.section-head .subtitle { color: var(--slate); margin-top: 12px; }

/* 概览要点卡 */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ov-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ov-card .ico {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--brand-green-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.ov-card .t { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.ov-card .d { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* 流程步骤 */
.flow-steps { counter-reset: step; display: flex; gap: 16px; }
.fstep {
  flex: 1;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.fstep::before {
  counter-increment: step;
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-dark);
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.fstep .t { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.fstep .d { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* 两栏内容 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-copy h3 { margin-bottom: 16px; }
.split-copy p { color: var(--slate); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.point-list { list-style: none; }
.point-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px;
}
.point-list li:last-child { border-bottom: none; }
.point-list .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-green-soft);
  color: var(--brand-green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; margin-top: 1px;
}
.point-list b { font-weight: 600; color: var(--ink); }

/* 截图占位（真实截图放入 screenshots/ 后自动显示） */
.screen-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.screen-card .sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.screen-card .sc-title { font-size: 14px; font-weight: 600; }
.screen-card .sc-badge {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--brand-green-soft);
  color: var(--brand-green-deep);
}
.app-shot {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
}
/* 手机竖屏长图：让图片按自身比例完整显示，避免被父容器横向拉宽压扁 */
.app-shot img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.shot-placeholder {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 32px 24px;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-md);
  color: var(--muted);
}
.shot-placeholder .ico { font-size: 32px; }
.shot-placeholder .t { font-size: 14px; color: var(--steel); }
.shot-placeholder .fname { font-size: 12px; font-family: 'Geist Mono', 'SF Mono', Menlo, Consolas, monospace; color: var(--muted); }

/* 大图截图区 */
.master-shot .shot-placeholder { min-height: 320px; }
/* 长图截图按比例自适应，最大高度 720px 居中显示，防止手机竖屏被横向压扁 */
.master-shot img { max-height: 720px; width: auto; max-width: 100%; margin: 0 auto; display: block; }

/* 信息带（深色） */
.dark-band {
  background: linear-gradient(120deg, var(--hero-dark-from) 0%, var(--hero-dark-to) 100%);
  color: var(--on-dark);
  padding: 72px 0;
}
.dark-band .section-eyebrow { color: var(--on-dark-muted); }
.dark-band .heading-2 { margin-bottom: 16px; }
.dark-band .lead { color: var(--on-dark-muted); font-size: 16px; line-height: 1.7; max-width: 640px; }
.dark-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.dark-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dark-stat .n { font-size: 32px; font-weight: 600; letter-spacing: -1px; color: var(--brand-green); }
.dark-stat .d { font-size: 13px; color: var(--on-dark-muted); margin-top: 4px; }

/* 能力清单（悦舍云页） */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cap-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.cap-card .ico { font-size: 30px; margin-bottom: 16px; }
.cap-card .t { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.cap-card .d { font-size: 14px; color: var(--slate); line-height: 1.6; flex: 1; }
.cap-card .more {
  margin-top: 20px; font-size: 14px; font-weight: 500;
  color: var(--brand-green-deep);
}
.cap-card .tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--brand-green-soft);
  color: var(--brand-green-deep);
}

/* 常见问题（详情页精简版） */
.faq-list { max-width: 720px; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--canvas);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.faq-q .chev { color: var(--muted); transition: transform 0.2s ease; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--slate); line-height: 1.7; }

/* 小程序码展示 */
.qr-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 32px 0 8px;
}
.qr-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.qr-card img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.qr-card-lg img { width: 280px; height: 280px; }
.qr-cap { font-size: 15px; font-weight: 600; color: var(--ink); }
.qr-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.qr-hint { font-size: 13px; color: var(--muted); }
.check-list { list-style: none; max-width: 640px; margin: 16px auto 0; }
.check-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.check-list .check { color: var(--brand-green); font-weight: 700; }


/* ══════════════ CTA BAND ══════════════ */
.cta-band {
  background: linear-gradient(120deg, var(--hero-dark-from) 0%, var(--hero-dark-to) 100%);
  color: var(--on-dark);
  text-align: center;
  padding: 88px 0;
}
.cta-band .heading-2 { margin-bottom: 12px; }
.cta-band .subtitle { color: var(--on-dark-muted); margin-bottom: 32px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .hint { margin-top: 20px; font-size: 13px; color: var(--on-dark-muted); }
.cta-band code {
  font-family: 'Geist Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* ══════════════ FOOTER ══════════════ */
footer { background: var(--surface); border-top: 1px solid var(--hairline-soft); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 12px; }
.footer-brand .tagline { font-size: 14px; color: var(--slate); line-height: 1.7; max-width: 320px; }
.footer-col .t { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 40px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { flex-wrap: wrap; }
  .fstep { flex: 1 1 30%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .page-hero { padding: 64px 0 48px; }
  .hero-title { font-size: 32px; }
  .subtitle { font-size: 16px; }
  .section { padding: 56px 0; }
  .overview-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .dark-stats { grid-template-columns: 1fr; }
  .fstep { flex: 1 1 100%; }
  .btn-lg { padding: 12px 24px; font-size: 15px; }
}

@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-ctas .nav-login { display: none; }
}
/* 备案编号：页脚最底部居中 + 链接工信部备案系统（ICP 许可核查项） */
.footer-icp { margin-top: 10px; text-align: center; font-size: 13px; color: var(--steel, #5b6470); opacity: .85; }
.footer-icp a { color: inherit; text-decoration: none; }
.footer-icp a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════
   验收标准对照表页（features/inspection-checklist.html）
   数据来自 _tools/website/inspection_standards.json（后端种子同源导出）
   ══════════════════════════════════════════════════ */
.ck-note {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 16px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}
.ck-note b { color: var(--charcoal); font-weight: 600; }

.ck-stage { margin-bottom: 48px; }
.ck-stage:last-child { margin-bottom: 0; }
.ck-stage-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hairline);
}
.ck-stage-no {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-green-deep);
  letter-spacing: 0.04em;
}
.ck-stage-name { font-size: 20px; font-weight: 600; color: var(--ink); }
.ck-stage-count { margin-left: auto; font-size: 13px; color: var(--steel); }

.ck-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ck-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.ck-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.ck-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline-soft);
  vertical-align: top;
  line-height: 1.6;
}
.ck-table tbody tr:last-child td { border-bottom: none; }
.ck-table tbody tr:hover { background: var(--surface-soft); }

.ck-item { font-weight: 600; color: var(--ink); white-space: nowrap; }
.ck-std { color: var(--charcoal); }
.ck-gb { font-family: 'Geest Mono', monospace; font-size: 12.5px; color: var(--slate); white-space: nowrap; }

.ck-crit {
  display: inline-block;
  padding: 2px 8px;
  background: var(--brand-green-soft);
  border: 1px solid var(--brand-green);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-green-deep);
  white-space: nowrap;
}
.ck-crit-empty { color: var(--muted); }

@media (max-width: 767px) {
  .ck-stage-head { flex-wrap: wrap; gap: 4px 12px; }
  .ck-stage-count { margin-left: 0; width: 100%; }
  .ck-table { min-width: 640px; }
}

/* ══════════════════════════════════════════════════
   常见问题总览页（features/faq.html，2026-10-14 新增）
   跳转条 .fj-* 与分类计数 .fc-count；问答本体复用 .faq-*
   ══════════════════════════════════════════════════ */
.fj-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.fj-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.fj-chip:hover {
  border-color: var(--brand-green);
  background: var(--brand-green-soft);
}
.fj-chip .fj-n { font-size: 14px; font-weight: 600; color: var(--ink); }
.fj-chip .fj-c { font-size: 12px; color: var(--muted); }
.fc-count {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  background: var(--brand-green-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-green-deep);
  vertical-align: middle;
}
@media (max-width: 767px) {
  .fj-bar { gap: 8px; }
  .fj-chip { padding: 6px 12px; }
  .fj-chip .fj-n { font-size: 13px; }
}
