:root {
  --bg: #f5f8fc;
  --ink: #0f1f38;
  --muted: #55647c;
  --line: #dde5f0;
  --line-soft: #e9eff7;
  --primary: #1f6feb;
  --primary-dark: #174ea6;
  --primary-ghost: #eaf2ff;
  --teal: #0f9f8e;
  --amber: #d97706;
  --panel: #ffffff;
  --navy: #102a43;
  --navy-deep: #0b1c2c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 16px 40px rgba(15, 42, 82, .12);
  --shadow-soft: 0 6px 18px rgba(15, 42, 82, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 15.5px;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 2px; border-radius: 4px;
}
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- top navigation ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; }
.brand-logo { width: 142px; height: 38px; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14.5px; color: #31405a; }
.nav-links > a:not(.btn) { position: relative; padding: 4px 0; }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--primary); transition: right .22s ease;
}
.nav-links > a:not(.btn):hover::after { right: 0; }
.nav-links a:hover { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink); font-weight: 650; font-size: 14.5px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  cursor: pointer;
}
.btn:hover { border-color: #b9cdec; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--primary), #3f8bff); border-color: transparent; box-shadow: 0 8px 20px rgba(31, 111, 235, .32); }
.btn.primary:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(31,111,235,.14), transparent 60%),
    radial-gradient(700px 380px at 96% 4%, rgba(15,159,142,.12), transparent 55%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { min-height: 600px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; padding: 64px 0 60px; }
.hero-grid > *, .flow-row > *, .contact-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-dark); font-weight: 700; font-size: 13.5px;
  background: var(--primary-ghost); border: 1px solid #cfe1ff;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
h1, h2, h3 { line-height: 1.24; margin: 0; }
h1 { font-size: 46px; max-width: 660px; overflow-wrap: anywhere; letter-spacing: .5px; }
.hero-line { display: block; }
h1 .accent { color: var(--primary); }
h2 { font-size: 31px; }
h3 { font-size: 19px; }
.lead { font-size: 17.5px; color: var(--muted); margin: 18px 0 28px; max-width: 620px; overflow-wrap: anywhere; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #cfdff5; background: #fff;
}
.hero-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.stat {
  background: rgba(255,255,255,.75); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: var(--shadow-soft);
}
.stat strong { display: block; font-size: 24px; color: var(--primary-dark); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.white { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 720px; }
.kicker { color: var(--primary); font-weight: 750; font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }

.reason-grid, .feature-grid, .solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason, .feature-card, .price-card, .solution-card, .detail-card, .scenario {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.reason:hover, .feature-card:hover, .solution-card:hover, .detail-card:hover, .scenario:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4d8f5;
}
.feature-art {
  width: 100%; aspect-ratio: 26 / 15; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  margin-bottom: 18px; background: #f8fafc;
}
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  box-shadow: 0 6px 14px rgba(31, 111, 235, .28);
}
.muted { color: var(--muted); }

