/* ==========================================================
   ChatSystem 营销站点样式
   品牌色:青绿渐变(与 logo / hero 素材一致)
   ========================================================== */

:root {
  --brand: #0fb9b1;
  --brand-2: #22c55e;
  --brand-dark: #0b7f7a;
  --brand-soft: #e6fbf7;
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(15, 185, 177, .12), rgba(34, 197, 94, .12));

  --ink: #0f1b1d;
  --ink-2: #3a4a4d;
  --ink-3: #6b7c80;
  --line: #e6ecec;
  --bg: #ffffff;
  --bg-alt: #f6fbfa;
  --dark: #0b1819;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(15, 27, 29, .07);
  --shadow-lg: 0 24px 60px rgba(15, 27, 29, .12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; letter-spacing: -.02em; }
p { margin: 0 0 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 880px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 185, 177, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(15, 185, 177, .36); }
.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--brand-dark); }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(15, 27, 29, .05);
  background: rgba(255, 255, 255, .94);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: right .22s ease;
}
.nav-links a:hover { color: var(--brand-dark); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(60% 55% at 18% 30%, rgba(15, 185, 177, .18), transparent 70%),
    radial-gradient(50% 50% at 82% 20%, rgba(34, 197, 94, .16), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -.03em; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin: 26px 0 18px; flex-wrap: wrap; }
.hero-points { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; color: var(--ink-3); font-size: 14px; }
.hero-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

/* ---------------- Stats ---------------- */
.stats { padding: 10px 0 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------------- Section 通用 ---------------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; font-weight: 800; }
.section-head p { color: var(--ink-3); font-size: 17px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.light { color: #7ff0e4; }

/* ---------------- Features ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 185, 177, .45);
}
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 24px;
  border-radius: 15px;
  background: var(--grad-soft);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; }
.feature-card p { color: var(--ink-3); font-size: 15px; margin: 0; }

/* ---------------- Split ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.split:last-child { margin-bottom: 0; }
.split-reverse .split-copy { order: 2; }
.split-copy h3 { font-size: 28px; }
.split-copy p { color: var(--ink-2); font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(15, 185, 177, .14);
}
.split-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------------- Architecture ---------------- */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}
.arch-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.arch-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.arch-card h3 { font-size: 22px; }
.arch-card p { color: var(--ink-3); margin: 0; }
.arch-connector { font-size: 30px; color: var(--brand); font-weight: 700; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.chip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------------- Download (dark) ---------------- */
.section-dark {
  background: var(--dark);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, .68); }
.light-p { color: rgba(255, 255, 255, .68); }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.dl-card {
  display: block;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.dl-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(127, 240, 228, .5);
}
.dl-icon { font-size: 34px; margin-bottom: 10px; }
.dl-card h3 { font-size: 18px; margin-bottom: 4px; }
.dl-card p { color: rgba(255, 255, 255, .6); font-size: 14px; margin: 0; }

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.price-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 2px solid transparent;
  transform: scale(1.03);
}
.price-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.price-card h3 { font-size: 18px; color: var(--ink-2); font-weight: 600; }
.price {
  font-size: 40px;
  font-weight: 800;
  margin: 6px 0 18px;
  letter-spacing: -.02em;
}
.price em { font-size: 20px; font-style: normal; margin-right: 2px; }
.price .unit { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.price-list li.off { color: var(--ink-3); }
.price-list li.off::before { content: "—"; color: #b9c6c7; }

/* ---------------- 语言选择器 ---------------- */
.lang-picker { position: relative; display: inline-flex; align-items: center; }
.lang-picker::after {
  content: "▾";
  position: absolute;
  right: 10px;
  font-size: 10px;
  color: var(--ink-3);
  pointer-events: none;
}
#langSelect {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  padding: 0 28px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
#langSelect:hover { border-color: var(--brand); color: var(--brand-dark); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------- 付款方式 ---------------- */
.pay-box {
  margin-top: 46px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid rgba(15, 185, 177, .22);
}
.pay-methods { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.pay-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brand-dark); }
.pay-badge {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 185, 177, .3);
  font-size: 15px;
  color: var(--ink);
}
.pay-box p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------------- 对比表 ---------------- */
.cmp-wrap { margin-top: 54px; text-align: center; }
.cmp-title { font-size: 26px; margin-bottom: 6px; }
.cmp-sub { color: var(--ink-3); margin-bottom: 22px; }
.cmp-scroll { overflow-x: auto; }
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
  min-width: 640px;
}
.cmp-table th, .cmp-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.cmp-table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.cmp-table thead th.hl { background: var(--grad-soft); color: var(--brand-dark); }
.cmp-table tbody th, .cmp-table tbody td:first-child {
  text-align: left;
  color: var(--ink-2);
  font-weight: 500;
  min-width: 220px;
}
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:nth-child(even) { background: #fcfefe; }
.cmp-table .yes { color: var(--brand); font-weight: 700; }
.cmp-table .no { color: #c2cccd; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; }
.price-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand);
  font-weight: 700;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
}

/* ---------------- CTA ---------------- */
.section-cta { padding: 80px 0 100px; }
.cta-box {
  padding: 56px 40px;
  border-radius: 32px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 185, 177, .32);
}
.cta-box h2 { font-size: 34px; }
.cta-box > p { color: rgba(255, 255, 255, .88); margin-bottom: 26px; }
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.cta-form input,
.cta-form select {
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 15px;
  outline: none;
}
.cta-form input::placeholder { color: rgba(255, 255, 255, .75); }
.cta-form select option { color: var(--ink); }
.cta-form input:focus,
.cta-form select:focus { border-color: #fff; background: rgba(255, 255, 255, .26); }
.cta-form .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}
.form-tip { min-height: 22px; margin: 14px 0 0; font-size: 14px; color: #eafff8; }

/* ---------------- Footer ---------------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a:hover { color: #7ff0e4; }
.copyright { margin: 0; font-size: 13px; }

/* ---------------- Reveal 动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero-inner,
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-reverse .split-copy { order: 0; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: 40px; }
  .hero-art img { transform: none; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-connector { transform: rotate(90deg); justify-self: center; }
  .cta-form { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .hero-points { flex-wrap: wrap; gap: 10px 16px; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 22px; border-radius: 24px; }
  .price-card.featured { transform: none; }
  .footer-inner { justify-content: center; text-align: center; }
}
