/* ===== Theme tokens（Telegram 浅蓝绿浅色体系） ===== */
:root {
  --tg-blue: #2aabee;
  --tg-blue-deep: #229ed9;
  --tg-mint: #b8dd9d;
  --tg-sky: #71c7dd;
  --bg-page: #f3f8f5;
  --bg-soft: #eaf5f8;
  --bg-card: #ffffff;
  --text: #102033;
  --text-muted: #5b6b7c;
  --border: rgba(16, 32, 51, 0.1);
  --shadow: 0 18px 48px rgba(34, 100, 140, 0.1);
  --shadow-hover: 0 24px 56px rgba(34, 100, 140, 0.14);
}

/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 221, 157, 0.35), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(113, 199, 221, 0.28), transparent 32%),
    linear-gradient(180deg, #f7fbf6 0%, #f3f8f5 42%, #eef6fa 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-blue {
  color: #0066cc !important;
  text-decoration: underline;
}

.link-blue:hover {
  color: #0052a3 !important;
}

.step-list .link-blue,
.ios-guide .link-blue {
  color: #0066cc !important;
  text-decoration: underline;
}

.step-list .link-blue:hover,
.ios-guide .link-blue:hover {
  color: #0052a3 !important;
}

img {
  max-width: 100%;
  display: block;
}

main {
  min-height: calc(100vh - 72px - 140px);
  padding-top: 64px;
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 84px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(184, 221, 157, 0.14), rgba(113, 199, 221, 0.1));
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.logo-icon-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav > a,
.nav-trigger {
  color: #3d5166;
  padding: 4px 0;
  position: relative;
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.nav > a::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2AABEE, #229ED9);
  transition: width 0.18s ease-out;
}

.nav > a:hover::after,
.nav-trigger:hover::after,
.nav-item.is-open > .nav-trigger::after {
  width: 100%;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  transition: transform 0.18s ease;
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: min(420px, 92vw);
  padding: 12px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
  z-index: 40;
  isolation: isolate;
}

/* 可视面板：用内层伪元素，外层 padding 做悬停桥接，避免移入时菜单消失 */
.nav-dropdown::after {
  content: "";
  position: absolute;
  inset: 12px 0 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 0;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  white-space: normal;
}

.nav-dropdown a.nav-product-link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.nav-product-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.08);
}

.nav-product-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.nav-product-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.nav-product-desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.nav-dropdown a:first-child {
  margin-top: 8px;
}

.nav-dropdown a:last-child {
  margin-bottom: 8px;
}

.nav-dropdown a:hover {
  background: rgba(42, 171, 238, 0.1);
  color: var(--tg-blue-deep);
}

.nav-dropdown a:hover .nav-product-name {
  color: var(--tg-blue-deep);
}

.nav-contact-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease,
    border-color 0.18s ease;
}

.nav-contact-btn:hover {
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-blue-deep));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(42, 171, 238, 0.35);
  transform: translateY(-1px);
}

