:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, .08);
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --teal: #10b981;
  --amber: #f59e0b;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(37, 99, 235, .35);
  --shadow-soft: 0 14px 40px -24px rgba(15, 23, 42, .28);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 8% -10%, rgba(96, 165, 250, .28), transparent 60%),
    radial-gradient(900px 520px at 96% 4%, rgba(45, 212, 191, .22), transparent 62%),
    linear-gradient(180deg, #f2f7ff 0%, #f8fbff 46%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── 顶部导航 ── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.site-nav .inner {
  display: flex; align-items: center; gap: 28px;
  height: 68px; width: min(var(--max), calc(100% - 48px)); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, #60a5fa 55%, var(--teal) 100%);
  display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .9);
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .6px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(37, 99, 235, .08); color: var(--brand-deep); }
.nav-links a.active { color: var(--brand-deep); font-weight: 600; background: rgba(37, 99, 235, .1); }
.nav-cta {
  margin-left: 6px; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: #fff; background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  box-shadow: 0 14px 26px -16px rgba(14, 165, 233, .9);
  transition: transform .18s, box-shadow .18s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -16px rgba(14, 165, 233, .95); }

/* ── Hero ── */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px;
  align-items: center; padding: 76px 0 56px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; color: var(--brand-deep); font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .16);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero h1 {
  margin: 22px 0 12px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.12;
  letter-spacing: -.8px;
}
.hero-sub { margin: 0 0 16px; font-size: clamp(17px, 1.9vw, 23px); font-weight: 600; color: var(--ink-soft); }
.hero-desc { margin: 0 0 26px; font-size: 15.5px; line-height: 1.85; color: var(--muted); max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-tags span {
  font-size: 12.5px; color: var(--brand-deep); background: #fff;
  border: 1px solid rgba(37, 99, 235, .18); padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 8px 18px -16px rgba(37, 99, 235, .6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 18px 32px -18px rgba(249, 115, 22, .9);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-teal {
  color: #fff; background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  box-shadow: 0 18px 32px -18px rgba(14, 165, 233, .9);
}
.btn-teal:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: rgba(15, 23, 42, .12); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { background: #f8fafc; }

/* ── Hero 右侧产品预览 ── */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 4% -6% 8%; border-radius: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(16, 185, 129, .18));
  filter: blur(46px); z-index: 0;
}
.mock {
  position: relative; z-index: 1; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, #eef4ff 0%, #e6eefc 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 40px 80px -40px rgba(30, 64, 175, .45);
  padding: 14px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; display: block; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar .url {
  margin-left: auto; font-size: 10.5px; color: #7c8db5; background: rgba(255, 255, 255, .7);
  padding: 4px 12px; border-radius: 999px;
}
.mock-body {
  background: #fff; border-radius: 16px; padding: 16px; min-height: 320px;
  display: grid; grid-template-columns: 62px 1fr; gap: 14px;
}
.mock-side { display: flex; flex-direction: column; gap: 10px; }
.mock-side .dot { height: 26px; border-radius: 8px; background: #eef2ff; }
.mock-side .dot.on { background: linear-gradient(135deg, var(--brand), #60a5fa); }
.mock-main { display: grid; gap: 12px; align-content: start; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-head strong { font-size: 13px; letter-spacing: .2px; }
.mock-head span { font-size: 10px; color: var(--muted); background: #f1f5f9; border-radius: 999px; padding: 3px 8px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card {
  border-radius: 12px; padding: 12px; background: #f8faff; border: 1px solid #e8eefc;
  display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: #334155; font-weight: 600;
}
.mock-card em {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(37, 99, 235, .12); color: var(--brand); font-style: normal; font-size: 12px;
}
.mock-hero {
  border-radius: 14px; padding: 20px 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 45%, #22d3ee 100%);
  box-shadow: 0 18px 32px -22px rgba(37, 99, 235, .9);
}
.mock-hero strong { display: block; font-size: 15px; margin-bottom: 6px; }
.mock-hero span { font-size: 11px; opacity: .82; }
.mock-hero::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255, 255, 255, .18);
}
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 76px; padding: 0 2px; }
.mock-chart b {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #60a5fa, #bfdbfe);
  animation: grow 1.8s cubic-bezier(.2, .8, .2, 1) both;
}
.mock-chart b:nth-child(1) { height: 42%; animation-delay: .05s; }
.mock-chart b:nth-child(2) { height: 66%; animation-delay: .12s; }
.mock-chart b:nth-child(3) { height: 52%; animation-delay: .19s; }
.mock-chart b:nth-child(4) { height: 84%; animation-delay: .26s; background: linear-gradient(180deg, #34d399, #a7f3d0); }
.mock-chart b:nth-child(5) { height: 70%; animation-delay: .33s; }
@keyframes grow { from { transform: scaleY(.1); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kanban .col { background: #f6f9ff; border: 1px solid #e6eefc; border-radius: 11px; padding: 8px; }
.mock-kanban .col b { display: block; font-size: 10px; color: #7c8db5; margin-bottom: 7px; letter-spacing: .4px; }
.mock-kanban .bar {
  height: 9px; border-radius: 5px; margin-bottom: 6px;
  background: linear-gradient(90deg, #93c5fd, #dbeafe);
}
.mock-kanban .bar:nth-child(3) { width: 78%; }
.mock-kanban .bar:nth-child(4) { width: 62%; background: linear-gradient(90deg, #6ee7b7, #d1fae5); }

/* ── 产品导航 ── */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: 26px; letter-spacing: -.3px; }
.section-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.products { padding: 26px 0 40px; }
.product-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.product-card {
  text-align: left; cursor: pointer; border-radius: var(--radius); padding: 18px;
  background: var(--card); border: 1.5px solid rgba(15, 23, 42, .07);
  box-shadow: var(--shadow-soft); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.active { border-color: var(--brand); box-shadow: 0 26px 50px -30px rgba(37, 99, 235, .8); }
.product-thumb {
  height: 128px; border-radius: 14px; margin-bottom: 14px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #dbeafe, #eff6ff 55%, #ccfbf1);
  display: grid; place-items: center;
}
.product-thumb .thumb-panel {
  width: 66%; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 30px -20px rgba(30, 64, 175, .55); border: 1px solid rgba(255, 255, 255, .9);
}
.thumb-panel .line { height: 7px; border-radius: 4px; background: #dbeafe; margin-bottom: 7px; }
.thumb-panel .line:nth-child(1) { width: 62%; background: linear-gradient(90deg, #60a5fa, #bfdbfe); }
.thumb-panel .line:nth-child(3) { width: 78%; }
.thumb-panel .line:nth-child(4) { width: 46%; background: linear-gradient(90deg, #6ee7b7, #d1fae5); }
.product-card h3 { margin: 0 0 6px; font-size: 17px; }
.product-card p { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.product-card .link { font-size: 12.5px; color: var(--brand-deep); font-weight: 600; }

/* ── 指标条 ── */
.metrics {
  margin: 12px auto 0; padding: 26px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.metric { background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 23, 42, .06); border-radius: 18px; padding: 20px; }
.metric b { display: block; font-size: 26px; letter-spacing: -.5px; }
.metric span { font-size: 12.5px; color: var(--muted); }

/* ── 演示区 ── */
.demo {
  margin: 46px 0 10px; padding: 64px 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, .06), rgba(16, 185, 129, .05));
  border-top: 1px solid rgba(37, 99, 235, .08);
  border-bottom: 1px solid rgba(37, 99, 235, .08);
}
.demo-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 48px; align-items: center; }
.demo h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.4px; }
.demo .sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps .num {
  flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), #22d3ee);
}
.steps b { display: block; font-size: 14px; margin-bottom: 2px; }
.steps span { font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.demo-visual {
  background: #fff; border-radius: 24px; padding: 16px;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .9);
}
.demo-visual img { border-radius: 14px; }

.lead-form { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-soft); }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.lead-form input, .lead-form textarea {
  width: 100%; border: 1px solid rgba(15, 23, 42, .12); border-radius: 10px;
  padding: 11px 12px; font-size: 13.5px; font-family: inherit; color: var(--ink); outline: none;
  background: #fbfdff; transition: border-color .18s, box-shadow .18s;
}
.lead-form input:focus, .lead-form textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); background: #fff;
}
.lead-form textarea { resize: vertical; min-height: 78px; margin-bottom: 10px; }
.lead-form .foot { display: flex; align-items: center; gap: 12px; }
.lead-form .note { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.lead-form .msg { font-size: 12.5px; margin-top: 8px; min-height: 18px; }
.lead-form .msg.ok { color: #047857; }
.lead-form .msg.err { color: #b91c1c; }

/* ── 联系 ── */
.contact { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.contact h2 { margin: 0 0 12px; font-size: 26px; }
.contact p { margin: 0 0 22px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.contact-list { display: grid; gap: 10px; }
.contact-list div {
  display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 15px; font-size: 13.5px; color: var(--ink-soft);
}
.contact-list em { font-style: normal; font-size: 15px; }
.coop { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-soft); }
.coop h3 { margin: 0 0 14px; font-size: 17px; }
.coop ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 2; }

/* ── 页脚 ── */
.site-footer {
  margin-top: 30px; background: #0b1220; color: #94a3b8; padding: 34px 0;
}
.site-footer .inner {
  width: min(var(--max), calc(100% - 48px)); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
.site-footer .links { display: flex; gap: 18px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }

/* ── 产品介绍页 ── */
.page-hero { padding: 70px 0 26px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.7px; }
.page-hero p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 620px; line-height: 1.8; }
.intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; padding: 26px 0 60px; }
.intro-card {
  background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.intro-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(16, 185, 129, .14)); color: var(--brand);
}
.intro-card h2 { margin: 0; font-size: 20px; }
.intro-card .tagline { margin: 0; font-size: 13px; color: var(--brand-deep); font-weight: 600; }
.intro-card .desc { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.intro-card ul { margin: 2px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.95; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.chips span { font-size: 12px; color: var(--brand-deep); background: rgba(37, 99, 235, .08); padding: 5px 10px; border-radius: 999px; }
.intro-card .btn { align-self: flex-start; margin-top: 6px; padding: 10px 18px; font-size: 13.5px; }

/* ── 补充：品牌文字 / 演示提示 / 底部 CTA ── */
.brand-name { display: block; font-size: 15px; line-height: 1.2; }
.demo-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, .7); border: 1px dashed rgba(37, 99, 235, .25);
  border-radius: 12px; padding: 11px 14px; width: fit-content;
}
.demo-hint b { color: var(--ink-soft); font-weight: 600; }
.demo-hint a { color: var(--brand-deep); font-weight: 600; }
.demo-hint a:hover { text-decoration: underline; }
.rail-empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 40px 20px; font-size: 13.5px;
}
.cta-band {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  margin: 10px 0 60px; padding: 30px 34px; border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  box-shadow: 0 30px 60px -34px rgba(29, 78, 216, .9);
}
.cta-band h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.3px; }
.cta-band p { margin: 0; font-size: 13.5px; opacity: .86; max-width: 520px; line-height: 1.8; }
.cta-band .btn-primary { background: linear-gradient(135deg, #fbbf24, #f97316); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .26); }

/* ── 滚动入场 ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── 响应式 ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 46px; }
  .demo-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .site-nav .inner { height: 62px; }
  .hero h1 { letter-spacing: -.4px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lead-form .row { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .site-footer .inner { justify-content: center; text-align: center; }
}
