:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #fbfbfd;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI',
    'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
}

.home-page {
  /* 用 clip 而不是 hidden：hidden 会创建隐式滚动容器，导致子元素 position: sticky 失效 */
  overflow-x: clip;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark.small {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 10px;
  color: var(--soft);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 12px;
  color: #424245;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 980px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.header-cta {
  height: 30px;
  padding: 0 15px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.header-cta:hover {
  background: var(--blue-hover);
}

.header-cta i {
  font-size: 11px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 420px at 50% -20%, #f0f0f3 0%, rgba(240, 240, 243, 0) 68%),
    #fbfbfd;
}

.hero-glow {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--ink);
}

.gradient-text {
  color: var(--blue);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-desc {
  margin: 22px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 13px 26px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary.light {
  background: #fff;
  color: var(--ink);
}

.btn-primary.light:hover {
  background: #f2f2f4;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-radius: 980px;
  color: var(--blue);
  font-size: 15px;
  transition: background 0.2s var(--ease);
}

.btn-ghost:hover {
  background: rgba(0, 113, 227, 0.06);
}

.btn-ghost i {
  font-size: 11px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stats strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-stats span {
  font-size: 12px;
  color: var(--soft);
}

/* ===== Hero 可视化卡片 ===== */
.hero-visual {
  position: relative;
  padding: 14px;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.07);
}

.visual-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.visual-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.visual-sub {
  margin-top: 3px;
  font-size: 11px;
  color: var(--soft);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 980px;
  background: rgba(52, 199, 89, 0.12);
  color: #1c7c3c;
  font-size: 10px;
  white-space: nowrap;
}

.live-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34c759;
}

.visual-row {
  display: grid;
  grid-template-columns: 72px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.visual-name {
  font-size: 12px;
  color: var(--muted);
}

.visual-track {
  height: 7px;
  border-radius: 980px;
  background: var(--surface-2);
  overflow: hidden;
}

.visual-fill {
  height: 100%;
  border-radius: 980px;
  animation: grow 1.1s var(--ease) both;
}

.bar-blue { background: #0071e3; }
.bar-indigo { background: #5856d6; }
.bar-cyan { background: #30b0c7; }
.bar-violet { background: #af52de; }

.visual-val {
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.visual-footer {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
}

.mini-stat span {
  font-size: 10px;
  color: var(--soft);
}

.mini-stat strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trend-down {
  color: #d70015;
}

.float-chip {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  animation: floaty 6s var(--ease) infinite;
  pointer-events: none;
}

.chip-a { top: -10px; left: 28px; }
.chip-b { bottom: -12px; right: 28px; animation-delay: 1.6s; }
.chip-c { top: -10px; right: 120px; animation-delay: 0.8s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes grow {
  from { width: 0; }
}

/* ===== 通用区块 ===== */
.section {
  padding: 100px 0;
  scroll-margin-top: 64px;
}

.platforms-section {
  padding: 42px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--soft);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-pill {
  min-width: 104px;
  padding: 9px 18px;
  border-radius: 980px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.platform-pill:hover {
  background: #ececf0;
  color: var(--ink);
}

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

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== 功能卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 18px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== 工作流程 ===== */
.workflow-section {
  background: var(--surface-2);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-no {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.step-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.step-arrow {
  display: none;
}

/* ===== 为什么选择 ===== */
.why-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.why-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.why-copy p {
  margin: 18px 0 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.why-item:last-child {
  border-bottom: none;
}

.why-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
}

.why-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.why-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-inner {
  max-width: 860px;
}

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

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item summary i {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--soft);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 4px 24px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 底部 CTA ===== */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 52px 56px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-card p {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 52px 0 28px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
}

.footer-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.footer-brand p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--soft);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-right a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-right a:hover {
  color: var(--ink);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-top: 22px;
}

.copyright {
  font-size: 11px;
  color: var(--soft);
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 11px;
  color: var(--soft);
}

.filing-links a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.filing-links a:hover {
  color: var(--ink);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 72px 0 60px;
  }
  .hero-desc {
    max-width: 640px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 36px);
  }
  .section {
    padding: 72px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head p {
    font-size: 16px;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 34px;
  }
  .hero-stats strong {
    font-size: 24px;
  }
  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 36px 28px;
    border-radius: 22px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
  .float-chip {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 52px;
    gap: 12px;
  }
  .brand-text small {
    display: none;
  }
  .header-cta span {
    display: none;
  }
  .header-cta {
    width: 30px;
    padding: 0;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }
  .hero-desc {
    font-size: 17px;
  }
  .hero-actions {
    gap: 6px;
  }
  .btn-primary,
  .btn-ghost {
    padding: 12px 20px;
    font-size: 14px;
  }
  .visual-card {
    padding: 20px;
    border-radius: 18px;
  }
  .visual-row {
    grid-template-columns: 62px 1fr 36px;
  }
  .section {
    padding: 56px 0;
  }
  .cta-card {
    padding: 30px 22px;
  }
  .cta-card .btn-primary.light {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float-chip,
  .visual-fill {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