.nav-contact-btn:active {
  transform: scale(0.96);
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: #f4fafc;
  border-color: rgba(42, 171, 238, 0.35);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  padding-top: 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.accent {
  display: inline-block;
  background: linear-gradient(120deg, #1f8ec7, #2aabee 45%, #4db7c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-blue-deep));
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(42, 171, 238, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(42, 171, 238, 0.38);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(42, 171, 238, 0.35);
  color: var(--tg-blue-deep);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--tg-blue);
  box-shadow: 0 12px 28px rgba(42, 171, 238, 0.18);
}

.btn-chrome-install {
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.btn-chrome-install:hover {
  background: #1a1a1a !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn-chrome-install .chrome-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.btn-chrome-install span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: #3d5166;
}

.hero-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Telegram 风格演示手机框 */
.tg-phone {
  width: min(100%, 340px);
  height: 600px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(42, 171, 238, 0.18);
  box-shadow: 0 24px 60px rgba(42, 120, 160, 0.18);
  /* 与参考截图取样一致的渐变色 */
  background: linear-gradient(
    180deg,
    #b8dd9d 0%,
    #b5da9c 18%,
    #a6d7a9 36%,
    #a0d6b1 48%,
    #95d1bb 60%,
    #82cbcd 74%,
    #71c7dd 88%,
    #73c4d8 100%
  );
  display: flex;
  flex-direction: column;
  position: relative;
}

.tg-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px 6px;
}

.tg-top-back,
.tg-top-user,
.tg-top-actions {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tg-top-back {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: default;
}

.tg-top-user {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  min-height: 44px;
}

.tg-top-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, #9b59ff 0%, #5b8cff 100%);
}

.tg-top-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}

.tg-top-name {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-top-sub,
.tg-top-lang {
  font-size: 10px;
  color: #8e9aa3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 10px;
  height: 36px;
  color: #111827;
  flex-shrink: 0;
}

.tg-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 0;
}

.tg-top-action svg {
  display: block;
}

.tg-chat {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}

.tg-chat::-webkit-scrollbar {
  display: none;
}

.tg-row {
  display: flex;
  width: 100%;
}

.tg-row-in {
  justify-content: flex-start;
}

.tg-row-out {
  justify-content: flex-end;
}

.tg-bubble {
  max-width: 86%;
  padding: 8px 10px 6px;
  border-radius: 14px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  animation: tg-bubble-in 0.28s ease;
}

.tg-bubble-in {
  background: #ffffff;
  border-bottom-left-radius: 4px;
  color: #111827;
}

.tg-bubble-out {
  background: #eeffde;
  border-bottom-right-radius: 4px;
  color: #111827;
}

.tg-origin {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #111827;
  word-break: break-word;
}

.tg-trans {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: #2AABEE;
  word-break: break-word;
}

.tg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: #8e9aa3;
  line-height: 1;
}

.tg-check {
  color: #4fae4e;
  font-size: 13px;
  line-height: 1;
}

.tg-composer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 10px 12px;
}

.tg-input-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 22px;
  padding: 6px 8px 6px 12px;
  min-height: 46px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.tg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e9aa3;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.tg-icon svg {
  display: block;
}

.tg-input-preview {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 22px;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-height: 22px;
  max-height: 88px;
  overflow-y: auto;
  scrollbar-width: none;
}

.tg-input-preview::-webkit-scrollbar {
  display: none;
}

.tg-input-placeholder {
  display: inline-block;
  color: #9aa4ad;
  line-height: 22px;
  vertical-align: middle;
}

.tg-send-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #2AABEE;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  align-self: center;
  box-shadow: 0 1px 3px rgba(42, 171, 238, 0.35);
  transition: transform 0.12s ease, background 0.12s ease;
}

.tg-send-btn svg {
  display: block;
}

.tg-send-btn.pressed {
  transform: scale(0.92);
}

@keyframes tg-bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preview-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(42, 171, 238, 0.22), #020617 55%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.9);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red {
  background: #f97373;
}

.dot.yellow {
  background: #facc15;
}

.dot.green {
  background: #22c55e;
}

.preview-title {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 6px;
}

.preview-body {
  padding: 14px 14px 12px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.28), #020617 60%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 400px;
  overflow: hidden;
}

