:root {
  --ink: #101828;
  --muted: #667085;
  --muted-2: #8a96a8;
  --blue: #2f6bed;
  --blue-2: #3db9f2;
  --purple: #7c6df2;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --soft-blue: #eff6ff;
  --line: #e4eaf2;
  --dark: #0f172a;
  --dark-2: #111827;
  --shadow: 0 22px 52px rgba(16, 24, 40, .12);
  --shadow-soft: 0 14px 34px rgba(16, 24, 40, .08);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Avenir Next", "Noto Sans SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -20%, rgba(47, 107, 237, .08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fff 68%, #f4f7fb 100%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 32px 0 20px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: rgba(226, 232, 240, .9);
  transition: transform .35s ease;
}
body.scrolled .site-header::after { transform: translateX(-50%) scaleX(1); }

.brand, .nav-links, .nav-actions, .hero-actions, .trust-row, .report-actions, .demo-row {
  display: flex;
  align-items: center;
}
.brand { gap: 12px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--blue);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 900;
}
.nav-links { gap: 34px; color: #334155; font-size: 15px; font-weight: 700; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { gap: 18px; }
.ghost-link { color: #475569; font-size: 14px; font-weight: 700; padding: 8px 2px; }

.section-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--dark);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(15, 23, 42, .2); }
.button-secondary {
  color: #475569;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-secondary:hover { color: var(--blue); border-color: rgba(47, 107, 237, .28); }
.button-small {
  min-height: 38px;
  padding: 0 20px;
  font-size: 14px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(47, 107, 237, .24);
}
.full-width { width: 100%; }

.hero {
  display: block;
  max-width: 1040px;
  min-height: 720px;
  padding: 154px 0 64px;
  text-align: center;
}
.hero .eyebrow { display: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--dark);
  font-size: clamp(54px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.15;
}
h1 span {
  position: relative;
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
}
h1 span::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -8px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='520' height='42' viewBox='0 0 520 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 25 C96 4 187 12 268 18 C356 25 442 31 514 20' stroke='%2397BEFF' stroke-width='8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M62 32 C174 19 322 20 470 30' stroke='%2397BEFF' stroke-width='4' fill='none' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
h2 {
  color: var(--dark);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.16;
}
.heading-line {
  display: inline-block;
  white-space: nowrap;
}
h3 { color: var(--dark); font-size: 20px; font-weight: 850; line-height: 1.28; letter-spacing: -.025em; }
.hero-subtitle {
  max-width: 720px;
  margin: 22px auto 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
}
.hero-actions { justify-content: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.demo-row {
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}
.play-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 18px;
  border-radius: 6px;
  color: #fff;
  background: #ff1111;
  font-size: 10px;
  line-height: 1;
}
.trust-row {
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
  margin: 116px auto 0;
  max-width: 820px;
}
.trust-row::before {
  content: "集成论文数据分析流程";
  flex: 0 0 100%;
  margin-bottom: 8px;
  color: #334155;
  font-size: 16px;
  font-weight: 800;
}
.trust-row span {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #667085;
  font-size: 17px;
  font-weight: 850;
  filter: grayscale(.1);
}
.hero-visual { display: none; }

.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.75; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.flow-section.section-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 114px max(28px, calc((100vw - 1180px) / 2)) 124px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(70, 213, 255, .75), transparent 28rem),
    radial-gradient(circle at 35% 90%, rgba(139, 92, 246, .5), transparent 28rem),
    linear-gradient(120deg, #3867f2 0%, #2563eb 46%, #20b8ef 100%);
}
.flow-section .section-heading h2,
.flow-section .section-heading p,
.flow-section .eyebrow { color: #fff; }
.flow-section .section-heading p { opacity: .82; }
.flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
}
.flow-card {
  min-height: 230px;
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.flow-card:first-child { border-radius: 12px 0 0 12px; background: rgba(255, 255, 255, .12); }
.flow-card:last-child { border-radius: 0 12px 12px 0; }
.flow-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
.flow-card span { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 900; }
.flow-card h3 { margin-top: 30px; color: #fff; }
.flow-card p { color: rgba(255, 255, 255, .82); line-height: 1.7; }

.methods-section.section-shell {
  width: min(1500px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 108px 0 102px;
}
.feature-card, .upload-panel, .diagnosis-panel, .method-nav, .variable-board, .config-panel, .ai-assistant, .report-main, .interpretation-card, .price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.methods-copy {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 255px;
  padding: 44px 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(16, 24, 40, .08);
}
.methods-copy::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 38px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
}
.methods-copy h2 {
  max-width: 290px;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.12;
}
.methods-grid {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  align-content: center;
  gap: 22px 26px;
  min-height: 255px;
}
.methods-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  color: #334155;
  background: #fff;
  font-size: 17px;
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(16, 24, 40, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.methods-grid span:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 107, 237, .32);
  box-shadow: 0 18px 36px rgba(47, 107, 237, .09);
}

.upload-section.section-shell,
.workbench-section.section-shell,
.report-section.section-shell { padding: 104px 0; }
.upload-section { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.upload-panel, .diagnosis-panel { padding: 38px; }
.dropzone {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 300px;
  margin-top: 26px;
  border: 1.5px dashed #b8c7dc;
  border-radius: 18px;
  background: #f8fbff;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  color: #fff;
  background: var(--blue);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(47, 107, 237, .22);
}
.dropzone p { color: var(--muted); }
.dropzone small {
  display: block;
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.dropzone.is-dragover {
  border-color: var(--blue);
  background: #eff6ff;
}
.dropzone.is-uploading {
  opacity: .76;
  pointer-events: none;
}
.dropzone.is-success {
  border-color: rgba(47, 107, 237, .55);
  background: #f8fbff;
}
.dropzone.is-error {
  border-color: #f59e0b;
  background: #fff7ed;
}
.diagnosis-panel h3 { margin-bottom: 22px; }
.quality-score {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  background: var(--soft-blue);
}
.quality-score strong { font-size: 62px; color: var(--blue); line-height: .9; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; justify-content: space-between; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check-list span { color: var(--muted); text-align: right; }

.workbench-section.section-shell {
  width: 100%;
  max-width: none;
  padding: 108px max(28px, calc((100vw - 1180px) / 2));
  background: #f4f7fb;
}
.workbench-heading {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(700px, 1fr) minmax(320px, .58fr);
  gap: 40px;
  align-items: end;
  text-align: left;
}
.workbench-heading h2 { max-width: none; }
.workbench-heading p:not(.eyebrow) {
  margin: 0 0 6px;
  max-width: 430px;
}
.workbench {
  display: grid;
  grid-template-columns: 220px minmax(240px, 1fr) minmax(280px, 1.05fr) 260px;
  gap: 18px;
  min-height: 560px;
}
.method-nav, .variable-board, .config-panel, .ai-assistant { padding: 20px; }
.search-box { padding: 13px 14px; border-radius: 10px; background: #f4f7fb; color: var(--muted); font-size: 13px; }
.method-group {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  color: #64748b;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 750;
}
.method-group.active { background: #eaf2ff; color: var(--blue); font-weight: 900; }
.method-list { margin-top: 20px; display: grid; gap: 9px; }
.method-list span { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: #334155; font-size: 13px; }
.board-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.board-header span { color: var(--muted); font-size: 13px; }
.variable-list { display: grid; gap: 11px; }
.variable-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.variable-list em { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-style: normal; }
.tag { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.tag.numeric { color: #2563eb; background: #eaf2ff; }
.tag.category { color: #475569; background: #eef2f7; }
.slot-card { display: grid; gap: 10px; margin-bottom: 18px; }
.slot-card label { color: var(--muted); font-size: 13px; font-weight: 850; }
.drop-slot { min-height: 108px; padding: 16px; border: 1.5px dashed #b8c7dc; border-radius: 14px; background: #f8fbff; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-row span { padding: 9px 11px; border-radius: 999px; background: #eef4ff; color: #334155; font-size: 12px; font-weight: 750; }
.ai-assistant { background: #fff; color: var(--ink); }
.ai-assistant .eyebrow { color: var(--blue); }
.ai-assistant ol { padding-left: 20px; color: #475569; line-height: 1.72; }
.assistant-tip { padding: 16px; border-radius: 14px; background: var(--soft-blue); color: #1d4ed8; line-height: 1.65; font-weight: 800; }

.report-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 24px; }
.report-main, .interpretation-card { padding: 34px; }
.report-head { display: flex; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.report-actions { gap: 10px; flex-wrap: wrap; justify-content: end; }
.report-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: #334155;
  cursor: pointer;
  font-weight: 750;
}
.result-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; }
.result-table th, .result-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.result-table th { color: var(--muted); font-size: 13px; background: #f8fbff; }
.report-chart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 20px; border-radius: 18px; background: #f8fbff; }
.report-chart span { padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 900; }
.report-chart i { color: var(--blue); font-style: normal; font-weight: 900; }
.interpretation-card p { color: #475569; line-height: 1.85; }
.next-step { padding: 18px; border-radius: 14px; background: #fff7db; color: #7a5412; line-height: 1.7; font-weight: 800; }

.pricing-section.section-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 118px max(28px, calc((100vw - 1180px) / 2)) 112px;
  color: #fff;
  background: var(--dark);
}
.pricing-section .section-heading h2,
.pricing-section .section-heading p,
.pricing-section .eyebrow { color: #fff; }
.pricing-section .section-heading p { opacity: .72; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: start; }
.price-card {
  position: relative;
  min-height: 390px;
  padding: 32px 24px;
  color: rgba(255, 255, 255, .9);
  border-color: rgba(255, 255, 255, .16);
  background: transparent;
  box-shadow: none;
}
.price-card h3 { color: #fff; }
.price-card strong { display: block; margin: 26px 0 12px; color: #fff; font-size: 44px; font-weight: 300; letter-spacing: 0; }
.price-card p { color: rgba(255, 255, 255, .64); }
.price-card ul { padding-left: 0; color: rgba(255, 255, 255, .76); line-height: 2.15; list-style: none; }
.price-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; font-size: 11px; }
.price-card.featured {
  color: #fff;
  border: 4px solid rgba(147, 197, 253, .9);
  background: var(--blue);
  box-shadow: 0 28px 70px rgba(47, 107, 237, .34);
  transform: translateY(-28px);
}
.price-card.featured p, .price-card.featured ul { color: rgba(255,255,255,.86); }
.badge { position: absolute; right: 24px; top: 24px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 900; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 46px 0 58px;
  color: #667085;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.flow-card.reveal:nth-child(2), .price-card.reveal:nth-child(2) { transition-delay: .08s; }
.flow-card.reveal:nth-child(3), .price-card.reveal:nth-child(3) { transition-delay: .16s; }
.flow-card.reveal:nth-child(4), .price-card.reveal:nth-child(4) { transition-delay: .24s; }
.flow-card.reveal:nth-child(5) { transition-delay: .32s; }
.hero-copy { animation: none; }
.trust-row span { animation: floatLogo 4.8s ease-in-out infinite; }
.trust-row span:nth-child(3) { animation-delay: .2s; }
.trust-row span:nth-child(4) { animation-delay: .45s; }
.trust-row span:nth-child(5) { animation-delay: .7s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-top: 112px; }
  .flow-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .methods-section.section-shell, .upload-section, .report-grid { grid-template-columns: 1fr; }
  .methods-copy { min-height: 210px; }
  .methods-grid { grid-template-columns: repeat(3, max-content); justify-content: start; min-height: auto; }
  .workbench-heading { grid-template-columns: 1fr; gap: 18px; }
  .workbench-heading p:not(.eyebrow) { max-width: 680px; }
  .workbench { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 640px) {
  .site-header { width: calc(100% - 28px); padding-top: 20px; }
  .nav-actions .ghost-link { display: none; }
  .section-shell { width: calc(100% - 28px); }
  h1 { font-size: 46px; }
  h1 span::after { bottom: -10px; height: 14px; }
  .hero { padding: 90px 0 56px; }
  .hero-actions { gap: 12px; }
  .button { width: 100%; }
  .trust-row { gap: 18px; margin-top: 70px; }
  .trust-row span { font-size: 14px; }
  .flow-section.section-shell, .workbench-section.section-shell, .pricing-section.section-shell { padding-left: 18px; padding-right: 18px; }
  .methods-copy { padding: 36px 28px; min-height: 180px; }
  .methods-copy::before { left: 28px; top: 28px; }
  .methods-grid { grid-template-columns: 1fr; gap: 12px; }
  .methods-copy h2 { font-size: clamp(28px, 8vw, 38px); }
  .methods-grid span { width: 100%; min-height: 48px; font-size: 15px; }
  .workbench-heading h2 { font-size: clamp(22px, 7vw, 34px); }
  .flow-grid, .pricing-grid { grid-template-columns: 1fr; }
  .flow-card:first-child, .flow-card:last-child { border-radius: 12px; }
  .flow-card { border-radius: 12px; }
  .report-head, .site-footer { flex-direction: column; }
  .report-actions { justify-content: start; }
}
