/* --- 全局现代 CSS 变量与设计系统 --- */
:root {
  --bg-primary: #f4f4f6;
  --bg-card: #ffffff;
  --bg-subtle: #f0f0f2;
  --text-primary: #18181b;
  --text-secondary: #71717a;
  --text-muted: #8e8e93;
  --accent-emerald: #10b981;
  --accent-emerald-light: #e6f7ed;
  --accent-amber: #d97706;
  --accent-indigo: #6366f1;
  --border-light: rgba(0, 0, 0, 0.05);
  --border-card: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --font-sans: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- 重置与基础设定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- 按钮样式 --- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--text-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(24, 24, 27, 0.18);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(24, 24, 27, 0.25);
  background-color: #000000;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--bg-card);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

/* --- 导航栏 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--text-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* 移动端汉堡菜单触发按钮 */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-mobile-toggle:active {
  transform: scale(0.94);
  background: var(--bg-subtle);
}

/* --- 移动端导航 Bottom Sheet --- */
.nav-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nav-sheet-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nav-sheet {
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  padding: 12px 24px 36px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}

.nav-sheet-backdrop.open .nav-sheet {
  transform: translateY(0);
}

.nav-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #e4e4e7;
  margin: 0 auto 16px;
}

.nav-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.nav-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.nav-sheet-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.nav-sheet-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  transition: all 0.2s;
}

.nav-sheet-item:active {
  background: #e4e4e7;
  transform: scale(0.98);
}

.nav-sheet-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-sheet-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav-sheet-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.nav-sheet-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-sheet-arrow {
  color: var(--text-muted);
}

.nav-sheet-footer {
  padding-top: 8px;
}

.nav-sheet-cta {
  width: 100%;
  padding: 15px;
  font-size: 15px;
  justify-content: center;
}

/* --- Hero Section --- */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  animation: live-pulse-glow 1.8s infinite ease-in-out;
}

.pulse-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #18181b 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-card);
}

/* --- 手机模型 Mockup --- */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 330px;
  background: #ffffff;
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.phone-screen {
  background: var(--bg-primary);
  border-radius: 36px;
  padding: 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px 12px;
}

.mini-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.mini-app-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.mini-app-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.mini-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* 手机内今日实时卡片 */
.mini-live-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
  margin-bottom: 12px;
}

.mini-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-emerald-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.mini-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.mini-badge-text {
  font-size: 9px;
  font-weight: 800;
  color: var(--accent-emerald);
}

