:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --ink: #172033;
  --muted: #667085;
  --line: rgba(23, 32, 51, 0.11);
  --primary: #2557a7;
  --primary-dark: #14213d;
  --green: #1f9d72;
  --yellow: #f0b64c;
  --blue-soft: #eaf1ff;
  --green-soft: #eaf8f2;
  --shadow: 0 18px 54px rgba(23, 32, 51, 0.1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 52%, #f8faf9 100%);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(23, 32, 51, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 32, 51, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 66%);
  content: "";
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 12px min(5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.site-header[data-scrolled="true"] { box-shadow: 0 12px 36px rgba(23, 32, 51, 0.08); }
.brand, .site-header nav, .header-actions, .hero-actions, .trust-row { display: flex; align-items: center; }
.brand { gap: 10px; font-size: 18px; font-weight: 950; }
.brand img { border-radius: 9px; }
.site-header nav { gap: 26px; color: var(--muted); font-size: 14px; font-weight: 800; }
.site-header nav a:hover { color: var(--primary); }
.header-actions { gap: 10px; }

.link-button, .solid-button, .primary, .secondary, .plan-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}
.link-button { color: var(--primary); }
.solid-button, .primary { color: #fff; background: var(--primary-dark); box-shadow: 0 14px 30px rgba(20, 33, 61, 0.18); }
.secondary, .plan-grid a { border: 1px solid var(--line); background: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: min(5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 54px min(5vw, 72px) 46px;
}
.hero-copy { max-width: 700px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
}
.eyebrow::before { width: 22px; height: 2px; border-radius: 999px; background: var(--green); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
h2 { margin-bottom: 12px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
h3 { margin-bottom: 8px; font-size: 21px; }
.lead { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.trust-row { flex-wrap: wrap; gap: 10px; }
.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4b5b73;
  background: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 800;
}

.product-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.shell-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.shell-top span { width: 10px; height: 10px; border-radius: 999px; background: #d14f55; }
.shell-top span:nth-child(2) { background: #e6a23c; }
.shell-top span:nth-child(3) { background: #46a66b; }
.shell-top strong { margin-left: 8px; color: #536175; }
.shell-top a { margin-left: auto; color: var(--primary); font-weight: 900; }
.shell-body { display: grid; grid-template-columns: 170px minmax(0,1fr); min-height: 470px; }
.shell-body aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  background: #fbfcff;
}
.shell-body b { margin: 0 10px 6px; }
.shell-body em {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}
.shell-body em.active { color: var(--primary-dark); background: var(--blue-soft); }
.shell-body section { display: grid; align-content: start; gap: 14px; padding: 22px; }
.search-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.preview-grid article {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.preview-grid i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: #fff;
  background: var(--primary);
  font-style: normal;
  font-weight: 950;
}
.preview-grid article:nth-child(2) i { background: var(--green); }
.preview-grid article:nth-child(3) i { color: #332200; background: var(--yellow); }
.preview-grid article:nth-child(4) i { background: #4aa8c8; }
.preview-grid small { color: var(--muted); }
.status-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.status-row div { padding: 15px; border-radius: 10px; color: #fff; background: var(--primary-dark); }
.status-row strong { display: block; font-size: 24px; }
.status-row span { color: rgba(255,255,255,0.7); font-size: 12px; }

.section { padding: 78px min(5vw, 72px); }
.section-title { max-width: 820px; margin-bottom: 28px; }
.section-title.centered { margin-inline: auto; text-align: center; }
.section-title.centered .eyebrow { justify-content: center; }
.narrow-title { max-width: 760px; }
.suite-grid, .tool-groups, .plan-grid, .growth-list { display: grid; gap: 14px; }
.suite-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.suite-grid article, .tool-groups article, .plan-grid article, .growth-list article, .final-cta {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 12px 34px rgba(23,32,51,0.06);
}
.suite-grid article, .tool-groups article, .plan-grid article { padding: 24px; }
.suite-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
}
.suite-grid p, .tool-groups p, .growth-section p, .plan-grid p, .final-cta p { color: var(--muted); line-height: 1.75; }
.tool-groups { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tool-groups article { min-height: 250px; display: grid; align-content: start; }
.tool-groups strong { margin-top: auto; color: var(--primary); }
.tool-groups .dark-card { color: #fff; background: var(--primary-dark); }
.tool-groups .dark-card p { color: rgba(255,255,255,0.72); }
.tool-groups .dark-card strong { color: #b6f0d5; }
.growth-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  margin: 0 min(5vw, 72px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #eef4ff 58%, #ecf8f2);
  box-shadow: var(--shadow);
}
.growth-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.growth-list article { display: grid; gap: 8px; min-height: 126px; padding: 20px; }
.growth-list b { font-size: 18px; }
.growth-list span { color: var(--muted); line-height: 1.6; }
.plan-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.plan-grid article { min-height: 250px; display: grid; align-content: start; gap: 10px; }
.plan-grid a { justify-self: start; margin-top: 8px; }
.featured-plan { color: #fff; background: var(--primary-dark) !important; }
.featured-plan p { color: rgba(255,255,255,0.72); }
.featured-plan a { color: var(--primary-dark); background: #fff; }
.final-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 46px min(5vw,72px) 76px;
  padding: 50px 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), #2557a7);
}
.final-cta p { max-width: 660px; color: rgba(255,255,255,0.75); }
.final-cta .primary { color: var(--primary-dark); background: #fff; }
.final-cta .secondary { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.24); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 28px min(5vw,72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 1080px) {
  .site-header nav { display: none; }
  .hero, .suite-grid, .tool-groups, .growth-section, .plan-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .product-shell { width: min(100%, 760px); }
  .growth-section { margin: 0 min(5vw,72px); }
}
@media (max-width: 720px) {
  .site-header { padding: 12px 18px; }
  .link-button { display: none; }
  .hero, .section { padding: 42px 18px; }
  .shell-body { grid-template-columns: 1fr; }
  .shell-body aside { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .shell-body aside b { display: none; }
  .preview-grid, .status-row, .growth-list { grid-template-columns: 1fr; }
  .growth-section, .final-cta { margin-left: 18px; margin-right: 18px; padding: 24px; }
  h1 { font-size: 40px; }
  .lead { font-size: 16px; }
  .hero-actions a { width: 100%; }
}
