/* 虾应官网 · 主色沿用 #0348a7，版式按现代 SaaS 落地页重排 */
:root {
  --brand: #0348a7;
  --brand-deep: #022a66;
  --brand-hover: #02398a;
  --brand-ink: #021c44;
  --brand-soft: #e7eef8;
  --brand-mist: #f3f6fb;
  --accent: #e86a3c;
  --text: #1c2430;
  --muted: #5b6573;
  --line: #d7dee8;
  --line-soft: #e8edf4;
  --bg: #f5f7fb;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(2, 42, 102, 0.08);
  --shadow-lg: 0 24px 60px rgba(2, 42, 102, 0.16);
  --radius: 18px;
  --header-h: 72px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
:focus-visible {
  outline: 3px solid rgba(3, 72, 167, 0.35);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--card);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px 4px;
}
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}
.site-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.site-nav .nav-login { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(3, 72, 167, 0.22);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; box-shadow: none; margin-left: 6px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }
.btn-soft {
  background: var(--brand-soft);
  color: var(--brand) !important;
  box-shadow: none;
}
.btn-soft:hover { background: #d9e5f6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.nav-login {
  border: 1px solid var(--line);
  color: var(--text) !important;
  padding: 7px 14px !important;
}
.nav-login:hover { background: var(--brand-soft); color: var(--brand) !important; }

/* Hero — light first screen, left copy + right product UI */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(3, 72, 167, 0.10), transparent 58%),
    radial-gradient(720px 380px at 92% 0%, rgba(3, 72, 167, 0.07), transparent 52%),
    linear-gradient(180deg, #e8eef9 0%, #f5f7fb 100%);
  padding: 56px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.eyebrow-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--brand);
}
.hero .lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 38em;
}
.hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  max-width: 38em;
}
.hero-bullets li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--text);
  font-size: 15px;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.hero-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 42em;
}
.hero-note a { color: var(--brand); text-decoration: underline; }

/* Product UI illustration */
.hero-visual { position: relative; }
.mock {
  background: #f3f5f8;
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #dbe3ee;
}
.mock-chat, .mock-panel { padding: 16px 16px 18px; }
.mock-chat { background: #eef2f7; border-right: 1px solid #e1e7ef; }
.mock-top, .mock-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #3d4a5c;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: #c5ced8; }
.mock-bubble {
  max-width: 90%;
  background: #fff;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.mock-bubble.out {
  margin-left: auto;
  background: var(--brand);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
}
.mock-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-tabs span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}
.mock-tabs span.on { background: var(--brand); color: #fff; }
.mock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
.mock-item i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-search {
  margin-top: 12px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--muted);
}
.mock-caption {
  position: absolute;
  left: 18px;
  bottom: -14px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Highlights */
.highlights { margin-top: -36px; position: relative; z-index: 2; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}
.highlight {
  padding: 18px 18px 16px;
}
.highlight strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.highlight p { margin: 0; color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2, .page-hero h1, .prose h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
}
.section-head p, .page-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 56px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-copy h3 { margin: 0 0 12px; font-size: 24px; }
.feature-copy p { margin: 0 0 12px; color: var(--muted); }
.feature-copy ul { margin: 0; padding: 0; list-style: none; }
.feature-copy li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text);
}
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.feature-card, .card, .info-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-art {
  min-height: 220px;
  padding: 28px;
  background:
    linear-gradient(180deg, var(--brand-mist), #fff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.art-line {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.art-line b { color: var(--brand); font-weight: 600; }
.grid-3, .grid-4 {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 22px 22px 20px; }
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Platforms */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text);
}
.group-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 18px 0 10px;
}
.platform-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Download band */
.band {
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  padding: 64px 0;
}
.band h2 { margin: 0 0 10px; font-size: 30px; }
.band p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.86); max-width: 40em; }
.band .meta { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* Pricing teaser / panels */
.price-box, .panel, .info-card { padding: 28px; }
.price-box {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-box h3 { margin: 0 0 8px; }
.price-box p, .panel p, .panel li, .prose p, .prose li { color: var(--muted); }
.note {
  background: var(--brand-soft);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  margin: 18px 0 0;
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item button::after {
  content: "+";
  color: var(--brand);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.faq-item.is-open button::after { content: "–"; }
.faq-item .faq-body {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}
.faq-item.is-open .faq-body { display: block; }

/* Inner pages */
.page-hero {
  background:
    linear-gradient(180deg, var(--brand-mist), var(--bg));
  padding: 48px 0 28px;
}
.prose { padding: 12px 0 80px; }
.prose .panel, .prose .price-box { margin-bottom: 20px; }
.prose h2 { margin: 28px 0 10px; font-size: 22px; }
.prose ul, .panel ul { padding-left: 1.15em; }
.prose a { text-decoration: underline; }
.download-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.version-tag {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}


/* Slogan band under hero, like a long landing lead-in */
.slogan {
  background: #fff;
  text-align: center;
  padding: 72px 0 8px;
}
.slogan h2 {
  margin: 0 auto 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  max-width: 18em;
}
.slogan p { margin: 0 auto; color: var(--muted); max-width: 40em; }

.demo-frame {
  margin-top: 36px;
  background: #e9eef6;
  border-radius: 16px;
  padding: 18px 18px 12px;
  box-shadow: var(--shadow);
}
.demo-frame .mock { min-height: 400px; box-shadow: 0 12px 32px rgba(2,42,102,.12); }
.demo-caption { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }

/* Download platform card */
.os-wrap { display: flex; justify-content: center; }
.os-card {
  width: min(400px, 100%);
  background: linear-gradient(180deg, #0348a7 0%, #02357d 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.os-card .os-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
}
.os-card h2 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.os-card .ver { margin: 0 0 18px; color: rgba(255,255,255,.8); }
.os-card .btn { background: #fff; color: var(--brand) !important; width: 100%; box-shadow: none; }
.os-card .btn:hover { background: #eef3fb; }
.os-card ul { text-align: left; margin: 18px 0 0; padding-left: 1.1em; color: rgba(255,255,255,.86); font-size: 14px; }
.os-card p, .os-card li, .prose .os-card p, .prose .os-card li { color: rgba(255, 255, 255, 0.86); }
.os-card a:not(.btn), .prose .os-card a:not(.btn) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.os-card a:not(.btn):hover, .prose .os-card a:not(.btn):hover { color: #fff; }
.band a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.band a:not(.btn):hover { color: #fff; }
.os-note { max-width: 640px; margin: 22px auto 0; }


/* Changelog and retained older downloads */
.changelog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 12px;
}
.changelog-head h2 { margin: 0; }
.changelog-date { color: var(--muted); font-size: 14px; }
.old-version {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer p { margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.86); }
.site-footer a:hover { color: #fff; }
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn-sm { margin: 8px 0 0; }
}
@media (max-width: 900px) {
  .hero-grid, .feature-row, .feature-row.reverse, .grid-3, .grid-4, .highlights-grid, .steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse { direction: ltr; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .mock { grid-template-columns: 1fr; }
  .hero .mock-chat { display: none; }
  .mock-caption {
    position: static;
    display: table;
    margin: 12px auto 0;
  }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .hero h1 { font-size: 30px; }
  .actions .btn { width: 100%; }
}
