/* ========================================
   YouNavi 官网样式表 - 完全还原版
   ======================================== */

/* ----------------------------------------
   CSS 变量定义
   ---------------------------------------- */
:root {
  /* 圆角 */
  --radius: 8px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* 字体 */
  --font-sans:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", ui-sans-serif, system-ui, "Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Noto Sans",
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

  /* 颜色 - 亮色模式 */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #f9fafb;
  --card-foreground: #0a0a0a;
  --popover: #ffffff;
  --popover-foreground: #0a0a0a;
  --primary: #171717;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f5;
  --secondary-foreground: #171717;
  --muted: #fafafa;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #171717;
  --destructive: #ef4444;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #0a0a0a;

  /* 品牌色 */
  --brand: #007aff;
  --professional-blue: #007aff;
  --professional-gray: #8e8e93;
  --professional-dark: #1d1d1f;
  --professional-light: #f5f5f7;
  --success-green: #34c759;
  --warning-orange: #ff9500;
  --error-red: #ff3b30;

  /* 功能色 */
  --color-code-bg: #f9fafb;
  --color-doc-bg: #f3f4f6;
}

.dark {
  --background: rgb(27, 28, 29);
  --foreground: #ffffff;
  --card: #1c1c1e;
  --card-foreground: #ffffff;
  --popover: #1c1c1e;
  --popover-foreground: #ffffff;
  --primary: #0a84ff;
  --primary-foreground: #ffffff;
  --secondary: #1c1c1e;
  --secondary-foreground: #ffffff;
  --muted: #2c2c2e;
  --muted-foreground: #8e8e93;
  --accent: #3a3a3c;
  --accent-foreground: #ffffff;
  --destructive: #ff453a;
  --border: #38383a;
  --input: #2c2c2e;
  --ring: #0a84ff;
  --brand: #0a84ff;
  --color-code-bg: #1c1c1e;
}

/* ----------------------------------------
   重置样式
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  zoom: 0.9;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  letter-spacing: -0.01em;
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button,
[role="button"] {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ----------------------------------------
   排版
   ---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

p {
  line-height: 1.6;
}

/* ----------------------------------------
   布局工具类
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.space-y-8 > * + * {
  margin-top: 2rem;
}

/* ----------------------------------------
   间距工具类
   ---------------------------------------- */
