/* ==========================================================================
   飞熊 · 餐饮收银经营系统 官网样式
   自包含：仅使用系统字体栈与内联 SVG，不依赖任何外部 CDN
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --brand: #07c160;
  --brand-dark: #059a4c;
  --brand-deep: #037a3c;
  --brand-soft: #e9f9f0;
  --brand-tint: #f4fdf8;

  --ink: #0b1b14;
  --ink-2: #17291f;
  --muted: #5a6b62;
  --muted-2: #8a9a92;
  --line: #e7ece9;
  --line-2: #dbe4de;

  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --bg-soft-2: #eef3f0;

  --dark: #0b1b14;
  --dark-2: #102a1d;
  --dark-3: #173a28;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(11, 27, 20, 0.06);
  --shadow: 0 12px 32px rgba(11, 27, 20, 0.08);
  --shadow-lg: 0 28px 64px rgba(11, 27, 20, 0.12);

  --container: 1200px;
  --header-h: 68px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC",
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(7, 193, 96, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(7, 193, 96, 0.18);
}

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

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

.section--dark {
  background: var(--dark);
  color: #e8f2ec;
}

.section--tight {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section--dark .kicker {
  background: rgba(7, 193, 96, 0.14);
  color: #6ee7a4;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 宽屏下标题关键词不拆词换行 */
@media (min-width: 641px) {
  .h1 em {
    white-space: nowrap;
  }
}

.h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section--dark .lead {
  color: #a9c3b6;
}

