/* ============ 设计变量 ============ */
:root {
  --bg: #0a0f1e;
  --bg-soft: #0e1426;
  --panel: #131a2e;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #0d1321;
  --ink-2: #475069;
  --ink-3: #7c869e;
  --light: #f6f7fb;
  --light-2: #eef1f7;
  --brand: #4f7cff;
  --brand-2: #7b5cff;
  --accent: #3ddc97;
  --warn: #f5b544;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(16, 24, 40, 0.28);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, Menlo, Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: 0.92em; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.wrap.narrow { width: min(820px, 92vw); }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(79, 124, 255, 0.9);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(79, 124, 255, 0.95); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #eaf0ff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ============ 导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0f1e;
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  color: #e9eeff;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo-mark { display: inline-flex; }
.logo-text { color: #fff; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 14.5px; color: #b8c1dc; }
.nav-links a { padding: 6px 0; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { font-size: 14px; color: #b8c1dc; }
.link-quiet:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #dfe6ff; margin: 4px 0; border-radius: 2px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: radial-gradient(1200px 520px at 15% -10%, rgba(79, 124, 255, 0.28), transparent 60%),
    radial-gradient(900px 480px at 90% 0%, rgba(123, 92, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #0a0f1e 0%, #0c1224 70%, #0a0f1e 100%);
  color: #e8eeff;
  padding: 84px 0 56px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(79, 124, 255, 0.18), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cdd7ff;
  border: 1px solid rgba(125, 155, 255, 0.32);
  background: rgba(79, 124, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.16); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 20px 0 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: #aab6d6; font-size: 17px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-points { margin-top: 28px; display: grid; gap: 10px; color: #9fabcb; font-size: 14.5px; }
.hero-points li { padding-left: 22px; position: relative; }
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(28, 37, 62, 0.92), rgba(17, 24, 43, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.panel-title { font-size: 14px; color: #c3cdea; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.tag-live { color: #86f0c1; background: rgba(61, 220, 151, 0.12); border: 1px solid rgba(61, 220, 151, 0.25); }
.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.panel-metrics div { display: grid; gap: 4px; }
.m-label { font-size: 12px; color: #8f9bbd; }
.panel-metrics strong { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.panel-list { display: grid; gap: 8px; }
.row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9px;
  padding: 9px 12px;
}
.mono { font-family: var(--mono); color: #b9c6e8; font-size: 12.5px; }
.row .mono:last-child { text-align: right; color: #dbe4ff; }
.ok { color: #63e0a6; }
.warn { color: var(--warn); }
.muted { color: #8b97b8; }
.panel-foot { margin-top: 14px; font-size: 12.5px; color: #8d99ba; }

.stats {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.stats div { background: #0d1425; padding: 18px 20px; }
.stats strong { display: block; font-size: 24px; color: #fff; letter-spacing: -0.02em; }
.stats span { font-size: 13px; color: #93a0c2; }

/* ============ 通用区块 ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--light); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.sec-head p { color: var(--ink-2); font-size: 16px; }

/* ============ 能力卡 ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid #e7eaf2;
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8e0ff; }
.icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(123, 92, 255, 0.12));
  margin-bottom: 14px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }

/* ============ 流程 ============ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow li {
  position: relative;
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: var(--radius);
  padding: 24px 22px;
}
.step {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
  background: rgba(79, 124, 255, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
}
.flow h3 { font-size: 16px; margin: 14px 0 8px; }
.flow p { color: var(--ink-2); font-size: 14px; }

/* ============ 对接 ============ */
.integrate-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.integrate-copy h2 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 14px; }
.integrate-copy p { color: var(--ink-2); }
.integrate-copy code {
  background: var(--light-2);
  border: 1px solid #e3e8f2;
  border-radius: 5px;
  padding: 1px 5px;
  color: #2f3b57;
}
.ticks { margin-top: 20px; display: grid; gap: 10px; font-size: 14.5px; color: #2d3850; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.code-card {
  background: #0c1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(13, 19, 33, 0.7);
}
.code-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.tab {
  background: none;
  border: 0;
  color: #8b96b6;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-family: var(--mono);
}
.tab.active { color: #dfe8ff; background: rgba(255, 255, 255, 0.06); }
.code { margin: 0; padding: 20px 22px; overflow-x: auto; }
.code code { color: #c9d6f5; font-size: 12.8px; line-height: 1.75; white-space: pre; }
.code-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: #8b96b6;
}
.code-foot a { color: #8fb0ff; }

/* ============ 三平台 ============ */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform {
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}
.platform::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0.85;
}
.p-tag {
  font-size: 12px;
  color: var(--brand);
  border: 1px solid rgba(79, 124, 255, 0.3);
  border-radius: 999px;
  padding: 2px 10px;
}
.platform h3 { font-size: 18px; margin: 14px 0 10px; }
.platform p { color: var(--ink-2); font-size: 14.5px; }

/* ============ 价格 ============ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  border: 1px solid #e7eaf2;
  border-radius: 16px;
  padding: 28px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.highlight {
  border-color: transparent;
  background: linear-gradient(180deg, #0e1527, #121a30);
  color: #e9eeff;
  box-shadow: 0 30px 60px -25px rgba(13, 19, 33, 0.55);
  position: relative;
}
.price-card.highlight::after {
  content: '推荐';
  position: absolute;
  top: 18px; right: 18px;
  font-size: 12px;
  color: #0b1020;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 600;
}
.price-head { display: grid; gap: 6px; }
.price-head h3 { font-size: 18px; }
.price-head p { font-size: 13.5px; color: var(--ink-3); }
.price-card.highlight .price-head p { color: #95a1c2; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: 36px; letter-spacing: -0.03em; }
.price span { font-size: 13px; color: var(--ink-3); }
.price-card.highlight .price span { color: #95a1c2; }
.price-feats { display: grid; gap: 10px; font-size: 14px; flex: 1; }
.price-feats li { padding-left: 24px; position: relative; color: #3a4460; }
.price-card.highlight .price-feats li { color: #c3cde8; }
.price-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card.highlight .price-feats li::before { border-color: var(--accent); }
.fineprint { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ============ 安全 ============ */
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sec-item {
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: var(--radius);
  padding: 24px;
}
.sec-item h3 { font-size: 16px; margin-bottom: 8px; }
.sec-item p { color: var(--ink-2); font-size: 14.5px; }

/* ============ FAQ ============ */
details {
  border-bottom: 1px solid #e7eaf2;
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-weight: 400;
  color: var(--ink-3);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ============ 留资 ============ */
.cta {
  background: radial-gradient(900px 420px at 15% 10%, rgba(79, 124, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0a0f1e, #0b1122);
  color: #e8eeff;
}
.cta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.cta-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.cta-copy p { color: #a7b3d3; }
.cta-list { margin-top: 26px; display: grid; gap: 10px; font-size: 14.5px; }
.cta-list li { display: flex; gap: 14px; color: #c9d3ee; }
.cta-list span { width: 76px; color: #8d99ba; flex: none; }
.cta-list a { color: #9dbcff; }

.lead-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13px; color: #b7c2de; }
.field label em { color: #ff8a8a; font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(8, 13, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  padding: 11px 12px;
  color: #eaf0ff;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #6f7a99; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(110, 145, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.18);
}
.field select option { background: #0e1527; color: #eaf0ff; }
.field textarea { resize: vertical; }
.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: #97a3c2; }
.agree input { margin-top: 3px; accent-color: var(--brand); }
.form-note { font-size: 13px; min-height: 18px; color: #97a3c2; }
.form-note.ok { color: #63e0a6; }
.form-note.err { color: #ff9b9b; }

/* ============ 页脚 ============ */
.footer { background: #080c17; color: #93a0c2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.f-brand .logo-text { color: #fff; }
.f-brand p { font-size: 13.5px; margin-top: 8px; }
.f-note { color: #7b87a8; max-width: 280px; }
.f-col h4 { color: #dfe6ff; font-size: 14px; margin-bottom: 12px; }
.f-col a { display: block; font-size: 13.5px; padding: 4px 0; color: #93a0c2; }
.f-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: #6f7b9c;
  flex-wrap: wrap;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards, .platforms { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .integrate-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing { grid-template-columns: 1fr; }
  .price-card.highlight { order: -1; }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #0b1122;
    border-bottom: 1px solid var(--line);
    padding: 14px 4vw 20px;
    flex-direction: column;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-actions .link-quiet { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .platforms, .security-grid, .flow { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel-metrics { grid-template-columns: 1fr; gap: 10px; }
  .row { grid-template-columns: 1.6fr 0.8fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
