:root {
  --bg: #050505;
  --bg-elevated: #0d0d10;
  --bg-card: rgba(18, 18, 23, 0.72);
  --bg-card-solid: #121217;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.35);
  --green-dark: #16a34a;
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --glow-shadow: 0 0 40px rgba(34, 197, 94, 0.15), 0 0 80px rgba(139, 92, 246, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: 
    radial-gradient(ellipse at top center, rgba(34, 197, 94, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at left center, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #050505 0%, #0a0a0e 50%, #050505 100%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.bg-dark {
  background: #050505 !important;
}

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

/* Global Animations & Effects */

/* Smooth entrance animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle glow effect for cards */
.glow-effect {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.3), 
                0 0 80px rgba(139, 92, 246, 0.2);
  }
}
html {
  scroll-behavior: smooth;
}

/* Background effects */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  top: -160px;
  right: -120px;
}

.glow-2 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  bottom: -220px;
  left: -180px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  padding: 12px 0;
  /* Same styles as initial state, just different padding */
}

.navbar .container.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none !important;
  padding: 0 40px;
}

/* ==================== 在线客服组件 ==================== */

/* 主按钮：不要圆底，只展示图标本身 */
.online-callback-btn {
  position: fixed;
  bottom: 80px;
  right: 40px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: callbackFloat 3s ease-in-out infinite;
}

@keyframes callbackFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.online-callback-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.online-callback-btn img {
  width: 44px;
  height: 44px;
  display: block;
  /* 没了圆底之后靠投影拉开与页面的层次 */
  filter: drop-shadow(0 4px 12px rgba(0, 192, 128, 0.45));
  transition: transform 0.3s ease;
}

.online-callback-btn.open img {
  transform: scale(0.92);
}

/* 小图标容器 */
.online-callback-popover {
  position: fixed;
  bottom: 160px;
  right: 40px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
  animation: callbackPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.online-callback-popover.open {
  display: flex;
}

@keyframes callbackPopIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 单个小图标卡片（可能是 a 也可能是 button，所以把字体颜色都显式继承） */
.online-callback-item {
  width: 80px;
  padding: 18px 12px;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  color: var(--text);
}

.online-callback-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.online-callback-item:hover::before {
  opacity: 1;
}

.online-callback-item:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.25), 0 8px 16px rgba(0, 0, 0, 0.4);
}

.online-callback-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.25);
  transition: all 0.25s ease;
}

.online-callback-item:hover .online-callback-item-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.12));
  border-color: rgba(34, 197, 94, 0.4);
  transform: scale(1.1);
}

.online-callback-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
  stroke-width: 2;
  fill: none;
}

.online-callback-item-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

/* 二维码预览框：贴在悬浮条左侧弹出，不做全屏遮罩 */
.online-callback-qrcode-modal {
  position: fixed;
  bottom: 160px;
  right: 132px;
  width: 200px;
  z-index: 1001;
  display: none;
}

.online-callback-qrcode-modal.open {
  display: block;
}

.online-callback-qrcode-content {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: callbackQrIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 指向悬浮条的小箭头 */
.online-callback-qrcode-content::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -5px;
  width: 9px;
  height: 9px;
  background: var(--bg-card-solid);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

@keyframes callbackQrIn {
  from { opacity: 0; transform: translateX(10px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.online-callback-qrcode-close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 14px;
  line-height: 1;
  z-index: 1;
}

.online-callback-qrcode-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(34, 197, 94, 0.3);
}

.online-callback-qrcode-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-right: 22px;
  text-align: center;
}

.online-callback-qrcode-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

.online-callback-qrcode-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  word-break: break-all;
}