.p-2 {
  padding: 0.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.pt-8 {
  padding-top: 2rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   显示和定位
   ---------------------------------------- */
.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-flex {
  display: inline-flex;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.overflow-hidden {
  overflow: hidden;
}

/* ----------------------------------------
   文本样式
   ---------------------------------------- */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.leading-relaxed {
  line-height: 1.625;
}
.whitespace-pre-line {
  white-space: pre-line;
}

.text-primary {
  color: var(--primary);
}
.text-primary-foreground {
  color: var(--primary-foreground);
}
.text-muted-foreground {
  color: var(--muted-foreground);
}
.text-foreground {
  color: var(--foreground);
}
.text-white {
  color: #ffffff;
}
.text-gray-200 {
  color: #e5e7eb;
}
.text-gray-500 {
  color: #6b7280;
}
.text-gray-700 {
  color: #374151;
}
.text-red-600 {
  color: #dc2626;
}
.text-neutral-400 {
  color: #a3a3a3;
}
.text-neutral-700 {
  color: #404040;
}

/* ----------------------------------------
   背景和边框
   ---------------------------------------- */
.bg-background {
  background-color: var(--background);
}
.bg-card {
  background-color: var(--card);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-muted {
  background-color: var(--muted);
}
.bg-white {
  background-color: #ffffff;
}
.bg-black {
  background-color: #000000;
}
.bg-transparent {
  background-color: transparent;
}
.bg-code {
  background-color: var(--color-code-bg);
}
.bg-red-100 {
  background-color: #fee2e2;
}

.border {
  border-width: 1px;
  border-style: solid;
}
.border-border {
  border-color: var(--border);
}
.border-transparent {
  border-color: transparent;
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}
.rounded {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: var(--radius-md);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.rounded-xl {
  border-radius: var(--radius-xl);
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}

/* ----------------------------------------
   阴影
   ---------------------------------------- */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.shadow {
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.shadow-md {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ----------------------------------------
   尺寸
   ---------------------------------------- */
.w-full {
  width: 100%;
}
.w-6 {
  width: 1.5rem;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.h-6 {
  height: 1.5rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.min-h-screen {
  min-height: 100vh;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.shrink-0 {
  flex-shrink: 0;
}

/* ----------------------------------------
   过渡
   ---------------------------------------- */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* ----------------------------------------
   导航头部
   ---------------------------------------- */
.site-header {
  position: fixed;
  width: 100%;
  z-index: 50;
  background-color: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
  transition: all 0.3s;
}

.site-header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 4rem;
}

@media (min-width: 768px) {
  .site-header .header-inner {
    height: 5rem;
  }
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .logo .logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.site-header .logo span {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  color: var(--foreground);
  letter-spacing: -0.025em;
}

/* 主导航 */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #404040;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.main-nav-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #404040;
  transition: width 0.15s ease;
}

.main-nav-item:hover {
  color: #1a1a1a;
}

.main-nav-item:hover::after {
  width: 100%;
}

/* 下拉菜单容器 */
.main-nav-dropdown {
  position: relative;
}

/* 桥接触发元素与下拉菜单之间的 12px 视觉间隙，让 hover 不在缝隙处中断 */
.main-nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.main-nav-dropdown .main-nav-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.main-nav-dropdown .dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.main-nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 6px;
  z-index: 100;
}

.main-nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #404040;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background-color 0.12s ease,
    color 0.12s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background-color: #f5f5f5;
  color: #1a1a1a;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  /* 显式占据 grid 第 3 列，避免 .main-nav 在移动端隐藏时被默认填充到第 2 列 */
  grid-column: 3;
}

.site-header .contact-btn {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .site-header .contact-btn {
    display: block;
  }
}

.site-header .contact-btn:hover {
  color: var(--foreground);
}

/* 二维码悬浮弹层 */
.qr-trigger-wrap {
  position: relative;
}
.qr-popup {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 280px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
}
.qr-trigger-wrap:hover .qr-popup {
  display: flex;
}
.qr-popup-title {
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 12px;
  text-align: center;
}
.qr-popup-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 8px;
}

.site-header .download-btn {
  display: none;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .site-header .download-btn {
    display: block;
  }
}

.site-header .download-btn:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  border-radius: var(--radius-lg);
  color: var(--foreground);
  background: transparent;
  border: none;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--background);
  padding-top: 5rem;
  min-height: 90vh;
}

.hero-section .bg-blur {
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary) 5%, transparent);
  filter: blur(120px);
  pointer-events: none;
}

.hero-section .bg-blur-1 {
  top: -20%;
  left: -10%;
}

.hero-section .bg-blur-2 {
  bottom: -20%;
  right: -10%;
}

.hero-section .hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 2rem 0 0.75rem;
}

@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 4.5rem;
  }
}

.hero-section .hero-tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .hero-section .hero-tagline {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .hero-section .hero-tagline {
    font-size: 2.25rem;
  }
}

.hero-section .subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.625;
  white-space: pre-line;
}

@media (min-width: 640px) {
  .hero-section .subtitle {
    font-size: 1.5rem;
  }
}

.hero-section .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 49px;
}

@media (min-width: 640px) {
  .hero-section .cta-buttons {
    flex-direction: row;
  }
}

.hero-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding: 0 1rem;
  height: 3.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.375rem;
  border: none;
  box-shadow:
    color-mix(in srgb, var(--primary) 20%, transparent) 0px 10px 15px -3px,
    color-mix(in srgb, var(--primary) 20%, transparent) 0px 4px 6px -4px;
  transition: all 0.2s;
  cursor: pointer;
}

