:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #1a2233;
  --ink-2: #5b6475;
  --line: #e6eaf0;
  --brand: #2f6bff;
  --brand-dark: #1e50d6;
  --blue: #e9f0ff;
  --orange: #fff2e6;
  --purple: #f1ecff;
  --green: #e7f7ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 50, 90, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; letter-spacing: -.5px; }
.brand-text { font-size: 16px; }
.brand-sub { font-size: 12px; color: var(--ink-2); font-weight: 500; margin-left: 7px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav a { color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--brand); }
.nav-cta { border: 1px solid var(--line); padding: 7px 14px; border-radius: 8px; }

/* hero */
.hero { background: linear-gradient(180deg, #f4f7ff 0%, #fff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 84px 0 76px; }
.eyebrow { display: inline-block; font-size: 12px; color: var(--brand); background: var(--blue); padding: 5px 11px; border-radius: 20px; font-weight: 600; letter-spacing: .3px; }
h1 { font-size: 40px; line-height: 1.3; margin: 18px 0 14px; letter-spacing: -.5px; }
.hero-desc { color: var(--ink-2); font-size: 16px; max-width: 460px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; padding: 11px 20px; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; }
.hero-note { margin-top: 20px; font-size: 12px; color: #99a2b3; }

.hero-art { position: relative; height: 280px; }
.art-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.art-main { position: absolute; inset: 30px 30px 30px 10px; padding: 18px; }
.art-top { display: flex; gap: 6px; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #dfe4ec; }
.art-line { height: 12px; border-radius: 6px; background: #e9edf4; margin-bottom: 12px; }
.art-line.w80 { width: 80%; }
.art-line.w60 { width: 60%; }
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.art-cell { height: 58px; border-radius: 10px; background: #f2f5fa; }
.art-chip { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 600; }
.chip-1 { top: 8px; right: 0; color: var(--brand); }
.chip-2 { bottom: 34px; left: -6px; color: #e07b39; }
.chip-3 { bottom: 4px; right: 12px; color: #2f9e63; }

/* sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head.left { text-align: left; }
.section-head h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.3px; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd9f5; }
.feature-card h3 { font-size: 17px; margin: 14px 0 8px; }
.feature-card p { color: var(--ink-2); font-size: 13px; margin: 0 0 16px; min-height: 60px; }
.card-more { font-size: 13px; color: var(--brand); font-weight: 600; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.icon-blue { background: var(--blue); color: var(--brand); }
.icon-orange { background: var(--orange); color: #d9762f; }
.icon-purple { background: var(--purple); color: #7a54d8; }
.icon-green { background: var(--green); color: #249457; }

.flow-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.flow { display: flex; align-items: center; gap: 12px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; flex: 1; }
.step-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.flow-step b { display: block; font-size: 15px; }
.flow-step p { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); }
.flow-arrow { color: #b8c0cd; font-size: 20px; }

.cta-section { background: var(--blue); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: 26px; margin: 0 0 8px; }
.cta-inner p { margin: 0; color: var(--ink-2); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 12px; color: #9aa3b2; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* operations page */
.ops-main { padding: 54px 0 80px; min-height: 70vh; }
.ops-head { text-align: center; margin-bottom: 32px; }
.ops-head h1 { font-size: 34px; margin: 14px 0 8px; }
.ops-head p { color: var(--ink-2); margin: 0; }
.filter-bar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px 16px; font-size: 13px; color: var(--ink-2); }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tool-group { margin-bottom: 38px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 16px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cdd9f5; }
.tool-card-featured { background: #fbfcff; border-color: #cdd9f5; }
.tool-name { display: inline-block; font-size: 15px; font-weight: 700; margin-right: 8px; }
.tool-desc { display: block; color: var(--ink-2); font-size: 13px; margin-top: 8px; }
.tag { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 12px; font-weight: 600; vertical-align: 2px; }
.tag-soon { background: var(--bg-soft); color: #8791a2; }
.tag-hot { background: var(--orange); color: #d9762f; }
.ops-footnote { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 50px; }
.ops-footnote a { color: var(--brand); font-weight: 600; }

/* modal */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,30,50,.45); }
.modal-box { position: relative; background: #fff; border-radius: 16px; padding: 30px; width: min(460px, 100%); box-shadow: 0 20px 60px rgba(20,30,50,.2); }
.modal-box h2 { margin: 14px 0 10px; font-size: 22px; }
.modal-box p { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 24px; color: #9aa3b2; line-height: 1; }
.modal-note { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }

/* responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 48px; }
  .hero-art { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-wrap { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .brand-sub { display: none; }
  .nav { gap: 14px; }
  .card-grid, .tool-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .feature-card p { min-height: 0; }
}