.chat-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
  padding-bottom: 8px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  /* 隐藏滚动条但保持滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chat-messages::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.chat-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #020617;
  flex-shrink: 0;
}

.chat-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-meta-name {
  font-weight: 500;
  color: #e5e7eb;
}

.chat-meta-sub {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.chat-meta-time {
  margin-left: 0;
}

.chat-row {
  display: flex;
  margin-bottom: 8px;
}

.chat-row-in {
  justify-content: flex-start;
}

.chat-row-out {
  justify-content: flex-end;
}

.msg {
  max-width: 92%;
  font-size: 13px;
  line-height: 1.5;
  padding: 7px 11px 6px;
  border-radius: 12px;
}

.msg-in {
  background: rgba(31, 41, 55, 0.9);
  border-bottom-left-radius: 3px;
}

.msg-out {
  margin-left: auto;
  background: linear-gradient(130deg, #22c55e, #22d3ee);
  color: #020617;
  border-bottom-right-radius: 3px;
}

.msg-main {
  display: block;
}

.msg-translation {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.85;
}

.msg-in .msg-translation {
  color: #e5e7eb;
}

.msg.ghost {
  font-size: 11px;
  opacity: 0.8;
  background: transparent;
  color: #9ca3af;
  padding: 0;
}

.preview-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.preview-tag {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.chat-input {
  margin-top: 10px;
  padding: 6px 8px 6px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-input-main {
  font-size: 11px;
  color: #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 10px;
}

.chat-input-label {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.chat-input-preview {
  font-size: 12px;
  line-height: 1.6;
  min-height: 10px;
  max-height: 30px;
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
  /* 隐藏滚动条但保持滚动功能 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.chat-input-preview::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.chat-input-send {
  margin-left: auto;
  margin-top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.8);
  transition: background 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.chat-input-send:hover {
  background: #16a34a;
  box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.9), 0 0 14px rgba(22, 163, 74, 0.7);
}

.chat-input-send:active {
  transform: scale(0.92);
}

.chat-input-send.pressed {
  transform: scale(0.85);
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.9), 0 0 20px rgba(22, 163, 74, 0.8);
}

.chat-input-hint {
  margin-top: 4px;
  font-size: 10px;
  color: #9ca3af;
  display: flex;
  justify-content: flex-end;
}

/* ===== Cards & Lists ===== */
.card {
  border-radius: 18px;
  padding: 20px 18px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

/* 仅鼠标设备启用 hover 上浮，避免 iOS 等触摸设备「粘滞 :hover」挡住上方按钮点击 */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(42, 171, 238, 0.35);
  }
}

/* 功能卡相对定位，便于放版本角标 */
.feature-card {
  position: relative;
}

/* 功能卡版本角标（专业版 / 尊享版） */
.feature-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  z-index: 1;
}

/* 专业版相关角标：绿色系，与推荐价卡一致 */
.feature-badge-pro {
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-sky));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(42, 171, 238, 0.22);
}

/* 尊享版专属角标：金色系，与尊享价卡一致 */
.feature-badge-premium {
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  color: #020617;
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.25);
}

.feature-card h3,
.platform-card h3,
.scenario-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* 有角标时标题右侧留空，避免与角标重叠 */
.feature-card:has(.feature-badge) h3 {
  padding-right: 96px;
}

.feature-card p,
.platform-card p,
.scenario-card ul {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-card ul,
.platform-card ul,
.scenario-card ul {
  margin-top: 8px;
  padding-left: 18px;
}

.feature-card li,
.platform-card li,
.scenario-card li {
  margin-bottom: 4px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-grid {
  grid-template-columns: minmax(0, 1.2fr);
  justify-content: center;
}

.platform-grid-mobile-only {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 720px) {
  .platform-grid-mobile-only {
    grid-template-columns: minmax(0, 1fr);
  }
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  max-width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.platform-tab {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.platform-tab:hover {
  color: var(--text);
}

.platform-tab.is-active {
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-blue-deep));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(42, 171, 238, 0.28);
  transform: translateY(-1px);
}

.platform-card {
  display: none;
}

.platform-card.is-active {
  display: block;
}

/* ===== Pricing ===== */
/* 价格卡片网格：桌面三列（基础 / 专业 / 尊享） */
.pricing-grid {
  display: grid;
  /* 三列均分，适配三个版本并排对比 */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  /* 随容器宽度扩展，宽屏不再卡死在 1100px */
  max-width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.price-card {
  padding: 26px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 专业版高亮边框与阴影 */
.price-card-featured {
  border-color: rgba(42, 171, 238, 0.55) !important;
  box-shadow: 0 22px 56px rgba(42, 171, 238, 0.14), var(--shadow);
}

/* 尊享版高亮：暖金色边框 */
.price-card-premium {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 22px 56px rgba(245, 158, 11, 0.12), var(--shadow);
}

.price-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.price-plan-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.price-plan-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.price-plan-price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.price-plan-unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* 专业版「推荐」角标 */
.price-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-blue-deep));
  color: #ffffff;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(42, 171, 238, 0.28);
}

/* 尊享版「尊享」角标：金色渐变 */
.price-premium-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  color: #020617;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(251, 191, 36, 0.28);
}