.online-callback-qrcode-hint strong {
  color: var(--text);
  font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .online-callback-btn {
    bottom: 60px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .online-callback-btn img {
    width: 40px;
    height: 40px;
  }
  
  .online-callback-popover {
    bottom: 140px;
    right: 20px;
  }

  .online-callback-qrcode-modal {
    bottom: 140px;
    right: 108px;
    width: min(200px, calc(100vw - 128px));
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-text {
  color: var(--text);
  font-weight: 700;
}

.logo-accent {
  color: var(--green);
  font-weight: 700;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  position: relative;
  box-shadow: 0 0 24px var(--green-glow), 0 4px 12px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--bg);
  border-radius: 6px;
  transform: rotate(45deg);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: 
    0 0 36px var(--green-glow),
    0 0 60px rgba(34, 197, 94, 0.4),
    0 8px 24px rgba(34, 197, 94, 0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section with Tilted Dashboard */
.hero {
  position: relative;
  padding: calc(60vh - 150px) 0 calc(40vh - 80px);
  min-height: 100vh;
  max-height: 1200px;
  text-align: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Better spacing for hero content */
.hero-badge {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out forwards, pulseGlow 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Tilted Dashboard Background Image */
.hero-image-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.0);
  width: 85%;
  max-width: 1200px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}

.tilted-dashboard {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: transform 0.5s ease;
}

.hero-image-background:hover .tilted-dashboard {
  transform: rotate(-5deg) scale(1.02);
}

/* Overlay gradient for better readability - Darker gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Scroll Reveal Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientSweep {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-badge, .hero-subtitle, .hero-actions, .hero-stats {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 40px;
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

/* Scroll Reveal on Intersection */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card-large,
.feature-grid > div:not(.feature-card-large) {
  animation: revealUp 0.6s ease-out both;
}

.feature-card-large { animation-delay: 0.2s; }
.feature-grid > div:not(.feature-card-large):nth-child(1) { animation-delay: 0.3s; }
.feature-grid > div:not(.feature-card-large):nth-child(2) { animation-delay: 0.4s; }

/* Button Pulse Animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 4px 40px rgba(34, 197, 94, 0.5);
  }
}

.hero .btn-primary {
  animation: pulse-glow 2s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  /* 展开态的两条线靠绝对定位居中，需要定位基准 */
  position: relative;
  /* 44px 是移动端推荐的最小点击区域 */
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* 展开态：汉堡图标保持不动，不旋转成 ✕ */
.menu-toggle.active span {
  /* 不做任何变换，三条横线保持原样 */
}

.menu-toggle.active span:nth-child(2) {
  /* 中间线也不隐藏 */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.5),
    0 0 60px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-tertiary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-tertiary:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--green);
  color: var(--green);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 180px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--green);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: 
    linear-gradient(135deg, #ffffff 0%, #a7f3d0 30%, #86efac 60%, #a78bfa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 0.8s ease-out;
  text-shadow: 0 0 80px rgba(34, 197, 94, 0.1), 0 0 40px rgba(139, 92, 246, 0.08);
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 80px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.hero-preview {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(34, 197, 94, 0.12);
  transform: rotateX(6deg) rotateY(0deg);
  transition: var(--transition);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-preview:hover .hero-image {
  transform: rotateX(0deg) scale(1.015);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 100px rgba(34, 197, 94, 0.2);
}

@keyframes heroFloat {
  0%, 100% { transform: rotateX(6deg) translateY(0); }
  50% { transform: rotateX(6deg) translateY(-12px); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-elevated);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1300px;
}

.pricing-card {
  background: 
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.15), transparent 40%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(30, 30, 35, 0.9) 0%, rgba(20, 20, 25, 0.95) 50%, rgba(15, 15, 20, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  width: 280px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* 悬停时的特效 */
.pricing-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(34, 197, 94, 0.2),
    0 0 60px rgba(139, 92, 246, 0.15),
    0 0 0 1px rgba(34, 197, 94, 0.5) inset !important;
}

.feature-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.feature-tag.tag-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.25);
}

.feature-tag.tag-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.25);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  animation: fadeInUp 0.5s ease-out both;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  animation: scaleIn 0.3s ease-out both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.feature-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card-2x);
  transition: var(--transition);
}

