:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9dee7;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --blue: #2454ff;
  --cyan: #12a7b5;
  --orange: #ff7a1a;
  --green: #16805b;
  --night: #151a22;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(17,24,39,.08);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.brand span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.language-trigger,
.language-options button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
}
.language-caret {
  color: var(--muted);
  font-size: 11px;
}
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 132px;
  padding: 6px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}
.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.language-options button {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border-color: transparent;
  border-radius: 6px;
  text-align: left;
}
.language-options button[aria-checked="true"] {
  background: #111827;
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn.primary { background: var(--blue); color: #fff; }
.btn.dark { background: var(--night); color: #fff; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.ghost { color: var(--muted); }
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 112px 36px 42px;
  background: #111;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,15,.92) 0%, rgba(5,9,15,.68) 42%, rgba(5,9,15,.18) 100%),
    linear-gradient(0deg, rgba(5,9,15,.92) 0%, rgba(5,9,15,.22) 46%, rgba(5,9,15,.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  max-width: none;
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero p {
  max-width: 660px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.78;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { min-height: 48px; padding: 0 22px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
  max-width: 720px;
}
.metric {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.metric b { display: block; color: #fff; font-size: 26px; line-height: 1.1; }
.metric span { display: block; margin-top: 5px; color: rgba(255,255,255,.68); font-size: 12px; }
.section {
  scroll-margin-top: 82px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 88px 0;
}
.section-head { margin-bottom: 26px; }
.section-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}
.section h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: 0;
  white-space: nowrap;
}
.section-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}
.product-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
}
.product-panel,
.workflow-panel,
.module-tile,
.story-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.product-panel { min-height: 440px; }
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
  color: #697386;
  font-size: 13px;
  font-weight: 700;
}
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.product-shot {
  min-height: 386px;
  background: #eef3f9;
  display: grid;
  place-items: center;
  padding: 14px;
}
.product-shot img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: left top;
  border-radius: 6px;
  border: 1px solid #dfe6f0;
  background: #fff;
}
.workflow-panel {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.workflow-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e6ebf2;
  background: #fafbfd;
}
.workflow-step b {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.workflow-step strong { display: block; font-size: 15px; }
.workflow-step span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.module-tile {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.module-art {
  height: 165px;
  display: grid;
  place-items: center;
  background: #f0f4f9;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.module-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.module-body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 16px;
  background: #fff;
}
.module-body h3 { margin: 0 0 6px; font-size: 16px; }
.module-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.download-band {
  scroll-margin-top: 82px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto 88px;
  padding: 24px;
  border-radius: 8px;
  background: #151a22;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.download-band h2 { margin: 0 0 8px; font-size: 26px; }
.download-band p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.download-band .hero-actions { justify-content: flex-end; }
.download-band .app-store-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
}
.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.app-preview-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.phone-shot {
  height: 560px;
  width: min(100%, 310px);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  background: #eef2f7;
  border: 10px solid #111827;
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}
.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.app-preview-info {
  min-width: 0;
}
.preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.preview-title img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}
.preview-title h3 {
  margin: 0;
  font-size: 22px;
}
.app-preview-info p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.preview-download {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
}
.preview-download img {
  width: 110px;
  height: 110px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}
.preview-download .btn {
  width: 100%;
}
.preview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 10px;
}
.btn.store {
  background: #111827;
  color: #fff;
}
.preview-download small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.story-panel { padding: 20px; }
.story-panel strong { display: block; font-size: 28px; margin-bottom: 8px; }
.story-panel p { margin: 0; color: var(--muted); line-height: 1.65; }
.footer {
  border-top: 1px solid var(--line);
  color: #6b7280;
  padding: 28px 36px 32px;
  font-size: 13px;
}
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-record {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}
.style-field { --blue: #0f766e; --hero-image: url('/static/esdps-workbench-nav.png'); }
.style-field .btn.primary { background: var(--green); }
.style-field .metric { border-color: rgba(20,184,166,.25); }
.style-data { --blue: #4f46e5; --hero-image: url('/static/AI报告分析.png'); }
.style-data .hero::after {
  background:
    linear-gradient(90deg, rgba(13,10,28,.94) 0%, rgba(13,10,28,.72) 48%, rgba(13,10,28,.24) 100%),
    linear-gradient(0deg, rgba(13,10,28,.92) 0%, rgba(13,10,28,.18) 50%, rgba(13,10,28,.72) 100%);
}
.style-data .btn.primary { background: #4f46e5; }
.style-product { --hero-image: url('/static/esdps-workbench-nav.png'); }
html[lang="en"] .hero h1,
html[lang="en"] .section h2 {
  white-space: normal;
}
html[lang="en"] .nav-links {
  gap: 18px;
}
.demo-switch {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,24,39,.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
.demo-switch a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}
.demo-switch a.active { background: #111827; color: #fff; }
@media (max-width: 900px) {
  .site-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-actions .ghost { display: none; }
  .hero { padding: 92px 18px 28px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; }
  .metrics { grid-template-columns: 1fr; }
  .section { width: calc(100% - 32px); padding: 56px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .hero h1, .section h2 { white-space: normal; }
  .product-grid, .download-band { grid-template-columns: 1fr; }
  .modules, .story-grid, .app-preview-grid { grid-template-columns: 1fr; }
  .app-preview-card { grid-template-columns: 1fr; }
  .phone-shot { height: 540px; max-width: 310px; margin: 0 auto; }
  .download-band { width: calc(100% - 32px); margin-bottom: 56px; }
  .download-band .hero-actions { justify-content: stretch; }
  .download-band .btn { width: 100%; }
  .preview-actions,
  .download-band .app-store-actions { grid-template-columns: 1fr; }
  .product-shot img { height: 260px; }
  .demo-switch { width: calc(100% - 24px); overflow-x: auto; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nav-actions { gap: 6px; }
  .nav-actions .btn,
  .language-trigger {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  .language-options { min-width: 116px; }
}
@media (max-width: 430px) {
  .nav-actions .outline { display: none; }
}