/* ---------- badges & tags ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 5px 11px; border-radius: 999px; background: var(--primary-ghost); color: var(--primary-dark); font-size: 12.5px; font-weight: 600; }
.tag.teal { background: #e6f7f2; color: #0b7d6f; }
.tag.amber { background: #fff2e2; color: #a05a08; }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--primary), #3f8bff); color: #fff;
}

/* ---------- workflow steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 8px; }
.step { position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line-soft); }
.step:first-child { border-top: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-ghost); color: var(--primary-dark);
  font-weight: 800; font-size: 16px; border: 1px solid #cfe1ff;
}
.step h4 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- spotlight (feature detail) ---------- */
.spotlight { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.spotlight.reverse { grid-template-columns: .95fr 1.05fr; }
.spotlight.reverse .spot-copy { order: 2; }
.spotlight.reverse .spot-art { order: 1; }
.spot-art img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.spot-copy h2 { margin-bottom: 6px; }
.spot-copy > p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { padding: 9px 0 9px 32px; position: relative; border-top: 1px solid var(--line-soft); }
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 9px;
  color: var(--teal); font-weight: 800;
}
.callout {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #f2f8ff; border: 1px solid #cfe1ff; color: #1e3a5f; font-size: 14px;
}
.callout.green { background: #f0faf7; border-color: #bfe8de; color: #0b5f53; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured {
  border: 2px solid var(--primary); box-shadow: var(--shadow);
}
.price-card .plan-badge {
  position: absolute; top: -14px; left: 24px;
}
.price { margin: 16px 0 4px; font-size: 32px; font-weight: 800; color: var(--primary-dark); }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-note { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
ul.clean { list-style: none; padding: 0; margin: 16px 0 0; }
ul.clean li { padding: 9px 0 9px 24px; position: relative; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
ul.clean li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- flow rows (index features) ---------- */
.flow { display: grid; gap: 0; }
.flow-row { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.flow-row:first-child { border-top: 0; }
.flow-row h3 { font-size: 18.5px; }

/* ---------- dark bands ---------- */
.contact-band { background: linear-gradient(140deg, var(--navy) 0%, #143a5c 100%); color: #fff; }
.contact-band .muted { color: #c6d6e8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-box { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.06); }
.contact-box p { margin: 8px 0; }
.cta-band {
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(63,139,255,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { font-size: 30px; }
.cta-band p { color: #c6d6e8; max-width: 640px; margin: 14px auto 26px; }

/* ---------- compliance tiles ---------- */
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compliance {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-soft);
}
.compliance strong { display: block; font-size: 16px; margin-bottom: 6px; color: var(--primary-dark); }
.compliance span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; box-shadow: var(--shadow-soft);
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 20px; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 13px 15px; text-align: left; vertical-align: top; font-size: 14.5px; }
th { background: linear-gradient(180deg, #f0f6ff, #e9f2ff); color: #16335a; }
tbody tr:nth-child(even) td { background: #fafcff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.role-table th, .role-table td { min-width: 180px; }
.role-table th:first-child, .role-table td:first-child { min-width: 150px; font-weight: 700; color: #17324d; }

/* ---------- misc layouts ---------- */
.detail-grid, .scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario strong { display: block; margin-top: 16px; color: var(--primary-dark); font-size: 17px; }
.page-hero {
  padding: 64px 0 50px;
  background:
    radial-gradient(700px 300px at 10% -20%, rgba(31,111,235,.12), transparent 60%),
    linear-gradient(180deg, #eef5ff, #f8fbff);
  border-bottom: 1px solid var(--line);
}
.content { max-width: 920px; }
.policy h2 { margin-top: 36px; font-size: 23px; }
.policy p { color: #33445e; }
.notice { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; padding: 15px 18px; border-radius: var(--radius-sm); }

/* ---------- forms ---------- */
.form-shell { min-height: calc(100vh - 180px); display: grid; place-items: center; padding: 60px 20px; }
.form-box { width: min(430px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; font-size: 14.5px; }
.field input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; }
.field input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(31,111,235,.15); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: #c6d6e8; padding: 48px 0 32px; font-size: 14px; }
.footer a { color: #e8f0fa; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cols h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 8px 0; }
.footer-cols p { margin: 6px 0; }
.footer-base { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 20px; }
.footer .container.footer-simple { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer .container > span a { margin-right: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .spotlight, .spotlight.reverse { grid-template-columns: 1fr; gap: 26px; }
  .spotlight.reverse .spot-copy { order: 1; }
  .spotlight.reverse .spot-art { order: 2; }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  .nav { height: auto; padding: 14px 0; align-items: stretch; flex-direction: column; gap: 12px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-start; gap: 10px 16px; }
  .nav-links .btn { min-height: 36px; padding: 6px 14px; }
  .hero-grid, .contact-grid, .flow-row { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 38px 0 42px; gap: 28px; }
  h1 { font-size: 29px; }
  h1, .lead { max-width: 100%; overflow-wrap: anywhere; }
  .lead { font-size: 16.5px; line-height: 1.75; margin: 16px 0 22px; }
  h2 { font-size: 25px; }
  .reason-grid, .feature-grid, .solution-grid, .price-grid, .stats, .detail-grid, .scenario-grid, .compliance-grid, .footer-cols { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head { display: block; }
  .price-card.featured { transform: none; }
}
