@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap);

/* 导入Inter字体 */
/* 导入JetBrains Mono等宽字体 */

/* 导入统一字体设计系统 */

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  /* 背景样式在 App.css 中定义 */
}

code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

/* 导入Google Fonts */

/* 导入统一字体设计系统 */

/* Reset and base styles - youmind.ai style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 字体设计系统 */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'JetBrains Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  
  /* 字体大小系统 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* 字体重量 */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
}

/* 强制第一个产品静态样式，覆盖所有可能的动效 */
.first-product-static {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
  margin-top: 50px !important;
  position: relative !important;
  z-index: 100 !important;
}

.first-product-static:hover {
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  font-size: 1rem;
  font-size: var(--text-base);
  font-weight: 400;
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* 字体工具类 */
.font-primary { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; font-family: var(--font-primary); }
.font-mono { font-family: 'JetBrains Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; font-family: var(--font-mono); }

.text-xs { font-size: 0.75rem; font-size: var(--text-xs); }
.text-sm { font-size: 0.875rem; font-size: var(--text-sm); }
.text-base { font-size: 1rem; font-size: var(--text-base); }
.text-lg { font-size: 1.125rem; font-size: var(--text-lg); }
.text-xl { font-size: 1.25rem; font-size: var(--text-xl); }
.text-2xl { font-size: 1.5rem; font-size: var(--text-2xl); }
.text-3xl { font-size: 1.875rem; font-size: var(--text-3xl); }
.text-4xl { font-size: 2.25rem; font-size: var(--text-4xl); }
.text-5xl { font-size: 3rem; font-size: var(--text-5xl); }
.text-6xl { font-size: 3.75rem; font-size: var(--text-6xl); }

.font-light { font-weight: 300; font-weight: var(--font-light); }
.font-normal { font-weight: 400; font-weight: var(--font-normal); }
.font-medium { font-weight: 500; font-weight: var(--font-medium); }
.font-semibold { font-weight: 600; font-weight: var(--font-semibold); }
.font-bold { font-weight: 700; font-weight: var(--font-bold); }
.font-extrabold { font-weight: 800; font-weight: var(--font-extrabold); }

.App {
  min-height: 100vh;
}

/* Navigation - youmind.ai exact style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: 72px;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: #1a1a1a;
}

.navbar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-menu-item {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
  letter-spacing: -0.005em;
}

.navbar-menu-item:hover {
  color: #1a1a1a;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.navbar-auth-link {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 12px;
}

.navbar-auth-link:hover {
  color: #1a1a1a;
}

.navbar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  letter-spacing: -0.005em;
}

.navbar-cta-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1a1a1a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 160px !important;
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 70px 0 0 !important;
    gap: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999 !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
    overflow: visible !important;
  }

  .navbar-menu.mobile-open {
    transform: translateX(0) !important;
  }
  
  /* 移动端菜单项样式优化 */
  .navbar-menu-item {
    font-size: 15px !important;
    padding: 16px 16px !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    display: block !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
  }
  
  .navbar-menu-item:hover {
    background: #f8f9fa !important;
    color: #1a1a1a !important;
  }

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

  .navbar-right {
    gap: 12px;
  }

  .navbar-auth-link {
    display: none;
  }
}

/* Hero Section - youmind.ai style */
.hero {
  padding: 100px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse 120% 100% at center top, #e3f2ff 0%, #f0f7ff 30%, #ffffff 70%) !important;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: clamp(48px, 10vw, 84px);
  font-weight: 800;
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.hero-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-size: var(--text-xl);
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
  font-weight: 400;
  font-weight: var(--font-normal);
  letter-spacing: -0.01em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  letter-spacing: -0.005em;
  min-width: 160px;
  border: none;
  outline: none;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
}

.hero-cta-glow {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, 0);
  width: 180px;
  height: 60px;
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
  background: radial-gradient(circle at 50% 30%, #ffe066 0%, #ff8a00 30%, #e52e71 60%, #43cea2 80%, #185a9d 100%, transparent 100%);
  opacity: 0.7;
  mix-blend-mode: screen;
  border-radius: 50%;
  overflow: visible;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  border-radius: 50px;
}

.hero-cta:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta svg {
  transition: transform 0.2s ease;
}

.hero-cta:hover svg {
  transform: translateX(2px);
}

/* Reviews Section - youmind.ai style */
.reviews {
  padding: 15px 0;
  background: #fafafa;
  overflow-x: visible;
}

.reviews-container {
  width: 100%;
  margin: 0 auto;
  overflow-x: visible;
}

.reviews-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: 1.875rem;
  font-size: var(--text-3xl);
  font-weight: 600;
  font-weight: var(--font-semibold);
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.reviews-row {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  mask: linear-gradient(to right, transparent, white 20px, white calc(100% - 20px), transparent);
  -webkit-mask: linear-gradient(to right, transparent, white 20px, white calc(100% - 20px), transparent);
}

.reviews-scroll {
  display: flex;
  gap: 24px;
  animation: scroll-reviews 60s linear infinite;
  width: -webkit-fit-content;
  width: fit-content;
}

@keyframes scroll-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-16.666%);
  }
}