.hero-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
}

.hero-section .btn-primary:active {
  transform: scale(1.05);
}

.hero-section .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0 2rem;
  height: 3.5rem;
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  cursor: pointer;
}

.hero-section .btn-outline:hover {
  background-color: var(--muted);
}

.hero-section .btn-outline:active {
  transform: scale(1.05);
}

.hero-section .preview-wrapper {
  width: 100%;
  max-width: 56rem;
  margin-top: 95px;
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-section .preview-image {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--muted), var(--card));
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.hero-section .preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------
   Value Proposition Section
   ---------------------------------------- */
.value-section {
  padding: 6rem 0;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.value-section .bg-blur {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary) 5%, transparent);
  filter: blur(120px);
  pointer-events: none;
}

.value-section .section-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.value-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.value-section .value-card {
  width: 100%;
  background-color: var(--background);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 12px 24px rgba(0, 0, 0, 0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .value-section .value-card {
    padding: 3rem;
  }
}

.value-section .value-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .value-section .value-list {
    gap: 2rem;
  }
}

.value-section .value-item {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-align: left;
}

@media (min-width: 768px) {
  .value-section .value-item {
    font-size: 1.25rem;
  }
}

/* ----------------------------------------
   Feature Section
   ---------------------------------------- */
.feature-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.feature-section .section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.feature-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 46fr 54fr;
  gap: 65px;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 1023px) {
  .feature-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 40px;
}

/* ----------------------------------------
   Feature Video（流程演示视频）
   ---------------------------------------- */
.feature-video {
  width: 100%;
  max-width: 560px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.feature-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* 旧 fv-* 样式已移除 */
.fv-flow,
.fv-node,
.fv-tags,
.fv-arrow,
.fv-line,
.fv-node-final {
  display: none;
}

/* 旧 timeline 样式已移除 */
.feature-timeline,
.ft-step,
.ft-num-col,
.ft-num,
.ft-line-col,
.ft-dot,
.ft-connector,
.ft-text-col {
  display: none;
}

.feature-list {
  flex: 46;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-left: 3rem;
}

@media (max-width: 1023px) {
  .feature-list {
    padding-left: 0;
  }
}

.feature-item h3 {
  font-size: 1.8125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.feature-item p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 88%;
}

.feature-trustline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  justify-content: center;
}

.feature-trustline svg {
  flex-shrink: 0;
  color: #10b981;
}

/* ----------------------------------------
   Use Cases Section
   ---------------------------------------- */
.usecases-section {
  padding: 2rem 0 4rem;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.usecases-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.usecases-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.usecases-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .usecases-layout {
    flex-direction: row;
  }
}

.usecases-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .usecases-tabs {
    width: 25%;
    flex-shrink: 0;
  }
}

.tab-btn {
  position: relative;
  text-align: left;
  padding: 0.875rem 1.25rem 0.875rem 1.5rem;
  border-radius: 0.625rem;
  background-color: transparent;
  color: var(--muted-foreground);
  border: none;
  font-size: 0.9375rem;
  transition:
    background-color 0.2s,
    color 0.2s;
  cursor: pointer;
}

.tab-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background-color: var(--primary);
  border-radius: 0 2px 2px 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-btn:hover {
  background-color: color-mix(in srgb, var(--muted) 60%, transparent);
  color: var(--foreground);
}

.tab-btn.active {
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  font-weight: 600;
}

.tab-btn.active::before {
  transform: translateY(-50%) scaleY(1);
}

.usecases-content {
  flex: 1;
  position: relative;
}

@media (min-width: 1024px) {
  .usecases-content {
    width: 75%;
  }
}

/* panel 容器用相对定位包裹，让 absolute 的动画层生效 */
.tab-panels-wrap {
  position: relative;
}