.feature-card:hover .feature-media {
  transform: scale(1.02);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
  transform: scale(0.9);
}

.feature-card:hover .feature-media img {
  transform: scale(1.05);
}

.feature-media.compact {
  margin-top: 24px;
}

/* Highlight / poster section */
.section-highlight {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(34, 197, 94, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.08), transparent 50%),
    var(--bg);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.highlight-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.highlight-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.highlight-tags .tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.highlight-tags .tag:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
  transform: translateY(-2px);
}

.highlight-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 12px;
  font-size: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.highlight-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.highlight-media:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(34, 197, 94, 0.15);
}

.highlight-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 40%, transparent 60%, rgba(255,255,255,0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: var(--transition);
}

.platform-icon svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.platform-icon.windows {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.platform-icon.macos {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.platform-icon.linux {
  background: rgba(244, 244, 245, 0.1);
  color: #f4f4f5;
  box-shadow: 0 0 30px rgba(244, 244, 245, 0.1);
}

.platform-card:hover .platform-icon {
  transform: scale(1.12) rotate(-5deg);
}

.platform-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.platform-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* AI Model Grouped Layout */
#models {
  padding: 80px 0;
}

.grouped-model-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.model-group-card {
  position: relative;
  background: linear-gradient(135deg,
    rgba(18, 18, 23, 0.7) 0%,
    rgba(26, 26, 33, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  animation: groupSlideIn 0.6s ease-out both;
}

.model-group-card:nth-child(1) { animation-delay: 0.1s; }
.model-group-card:nth-child(2) { animation-delay: 0.15s; }
.model-group-card:nth-child(3) { animation-delay: 0.2s; }
.model-group-card:nth-child(4) { animation-delay: 0.25s; }
.model-group-card:nth-child(5) { 
  animation-delay: 0.3s;
  grid-column: 3;
}

@keyframes groupSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.model-group-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(34, 197, 94, 0.1);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.group-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.group-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.model-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(26, 26, 30, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.model-item:hover {
  background: rgba(34, 197, 94, 0.08);
  transform: translateX(6px);
  border-left: 3px solid var(--green);
}

.check-mark {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.3);
}

.model-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.group-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34, 197, 94, 0.3) 50%,
    transparent 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.model-group-card:hover .group-decoration {
  transform: scaleX(1);
}

.model-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  perspective: 1000px;
}

/* Orbit Cards */
.orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-origin: center center;
  pointer-events: none;
  z-index: 5;
}