/* Logo横向滚动动画 - 向左滚动 */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-scroll-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask: linear-gradient(to right, transparent, white 10px, white calc(100% - 10px), transparent);
  -webkit-mask: linear-gradient(to right, transparent, white 10px, white calc(100% - 10px), transparent);
}

.logo-scroll-track {
  display: flex;
  gap: 16px;
  animation: scroll-logos 20s linear infinite;
  width: -webkit-fit-content;
  width: fit-content;
}

/* 左侧容器的滚动轨道 - 计算精确延迟实现穿越效果
   Logo宽度45px + 间距16px = 61px每个
   假设5个Logo，总宽度 = 5 * 61 = 305px
   从右边容器左侧消失，到左边容器右侧出现，需要延迟的时间比例
   延迟 = (一个Logo周期的时间) = 20s / (5个Logo) = 4s
*/
.logo-scroll-track-left {
  display: flex;
  gap: 16px;
  animation: scroll-logos 20s linear infinite;
  animation-delay: -4s; /* 延迟一个Logo的时间，实现对齐穿越 */
  width: -webkit-fit-content;
  width: fit-content;
}

/* 移除hover暂停功能，保持两个容器同步滚动 */

/* Logo轮播渐入渐出动画 */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  15% {
    opacity: 1;
    transform: scale(1);
  }
  85% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

.reviews-scroll:hover {
  animation-play-state: paused;
}

.review-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  min-width: 280px;
  max-width: 280px;
  height: 200px; /* ✅ 固定卡片高度 */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ 内容和用户信息分别位于顶部和底部 */
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.review-quote {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-size: var(--text-base);
  line-height: 1.5;
  color: #1a1a1a;
  font-style: italic;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-weight: var(--font-normal);
  flex: 1 1; /* ✅ 占据剩余空间 */
  overflow-y: auto; /* ✅ 超出内容可滚动 */
  overflow-x: hidden;
  margin-bottom: 18px;
  padding-right: 8px; /* ✅ 给滚动条留空间 */
  /* ✅ 自定义滚动条样式 */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* ✅ Webkit浏览器滚动条样式 */
.review-quote::-webkit-scrollbar {
  width: 6px;
}

.review-quote::-webkit-scrollbar-track {
  background: transparent;
}

.review-quote::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.review-quote::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0; /* ✅ 防止用户信息区域被压缩 */
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  font-size: 18px;
  font-weight: 600;
  color: #666;
}

