/* ========================================
   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;
}

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: flex;
  align-items: center;
  justify-content: space-between;
  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;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.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);
}

.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;
}

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

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

.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 Grid 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-grid {
  display: grid;
  width: 100%;
  grid-auto-rows: auto;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

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

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

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--color-code-bg);
  border: 1px solid transparent;
  transition: all 0.2s;
  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);
}

.feature-card:hover {
  border-color: #e5e7eb;
}

@media (min-width: 768px) {
  .feature-card.full-width {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .feature-card.third-width {
    grid-column: span 1;
  }

  .feature-card.full-width {
    grid-column: span 3;
  }
}

.feature-card .card-bg {
  position: absolute;
  right: 0;
  top: 0;
  height: 300px;
  width: 600px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  opacity: 0.4;
  filter: blur(48px);
}

.feature-card .card-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card.full-width .card-content {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.feature-card.full-width .card-header {
  justify-content: center;
}

.feature-card .icon-wrapper {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.feature-card .icon-wrapper svg {
  width: 2rem;
  height: 2rem;
  color: #404040;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #404040;
}

.feature-card p {
  max-width: 56rem;
  color: #a3a3a3;
  white-space: pre-line;
  line-height: 1.6;
}

.feature-card .card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background-color 0.3s;
}

.feature-card:hover .card-overlay {
  background-color: rgba(0, 0, 0, 0.03);
}

/* ----------------------------------------
   Use Cases Section
   ---------------------------------------- */
.usecases-section {
  padding: 6rem 0;
  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;
}

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

.usecases-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.tab-btn {
  text-align: left;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--card);
  color: var(--muted-foreground);
  border: none;
  font-size: 1.125rem;
  transition: all 0.3s;
  cursor: pointer;
}

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

.tab-btn.active {
  background-color: color-mix(in srgb, var(--primary) 5%, transparent);
  color: var(--primary);
  transform: scaleX(1.05);
  transform-origin: left;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.usecases-content {
  flex: 1;
}

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

.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 1px 2px rgba(0, 0, 0, 0.05);
}

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

.tab-panel.active {
  display: block;
}

.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(1, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

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

.usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.usecase-item:hover .usecase-text {
  color: var(--primary);
}

.usecase-item .usecase-icon {
  margin-top: 0.25rem;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--primary) 5%, transparent);
  color: var(--primary);
  transition: background-color 0.2s;
}

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

.usecase-item .usecase-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
  padding-top: 0.375rem;
  transition: color 0.2s;
}

.tab-panel .panel-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
}

.tab-panel .feishu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

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

.tab-panel .feishu-link:hover {
  background-color: color-mix(in srgb, var(--primary) 20%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab-panel .feishu-link:active {
  transform: scale(1.05);
}

/* ----------------------------------------
   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;
}

/* ----------------------------------------
   Not What We Are Section
   ---------------------------------------- */
.notwhat-section {
  padding: 6rem 0;
  background-color: var(--background);
  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);
}

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

.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

.site-footer .footer-content .separator {
  display: none;
}

@media (min-width: 640px) {
  .site-footer .footer-content .separator {
    display: inline;
  }
}

.site-footer .icp-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  width: 100%;
}

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

.site-footer .icp-section a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.site-footer .icp-section a:hover {
  color: var(--foreground);
}

.site-footer .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-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);
}

/* 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;
}

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

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

/* ----------------------------------------
   响应式工具类
   ---------------------------------------- */
@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);
}