.muted {
  color: var(--muted);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.center {
  text-align: center;
}

.mt-32 {
  margin-top: 32px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(7, 193, 96, 0.36);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e8f2ec;
}

.btn--on-dark:hover {
  border-color: rgba(7, 193, 96, 0.6);
  color: #fff;
}

.btn--lg {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(11, 27, 20, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(7, 193, 96, 0.3);
}

.brand__sub {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover,
.nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--brand-deep);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(7, 193, 96, 0.16), transparent 62%),
    radial-gradient(760px 420px at 8% 4%, rgba(23, 140, 90, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.badge--brand {
  border-color: rgba(7, 193, 96, 0.35);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 600;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.hero__points svg {
  flex: none;
  margin-top: 5px;
  color: var(--brand);
}

.hero__note {
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------- 手机设备模型（收银端还原） ---------- */
.stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  min-height: 520px;
}

.phone {
  position: relative;
  width: 286px;
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, #1c2a23, #0b1512);
  box-shadow: var(--shadow-lg);
  flex: none;
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone__screen {
  overflow: hidden;
  border-radius: 32px;
  background: #f5f5f6;
  font-size: 12px;
  line-height: 1.5;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 4px;
  color: #9a9a9f;
  font-size: 11px;
}

.phone__head {
  padding: 8px 16px 12px;
  background: #fff;
  border-bottom: 1px solid #ededed;
}

.phone__head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.phone__head span {
  color: #9a9a9f;
  font-size: 11px;
}

.phone__cards {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.pcard {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1a1a1a;
  font-weight: 600;
}

.pcard__label {
  color: #9a9a9f;
  font-size: 11px;
}

.pcard__value {
  margin-top: 4px;
  color: #1a1a1a;
  font-size: 20px;
  font-weight: 700;
}

.pcard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.pcell {
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  color: #5a5a60;
  font-size: 11px;
}

.pcell b {
  display: block;
  margin-bottom: 2px;
  color: #1a1a1a;
  font-size: 14px;
}

.plist {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.pitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
}

.pitem__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.pitem__main {
  flex: 1;
  min-width: 0;
}

.pitem__main b {
  display: block;
  color: #1a1a1a;
  font-weight: 600;
}

.pitem__main span {
  color: #9a9a9f;
  font-size: 11px;
}

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pill--green {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.pill--amber {
  background: #fff4e0;
  color: #b26a00;
}

.pill--grey {
  background: #f0f1f2;
  color: #6b6b70;
}

.phone__tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 14px;
  background: #fff;
  border-top: 1px solid #ededed;
}

.phone__tab {
  text-align: center;
  color: #9a9a9f;
  font-size: 10px;
}

.phone__tab.is-on {
  color: var(--brand);
  font-weight: 600;
}

.phone__tab i {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 3px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.85;
}

/* ---------- 后台看板模型 ---------- */
.dash {
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 430px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.dash__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dfe4e1;
}

.dash__dot:first-child {
  background: #ff5f57;
}

.dash__dot:nth-child(2) {
  background: #febc2e;
}

.dash__dot:nth-child(3) {
  background: #28c840;
}

.dash__url {
  flex: 1;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted-2);
  font-size: 11px;
}

.dash__body {
  display: grid;
  grid-template-columns: 108px 1fr;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.dash__side {
  padding: 10px 8px;
  background: #f7faf8;
}

.dash__nav {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}

.dash__nav.is-on {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}

.dash__main {
  padding: 12px;
}

.dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dstat {
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.dstat span {
  color: var(--muted-2);
  font-size: 10px;
}

.dstat b {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg-soft);
}

.dash__chart i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(7, 193, 96, 0.35) 100%);
}

.dash__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted);
}

.dash__row b {
  color: var(--ink);
}

/* ---------- 能力条 ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.strip__item {
  padding: 26px 24px;
  background: #fff;
}

.strip__item h3 {
  margin: 12px 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.strip__item p {
  color: var(--muted);
  font-size: 14px;
}

.strip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

/* ---------- 卡片网格 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 193, 96, 0.4);
  box-shadow: var(--shadow);
}

.card--soft {
  background: var(--bg-soft);
  border-color: transparent;
}

.card--dark {
  background: var(--dark-2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8f2ec;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.card--dark .card__icon {
  background: rgba(7, 193, 96, 0.16);
  color: #6ee7a4;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.card--dark p {
  color: #a9c3b6;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.card__tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft-2);
  color: var(--muted);
  font-size: 12px;
}

.card--dark .card__tags span {
  background: rgba(255, 255, 255, 0.07);
  color: #b9d3c6;
}

/* ---------- 左右分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: -1;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.checklist svg {
  flex: none;
  margin-top: 5px;
  color: var(--brand);
}

.checklist b {
  display: block;
  font-weight: 700;
}

.checklist span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 端形态三卡 ---------- */
.endpoints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.endpoint {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.endpoint__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(7, 193, 96, 0.16);
  color: #6ee7a4;
  font-size: 12px;
  font-weight: 600;
}

.endpoint h3 {
  font-size: 19px;
  font-weight: 700;
}

.endpoint p {
  margin-top: 10px;
  color: #a9c3b6;
  font-size: 14.5px;
  line-height: 1.8;
}

.endpoint ul {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.endpoint li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #cfe0d7;
  font-size: 14px;
}

.endpoint li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 标签切换（场景） ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.tab-btn.is-on {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.tab-panel {
  display: none;
  animation: fade 0.32s ease;
}

.tab-panel.is-on {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.panel-list b {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.panel-list span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 数据条 ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metrics--3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.metric b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.metric span {
  color: #a9c3b6;
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}

.faq__q i {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-style: normal;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq__item.is-open .faq__q i {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq__a p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(700px 360px at 15% 0%, rgba(7, 193, 96, 0.22), transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, #123723 100%);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.cta p {
  max-width: 620px;
  margin: 16px auto 0;
  color: #b7cfc2;
}

.cta .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* ---------- 表单 ---------- */
.form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

.field label span {
  color: var(--brand);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fbfdfc;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.14);
}

.form__note {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
}

.form__msg {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 14px;
}

.form__msg.is-on {
  display: block;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 60px 0 32px;
  background: var(--dark);
  color: #a9c3b6;
}

.site-footer a {
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer__brand p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
}

.footer__col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer__col li + li {
  margin-top: 9px;
}

.footer__col a {
  font-size: 14px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #7d968a;
}

/* ---------- 页面头（内页） ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 68px 0 60px;
  background:
    radial-gradient(700px 340px at 78% 0%, rgba(7, 193, 96, 0.15), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 100%);
  text-align: center;
}

.page-head .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted-2);
  font-size: 13px;
}

.crumbs a:hover {
  color: var(--brand-deep);
}

/* ---------- 通用小组件 ---------- */
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.note-box {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.note-box svg {
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
}

/* 入场动画只在 JS 可用时启用：脚本没跑起来时内容必须照常显示 */
.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stage {
    min-height: 0;
  }

  .dash {
    position: static;
    width: 100%;
    max-width: 520px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .cards,
  .cards--3,
  .cards--4,
  .endpoints {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip,
  .steps,
  .metrics,
  .metrics--3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 72px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .cards,
  .cards--2,
  .cards--3,
  .cards--4,
  .endpoints,
  .strip,
  .steps,
  .metrics,
  .metrics--3,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stage {
    flex-direction: column;
    align-items: center;
  }

  .phone {
    width: 268px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .card {
    padding: 24px 20px;
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tab-panel,
  .phone,
  .dash {
    animation: none;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .cta,
  .site-footer,
  .nav-toggle {
    display: none;
  }

  .section {
    padding: 24px 0;
  }
}
