/* =========================================================
   云启未来 · 企业官网全局样式
   Design System v1.0
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Color — 浅色主题 */
  --bg: #FBFCFF;
  --bg-soft: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --surface-3: #EDF2F8;
  --line: rgba(15, 23, 42, .09);
  --line-strong: rgba(15, 23, 42, .16);

  /* 让原生控件（下拉列表、滚动条）跟随浅色主题 */
  color-scheme: light;

  --text: #0B1220;
  --text-2: #475569;
  --text-3: #7A8798;

  --c-cyan: #0891B2;
  --c-sky: #0284C7;
  --c-indigo: #4F46E5;
  --c-violet: #9333EA;
  --c-ok: #059669;
  --c-warn: #B45309;

  --grad-brand: linear-gradient(120deg, #0284C7 0%, #4F46E5 52%, #9333EA 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(2, 132, 199, .10), rgba(147, 51, 234, .09));
  --grad-line: linear-gradient(90deg, transparent, rgba(2, 132, 199, .45), rgba(147, 51, 234, .45), transparent);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 860px;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --header-h: 72px;

  /* Effect */
  --shadow-s: 0 1px 3px rgba(15, 23, 42, .07);
  --shadow: 0 20px 48px -24px rgba(15, 23, 42, .20);
  --shadow-glow: 0 0 60px -22px rgba(2, 132, 199, .26);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(2, 132, 199, .16); color: #0B1220; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 99px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: var(--maxw-narrow); }

.section {
  position: relative;
  padding: 92px 0;
}
.section-sm { padding: 60px 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .section-sub { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-sky));
}
.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-sky), transparent);
}

h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

.section-title { margin-bottom: 18px; }
.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--text-2); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 550;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
    background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }

.btn-primary {
  background: var(--grad-brand);
  color: #FFFFFF;
  font-weight: 650;
  box-shadow: 0 8px 28px -10px rgba(99, 102, 241, .8);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(99, 102, 241, .95);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(15, 23, 42, .025);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(2, 132, 199, .5);
  background: rgba(2, 132, 199, .06);
  transform: translateY(-2px);
}

