:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ink: #0b1020;
  --ink-2: #45505f;
  --muted: #6b7280;
  --line: #e7e9f0;
  --brand: #6366f1;
  --brand-2: #8b5cf6;
  --accent: #22d3ee;
  --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --navy: #0b1020;
  --navy-2: #141b33;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(16, 24, 40, 0.28);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark { display: inline-flex; }
.brand-name { letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links .nav-cta {
  color: #fff;
  background: var(--brand);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: #4f46e5; color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1e1b4b 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 0%, #172554 0%, transparent 55%),
              var(--navy);
  color: #fff;
  padding: 96px 0 88px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; }
.hero-glow-a { width: 420px; height: 420px; background: #6366f1; top: -140px; right: -80px; }
.hero-glow-b { width: 360px; height: 360px; background: #22d3ee; bottom: -180px; left: -100px; opacity: 0.3; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0e7ff;
  font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2); }

.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; line-height: 1.12; letter-spacing: -1px; }
.grad-text {
  background: linear-gradient(120deg, #a5b4fc 0%, #c4b5fd 45%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: 18px; color: #c7d2fe; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin-top: 34px; color: #a5b4fc; font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: transform 0.15s, box-shadow 0.15s, background 0.2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.7); }
.btn-primary:hover { box-shadow: 0 16px 38px -10px rgba(99, 102, 241, 0.85); transform: translateY(-1px); }
.btn-ghost { color: #e0e7ff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-ghost-dark { color: #fff; border: 1px solid rgba(255, 255, 255, 0.26); }

/* Hero 控制台 mock */
.hero-visual { position: relative; max-width: 480px; margin: 0 auto; }
.console {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.7), rgba(15, 18, 38, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #f87171; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.console-title { margin-left: 8px; font-size: 13px; color: #c7d2fe; }
.console-body { padding: 22px; }
.console-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 0%, #1e1b4b 0%, #0f1230 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.console-timeline { display: flex; gap: 5px; margin-top: 18px; }
.console-timeline .seg { height: 6px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.console-timeline .seg-done { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.console-timeline .seg-active { background: linear-gradient(90deg, #8b5cf6, #22d3ee); }
.console-steps { display: flex; gap: 12px; margin-top: 16px; }
.console-steps .step { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 12px; color: #8b93b0; }
.console-steps .step i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; background: rgba(255, 255, 255, 0.1); }
.console-steps .step.done { color: #c7d2fe; }
.console-steps .step.done i { background: #6366f1; color: #fff; }
.console-steps .step.active { color: #67e8f9; }
.console-steps .step.active i { background: #22d3ee; color: #06233a; }

/* ---------- 能力亮点条 ---------- */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-label { font-size: 14px; color: var(--muted); }

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: radial-gradient(900px 500px at 100% 0%, #1e1b4b 0%, transparent 55%), var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--muted); }
.head-light .section-sub { color: #a5b4fc; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* 3 列网格末行仅 1 张卡片时居中(核心能力区 7 张卡片) */
.grid-3 > :last-child:nth-child(3n + 1) { grid-column: 2; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8dbf3; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.12));
  color: var(--brand); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 流程 ---------- */
.workflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; margin-bottom: 48px; }
.wf-step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.wf-num { font-size: 14px; font-weight: 800; color: var(--brand); letter-spacing: 1px; }
.wf-step h3 { font-size: 18px; margin: 10px 0 8px; }
.wf-step p { font-size: 14.5px; color: var(--muted); }
.wf-arrow { color: #c3c8d6; }
.wf-arrow svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pipeline { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.pipe-track { display: flex; flex-wrap: wrap; gap: 10px; }
.pipe-track span {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--line);
}
.pipe-track span::before { content: "▸ "; color: var(--brand); }

/* ---------- 场景 ---------- */
.scenario {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.scenario:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.scenario-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.12));
  color: var(--brand);
}
.scenario-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scenario h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.scenario p { font-size: 14.5px; color: var(--muted); }

/* ---------- 技术优势 ---------- */
.tech-grid { gap: 20px; }
.tech-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 26px;
}
.tech-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: #e0e7ff; }
.tech-item h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--grad); margin-bottom: 14px; }
.tech-item p { font-size: 14.5px; color: #a5b4fc; }

/* ---------- 常见问题 ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item:hover { border-color: #d8dbf3; }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { background: var(--bg-soft); }
.cta-box {
  background: radial-gradient(700px 300px at 100% 0%, #1e1b4b 0%, transparent 60%), var(--navy);
  color: #fff; text-align: center;
  border-radius: 24px; padding: 72px 32px;
  position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.5px; }
.cta-box p { margin-top: 16px; font-size: 17px; color: #c7d2fe; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a5b4fc; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13.5px; color: #8b93b0; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(3n + 1) { grid-column: auto; }
  .workflow { grid-template-columns: 1fr; }
  .wf-arrow { transform: rotate(90deg); margin: -6px auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: 0.2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav-toggle { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 64px 0 56px; }
  .footer-bottom { flex-direction: column; }
}