.mini-date {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.mini-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mini-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6f7ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-main-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.mini-sub-title {
  font-size: 10px;
  color: var(--text-secondary);
}

.mini-card-footer {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
}

.mini-btn--success {
  background: var(--accent-emerald);
  color: #ffffff;
}

.mini-btn--share {
  background: #f4f4f6;
  color: var(--text-primary);
}

/* 手机内折线图卡片 */
.mini-chart-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.mini-segmented-bar {
  display: flex;
  background: #f4f4f6;
  border-radius: var(--radius-full);
  padding: 2px;
  margin-bottom: 8px;
}

.mini-seg-item {
  flex: 1;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 0;
  color: var(--text-muted);
  border-radius: var(--radius-full);
}

.mini-seg-item.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.mini-chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.mini-meta-title {
  font-size: 11px;
  font-weight: 800;
}

.mini-meta-pill {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.mini-svg-chart {
  width: 100%;
  height: 60px;
}

.mini-chart-dates {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* 手机内 2x2 统计卡片 */
.mini-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-stat-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px;
}

.mini-stat-name {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}

.mini-stat-val {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.mini-stat-val small {
  font-size: 9px;
  font-weight: 600;
}

/* --- Features Section --- */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-indigo);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bg-emerald {
  background: #e6f7ed;
}
.bg-indigo {
  background: #eef2ff;
}
.bg-amber {
  background: #fef3c7;
}
.bg-blue {
  background: #eff6ff;
}
.bg-purple {
  background: #f5f3ff;
}
.bg-rose {
  background: #ffe4e6;
}

.feature-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Interactive Demo Section --- */
.demo-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.interactive-demo-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.demo-segmented-control {
  display: inline-flex;
  background: #e4e4e7;
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 4px;
}

.demo-seg-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.demo-seg-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.demo-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.demo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.demo-chart-wrapper {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  height: 240px;
}

.demo-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  padding-right: 16px;
  border-right: 1px dashed #e4e4e7;
}

.demo-chart-body {
  flex: 1;
  padding-left: 16px;
  position: relative;
}

.interactive-svg {
  width: 100%;
  height: 100%;
}

.demo-x-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 32px 24px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.demo-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-stat-col {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-stat-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.demo-stat-num {
  font-size: 18px;
  font-weight: 900;
}

.demo-stat-num small {
  font-size: 12px;
  font-weight: 600;
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 28px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--text-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: #a1a1aa;
  margin-bottom: 36px;
  max-width: 500px;
}

.cta-btn {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
  background: #f4f4f6;
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.3);
}

/* --- Footer --- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 8px;
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Modal QR Code --- */
.qr-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.qr-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-modal-backdrop.open .qr-modal {
  transform: scale(1);
}

.qr-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.qr-modal-close:hover {
  background: #e4e4e7;
  color: var(--text-primary);
}

.qr-brand-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.qr-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e6f7ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.qr-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.qr-modal-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qr-code-card {
  background: #f4f4f6;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-card);
}

.qr-code-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.qr-code-img {
  width: 210px;
  height: 210px;
  border-radius: 20px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  transition: transform 0.25s ease;
}

.qr-code-img:hover {
  transform: scale(1.03);
}

.qr-hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

/* --- 提示气泡 Tooltip --- */
.demo-tooltip {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  white-space: nowrap;
}

.demo-tooltip.visible {
  opacity: 1;
}

/* --- H5 底部悬浮操作胶囊 --- */
.h5-floating-dock {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 10px 14px 10px 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: env(safe-area-inset-bottom, 0px);
}

.h5-floating-dock.show {
  transform: translateY(0);
}

.h5-dock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.h5-dock-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.h5-dock-info {
  display: flex;
  flex-direction: column;
}

.h5-dock-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.h5-dock-sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.h5-dock-btn {
  padding: 8px 18px;
  font-size: 13px;
  gap: 6px;
}

/* --- 呼吸动效 --- */
@keyframes live-pulse-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 12px 6px rgba(16, 185, 129, 0.35);
  }
}

/* --- H5 响应式与体验深度优化 --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .h5-floating-dock {
    display: flex;
  }

  .site-header {
    height: 64px;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .live-status-pill {
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .pulse-text {
    font-size: 12px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    justify-content: center;
  }

  .hero-stats-row {
    gap: 16px;
    padding-top: 20px;
  }

  .stat-number {
    font-size: 17px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* 手机模型在移动端扁平居中呈现 */
  .phone-frame {
    width: 100%;
    max-width: 320px;
    transform: none !important;
    padding: 10px;
    border-radius: 36px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  }

  .phone-screen {
    border-radius: 28px;
    padding: 12px 10px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-desc {
    font-size: 13.5px;
  }

  .interactive-demo-card {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .demo-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .demo-segmented-control {
    width: 100%;
    justify-content: space-between;
  }

  .demo-seg-btn {
    flex: 1;
    text-align: center;
    padding: 7px 4px;
    font-size: 12px;
  }

  .demo-meta-badge {
    justify-content: center;
    width: 100%;
  }

  .demo-chart-wrapper {
    height: 190px;
    padding: 16px 10px;
  }

  .demo-y-axis {
    font-size: 10px;
    padding-right: 8px;
  }

  .demo-chart-body {
    padding-left: 8px;
  }

  .demo-x-axis {
    padding: 0 10px 16px;
    font-size: 11px;
  }

  .demo-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
  }

  .demo-stat-col {
    padding: 12px;
  }

  .demo-stat-tag {
    font-size: 10px;
  }

  .demo-stat-num {
    font-size: 16px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px;
    font-size: 13.5px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 18px;
  }

  .cta-section {
    padding: 60px 0 120px;
  }

  .cta-box {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-btn {
    width: 100%;
    padding: 15px;
  }

  .site-footer {
    padding: 36px 0 100px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-left .brand {
    justify-content: center;
  }

  .qr-modal {
    padding: 28px 20px;
    border-radius: 28px;
  }

  .qr-code-img {
    width: 180px;
    height: 180px;
  }
}