.model-orbit-card {
  position: absolute;
  background: linear-gradient(135deg, 
    rgba(18, 18, 23, 0.95) 0%, 
    rgba(26, 26, 33, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 24px;
  min-width: 220px;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 1px rgba(34, 197, 94, 0.1);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  /* Center the card at the orbit point */
  margin-left: -110px;
  margin-top: -12px;
}

.model-orbit-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.model-orbit-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 
    0 12px 40px rgba(34, 197, 94, 0.15),
    0 0 80px rgba(34, 197, 94, 0.1);
  transform: scale(1.08) !important;
  z-index: 100;
}

.simple-model-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, 
    rgba(18, 18, 23, 0.9) 0%, 
    rgba(26, 26, 33, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cardStagger 0.6s ease-out both;
  cursor: pointer;
}

.simple-model-card:nth-child(1) { animation-delay: 0.1s; }
.simple-model-card:nth-child(2) { animation-delay: 0.15s; }
.simple-model-card:nth-child(3) { animation-delay: 0.2s; }
.simple-model-card:nth-child(4) { animation-delay: 0.25s; }
.simple-model-card:nth-child(5) { animation-delay: 0.3s; }
.simple-model-card:nth-child(6) { animation-delay: 0.35s; }
.simple-model-card:nth-child(7) { animation-delay: 0.4s; }
.simple-model-card:nth-child(8) { animation-delay: 0.45s; }
.simple-model-card:nth-child(9) { animation-delay: 0.5s; }
.simple-model-card:nth-child(10) { animation-delay: 0.55s; }
.simple-model-card:nth-child(11) { animation-delay: 0.6s; }

.simple-model-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(34, 197, 94, 0.3), 
    rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.simple-model-card:hover::before {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.check-mark {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
  animation: checkBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) both,
             breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.simple-model-card:nth-child(1) .check-mark { animation-delay: 0.1s; }
.simple-model-card:nth-child(2) .check-mark { animation-delay: 0.15s; }
.simple-model-card:nth-child(3) .check-mark { animation-delay: 0.2s; }
.simple-model-card:nth-child(4) .check-mark { animation-delay: 0.25s; }
.simple-model-card:nth-child(5) .check-mark { animation-delay: 0.3s; }
.simple-model-card:nth-child(6) .check-mark { animation-delay: 0.35s; }
.simple-model-card:nth-child(7) .check-mark { animation-delay: 0.4s; }
.simple-model-card:nth-child(8) .check-mark { animation-delay: 0.45s; }
.simple-model-card:nth-child(9) .check-mark { animation-delay: 0.5s; }
.simple-model-card:nth-child(10) .check-mark { animation-delay: 0.55s; }
.simple-model-card:nth-child(11) .check-mark { animation-delay: 0.6s; }

@keyframes checkBounce {
  from {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Model card entrance animation */
.model-orbit-card {
  animation: orbitEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  opacity: 0;
}

@keyframes orbitEntrance {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.5) !important;
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1) !important;
  }
}

.model-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 768px) {
  .grouped-model-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .model-group-card {
    padding: 24px 20px;
  }

  .group-icon {
    font-size: 1.5rem;
  }

  .group-title {
    font-size: 1rem;
  }

  .group-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .grouped-model-container {
    grid-template-columns: 1fr;
  }

  .model-group-card {
    padding: 20px 18px;
  }

  .group-header {
    margin-bottom: 16px;
  }

  .model-item {
    padding: 12px 16px;
  }

  .model-item span {
    font-size: 0.85rem;
  }
}

/* Download section */
.section-download {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.08), transparent 60%),
    var(--bg-elevated);
}

.download-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.download-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
  transform: translateX(6px);
}

.tab-btn.active {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--green);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.1);
}

.download-panels {
  position: relative;
  min-height: 320px;
}

.tab-panel {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.tab-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.tab-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.tab-panel p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.code-block {
  position: relative;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 56px 18px 20px;
  margin-bottom: 28px;
  overflow: hidden;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--purple));
}

.code-block code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9rem;
  color: #e4e4e7;
  word-break: break-all;
}

.copy-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
  transform: translateY(-50%) scale(1.1);
}

/* Download Section */
.faq-simple {
  max-width: 900px;
  margin: 0 auto;
}

.faq-simple .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 16px;
}

.faq-simple .faq-item:hover {
  border-color: var(--border-strong);
}

.faq-simple .faq-item-question {
  padding: 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-simple .faq-item-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  transition: var(--transition);
  font-weight: 300;
}

.faq-simple .faq-item-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  animation: fadeIn 0.3s ease-in-out;
}

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