.tab-panel {
  display: none;
  background-color: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 4px 16px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(8px);
}

@media (min-width: 768px) {
  .tab-panel {
    padding: 2.5rem;
  }
}

.tab-panel.active {
  display: block;
  animation: panel-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-panel.leaving {
  display: block;
  animation: panel-out 0.18s ease-in forwards;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.tab-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  border: 1px solid #efefef;
  background-color: #f9fafb;
  transition:
    background-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  cursor: default;
}

.usecase-item:hover {
  background-color: #f3f5f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.usecase-item:hover .usecase-icon {
  background-color: color-mix(in srgb, var(--primary) 15%, transparent);
  transform: scale(1.08);
}

.usecase-item .usecase-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  transition:
    background-color 0.2s,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.usecase-item .usecase-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.usecase-item .usecase-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.125rem;
}

.usecase-item .usecase-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
}

.usecase-item .usecase-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.tab-panel .panel-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .tab-panel .panel-footer {
    flex-direction: column;
  }
}

.tab-panel .feishu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  border-radius: 0.5rem;
  font-weight: 500;
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
}

@media (min-width: 640px) {
  .tab-panel .feishu-link {
    width: auto;
  }
}

.tab-panel .feishu-link:hover {
  background-color: color-mix(in srgb, var(--primary) 15%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 15%, transparent);
  transform: translateY(-1px);
}

.tab-panel .feishu-link:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

/* ----------------------------------------
   Testimonials Section
   ---------------------------------------- */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--primary) 5%, transparent), white);
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-card .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 500;
  flex-shrink: 0;
}

.testimonial-card .info {
  margin-left: 1rem;
}

.testimonial-card .name {
  font-weight: 600;
  font-size: 1.125rem;
}

.testimonial-card .role {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-card .quote {
  position: relative;
}

.testimonial-card .quote-mark {
  position: absolute;
  top: -1.25rem;
  left: -0.75rem;
  font-size: 3.75rem;
  color: #e5e7eb;
  font-family: serif;
  line-height: 1;
  user-select: none;
}

.testimonial-card .quote-text {
  position: relative;
  z-index: 10;
  padding-top: 0.5rem;
  padding-left: 0.5rem;
  color: #374151;
  line-height: 1.625;
}

/* ----------------------------------------
   Privacy Section（隐私安全）
   ---------------------------------------- */
.privacy-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.privacy-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.privacy-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.privacy-section .section-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.privacy-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  transition: all 0.3s ease;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.privacy-card:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.privacy-icon {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.privacy-icon svg {
  width: 28px;
  height: 28px;
}

.privacy-card-content {
  flex: 1;
}

.privacy-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.privacy-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ----------------------------------------
   Not What We Are Section
   ---------------------------------------- */
.notwhat-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--primary) 5%, transparent), white);
  border-top: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
}

.notwhat-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.notwhat-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.notwhat-list {
  max-width: 72rem;
  margin: 0 auto;
}

.notwhat-list .space-y-10 > * + * {
  margin-top: 2.5rem;
}

.notwhat-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .notwhat-item {
    flex-direction: row;
    align-items: baseline;
  }
}

.notwhat-item .item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  flex-shrink: 0;
}

.notwhat-item .item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.notwhat-item .item-icon.exclude {
  background-color: #fee2e2;
  color: #dc2626;
}

.notwhat-item .item-icon.difference {
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.notwhat-item .item-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.notwhat-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}

.notwhat-item .item-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.notwhat-item .item-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.notwhat-item .item-desc a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.25rem;
  vertical-align: bottom;
  transition: opacity 0.2s;
}

.notwhat-item .item-desc a:hover {
  opacity: 0.8;
}

.notwhat-item .item-desc a img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  border-radius: 0.25rem;
  display: inline-block;
}

.notwhat-item .item-desc a span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
}

