:root {
  --ink: #12141a;
  --muted: #5c6578;
  --paper: #f7f5f1;
  --white: #ffffff;
  --line: #e4e0d8;
  --gold: #c9842a;
  --gold-hot: #e8a23a;
  --ink-soft: #2a3140;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(201, 132, 42, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 40%, #f3f0ea 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 241, 0.86);
  border-bottom: 1px solid transparent;
}

.logo {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav-hot {
  color: var(--gold) !important;
  font-weight: 700;
}

.nav-login {
  margin-left: 8px;
}

.nav-login.nav-user {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--ink-soft);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vh, 72px) clamp(20px, 5vw, 56px) clamp(40px, 8vh, 80px);
}

.brand-mark {
  margin: 0 0 14px;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  max-width: 14em;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lead {
  margin: 18px 0 0;
  max-width: 32em;
  color: var(--muted);
  font-size: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #1a1208;
}

.btn-primary:hover {
  background: var(--gold-hot);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
}

.hero-visual {
  min-height: min(62vh, 560px);
  position: relative;
}

.viz-plane {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, #1c2230 0%, #2a3142 45%, #3a2e1c 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(18, 20, 26, 0.22);
  animation: planeIn 1s ease both;
}

.viz-bar {
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-cols {
  display: grid;
  grid-template-columns: 88px 1fr;
  height: calc(100% - 42px);
}

.viz-side {
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viz-side span {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.viz-side span.on {
  background: var(--gold-hot);
  animation: pulse 2.4s ease-in-out infinite;
}

.viz-main {
  padding: 22px 24px;
}

.viz-line {
  height: 14px;
  width: 55%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

.viz-line.short {
  width: 34%;
  height: 10px;
  opacity: 0.7;
}

.viz-blocks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.viz-blocks i {
  display: block;
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(232, 162, 58, 0.28), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: rise 0.9s ease both;
}

.viz-blocks i:nth-child(2) { animation-delay: 0.1s; }
.viz-blocks i:nth-child(3) { animation-delay: 0.18s; }
.viz-blocks i:nth-child(4) { animation-delay: 0.26s; }

@keyframes planeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.section {
  padding: 88px clamp(20px, 5vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 36em;
}

.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* —— 公众号 AI 客服重点介绍 —— */
.ai-cs {
  padding: 0;
  background:
    linear-gradient(180deg, #1c2230 0%, #252c3c 55%, #2e2618 100%);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-cs-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.ai-cs-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hot);
}

.ai-cs h2 {
  margin: 0;
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.ai-cs .section-lead {
  color: rgba(255, 255, 255, 0.68);
  max-width: 34em;
}

.ai-cs-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.ai-cs-points li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}

.ai-cs-points strong {
  font-size: 15px;
  color: #fff;
}

.ai-cs-points span {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.ai-cs .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.ai-cs .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ai-cs-visual {
  min-height: 360px;
}

.ai-mock {
  height: 100%;
  min-height: 380px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  animation: planeIn 0.9s ease both;
}

.ai-mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.ai-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.2);
  animation: pulse 2.2s ease-in-out infinite;
}

.ai-mock-title {
  flex: 1;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.ai-mock-switch {
  color: var(--gold-hot);
  font-weight: 600;
  font-size: 11px;
}

.ai-mock-cols {
  display: grid;
  grid-template-columns: 72px 1fr 1.35fr;
  height: calc(100% - 44px);
  min-height: 336px;
}

.ai-mock-acc,
.ai-mock-threads {
  padding: 12px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-mock-item {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.ai-mock-item.on {
  background: rgba(232, 162, 58, 0.18);
  border: 1px solid rgba(232, 162, 58, 0.28);
}

.ai-mock-item b,
.ai-mock-item i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.ai-mock-item b {
  width: 42%;
}

.ai-mock-item i {
  width: 78%;
  height: 6px;
  opacity: 0.7;
}

.ai-mock-item i.mid { width: 58%; }
.ai-mock-item i.long { width: 88%; }

.ai-mock-chat {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 10px;
  display: grid;
  gap: 6px;
  animation: rise 0.7s ease both;
}

.ai-bubble:nth-child(2) { animation-delay: 0.08s; }
.ai-bubble:nth-child(3) { animation-delay: 0.14s; }
.ai-bubble:nth-child(4) { animation-delay: 0.22s; }

.ai-bubble.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
}

.ai-bubble.out {
  align-self: flex-end;
  background: rgba(201, 132, 42, 0.35);
}

.ai-bubble.ai {
  background: linear-gradient(145deg, rgba(232, 162, 58, 0.42), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(232, 162, 58, 0.35);
}

.ai-bubble em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-hot);
  letter-spacing: 0.06em;
}

.ai-bubble i {
  display: block;
  height: 7px;
  width: 72%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
}

.ai-bubble i.mid { width: 54%; }
.ai-bubble i.short { width: 38%; height: 6px; }

.ai-mock-input {
  margin-top: auto;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.ai-mock-input span {
  display: block;
  width: 40%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.pricing {
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing h2,
.pricing .section-lead,
.price-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 56px);
  padding-right: clamp(20px, 5vw, 56px);
}

.pricing h2,
.pricing .section-lead {
  padding-left: 0;
  padding-right: 0;
  max-width: 1120px;
}

.price-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 8px;
}

.price-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.price-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card.featured .price-features,
.price-card.featured .price-quota {
  color: rgba(255, 255, 255, 0.72);
}

.price-name {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: inherit;
}

.price-num {
  margin: 14px 0 4px;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  color: inherit;
}

.price-num small {
  font-size: 14px;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.75;
}

.price-card:not(.featured) .price-num {
  color: #1a1a1a;
}

.price-card.featured .price-num {
  color: #fff;
}

.price-quota {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.price-features {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.price-features li {
  padding: 6px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-card.featured .price-features li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.price-card .btn {
  margin-top: 22px;
  width: 100%;
}

.price-card.featured .btn-primary {
  background: var(--gold-hot);
}

.price-compare-wrap {
  max-width: 1120px;
  margin: 36px auto 0;
  padding: 0 clamp(20px, 5vw, 56px);
}

.compare-title {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.compare-table thead th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}

.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.download .dl-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dl-more {
  margin-top: 18px;
  font-size: 14px;
}

.dl-more a {
  color: var(--gold);
}

.release-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 56px) 80px;
}

.release-page h1 {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 32px;
  margin: 0 0 8px;
}

.release-lead,
.release-meta {
  color: var(--muted);
  font-size: 14px;
}

.release-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.release-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 22px;
}

.release-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.release-ver {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.release-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  vertical-align: middle;
}

.release-time {
  color: var(--muted);
  font-size: 13px;
}

.release-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.release-dl a {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.release-dl a:hover {
  border-color: var(--ink);
}

.release-dl .muted {
  color: var(--muted);
  font-size: 13px;
  padding: 10px 8px;
  text-align: center;
}

.changelog {
  margin-top: 32px;
}

.changelog h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.changelog ul {
  margin: 0;
  padding-left: 1.2em;
  color: #444;
  font-size: 14px;
  line-height: 1.75;
}

.dl-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.dl-os {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.dl-notes {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.dl-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.price-loading {
  color: var(--muted);
  grid-column: 1 / -1;
}

.cases .case-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.case-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.case-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
}

.case-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
}

.faq-list {
  margin-top: 28px;
  max-width: 820px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.foot {
  padding: 40px clamp(20px, 5vw, 56px) 56px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.foot strong {
  font-family: Syne, "Noto Sans SC", sans-serif;
  font-size: 18px;
  margin-right: 10px;
}

.foot span,
.copy {
  color: var(--muted);
  font-size: 13px;
}

.foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.foot-links a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .nav a:not(.nav-cta):not(.nav-login):not(.nav-user):not(.nav-hot) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    min-height: 280px;
    order: -1;
  }
  .feature-grid,
  .price-grid,
  .cases .case-grid,
  .ai-cs-inner {
    grid-template-columns: 1fr;
  }
  .ai-cs-visual {
    min-height: 300px;
  }
  .ai-mock {
    min-height: 300px;
  }
  .ai-mock-cols {
    min-height: 256px;
  }
}

@media (max-width: 720px) {
  .download .dl-grid,
  .release-dl {
    grid-template-columns: 1fr;
  }
}
