/* ============ 设计变量 ============ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e6ebf3;
  --bg: #f6f9fc;
  --white: #ffffff;
  --hero-dark: #0a1733;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 22px 46px rgba(37, 99, 235, 0.16);
  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: min(1180px, 92%); margin: 0 auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 600; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .28); }

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.nav-inner { display: flex; align-items: center; height: 70px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.mobile-menu { display: none; flex-direction: column; padding: 10px 6% 20px; gap: 16px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--muted); font-weight: 500; font-size: 15px; }

/* ============ 首屏 ============ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #16306e 0%, transparent 60%),
              linear-gradient(165deg, #0a1733 0%, #0d1f4d 55%, #0b3a5e 100%);
  padding: 88px 0 96px;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(120, 160, 255, .12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 160, 255, .12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.blob-a { width: 420px; height: 420px; background: #2f6bff; top: -130px; left: -90px; }
.blob-b { width: 380px; height: 380px; background: #22d3ee; bottom: -150px; right: -70px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; letter-spacing: .4px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34e0c8; box-shadow: 0 0 10px #34e0c8; }
.hero-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.22; margin-bottom: 22px; letter-spacing: .5px; }
.hero-desc { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, .82); margin-bottom: 36px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; color: rgba(255, 255, 255, .75); font-size: 14px; }
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before { content: "✓"; position: absolute; left: 0; color: #5eead4; font-weight: 700; }

/* ============ 产品界面模拟 ============ */
.hero-mock { perspective: 1400px; }
.mock-window {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero-mock:hover .mock-window { transform: rotateY(0) rotateX(0); }
.mock-top {
  display: flex; align-items: center; gap: 12px; height: 38px;
  padding: 0 14px; background: #eef2f7; border-bottom: 1px solid #e2e8f0;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.mock-dots i:nth-child(1) { background: #ff5f57; }
.mock-dots i:nth-child(2) { background: #febc2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-url {
  flex: 1; text-align: center; font-size: 12px; color: #64748b;
  background: #fff; border-radius: 7px; padding: 3px 10px; max-width: 230px; margin: 0 auto;
}
.mock-screen { display: flex; height: 330px; }
.mock-side {
  width: 46px; flex: none; background: #0f1c3d;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0;
}
.ms-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--gradient); margin-bottom: 6px; }
.mock-side i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mock-side i.on { background: var(--gradient); }
.mock-main { flex: 1; padding: 16px; background: #f8fafc; overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-h-title { font-size: 14px; font-weight: 700; color: #1e293b; }
.mock-h-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient); }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.mk { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #eef2f7; }
.mk-label { display: block; font-size: 11px; color: #94a3b8; }
.mk-val { display: block; font-size: 15px; font-weight: 800; color: #0f172a; margin: 2px 0; font-variant-numeric: tabular-nums; }
.mk-up { font-size: 10px; color: #10b981; font-weight: 600; }
.mk-down { font-size: 10px; color: #ef4444; font-weight: 600; }
.mock-charts { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 12px; }
.mock-card { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #eef2f7; }
.mc-title { font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 8px; }
.mock-line { width: 100%; height: 80px; }
.donut { position: relative; width: 78px; height: 78px; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; }
.donut span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #0f172a; }
.mock-bars { background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid #eef2f7; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 56px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--gradient); opacity: .9; }

/* ============ 统计条 ============ */
.stat-bar { background: #fff; border-bottom: 1px solid var(--line); }
.stat-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.stat-item strong { display: block; font-size: 34px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { color: var(--muted); font-size: 14px; }

/* ============ 区块通用 ============ */
.section { padding: 92px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 58px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ============ 功能卡片 ============ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(37, 99, 235, .32); }
.feature-ico {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px;
  color: var(--primary); background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .12));
  margin-bottom: 18px;
}
.feature-ico svg { width: 25px; height: 25px; }
.feature-card h3 { font-size: 18px; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* ============ 界面预览 ============ */
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.screen-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 26px; transition: transform .22s ease, box-shadow .22s ease;
}
.screen-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.screen-card .mock-window { transform: none; box-shadow: none; border: 1px solid var(--line); }
.screen-card h3 { font-size: 17px; margin: 20px 4px 6px; }
.screen-card > p { color: var(--muted); font-size: 13px; margin: 0 4px; }
.screen-body { padding: 12px; background: #fff; }
.screen-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 6px; align-items: center; padding: 8px 6px; font-size: 12px; color: #334155; border-bottom: 1px solid #f1f5f9; font-variant-numeric: tabular-nums; }
.screen-row.head { color: #94a3b8; font-weight: 700; font-size: 11px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b; }
.tag.ok { background: rgba(16, 185, 129, .12); color: #059669; }
.tag.warn { background: rgba(245, 158, 11, .14); color: #d97706; }
.chat-body { padding: 16px; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; min-height: 178px; }
.bubble { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: #475569; border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--gradient); color: #fff; border-bottom-right-radius: 4px; }

/* ============ 亮点 ============ */
.highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.highlight:last-child { margin-bottom: 0; }
.highlight.reverse .highlight-img { order: 2; }
.highlight-img { border-radius: 20px; }
.hl-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); background: rgba(37, 99, 235, .1); padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; }
.highlight-text h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.highlight-text > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; color: #334155; font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; background: var(--gradient);
  color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

/* ============ 对比表 ============ */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.compare-table thead th { background: #f8fafc; font-weight: 700; }
.cmp-dim { color: #0f172a; font-weight: 700; width: 22%; }
.cmp-old { color: var(--muted); font-weight: 600; }
.cmp-new { color: var(--primary-dark); font-weight: 700; }
.compare-table tbody td:not(.yes) { color: var(--muted); }
.yes { color: #059669; font-weight: 600; }
.yes::before { content: "✓ "; font-weight: 800; }

/* ============ 公司简介 ============ */
.company-intro {
  max-width: 900px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 32px 36px; box-shadow: var(--shadow);
}
.company-intro p { color: #334155; font-size: 16px; }

/* ============ 联系 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; max-width: 920px; margin: 0 auto; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center; transition: transform .2s, box-shadow .2s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.contact-label { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.contact-qr { width: 180px; height: 180px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); margin: 0 auto; }
.contact-phone { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.contact-phone-btn { margin-top: 16px; }
.contact-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; }

/* ============ CTA ============ */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, #1d4088 0%, transparent 70%),
              linear-gradient(135deg, #0d1f4d, #0b3a5e);
  padding: 84px 0;
}
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-inner p { color: rgba(255, 255, 255, .8); margin-bottom: 32px; }

/* ============ 页脚 ============ */
.footer { background: #080f24; color: #cbd5e1; padding: 56px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-weight: 700; color: #fff; }
.footer-company { font-size: 13px; color: #94a3b8; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: #cbd5e1; font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: #5eead4; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 13px; color: #94a3b8; }
.footer-meta a { color: #94a3b8; }
.footer-meta a:hover { color: #5eead4; }

/* ============ 滚动渐入 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .mock-window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .highlight { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
  .highlight.reverse .highlight-img { order: 0; }
  .highlight-img { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 60px 0 70px; }
  .stat-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat-item:nth-child(2)::after { display: none; }
  .mock-screen { height: auto; min-height: 300px; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-charts { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 0; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .mock-side { width: 38px; }
  .mock-kpis { gap: 8px; }
  .mk { padding: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .screen-row { font-size: 11px; }
}