.notwhat-item .item-desc a:hover span {
  text-decoration-color: var(--primary);
}

.notwhat-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-foreground);
  background-color: var(--primary);
  border-radius: 0.5rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.notwhat-cta:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
  transform: translateX(2px);
}

.notwhat-list {
  max-width: 72rem;
  margin: 0 auto;
}

.notwhat-list .space-y-10 > * + * {
  margin-top: 2.5rem;
}

.notwhat-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .notwhat-item {
    flex-direction: row;
    align-items: baseline;
  }
}

.notwhat-item .item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  flex-shrink: 0;
}

.notwhat-item .item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.notwhat-item .item-icon.exclude {
  background-color: #fee2e2;
  color: #dc2626;
}

.notwhat-item .item-icon.difference {
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}

.notwhat-item .item-icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.notwhat-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
}

.notwhat-item .item-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.notwhat-item .item-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.notwhat-item .item-desc a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.25rem;
  vertical-align: bottom;
  transition: opacity 0.2s;
}

.notwhat-item .item-desc a:hover {
  opacity: 0.8;
}

.notwhat-item .item-desc a img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  border-radius: 0.25rem;
  display: inline-block;
}

.notwhat-item .item-desc a span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
}

.notwhat-item .item-desc a:hover span {
  text-decoration-color: var(--primary);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: #f9fafb;
  padding: 4rem 0 0;
}

/* 主体区：左品牌 + 右链接 */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    gap: 0;
  }
}

/* 左侧品牌区 */
.footer-brand {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.footer-brand-logo span {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.footer-brand-tagline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 22rem;
}

.footer-brand-email {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.footer-brand-email:hover {
  color: var(--foreground);
}

/* 右侧链接区 */
.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 767px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: repeat(1, 1fr);
  }
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-group-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-link-group a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
  line-height: 1.4;
}

.footer-link-group a:hover {
  color: var(--foreground);
}

.footer-link-group-contact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
  line-height: 1.4;
}

.footer-link-group-contact:hover {
  color: var(--foreground);
}

/* 底部版权行 */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--muted-foreground) 70%, transparent);
  text-align: center;
}

.footer-bottom a {
  color: inherit;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: var(--muted-foreground);
}

.footer-bottom .footer-dot {
  opacity: 0.4;
}

.footer-bottom .icp-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem 0.75rem;
  width: 100%;
}

.footer-bottom .icp-section.hidden {
  display: none;
}

.footer-bottom .icp-section a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-bottom .icp-section img {
  width: 1rem;
  height: 1rem;
}

/* ----------------------------------------
   Dialog 对话框
   ---------------------------------------- */
.dialog {
  display: none;
}

.dialog.open {
  display: block;
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dialog.open .dialog-overlay {
  opacity: 1;
}

.dialog-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  z-index: 51;
  max-width: 28rem;
  width: calc(100% - 2rem);
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dialog.open .dialog-content {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dialog-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.dialog-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  transition: background-color 0.2s;
}

.dialog-close:hover {
  background-color: var(--muted);
}

.dialog-body {
  color: var(--muted-foreground);
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

.email-box .email-text {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--foreground);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.copy-btn:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

.copy-btn.copied {
  background-color: #dcfce7;
  border-color: #86efac;
  color: #16a34a;
}

/* ----------------------------------------
   Download Page
   ---------------------------------------- */
.download-page {
  flex: 1;
  padding-top: 5rem;
}

/* Download Hero */
.download-hero {
  padding: 4rem 0 6rem;
}

@media (min-width: 640px) {
  .download-hero {
    padding: 6rem 0;
  }
}

.download-hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.download-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1;
}

@media (min-width: 640px) {
  .download-hero h1 {
    font-size: 3rem;
    line-height: 48px;
  }
}

.download-hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Version Badge */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background-color: color-mix(in srgb, var(--muted) 50%, transparent);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

.version-badge .version-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--success-green);
}