/* Testimonials Marquee Section */
.section-testimonials {
  padding: 84px 0;
  background: linear-gradient(180deg, #050505 0%, #121217 60%, #0a0a0e 100%);
  overflow: hidden;
}

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

.testimonials-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.header-content {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
/* 副标题/描述文字，改成柔和白灰，降低亮度，不和主标题抢眼球 */
.testimonials-header .header-content .testimonials-subtitle {
  color: #a0a0a0;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.5;
}
.testimonials-header .header-content {
  display: block;
}

.testimonials-header .header-top-row {
  display: flex;
  align-items: center;
  gap: 10px;              /* 头像组 和 600万用户文字的距离，可调 */
  margin-bottom: 12px;    /* 这一行 和 下面标题的距离 */
}

.header-avatar-stack {
  display: flex;
  line-height: 0;
}

.header-avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: -18px;
  background: #e0e0e0;
  object-fit: cover;
  display: block;
}

.header-avatar-stack img:first-child {
  margin-left: 0;
}

.header-right-content {
  display: flex;
  flex-direction: column;
  gap: 2px; /* 减小 gap，让星星更靠近全局用户统计 */
  align-items: flex-start;
}

.star-rating-top {
  display: flex; /* flex 布局消除 inline-block 基线缝隙 */
  align-items: center;
  gap: 4px;
}

.global-users-stat {
  margin: 0;
}
.testimonials-header .header-content .global-users-stat {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ant-color-text-base);
  line-height: 1.4;
  color: #dad9d9;
  font-weight: 400;
  margin-top: 0;
}

.testimonials-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ant-color-text-base);
  margin: 0 0 12px 0;
  text-align: left;
}

.testimonials-marquee {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 24px;
  padding-left: 24px;
  will-change: transform; /* 优化性能 */
  backface-visibility: hidden; /* 进一步优化 transform 性能 */
}

.marquee-track.paused {
  /* hover 时暂停 */
}

.testimonial-card {
  flex: 0 0 auto;
  width: 400px;
  background: rgba(30, 30, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
  transform-origin: center;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 100%;
  }
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.14);
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e5e5;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-role {
  font-size: 0.85rem;
  color: #4a4a4a;
  white-space: nowrap;
}

/* Star Rating */
.star-rating {
  display: inline-flex;
  gap: 2px;
  margin-left: 12px;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: #4ade80;
}

/* Two-column FAQ Layout (参考图二) */
.faq-layout-grid {
  display: grid;
  grid-template-columns: 540px 1fr; /* 左栏宽度，按需微调 */
  gap: 48px; /* 左右两块之间的间距，可改 32px / 56px */
  align-items: start;
}

/* 左侧标题区域：向右挪，增加左边距 */
.faq-left-panel {
  padding-left: 0; /* 控制【常见问题】整体向右，数值越大越靠右 */
}

.faq-title {
  font-size: 2.5rem;
  color: #fff;
  margin:0 0 12px 0;
}
.faq-description {
  color:#aaa;
  margin:0;
}

/* 右侧FAQ面板：向左挪，减少左边距 */
.faq-right-panel {
  /* 去掉原来大的左边距，让FAQ卡片靠左 */
  padding-left: 0px;
  padding-right: 40px;
}

.faq-panel {
  border: 1px solid #333;
  border-radius: 12px;
  background: #111;
  margin-bottom:16px;
  padding: 18px 24px;
  cursor: pointer;
}
.faq-panel summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size:1.2rem;
  color:#fff;
  list-style: none;
}
.faq-panel summary::after {
  content: "+";
  color:#4ade80;
  font-size:22px;
}
.faq-panel[open] summary::after {
  content: "-";
}

.faq-content {
  margin-top:12px;
  color:#ccc;
  line-height:1.6;
}

/* Two-column FAQ Layout (参考图二) */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green);
}

/* Footer Logo */
.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  color: var(--green);
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Download Section */
.download-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
  margin-top: 20px;
  text-align: center;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #22c55e, #22c55e);
}

.download-btn:active {
  transform: translateY(0);
}

/* Tutorial CTA Section */
.section-tutorial-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.05) 50%, transparent 100%);
}

.tutorial-cta-card {
  max-width: 900px;
  margin: 0 auto;
}

.tutorial-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
  animation: cardFloat 4s ease-in-out infinite;
}

.tutorial-cta-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}