.btn-sm { height: 40px; padding: 0 20px; font-size: .88rem; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 550;
  color: var(--c-sky);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 12px; color: var(--c-indigo); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease),
    backdrop-filter .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: .06em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--text-3);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: .92rem;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(15, 23, 42, .04); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 1rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 30%, #000 25%, transparent 78%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .34;
}
.hero-orb.a {
  width: 620px; height: 620px;
  top: -240px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(2, 132, 199, .20), transparent 66%);
}
.hero-orb.b {
  width: 520px; height: 520px;
  top: 40px; right: -140px;
  background: radial-gradient(circle, rgba(147, 51, 234, .16), transparent 66%);
}
.hero-orb.c {
  width: 460px; height: 460px;
  bottom: -260px; left: -120px;
  background: radial-gradient(circle, rgba(8, 145, 178, .14), transparent 66%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 15px 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(2, 132, 199, .22);
  background: rgba(2, 132, 199, .06);
  font-size: .8rem;
  color: #0369A1;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-ok);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .16);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.86); }
}

.hero h1 {
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 .line { display: block; }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.metric-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label {
  font-size: .8rem;
  color: var(--text-3);
  letter-spacing: .04em;
  margin-top: 2px;
}

/* Hero visual: terminal-ish panel */
.hero-visual { position: relative; }
.panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #FFFFFF, #F7FAFE);
  box-shadow: var(--shadow), 0 0 0 1px rgba(2, 132, 199, .05) inset;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(56, 189, 248, .5), transparent 38%, transparent 62%, rgba(192, 132, 252, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #F8FAFD;
}
.panel-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}
.panel-bar i:nth-child(1) { background: #FF5F57; opacity: .75; }
.panel-bar i:nth-child(2) { background: #FEBC2E; opacity: .75; }
.panel-bar i:nth-child(3) { background: #28C840; opacity: .75; }
.panel-bar .file {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

.panel-body { padding: 22px 20px 26px; }
.code-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 2.05;
  color: var(--text-2);
  display: flex;
  gap: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-line .ln { color: #9AA7B8; user-select: none; width: 18px; flex-shrink: 0; text-align: right; }
.kw { color: #7C3AED; }
.str { color: #047857; }
.fn { color: #0369A1; }
.cm { color: #94A3B8; font-style: italic; }
.num { color: #B45309; }

.flow-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(2, 132, 199, .18);
  background: rgba(2, 132, 199, .045);
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  padding: 6px 0;
}
.flow-row .badge {
  margin-left: auto;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(5, 150, 105, .10);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, .22);
}
.flow-row .badge.ing {
  background: rgba(180, 83, 9, .10);
  color: #B45309;
  border-color: rgba(180, 83, 9, .22);
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  font-size: .82rem;
  box-shadow: var(--shadow);
  z-index: 2;
}
.hero-chip svg { width: 15px; height: 15px; color: var(--c-cyan); flex-shrink: 0; }
.hero-chip.a { top: -22px; right: 18px; animation: floaty 6s ease-in-out infinite; }
.hero-chip.b { bottom: -24px; left: -18px; animation: floaty 7s ease-in-out infinite .8s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 7. Marquee / trust ---------- */
.trust {
  padding: 34px 0;
  border-block: 1px solid var(--line);
  background: rgba(15, 23, 42, .014);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.trust-label {
  font-size: .78rem;
  color: var(--text-3);
  letter-spacing: .1em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  opacity: .72;
}
.trust-item {
  font-size: .85rem;
  color: var(--text-2);
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .3s, opacity .3s;
}
.trust-item:hover { color: var(--text); opacity: 1; }

/* ---------- 8. Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 防止长内容撑破栅格 */
.hero-inner > *, .split > *, .contact-grid > *, .grid > *, .steps > * { min-width: 0; }

.card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -22px rgba(15, 23, 42, .16);
  transition: transform .45s var(--ease), border-color .45s var(--ease),
    background .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(2, 132, 199, .09), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, .3);
  box-shadow: 0 20px 46px -24px rgba(15, 23, 42, .24);
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(2, 132, 199, .20);
  color: var(--c-sky);
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.violet {
  background: linear-gradient(120deg, rgba(147, 51, 234, .10), rgba(99, 102, 241, .10));
  border-color: rgba(147, 51, 234, .20);
  color: var(--c-violet);
}

.card h3 { margin-bottom: 10px; }
.card p {
  font-size: .925rem;
  color: var(--text-2);
  line-height: 1.8;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.tag {
  font-size: .74rem;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--text-3);
  background: rgba(15, 23, 42, .03);
  letter-spacing: .02em;
}

/* Big feature card */
.card-feature {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.card-feature .num-tag {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--c-sky);
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.card-feature h3 { font-size: 1.45rem; margin-bottom: 12px; }
.card-feature p { font-size: .95rem; }
.card-feature .link-arrow { margin-top: auto; padding-top: 24px; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }

/* ---------- 9. Steps / process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -22px rgba(15, 23, 42, .14);
}
.step {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--ease);
}
.step:last-child { border-right: 0; }
.step:hover { background: rgba(2, 132, 199, .04); }
.step-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--c-sky);
  letter-spacing: .16em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(2, 132, 199, .35), transparent);
}
.step h4 { font-size: 1.02rem; margin-bottom: 9px; font-weight: 600; }
.step p { font-size: .87rem; color: var(--text-2); line-height: 1.75; }

/* Vertical timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(2, 132, 199, .5), rgba(147, 51, 234, .3), transparent);
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--c-sky);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, .12);
}
.tl-day {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--c-sky);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.tl-item h4 { font-size: 1.08rem; margin-bottom: 8px; }
.tl-item p { font-size: .9rem; color: var(--text-2); line-height: 1.8; }

/* ---------- 10. Feature list ---------- */
.check-list { display: grid; gap: 16px; }
.check-list li {
  display: flex;
  gap: 13px;
  font-size: .94rem;
  color: var(--text-2);
  line-height: 1.75;
}
.check-list li svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-cyan);
}
.check-list strong { color: var(--text); font-weight: 600; }

/* ---------- 11. Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-soft);
  padding: 36px 28px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .num .unit { font-size: 1.3rem; margin-left: 2px; }
.stat .label {
  margin-top: 8px;
  font-size: .84rem;
  color: var(--text-3);
}

/* ---------- 12. Case cards ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -22px rgba(15, 23, 42, .16);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .35);
  box-shadow: var(--shadow);
}
.case-visual {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #F1F5FB, #F5F1FD);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}
.case-visual .glyph {
  position: relative;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-visual .ring {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(2, 132, 199, .20);
}
.case-visual .ring:nth-of-type(2) { width: 186px; height: 186px; border-color: rgba(147, 51, 234, .14); }
.case-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.case-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.case-meta .tag { font-size: .7rem; }
.case-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.case-body p { font-size: .9rem; color: var(--text-2); line-height: 1.75; }
.case-result {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
}
.case-result div span {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--c-cyan);
  font-weight: 600;
}
.case-result div small {
  font-size: .74rem;
  color: var(--text-3);
}

/* ---------- 13. CTA ---------- */
.cta-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.cta-box {
  position: relative;
  padding: 68px 56px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px circle at 20% 0%, rgba(2, 132, 199, .10), transparent 60%),
    radial-gradient(520px circle at 85% 100%, rgba(147, 51, 234, .10), transparent 60%),
    linear-gradient(180deg, #F8FBFF, #F5F3FE);
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  opacity: .6;
}
.cta-box > * { position: relative; }
.cta-box h2 { margin-bottom: 18px; }
.cta-box p {
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.02rem;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 72px 0 30px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.8;
  margin: 18px 0 22px;
  max-width: 300px;
}
.footer-contact {
  display: grid;
  gap: 9px;
  font-size: .855rem;
  color: var(--text-2);
}
.footer-contact a:hover { color: var(--c-sky); }
.footer-contact .k {
  color: var(--text-3);
  font-size: .78rem;
  margin-right: 6px;
}
.footer-col h4 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  color: var(--text-2);
  font-size: .875rem;
  transition: color .25s;
}
.footer-col a:hover { color: var(--c-sky); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: .8rem;
  color: var(--text-3);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--text-2); }

/* ---------- 15. Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 104px) 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 75%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px; height: 540px;
  top: -280px; right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, .16), transparent 66%);
  filter: blur(80px);
}
.page-hero h1 { margin-bottom: 20px; max-width: 800px; }
.page-hero .lead {
  font-size: 1.06rem;
  color: var(--text-2);
  max-width: 660px;
  line-height: 1.85;
}

/* ---------- 16. Tables / compare ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div {
  padding: 18px 22px;
  font-size: .9rem;
  border-right: 1px solid var(--line);
  color: var(--text-2);
}
.compare-row > div:last-child { border-right: 0; }
.compare-row.head > div {
  background: rgba(15, 23, 42, .03);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.compare-row.head > div.hl { color: var(--c-sky); }
.compare-row > div.hl { background: rgba(2, 132, 199, .05); color: var(--text); }

/* ---------- 17. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 550;
  color: var(--text);
  transition: color .25s;
}
.faq-q:hover { color: var(--c-sky); }
.faq-q .ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  transition: transform .35s var(--ease);
}
.faq-q .ic::before,
.faq-q .ic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-2);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: background .25s, opacity .25s;
}
.faq-q .ic::before { width: 13px; height: 1.5px; }
.faq-q .ic::after { width: 1.5px; height: 13px; }
.faq-item.open .faq-q .ic::after { opacity: 0; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease);
  opacity: 0;
}
.faq-item.open .faq-a { max-height: 420px; opacity: 1; }
.faq-a p {
  padding: 0 4px 26px;
  font-size: .93rem;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 780px;
}

/* ---------- 17.1 法律条款折叠 ---------- */
#privacy, #terms { padding-top: 60px; padding-bottom: 60px; }
.legal {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0 24px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.legal[open] { border-color: rgba(2, 132, 199, .26); }
.legal summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary:hover { color: var(--c-sky); }
.legal summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  margin-right: 4px;
}
.legal[open] summary::after { transform: rotate(-135deg); }
.legal > div > p:last-child { padding-bottom: 22px; }

/* ---------- 18. Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.form-card {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 44px -26px rgba(15, 23, 42, .2);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.field label .req { color: var(--c-cyan); margin-left: 3px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--text);
  font-size: .92rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field input::placeholder,
.field textarea::placeholder { color: #94A3B8; }

/* 下拉框：去掉系统外观，自绘箭头，并修复深色下选项不可见 */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.75L7 7.25l5.5-5.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 13px 8px;
}
.field select option,
.field select optgroup {
  background-color: #FFFFFF;
  color: #0B1220;
}
.field select option:checked {
  background-color: #EFF6FF;
  color: #0B1220;
}
.field select:disabled { opacity: .6; cursor: not-allowed; }
.field select:invalid { color: #94A3B8; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(2, 132, 199, .55);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note {
  font-size: .76rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 14px;
}
.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: .85rem;
  line-height: 1.7;
  display: none;
  background: rgba(5, 150, 105, .08);
  border: 1px solid rgba(5, 150, 105, .28);
  color: #047857;
}
.form-status.show { display: block; }
.form-status.error {
  background: rgba(220, 38, 38, .07);
  border-color: rgba(220, 38, 38, .30);
  color: #B91C1C;
}
.form-status.warn {
  background: rgba(180, 83, 9, .08);
  border-color: rgba(180, 83, 9, .30);
  color: #B45309;
}
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn-arrow { display: none; }
.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(2, 132, 199, .07);
  border: 1px solid rgba(2, 132, 199, .18);
  color: var(--c-sky);
}
.contact-item .ic svg { width: 18px; height: 18px; }
.contact-item .k {
  font-size: .78rem;
  color: var(--text-3);
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.contact-item .v {
  font-size: .96rem;
  color: var(--text);
}
.contact-item .v small {
  display: block;
  font-size: .8rem;
  color: var(--text-2);
  margin-top: 3px;
}

/* ---------- 19. Values / team ---------- */
.value-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -22px rgba(15, 23, 42, .16);
  transition: border-color .4s, transform .4s var(--ease);
}
.value-card:hover { border-color: rgba(99, 102, 241, .32); transform: translateY(-3px); }
.value-card .idx {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--c-violet);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.value-card h4 { font-size: 1.05rem; margin-bottom: 9px; }
.value-card p { font-size: .89rem; color: var(--text-2); line-height: 1.78; }

/* ---------- 20. Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-brand);
  z-index: 200;
  transition: width .1s linear;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > *:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* 栏目增至 7 项后，中等宽度下会挤成两行，提前切换为汉堡菜单 */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 48px 28px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .page-hero { padding: calc(var(--header-h) + 64px) 0 56px; }
  .hero-metrics { gap: 30px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-list { gap: 24px 32px; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-right: 0; border-bottom: 1px solid rgba(15, 23, 42, .06); }
  .compare-row > div:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .stats-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-metrics { gap: 24px 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .form-card { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-chip { display: none; }
  .flow-row { flex-wrap: wrap; }
  .hide-sm { display: none !important; }
  .case-result { gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .timeline { padding-left: 26px; }
  .tl-item::before { left: -25px; }
}