.version-badge .version-separator {
  color: color-mix(in srgb, var(--muted-foreground) 60%, transparent);
}

/* Download Cards Section */
.download-cards-section {
  padding-bottom: 6rem;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .download-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Download Card */
.download-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.download-card:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
}

.download-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.platform-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: var(--muted);
  border-radius: 1rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.platform-icon-wrapper .platform-icon {
  width: 3rem;
  height: 3rem;
}

.download-card .platform-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.download-card .platform-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.download-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Download Link Button */
.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.download-link:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
}

.download-link-secondary {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.download-link-secondary:hover {
  background-color: var(--muted);
}

.download-link-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-link-label {
  font-size: 0.875rem;
}

.download-link-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}

.download-link-icon {
  transition: transform 0.2s ease;
}

.download-link:hover .download-link-icon {
  transform: translateY(2px);
}

/* Microsoft Store 主按钮 */
.download-link-store-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.download-link-store-logo {
  flex-shrink: 0;
}

.download-link-store:hover .download-link-icon {
  transform: translateX(2px);
}

/* EXE / ZIP 并排次按钮 */
.download-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .download-buttons-row {
    grid-template-columns: 1fr;
  }
}

/* Release Notes */
.release-notes {
  max-width: 48rem;
  margin: 4rem auto 0;
}

.release-notes h3 {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.release-notes .notes-content {
  background-color: color-mix(in srgb, var(--muted) 30%, transparent);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  white-space: pre-wrap;
}

/* 通用下载提示小字 */
.download-global-hint {
  max-width: 64rem;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* 微信内提示横幅 */
.wechat-tip-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  max-width: 64rem;
  margin: 0 auto 1.5rem;
  padding: 0.875rem 1rem;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
  color: #92400e;
  font-size: 0.875rem;
  line-height: 1.5;
}

.wechat-tip-banner svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* 微信内下载引导浮层 */
.wechat-guide {
  display: none;
}

.wechat-guide.open {
  display: block;
}

.wechat-guide-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 60;
}

.wechat-guide-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  z-index: 61;
  max-width: 24rem;
  width: calc(100% - 2rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.wechat-guide-arrow {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  z-index: 62;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  color: #fff;
  font-size: 0.875rem;
}

.wechat-guide-arrow .wechat-guide-dots {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.wechat-guide-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.wechat-guide-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.wechat-guide-url {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.wechat-guide-url-text {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--foreground);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wechat-guide-copy {
  flex-shrink: 0;
  padding: 0.375rem 0.75rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.wechat-guide-close {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

.privacy-content a {
  color: var(--brand);
  text-decoration: underline;
}

/* ----------------------------------------
   PC/移动端内容切换
   ---------------------------------------- */
/* 默认显示移动版，隐藏桌面版 */
.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block;
}

/* 768px 以上显示桌面版，隐藏移动版 */
@media (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }

  .mobile-only {
    display: none !important;
  }

  /* 如果是 flex 容器 */
  .cta-buttons.desktop-only {
    display: flex !important;
  }
}

.hero-section .subtitle-sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

/* 移动端二维码样式 */
.mobile-qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-qr-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* ----------------------------------------
   响应式工具类
   ---------------------------------------- */
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  .md\:hidden {
    display: none;
  }
  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
  .lg\:w-1\/3 {
    width: 33.333333%;
  }
  .lg\:w-2\/3 {
    width: 66.666667%;
  }
}

/* ----------------------------------------
   滚动条样式
   ---------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(100, 116, 139, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 116, 139, 0.3);
}

/* ----------------------------------------
   About Section（关于我们）
   ---------------------------------------- */
.about-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.about-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-section .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}

.about-intro {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.25rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.about-intro p:last-child {
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-intro p {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0;
  }
  .about-intro p {
    text-align: left;
  }
}

/* ========================================
   价格页 (Pricing)
   ======================================== */
.pricing-page {
  max-width: 1240px;
}

.pricing-header {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 56px;
}
.pricing-header h1 {
  font-size: 36px;
  margin-bottom: 16px;
}
.pricing-subtitle {
  margin: 0 auto;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.pricing-grid-personal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.pricing-card-featured {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 12%, transparent);
}

/* 企业版通栏 */
.pricing-enterprise-banner {
  margin-bottom: 56px;
}

.enterprise-content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 36px;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.enterprise-content:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--brand) 25%, var(--border));
}