.review-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  font-weight: var(--font-semibold);
  color: #1a1a1a;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.review-role {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-size: var(--text-sm);
  font-weight: 400;
  font-weight: var(--font-normal);
  color: #666;
  letter-spacing: -0.005em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 80px;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: 15px;
  }

  .reviews {
    padding: 80px 0;
  }

  .reviews-title {
    font-size: 28px;
    margin-bottom: 60px;
  }

  .reviews-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-card {
    padding: 24px;
  }

  .review-quote {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .reviews {
    padding: 60px 0;
  }

  .review-card {
    padding: 20px;
  }
}

/* 加载动画 */
@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}

/* ========================================
   动态背景装饰元素
   ======================================== */

/* 浮动圆形装饰 */


/* ========================================
   AI产品页面移动端适配
   ======================================== */
@media (max-width: 768px) {
  /* 主容器改为垂直布局 */
  .ai-product-main-container {
    flex-direction: column !important;
    height: auto !important;
  }

  /* 左侧产品选择区域 - 移动端全宽显示 */
  .ai-product-left-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    max-height: none !important;
    position: relative !important;
  }

  /* 右侧内容区域 - 移动端全宽显示 */
  .ai-product-right-content {
    width: 100% !important;
    padding: 12px !important;
  }

  /* 产品列表容器 - 最多显示2个产品 */
  .product-list-container {
    max-height: 200px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 步骤导航 - 移动端紧凑布局 */
  .ai-product-steps-nav {
    padding: 8px 6px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 步骤导航内部容器 - 不换行，横向滚动 */
  .ai-product-steps-nav > div {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
  }

  /* 步骤项 - 移动端垂直布局，√在上方 */
  .ai-product-step-item {
    font-size: 12px !important;
    white-space: normal !important;
    gap: 6px !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 52px !important;
    padding: 6px 8px !important;
  }

  /* 步骤数字圆圈 - 增大以便更清晰 */
  .ai-product-step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
  }

  /* 步骤文字 - 两字换行显示（如：产品|信息） */
  .ai-product-step-item > span {
    font-size: 13px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    max-width: 36px !important;
    word-break: keep-all !important;
    white-space: normal !important;
    display: block !important;
    overflow-wrap: break-word !important;
    font-weight: 500 !important;
  }

  /* 步骤连接线 - 与圆圈中心对齐 */
  .ai-product-step-line {
    width: 12px !important;
    min-width: 12px !important;
    height: 1px !important;
    align-self: flex-start !important;
    margin-top: 13px !important;
  }

  /* 步骤内容区域 - 所有Grid布局单列显示 */
  .ai-product-right-content div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* 强制Flex容器内的label和input垂直排列 */
  .ai-product-right-content div[style*="display: grid"] > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  /* 清除label的最小宽度限制 */
  .ai-product-right-content div[style*="display: grid"] > div[style*="display: flex"] > label {
    min-width: auto !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  /* 输入框全宽 */
  .ai-product-right-content div[style*="display: grid"] > div[style*="display: flex"] > input {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 !important;
  }

  /* 列表容器 - 单列显示，最多3条 */
  .feature-scroll-container,
  .selling-point-scroll-container {
    max-height: 300px !important;
  }

  /* 列表容器内的Grid改为单列 */
  .feature-scroll-container > div,
  .selling-point-scroll-container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    grid-template-columns: initial !important;
  }

  /* 列表项保持横向：输入框和删除按钮同行 */
  .feature-scroll-container > div > div,
  .selling-point-scroll-container > div > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 列表项的输入框 - 适配容器宽度 */
  .feature-scroll-container > div > div > input,
  .feature-scroll-container > div > div > textarea,
  .selling-point-scroll-container > div > div > input,
  .selling-point-scroll-container > div > div > textarea {
    flex: 1 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* 删除按钮保持在右侧 */
  .feature-scroll-container > div > div > button,
  .selling-point-scroll-container > div > div > button {
    flex-shrink: 0 !important;
    width: auto !important;
  }

  /* AI按钮容器 - 移动端改为垂直布局 */
  .ai-button-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: static !important;
  }

  /* AI按钮说明文字 - 移动端显示在按钮下方 */
  .ai-button-description {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    margin-top: 8px !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 11px !important;
  }

  /* ========================================
     需求管理页面移动端适配（参考AI产品页面）
     ======================================== */
  
  /* 主容器改为垂直布局 */
  .demand-ai-main-container {
    flex-direction: column !important;
    height: auto !important;
  }

  /* 左侧需求选择区域 - 移动端全宽显示 */
  .demand-ai-left-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    max-height: none !important;
    position: relative !important;
  }

  /* 右侧内容区域 - 移动端全宽显示 */
  .demand-ai-right-content {
    width: 100% !important;
    padding: 12px !important;
  }

  /* 需求列表容器 - 最多显示2个需求 */
  .demand-list-container {
    max-height: 200px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 步骤导航 - 移动端紧凑布局 */
  .demand-ai-steps-nav {
    padding: 8px 6px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 步骤导航内部容器 - 不换行，横向滚动 */
  .demand-ai-steps-nav > div {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
  }

  /* 步骤项 - 移动端垂直布局，√在上方 */
  .demand-ai-step-item {
    font-size: 12px !important;
    white-space: normal !important;
    gap: 6px !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 52px !important;
    padding: 6px 8px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    word-break: keep-all !important;
  }

  /* 步骤数字圆圈 - 增大以便更清晰 */
  .demand-ai-step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 步骤文字样式 */
  .demand-ai-step-item > span {
    font-size: 13px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    max-width: 36px !important;
    word-break: keep-all !important;
    white-space: normal !important;
    display: block !important;
    overflow-wrap: break-word !important;
    font-weight: 500 !important;
  }

  /* 步骤连接线 - 与圆圈中心对齐 */
  .demand-ai-step-line {
    width: 12px !important;
    min-width: 12px !important;
    height: 1px !important;
    align-self: flex-start !important;
    margin-top: 13px !important;
  }

  /* 内容区域 - 单列显示 */
  .demand-ai-right-content .content-area {
    padding: 0 8px !important;
  }

  /* Grid布局单列显示 */
  .demand-ai-right-content div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 按钮全宽显示 */
  .demand-ai-right-content button {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ========================================
     脚本表格移动端样式优化
     ======================================== */
  
  /* 表格容器 */
  table {
    font-size: 14px !important;
  }

  /* 表头单元格 */
  table thead th {
    padding: 12px 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  /* 表格单元格 */
  table tbody td {
    padding: 12px 10px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    vertical-align: top !important;
  }

  /* 镜号列（第一列）- 较窄 */
  table thead th:first-child,
  table tbody td:first-child {
    min-width: 45px !important;
    text-align: center !important;
  }

  /* 文案列 - 较宽 */
  table thead th:nth-child(2),
  table tbody td:nth-child(2) {
    min-width: 150px !important;
  }

  /* 画面列 - 较宽 */
  table thead th:nth-child(3),
  table tbody td:nth-child(3) {
    min-width: 130px !important;
  }

  /* 景别列 - 较窄 */
  table thead th:nth-child(4),
  table tbody td:nth-child(4) {
    min-width: 60px !important;
  }

  /* 音乐推荐列 - 中等 */
  table thead th:nth-child(5),
  table tbody td:nth-child(5) {
    min-width: 100px !important;
  }

  /* ========================================
     脚本详情弹窗移动端优化
     ======================================== */
  
  /* 脚本详情标题区域 */
  .script-detail-header {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .script-detail-title-section {
    width: 100% !important;
    min-width: auto !important;
  }

  .script-detail-title-section h2 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  .script-detail-title-section > div {
    font-size: 13px !important;
  }

  /* 操作按钮区域 */
  .script-detail-actions {
    justify-content: stretch !important;
  }

  .script-detail-actions button {
    flex: 1 1 !important;
    min-width: auto !important;
    max-width: 48% !important;
  }
}