.price-list {
  margin-top: 8px;
  padding-left: 18px;
}

.price-list li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 6px;
}

.buy-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--tg-blue), var(--tg-blue-deep));
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(42, 171, 238, 0.22);
  transition: transform 0.08s ease, box-shadow 0.16s ease;
}

.buy-btn:hover {
  box-shadow: 0 18px 40px rgba(42, 171, 238, 0.32);
  transform: translateY(-1px);
}

.buy-btn:active {
  transform: scale(0.99);
}

/* 平板：三列过挤时改为单列纵向排列 */
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .price-card {
    padding: 22px 16px 18px;
  }

  .price-top {
    align-items: center;
  }

  .price-plan-price {
    font-size: 26px;
  }

  /* 专业版 / 尊享版角标在小屏略内收 */
  .price-featured-badge,
  .price-premium-badge {
    top: 12px;
    right: 12px;
  }
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(42, 171, 238, 0.12);
  color: var(--tg-blue-deep);
  margin-bottom: 10px;
}

.platform-badge-green {
  background: rgba(42, 171, 238, 0.14);
}

.platform-badge-dark {
  background: rgba(16, 32, 51, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.platform-actions {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-screenshot {
  display: block;
  margin-top: 24px;
}

.platform-screenshots-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.platform-screenshots-row .platform-screenshot {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: calc(50% - 8px);
  height: auto;
  margin-top: 0;
  object-fit: contain;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.google-play-btn img {
  height: 46px;
  width: auto;
  display: block;
}

.google-play-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.google-play-btn:active {
  transform: translateY(0);
}

.download-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
}

.download-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.download-link {
  font-size: 13px;
  color: var(--tg-blue-deep);
  word-break: break-all;
}

.download-link:hover {
  text-decoration: underline;
}

.hint-list {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 18px;
}

.hint-list li {
  margin-bottom: 4px;
}

.step-list {
  margin-top: 8px;
  margin-left: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-list li {
  margin-bottom: 4px;
}

.ios-guide h4 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.ios-guide a,
.step-list a,
.platform-card a {
  word-break: break-all;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.copy-link {
  color: var(--tg-blue-deep);
  cursor: pointer;
  text-decoration: underline;
  word-break: break-all;
  overflow-wrap: break-word;
  display: inline-block;
  max-width: 100%;
  transition: color 0.2s ease;
}

.copy-link:hover {
  color: var(--tg-blue);
}

.copy-link:active {
  opacity: 0.7;
}

.copy-link.is-copied {
  color: #1aa06a;
}

.copy-link-btn {
  margin-left: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.95), rgba(56, 189, 248, 0.95));
  color: #082f49;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.25);
  transition: transform 0.08s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.copy-link-btn:hover {
  color: #082f49;
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

.copy-link-btn:active {
  transform: scale(0.98);
}

.copy-link-btn.is-copied {
  color: #ecfeff;
  background: linear-gradient(120deg, #0ea5a4, #14b8a6);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(42, 171, 238, 0.08);
  border: 1px solid var(--border);
}

/* ===== Scenarios & Guide ===== */
.scenarios-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.guide-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ===== Gallery ===== */
.gallery-mobile-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: flex-start;
}

.gallery-desktop-row {
  margin-top: 28px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-item.gallery-mobile {
  align-items: center;
}

.gallery-item.gallery-mobile .device-label,
.gallery-item.gallery-mobile .device-desc {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.device-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.device-frame {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: pointer;
}

.desktop-frame img {
  border-radius: 14px;
  transition: transform 0.25s ease-out;
}

.phone-frame {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  padding: 10px 8px 12px;
  position: relative;
}

.phone-frame img {
  border-radius: 22px;
  transition: transform 0.25s ease-out;
}

.phone-frame-screen {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
}

.phone-frame-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

/* 语音通话界面：实时翻译字幕气泡叠层 */
.voice-call-subs {
  position: absolute;
  left: 0;
  right: 0;
  top: 36%;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  padding: 0 11px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.voice-call-timer {
  flex-shrink: 0;
  align-self: center;
  margin-top: 15px;
  margin-bottom: 6px;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  background: none;
  border: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.voice-call-msgs {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 100%);
}

.voice-sub {
  display: flex;
  flex-direction: column;
  max-width: 92%;
  flex-shrink: 0;
  animation: voice-sub-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.voice-sub-them {
  align-self: flex-start;
  align-items: flex-start;
}

.voice-sub-me {
  align-self: flex-end;
  align-items: flex-end;
}

.voice-sub-label {
  font-size: 10px;
  line-height: 1;
  margin-bottom: 3px;
  padding: 0 2px;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.voice-sub-bubble {
  padding: 7px 10px 6px;
  border-radius: 12px;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.voice-sub-them .voice-sub-bubble {
  background: rgba(32, 42, 64, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
  color: #f8fafc;
}

.voice-sub-me .voice-sub-bubble {
  background: rgba(20, 168, 158, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-right-radius: 4px;
  color: #ffffff;
}

.voice-sub-origin {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  word-break: break-word;
}

.voice-sub-trans {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
  opacity: 0.88;
  word-break: break-word;
}

.voice-sub-them .voice-sub-trans {
  color: #a5f3fc;
}

.voice-sub-me .voice-sub-trans {
  color: rgba(236, 254, 255, 0.95);
}

@keyframes voice-sub-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.device-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 功能卡底部跳转链接 */
.feature-more-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tg-blue-deep);
  text-decoration: none;
}

.feature-more-link:hover {
  text-decoration: underline;
}

/* 价格区下方：相关增值产品（通话翻译 / AI 客服） */
.related-products {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  text-align: center;
  scroll-margin-top: 84px;
}

.related-products-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.related-products-desc {
  margin: 0 auto 22px;
  max-width: 520px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

/* 整块可点，避免额外卡片阴影堆叠 */
.related-product-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.16s ease, transform 0.08s ease;
}

.related-product-link:hover {
  border-color: rgba(42, 171, 238, 0.4);
  transform: translateY(-2px);
}

.related-product-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.related-product-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.related-product-cta {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tg-blue-deep);
}

@media (max-width: 720px) {
  .related-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Lightbox ===== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  pointer-events: none;
  visibility: hidden;
}

.lightbox-backdrop.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, 96vw);
  max-height: 88vh;
  border-radius: 20px;
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.lightbox-body img,
.lightbox-media img {
  max-width: 100%;
  max-height: min(88vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

.lightbox-media.has-voice-subs {
  max-width: min(420px, 92vw);
}

.lightbox-media .voice-call-subs {
  top: 34%;
  bottom: 16%;
  padding: 0 14px;
}

.lightbox-media .voice-call-timer {
  font-size: 13px;
  margin-bottom: 8px;
}

.lightbox-media .voice-call-msgs {
  gap: 8px;
}

.lightbox-media .voice-sub-origin {
  font-size: 13px;
}

.lightbox-media .voice-sub-trans {
  font-size: 12px;
}

.lightbox-media .voice-sub-label {
  font-size: 11px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(16, 32, 51, 0.72);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}

.lightbox-close:hover {
  background: rgba(30, 64, 175, 0.95);
  box-shadow: 0 0 0 1px #38bdf8, 0 0 18px rgba(59, 130, 246, 0.7);
}

.lightbox-close:active {
  transform: scale(0.93);
}

/* ===== Contact Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
  visibility: hidden;
}

.modal-backdrop.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
}

.modal-inner {
  position: relative;
  max-width: 420px;
  width: 92vw;
  border-radius: 20px;
  padding: 18px 18px 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f4fafc;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
}

.modal-close:hover {
  background: rgba(42, 171, 238, 0.12);
  box-shadow: 0 0 0 1px rgba(42, 171, 238, 0.35);
}

.modal-close:active {
  transform: scale(0.93);
}

.modal-body {
  padding-top: 10px;
}

.modal-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal-image-wrap {
  border-radius: 16px;
  padding: 10px;
  background: #f4fafc;
  border: 1px solid var(--border);
}

.modal-image-wrap img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== FAQ ===== */
.faq-list {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 12px;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(34, 100, 140, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-item a {
  color: var(--tg-blue-deep);
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ===== Footer（排版对齐其它产品页） ===== */
.site-footer {
  margin-top: 40px;
  padding: 72px 0 44px;
  background: linear-gradient(180deg, #e8f4f8 0%, #dff0e8 55%, #d7ebe3 100%);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 40px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 2fr;
    align-items: start;
  }
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  font-size: 14px;
}

.footer-links h4 {
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8b9c;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #314456;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.footer-links a:last-child {
  margin-bottom: 0;
}

.footer-links a:hover {
  color: var(--tg-blue-deep);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-small {
  opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .header-inner {
    gap: 12px;
    height: 64px;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(34, 100, 140, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-nav-open .nav {
    max-height: min(80vh, 640px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav > a,
  .nav-trigger {
    display: flex;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    white-space: normal;
  }

  .nav > a::after,
  .nav-trigger::after {
    display: none;
  }

  .nav-item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .nav-item .nav-trigger {
    border-bottom: none;
  }

  .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 4px 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-item:hover > .nav-dropdown,
  .nav-item:focus-within > .nav-dropdown {
    display: none;
  }

  .nav-item.is-open > .nav-dropdown {
    display: block;
    transform: none;
  }

  .nav-dropdown a {
    margin: 0;
    padding: 10px 4px;
    color: var(--text);
  }

  .nav-dropdown a:first-child,
  .nav-dropdown a:last-child {
    margin: 0;
  }

  .nav > a:last-child {
    border-bottom: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-preview {
    order: -1;
  }

  .tg-phone {
    height: 520px;
    width: min(100%, 300px);
  }

  .tg-top-name {
    font-size: 11px;
  }

  .tg-top-actions {
    gap: 6px;
    padding: 0 8px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .features-grid,
  .platform-grid,
  .scenarios-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-mobile-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    padding: 56px 0 36px;
  }

  .footer-inner {
    margin-bottom: 40px;
    gap: 32px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-tab {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .faq-list {
    max-width: 100%;
    gap: 8px;
  }

  .faq-item {
    padding: 12px 14px;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-inner {
    margin-bottom: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== Wide screen ===== */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
    padding: 0 28px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
    padding: 0 36px;
  }

  .section {
    padding: 96px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    max-width: 820px;
  }

  .hero-inner {
    gap: 56px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 3.2vw, 48px);
  }

  .features-grid,
  .pricing-grid,
  .scenarios-grid {
    gap: 28px;
  }

  .site-footer {
    padding: 88px 0 52px;
  }

  .footer-inner {
    margin-bottom: 64px;
    gap: 48px;
  }

  .faq-list {
    max-width: 1080px;
    gap: 12px;
  }

  .faq-item {
    padding: 14px 18px;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 15px;
  }
}

@media (min-width: 1680px) {
  .container {
    max-width: 1520px;
    padding: 0 48px;
  }

  .section {
    padding: 112px 0;
  }

  .section-title {
    font-size: 40px;
  }

  .section-subtitle {
    max-width: 900px;
    margin-bottom: 48px;
  }

  .hero-inner {
    gap: 72px;
  }

  .features-grid,
  .pricing-grid,
  .scenarios-grid,
  .related-products-grid {
    gap: 32px;
  }

  .faq-list {
    max-width: 1200px;
    gap: 14px;
  }

  .faq-item {
    padding: 16px 20px;
  }

  .faq-item summary {
    font-size: 17px;
  }

  .faq-item p {
    font-size: 15px;
    line-height: 1.75;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1680px;
  }

  .faq-list {
    max-width: 1320px;
  }
}