.enterprise-left {
  flex-shrink: 0;
  min-width: 220px;
}

.enterprise-left .pricing-tier {
  font-size: 20px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}

.enterprise-left .pricing-tier-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}

.enterprise-left .pricing-credits {
  margin-bottom: 0;
}

.enterprise-features {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.enterprise-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #364153;
  background: white;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 6px;
}

.enterprise-feature-item::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.enterprise-cta {
  flex-shrink: 0;
}

.enterprise-cta .pricing-cta {
  min-width: 140px;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--brand, #007aff);
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.pricing-card-head {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.pricing-tier {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}

.pricing-tier-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
  min-height: 36px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.pricing-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
}
.pricing-unit {
  font-size: 14px;
  color: var(--muted-foreground);
}

.pricing-credits {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in srgb, var(--brand) 80%, black);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 8px;
}
.pricing-credits::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18'/%3E%3Cpath d='M7 6h1v4'/%3E%3Cpath d='m16.71 13.88.7.71-2.82 2.82'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
  border: 1px solid transparent;
}
.pricing-cta-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.pricing-cta-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, black);
}
.pricing-cta-outline {
  background: var(--background);
  color: var(--foreground);
  border-color: var(--border);
}
.pricing-cta-outline:hover {
  background: var(--muted);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-features li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #364153;
}
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* 隐私说明条 */
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 64px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
  border-radius: 12px;
}
.pricing-note-icon {
  flex-shrink: 0;
  color: var(--brand, #007aff);
  margin-top: 1px;
}
.pricing-note-text {
  font-size: 14px;
  line-height: 1.65;
  color: #364153;
}

/* FAQ */
.pricing-faq {
  margin-bottom: 64px;
}
.pricing-faq h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 24px;
  text-align: center;
}
.pricing-faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-faq-item:last-child {
  border-bottom: none;
}
.pricing-faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 8px;
}
.pricing-faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #364153;
  margin: 0;
}
.pricing-faq-item p a {
  color: var(--brand, #007aff);
  text-decoration: none;
}
.pricing-faq-item p a:hover {
  text-decoration: underline;
}

/* 底部 CTA */
.pricing-bottom-cta {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 100%);
  border-radius: 16px;
}
.pricing-bottom-cta h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 24px;
}
.pricing-bottom-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-bottom-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 16px;
  padding: 0 1.25rem;
  height: 48px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.pricing-bottom-actions .btn-primary:hover {
  background-color: color-mix(in srgb, var(--primary) 88%, black);
}
.pricing-bottom-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 16px;
  padding: 0 1.25rem;
  height: 48px;
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.pricing-bottom-actions .btn-outline:hover {
  background-color: var(--muted);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}

/* 响应式 */
@media (max-width: 1024px) {
  .pricing-grid-personal {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .enterprise-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .enterprise-left {
    min-width: auto;
  }

  .enterprise-features {
    width: 100%;
  }

  .enterprise-cta {
    width: 100%;
  }

  .enterprise-cta .pricing-cta {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .pricing-grid-personal {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .pricing-header h1 {
    font-size: 26px;
  }
  .pricing-subtitle {
    font-size: 15px;
  }
  .pricing-amount {
    font-size: 30px;
  }
  .pricing-bottom-cta {
    padding: 40px 20px;
  }
  .pricing-bottom-cta h2 {
    font-size: 20px;
  }
}
