:root {
  --bg: #f6f7f9;
  --bg-elev: #ffffff;
  --bg-elev-2: #ffffff;
  --line: rgba(18, 22, 33, 0.09);
  --line-strong: rgba(18, 22, 33, 0.16);
  --text: #171a21;
  --muted: #5d6673;
  --muted-2: #98a0ac;
  --accent: #e03858;
  --accent-soft: rgba(224, 56, 88, 0.12);
  --warm: #d97706;
  --warm-soft: rgba(217, 119, 6, 0.12);
  --gradient: linear-gradient(135deg, #e94560 0%, #f59e0b 100%);
  --shadow-lg: 0 24px 60px -18px rgba(23, 26, 33, 0.28);
  --shadow-md: 0 10px 30px -8px rgba(23, 26, 33, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------------- NAV ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 247, 249, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand img { border-radius: 8px; }
.brand-name b { color: var(--text); }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .15s ease, color .15s ease;
}
.lang:hover { color: var(--text); border-color: var(--line-strong); }
.lang-sep { opacity: .4; }
.lang-cur { color: var(--text); font-weight: 600; }
/* 顶栏内按钮与语言切换按钮统一高度，视觉对齐 */
.nav-right .btn { height: 38px; padding: 0 18px; border-radius: 10px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  font-family: var(--font);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 24px -6px rgba(233, 69, 96, 0.55);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(18, 22, 33, 0.05); border-color: rgba(18, 22, 33, 0.26); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.arrow { font-weight: 400; opacity: .9; transition: transform .12s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 0%, var(--warm-soft), transparent 60%),
    radial-gradient(700px 500px at 10% 30%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(18, 22, 33, 0.03);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero-title {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}
.hero-tags li::before {
  content: "✦";
  color: var(--accent);
  margin-right: 8px;
}

/* hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-tiger {
  width: 360px;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(224, 56, 88, 0.22));
  z-index: 1;
  position: relative;
}
.hero-card {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 318px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hc-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.hc-bar span { width: 10px; height: 10px; border-radius: 999px; background: rgba(18, 22, 33, 0.12); }
.hc-bar span:nth-child(1) { background: #ef4444; }
.hc-bar span:nth-child(2) { background: #f59e0b; }
.hc-bar span:nth-child(3) { background: #10b981; }
.hc-msg {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  line-height: 1.5;
}
.hc-user { background: rgba(18, 22, 33, 0.05); }
.hc-bot { background: var(--accent-soft); border: 1px solid rgba(224, 56, 88, 0.28); }
.hc-final { background: var(--warm-soft); border: 1px solid rgba(217, 119, 6, 0.3); }
.hc-tools { display: inline-block; margin-top: 6px; font-size: 11px; opacity: .75; }
.hc-typing { display: inline-flex; gap: 4px; padding: 6px 10px; }
.hc-typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--muted-2); animation: blink 1.2s infinite; }
.hc-typing span:nth-child(2) { animation-delay: .2s; }
.hc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* ---------------- HIGHLIGHTS ---------------- */
.highlights { padding: 36px 0 64px; }
.hi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hi-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.hi-ico {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}
.hi-ico svg, .feat-ico svg, .sc-emoji svg { width: 20px; height: 20px; }
.hi-card h3 { margin: 0 0 6px; font-size: 15px; }
.hi-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ---------------- SECTION ---------------- */
.section { padding: 80px 0; }
.section-alt { background: #eef0f4; }
.section-cta {
  background:
    radial-gradient(600px 400px at 80% 80%, rgba(217, 119, 6, 0.1), transparent 70%),
    radial-gradient(600px 400px at 10% 100%, rgba(224, 56, 88, 0.1), transparent 70%);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* features grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: border-color .2s ease, transform .2s ease;
}
.feat:hover {
  border-color: rgba(233, 69, 96, 0.45);
  transform: translateY(-2px);
}
.feat-ico {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent);
}
.feat h3 { margin: 0 0 6px; font-size: 16px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }

/* scenarios */
.sc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sc {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.sc-emoji { font-size: 22px; margin-bottom: 10px; color: var(--accent); }
.sc h3 { margin: 0 0 4px; font-size: 14px; }
.sc p { margin: 0; color: var(--muted); font-size: 13px; }

/* faq — 与上方功能/场景区同宽同卡型（两列卡片，窄屏单列），视觉统一 */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 18px;
  transition: border-color .2s ease;
}
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { border-color: rgba(224, 56, 88, 0.35); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}
.faq details p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* download */
.dl-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.dl-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.dl-list li {
  font-size: 14px;
  color: var(--muted);
}
.dl-list li b { color: var(--text); font-weight: 600; margin-right: 8px; }
.dl-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
  filter: drop-shadow(0 16px 28px rgba(224, 56, 88, 0.16));
}
.dl-card img {
  width: 230px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 16px 30px rgba(224, 56, 88, 0.18));
}
.dl-caption { color: var(--muted); font-size: 13px; }

/* footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-left { display: inline-flex; align-items: center; gap: 8px; }
.footer-right { display: inline-flex; align-items: center; gap: 10px; }
.dot-sep { color: var(--muted-2); }

/* 宽屏：虎宝与对话卡左右并排、不重叠（窄屏仍用绝对定位叠放，见 media 上限规则） */
@media (min-width: 961px) {
  .hero-visual { min-height: 0; gap: 14px; }
  .hero-tiger { width: 258px; }
  .hero-card {
    position: static;
    width: 286px;
    margin: 0;
  }
  .hero-title { font-size: 42px; }
}

/* responsive */
@media (max-width: 960px) {
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 36px; }
  .hero-visual { min-height: 320px; }
  .hero-tiger { width: 220px; }
  .hero-card { position: relative; right: auto; bottom: auto; margin: -40px auto 0; }
  .hi-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section-head h2 { font-size: 28px; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .hi-grid, .feat-grid, .sc-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .nav-cta { display: none; }
}