.tutorial-cta-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tutorial-cta-text h2 {
  font-size: 2rem;
  margin: 0;
  background: linear-gradient(135deg, #ffffff, #a3e635);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.tutorial-cta-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

.tutorial-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #ffffff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
  width: fit-content;
  margin-top: 8px;
}

.tutorial-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #22c55e, #22c55e);
}

.tutorial-btn svg {
  stroke: white;
  transition: transform var(--transition);
}

.tutorial-btn:hover svg {
  transform: translateX(4px);
}

.tutorial-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tutorial-cta-icon svg {
  width: 120px;
  height: 120px;
  stroke: var(--green);
  opacity: 0.9;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Download Card Layout */
.download-card {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  background: #0F0F12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  max-width: 100%;
  width: 100%;
  margin: 40px auto;
  position: relative;
  z-index: 1;
}

.download-card-left {
  min-width: 326px;
  display: flex;
  flex-direction: column;
}

.ide-screenshot {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px;
}

.download-card-right {
  flex: none;
  max-width: 380px;
  margin-left: auto;
}

.download-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.download-card-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.platform-item {
  width: 100%;
  position: relative;
}

.platform-dropdown {
  display: none;
  background: #161b22;
  border-radius: 6px;
  padding: 8px;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  z-index: 50;
  border: 1px solid rgba(240, 246, 252, 0.1);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.platform-item.active .platform-dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}

.download-option:hover {
  background: rgba(56, 139, 253, 0.4);
}

.download-option span {
  color: #FFFFFF;
}

.platform-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ant-color-fill-secondary);
  border: 1px solid var(--ant-color-border-tertiary);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  appearance: none;
  width: 100%;
  justify-content: space-between;
  font-size: 0.9rem;
  z-index: 40;
}

.platform-button.secondary {
  background: #0a0a0c;
}

/* Windows icon white background */
.platform-button.secondary .platform-title img[src="/icons/windows.svg"] {
  filter: brightness(0) invert(1);
}

.platform-button.primary {
  background: linear-gradient(135deg, #16A34A, #15803D);
  border-color: rgba(163, 230, 53, 0.3);
}

.platform-button:hover {
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.2);
}

.platform-button.active {
  background: linear-gradient(135deg, #16A34A, #15803D) !important;
  border-color: rgba(163, 230, 53, 0.5) !important;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.3);
}

.platform-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.95rem;
}

.platform-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.arrow-icon {
  font-size: 8px;
  font-weight: normal;
  opacity: 0.4;
  transition: all var(--transition);
}

.platform-item.active .arrow-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.platform-button svg {
  flex-shrink: 0;
}

/* Download Card - Right side */
.download-card-right {
  min-width: 326px;
}

/* Responsive */
@media (max-width: 1024px) {
  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab-btn {
    width: auto;
    flex: 1 1 calc(50% - 6px);
  }

  .download-preview {
    max-width: 600px;
    margin: 0 auto;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .navbar .btn-sm {
    display: none;
  }
    /* 下载卡片：手机端改为上下布局，按钮跑到下方 */
    .download-card {
      flex-direction: column !important;
      padding: 24px 20px !important;
    }
    .download-card-left {
      min-width: auto !important;
      width: 100% !important;
    }
    .ide-screenshot {
      max-width: 100% !important;
    }
    .download-card-right {
      max-width: 100% !important;
      min-width: auto !important;
      margin-left: 0 !important;
      margin-top: 28px !important;
      width: 100%;
    }
    .platform-list {
      max-width: 100% !important;
    }
  .menu-toggle {
    display: flex;
  }

  /* 汉堡菜单展开：覆盖上方的 display:none（.nav-links.active 权重更高）*/
  .nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 18, 22, .98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 12px 24px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  }

  .nav-links.active a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
  }

  /* 下拉菜单里不需要下划线动画 */
  .nav-links.active a::after {
    display: none;
  }

  .hero {
    padding: 140px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .highlight-benefits {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    flex: 1 1 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
