
/* ============================================
   首页专属动画
   ============================================ */

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

@keyframes eggRotation {
  from { transform: translate(-50%, -50%) rotateY(0deg); }
  to { transform: translate(-50%, -50%) rotateY(360deg); }
}

@keyframes eggBreath {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes eggGlow {
  0%, 100% { 
    box-shadow: 
      inset -10px -10px 20px rgba(0,0,0,0.1),
      inset 5px 5px 15px rgba(255,255,255,0.4),
      0 0 40px rgba(255, 140, 66, 0.4),
      0 0 80px rgba(255, 140, 66, 0.2);
  }
  50% { 
    box-shadow: 
      inset -10px -10px 20px rgba(0,0,0,0.1),
      inset 5px 5px 15px rgba(255,255,255,0.4),
      0 0 60px rgba(255, 140, 66, 0.6),
      0 0 120px rgba(255, 140, 66, 0.3);
  }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(255, 140, 66, 0); }
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

@keyframes eggBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(255, 140, 66, 0.15); }
}

@keyframes avatarBounce {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.15); }
}

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

@keyframes globeIdle {
  from { background-position: 0 0; }
  to { background-position: 360px 0; }
}

@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes walk {
  0% { top: 50%; left: 30%; }
  25% { top: 30%; left: 50%; }
  50% { top: 40%; left: 70%; }
  75% { top: 60%; left: 55%; }
  100% { top: 50%; left: 30%; }
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

@keyframes progressGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes globeShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

@keyframes eggBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(calc(var(--modal-scale, 1) * 0.9)); }
  to { opacity: 1; transform: scale(var(--modal-scale, 1)); }
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/**
 * ============================================
 * 蛋黄 AI 社交平台 - 前端样式表(CSS Stylesheet)
 * ============================================
 * 【文件说明】 本文件为 idex.html 的嵌入式样式表
 * 【样式架构】 
 *   1. CSS 变量定义 (CSS Variables)
 *   2. 基础重置样式 (Reset & Base)
 *   3. 导航栏样式(Navigation)
 *   4. 按钮组件样式 (Buttons)
 *   5. 通用区块样式 (Section Common)
 *   6. 动画效果样式 (Animations)
 *   7. 页面各区块样式(Page Sections)
 *      - Hero 首屏区块
 *      - What is 蛋黄 区块
 *      - Create AI 创建AI区块
 *      - Explore Self 探索自己区块
 *      - Explore World 探索世界区块
 *      - Philosophy 理念区块
 *      - CTA 行动召唤区块
 *      - Footer 页脚
 *   8. 模态框样式 (Modals)
 *   9. 响应式适配 (Responsive)
 * 【设计规范】
 *   - 主色调 #FF8A3A (暖橙色
 *   - 辅助色 #FFD166 (暖黄色
 *   - 背景色 #FFF8F0 (奶油色
 *   - 文字色 #2D2A26 (深色)
 * ============================================
 */
/* ============================================
   5. SECTION COMMON (通用区块样式)
   ============================================
   【组件说明】 页面各区块的通用样式
   【包含元素】
     - 区块容器 (.section-container)
     - 标签 (.section-label)
     - 标题 (.section-title)
     - 副标题(.section-subtitle)
   ============================================ */
section {
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 calc(48px * var(--spacing-scale));
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: calc(8px * var(--content-scale)) calc(20px * var(--content-scale));
  background: rgba(255, 140, 66, 0.08);
  border: 1px solid rgba(255, 140, 66, 0.15);
  border-radius: var(--radius-full);
  font-size: calc(14px * var(--font-scale));
  font-weight: 600;
  color: var(--warm-orange);
  margin-bottom: calc(24px * var(--spacing-scale));
}

.section-title {
  font-size: clamp(calc(36px * var(--font-scale)), 5vw, calc(56px * var(--font-scale)));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: calc(20px * var(--spacing-scale));
  color: var(--dark);
}

.section-subtitle {
  font-size: calc(18px * var(--font-scale));
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: calc(560px * var(--content-scale));
}

/* ============================================
   6. REVEAL ANIMATIONS (滚动显示动画)
   ============================================
   【动画说明】 元素进入视口时的显示动画
   【使用方式】 添加 .reveal 类，进入视口自动添加 .visible
   【延迟类】 .reveal-delay-1 ~ .reveal-delay-4
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   7. HERO SECTION (首屏区块)
   ============================================
   【区块说明】 网站首屏展示区
   【视觉效果】 
     - 3D 蛋黄图标（旋转、呼吸动画）
     - 浮动光晕背景
     - 粒子画布效果
   【核心内容】 品牌标语、CTA按钮、向下滚动提示
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(120px * var(--spacing-scale)) calc(48px * var(--spacing-scale)) calc(80px * var(--spacing-scale));
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--warm-orange-light), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--warm-yellow-light), transparent 70%);
  bottom: -5%;
  left: -5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 179, 128, 0.4), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

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

/* 3D Egg Yolk Effect */
.hero-3d-egg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  z-index: 10;
  transform-style: preserve-3d;
  animation: eggRotation 15s linear infinite, eggBreath 3s ease-in-out infinite;
}

.hero-3d-egg-inner {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #FFD166, #FF8A3A);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 
    inset -10px -10px 20px rgba(0,0,0,0.1),
    inset 5px 5px 15px rgba(255,255,255,0.4),
    0 0 40px rgba(255, 140, 66, 0.4),
    0 0 80px rgba(255, 140, 66, 0.2);
  animation: eggGlow 2s ease-in-out infinite;
}

@keyframes eggRotation {
  from { transform: translate(-50%, -50%) rotateY(0deg); }
  to { transform: translate(-50%, -50%) rotateY(360deg); }
}

@keyframes eggBreath {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes eggGlow {
  0%, 100% { 
    box-shadow: 
      inset -10px -10px 20px rgba(0,0,0,0.1),
      inset 5px 5px 15px rgba(255,255,255,0.4),
      0 0 40px rgba(255, 140, 66, 0.4),
      0 0 80px rgba(255, 140, 66, 0.2);
  }
  50% { 
    box-shadow: 
      inset -10px -10px 20px rgba(0,0,0,0.1),
      inset 5px 5px 15px rgba(255,255,255,0.4),
      0 0 60px rgba(255, 140, 66, 0.6),
      0 0 120px rgba(255, 140, 66, 0.3);
  }
}

.hero-egg-shine {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 30%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.8), transparent 70%);
  border-radius: 50%;
  transform: rotate(-30deg);
}

/* Particle Canvas */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: calc(860px * var(--content-scale));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: calc(8px * var(--content-scale)) calc(20px * var(--content-scale)) calc(8px * var(--content-scale)) calc(10px * var(--content-scale));
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 66, 0.15);
  border-radius: var(--radius-full);
  font-size: calc(14px * var(--font-scale));
  font-weight: 500;
  color: var(--dark-light);
  margin-bottom: calc(32px * var(--spacing-scale));
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--warm-orange);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(255, 140, 66, 0); }
}

.hero-title {
  font-size: clamp(calc(42px * var(--font-scale)), 6.5vw, calc(80px * var(--font-scale)));
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: calc(12px * var(--spacing-scale));
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, var(--warm-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(calc(20px * var(--font-scale)), 3vw, calc(30px * var(--font-scale)));
  font-weight: 600;
  color: var(--warm-orange);
  margin-bottom: calc(24px * var(--spacing-scale));
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: calc(18px * var(--font-scale));
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: calc(600px * var(--content-scale));
  margin: 0 auto calc(48px * var(--spacing-scale));
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: calc(16px * var(--spacing-scale));
  justify-content: center;
}

.hero-visual-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  animation: scrollHint 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--warm-orange), transparent);
}

@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* Floating doodle characters around hero */
.hero-doodle {
  position: absolute;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.hero-doodle svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   8. WHAT IS 蛋黄 SECTION (产品介绍区块)
   ============================================
   【区块说明】 产品核心价值介绍
   【布局结构】 左右两栏（文字说明 + 视觉插图）
   【特色功能】 
     - 人格建模
     - 时间切片对话
     - AI代理社交
   ============================================ */
.what-section {
  padding: calc(140px * var(--spacing-scale)) 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF5EB 100%);
}

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

.what-left .section-title span {
  color: var(--warm-orange);
}

.what-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.what-feature-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 140, 66, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.what-feature-item:hover {
  transform: translateX(8px);
  border-color: rgba(255, 140, 66, 0.2);
  box-shadow: var(--shadow-soft);
}

.what-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(255, 209, 102, 0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.what-feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* Right side illustration card */
.what-right {
  position: relative;
}

.what-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,248,240,0.6));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 140, 66, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.what-illustration-inner {
  text-align: center;
  padding: 40px;
}

.what-egg-visual {
  width: 120px;
  height: 150px;
  margin: 0 auto 24px;
  position: relative;
}

.egg-shape {
  width: 120px;
  height: 150px;
  background: linear-gradient(180deg, #FFF8F0 0%, var(--warm-yellow) 60%, var(--warm-orange) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  box-shadow: 0 12px 40px rgba(255, 140, 66, 0.25);
  animation: eggBreathe 4s ease-in-out infinite;
}

.egg-yolk {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 40% 40%, var(--warm-yellow), var(--warm-orange));
  border-radius: 50%;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.1), 0 4px 12px rgba(255, 140, 66, 0.3);
}

.egg-highlight {
  position: absolute;
  width: 20px;
  height: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  top: 25px;
  left: 30px;
  transform: rotate(-20deg);
}

@keyframes eggBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.what-illustration-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.what-illustration-text strong {
  color: var(--dark);
}

/* Floating decorative elements */
.float-element {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.float-1 {
  width: 60px;
  height: 60px;
  background: rgba(255, 209, 102, 0.2);
  top: -20px;
  right: -20px;
  animation: floatSlow 6s ease-in-out infinite;
}

.float-2 {
  width: 40px;
  height: 40px;
  background: rgba(255, 140, 66, 0.15);
  bottom: 30px;
  left: -15px;
  animation: floatSlow 5s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ============================================
   9. CREATE AI SECTION (创建AI区块)
   ============================================
   【区块说明】 AI创建流程展示
   【视觉效果】
     - 人形轮廓进度指示器
     - 轨道环绕动画（社交平台图标）
   【数据来源】 微信、QQ、微博等社交平台
   ============================================ */
.create-section {
  padding: calc(140px * var(--spacing-scale)) 0;
  background: var(--cream);
  position: relative;
}

.create-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.2), transparent);
}

.create-header {
  text-align: center;
  margin-bottom: 80px;
}

.create-header .section-subtitle {
  margin: 0 auto;
}

.create-body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 500px;
}

/* Human figure progress */
.human-progress-container {
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.human-figure {
  position: relative;
  width: 180px;
  height: 320px;
  margin-bottom: 32px;
}

.human-figure-svg {
  width: 100%;
  height: 100%;
}

.human-outline {
  fill: none;
  stroke: rgba(255, 140, 66, 0.2);
  stroke-width: 2;
}

.human-fill {
  transition: clip-path 1s ease-in-out;
}

/* Egg hatching animation styles */
.egg-hatching-figure {
  width: 200px;
  height: 220px;
  filter: drop-shadow(0 8px 24px rgba(255, 138, 58, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.egg-hatching-figure svg {
  overflow: visible;
  width: 100%;
  height: 100%;
}

.progress-label {
  font-size: 48px;
  font-weight: 900;
  color: var(--warm-orange);
  letter-spacing: -2px;
}

.progress-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Social media orbiting icons */
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 140, 66, 0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-1 {
  width: 380px;
  height: 380px;
  animation: orbitSpin 30s linear infinite;
}

.orbit-ring-2 {
  width: 500px;
  height: 500px;
  animation: orbitSpin 45s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 140, 66, 0.08);
  transition: all 0.3s;
  cursor: pointer;
}

.orbit-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.2);
  border-color: var(--warm-orange);
}

/* Position icons on orbit */
.orbit-ring-1 .orbit-icon:nth-child(1) { top: -26px; left: 50%; transform: translateX(-50%); }
.orbit-ring-1 .orbit-icon:nth-child(2) { top: 50%; right: -26px; transform: translateY(-50%); }
.orbit-ring-1 .orbit-icon:nth-child(3) { bottom: -26px; left: 50%; transform: translateX(-50%); }
.orbit-ring-1 .orbit-icon:nth-child(4) { top: 50%; left: -26px; transform: translateY(-50%); }

.orbit-ring-2 .orbit-icon:nth-child(1) { top: 10%; right: 5%; }
.orbit-ring-2 .orbit-icon:nth-child(2) { bottom: 10%; right: 5%; }
.orbit-ring-2 .orbit-icon:nth-child(3) { bottom: 10%; left: 5%; }
.orbit-ring-2 .orbit-icon:nth-child(4) { top: 10%; left: 5%; }

.create-cta {
  text-align: center;
  margin-top: 60px;
}

/* ============================================
   10. EXPLORE SELF SECTION (探索自己区块)
   ============================================
   【区块说明】 时间回溯聊天功能展示
   【核心组件】
     - 时间轴选择器（Timeline）
     - 聊天预览窗口
   【时间节点（ 未来的我、10年前、5年前、1年前、现在的我
   ============================================ */
.explore-self-section {
  padding: 140px 0;
  background: linear-gradient(180deg, #FFF5EB 0%, var(--cream) 100%);
  position: relative;
}

.explore-self-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.2), transparent);
}

.explore-self-header {
  text-align: center;
  margin-bottom: 80px;
}

.explore-self-header .section-subtitle {
  margin: 0 auto;
}

/* Timeline */
.timeline-container {
  position: relative;
  margin-bottom: 60px;
  overflow: hidden;
  padding: 40px 0;
}

.timeline-track {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  bottom: 72px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.3), rgba(255, 140, 66, 0.3), transparent);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  position: relative;
}

.timeline-avatar {
  width: 80px;
  height: 100px;
  border-radius: 40px 40px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.timeline-avatar-body {
  font-size: 48px;
  transition: all 0.5s;
}

.timeline-item.far .timeline-avatar {
  transform: scale(0.65);
  filter: blur(2px);
  opacity: 0.4;
}

.timeline-item.mid .timeline-avatar {
  transform: scale(0.8);
  filter: blur(1px);
  opacity: 0.6;
}

.timeline-item.near .timeline-avatar {
  transform: scale(0.9);
  opacity: 0.8;
}

.timeline-item.active .timeline-avatar {
  transform: scale(1.1);
  filter: blur(0);
  opacity: 1;
}

.timeline-item.active .timeline-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2.5px solid var(--warm-orange);
  animation: avatarGlow 2s ease-in-out infinite;
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(255, 140, 66, 0.15); }
}

@keyframes avatarBounce {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.15); }
}

.timeline-item.active .timeline-avatar {
  transform: scale(1.1);
  filter: blur(0);
  opacity: 1;
  animation: avatarBounce 0.6s ease-out;
}

.timeline-item.active .timeline-avatar-body {
  transform: scale(1.2);
}

.timeline-item.active .timeline-label {
  color: var(--warm-orange);
  font-size: 15px;
  font-weight: 700;
}

/* Chat message menu */
.chat-msg-menu {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 100;
  min-width: 120px;
}

.chat-msg-menu button {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-msg-menu button:hover {
  background: rgba(255, 140, 66, 0.1);
}

/* Globe shake animation */
@keyframes globeShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.globe-shaking {
  animation: globeShake 0.5s ease-in-out 3;
}

/* Envelope badge pulse */
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.envelope-badge.pulse {
  animation: badgePulse 1s ease-in-out infinite;
}

/* Chat typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(255, 140, 66, 0.08);
  border-bottom-left-radius: 4px;
  border-radius: 18px;
  align-self: flex-start;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--warm-orange);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

/* Progress bar gradient animation */
.progress-bar {
  background: linear-gradient(90deg, var(--warm-orange), var(--warm-yellow), var(--warm-orange));
  background-size: 200% 100%;
  animation: progressGradient 2s linear infinite;
}

@keyframes progressGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 140, 66, 0.3);
  margin-bottom: 12px;
  transition: all 0.4s;
  position: relative;
  z-index: 2;
}

.timeline-item.active .timeline-dot {
  background: var(--warm-orange);
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.2);
}

.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.4s;
}

.timeline-item.active .timeline-label {
  color: var(--warm-orange);
  font-size: 15px;
}

/* Chat preview */
.chat-preview {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 140, 66, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 140, 66, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--warm-orange), var(--warm-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-header-info h5 {
  font-size: 14px;
  font-weight: 700;
}

.chat-header-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.chat-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
}

.chat-msg {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  animation: msgFadeIn 0.5s ease-out;
}

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

.chat-msg.ai {
  background: rgba(255, 140, 66, 0.08);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--dark);
}

.chat-msg.user {
  background: var(--dark);
  color: var(--cream);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-start-btn {
  display: flex;
  justify-content: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 140, 66, 0.08);
}

.chat-input-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.chat-input input::placeholder {
  color: rgba(0, 0, 0, 0.3);
  transition: color 0.3s;
}

.chat-input input:focus {
  border-color: rgba(255, 140, 66, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.08);
}

/* ============================================
   11. EXPLORE WORLD SECTION (探索世界区块)
   ============================================
   【区块说明】 AI代理社交功能展示
   【核心组件】
     - 地球仪视觉效果
     - 地标图标（东京塔、自由女神等（
     - 信封通知图标
   【功能说明（ AI代表用户与其他AI相遇交流
   ============================================ */
.explore-world-section {
  padding: 140px 0;
  background: var(--cream);
  position: relative;
}

.explore-world-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.2), transparent);
}

.explore-world-header {
  text-align: center;
  margin-bottom: 80px;
}

.explore-world-header .section-subtitle {
  margin: 0 auto;
}

.world-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}

.globe-container {
  position: relative;
  width: 360px;
  height: 360px;
}

.globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #A8E6CF 0%, #88D8B0 20%, #7EC8E3 40%, #FFD166 60%, var(--warm-orange-light) 80%, #FFDAB9 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(255, 140, 66, 0.15),
    inset 0 -20px 40px rgba(0,0,0,0.05),
    inset 0 20px 40px rgba(255,255,255,0.3);
  animation: globeIdle 20s linear infinite;
  cursor: pointer;
}

@keyframes globeIdle {
  from { background-position: 0 0; }
  to { background-position: 360px 0; }
}

.globe-spinning {
  animation: globeSpin 3s linear infinite !important;
}

@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Landmarks on globe */
.landmark {
  position: absolute;
  font-size: 28px;
  transition: all 0.3s;
  cursor: default;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.landmark:hover {
  transform: scale(1.3);
}

.landmark-1 { top: 20%; left: 25%; }
.landmark-2 { top: 35%; right: 20%; }
.landmark-3 { bottom: 30%; left: 15%; }
.landmark-4 { bottom: 20%; right: 25%; }
.landmark-5 { top: 15%; left: 55%; }
.landmark-6 { bottom: 40%; left: 50%; }

/* Walking character */
.walker {
  position: absolute;
  font-size: 32px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.walker.visible {
  opacity: 1;
  animation: walk 4s ease-in-out infinite;
}

@keyframes walk {
  0% { top: 50%; left: 30%; }
  25% { top: 30%; left: 50%; }
  50% { top: 40%; left: 70%; }
  75% { top: 60%; left: 55%; }
  100% { top: 50%; left: 30%; }
}

/* Globe atmosphere */
.globe::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 140, 66, 0.1);
  z-index: 3;
}

.globe::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 15%;
  width: 30%;
  height: 20%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  filter: blur(8px);
}

/* Envelope icon */
.envelope-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255, 140, 66, 0.1);
  z-index: 10;
}

.envelope-icon:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.2);
}

.envelope-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--warm-orange);
  border-radius: 50%;
  font-size: 11px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.world-cta {
  text-align: center;
  margin-top: 60px;
}

/* ============================================
   12. LOGIN MODAL (登录注册模态框)
   ============================================
   【组件说明】 用户登录/注册弹窗
   【功能模块（ 登录表单、注册表单、表单验（
   ============================================ */
.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(45, 42, 38, 0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.login-modal.open {
  display: flex;
}

.login-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vh, 48px);
  max-width: 460px;
  width: 100%;
  max-height: min(560px, 85svh);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(255, 138, 58, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--warm-orange-light) transparent;
  transform-origin: center center;
}

.login-content::-webkit-scrollbar {
  width: 6px;
}

.login-content::-webkit-scrollbar-track {
  background: transparent;
}

.login-content::-webkit-scrollbar-thumb {
  background: var(--warm-orange-light);
  border-radius: 3px;
}

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

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 138, 58, 0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.login-close:hover {
  background: rgba(255, 138, 58, 0.15);
}

.login-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.login-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(255, 138, 58, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: var(--warm-orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 58, 0.1);
}

.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-input.success {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.form-remember {
  margin-bottom: 16px;
}

.form-remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark-light);
}

.form-remember-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--warm-orange);
}

.form-error.show {
  display: block;
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--warm-orange), #FF6B2C);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 58, 0.4);
}

.login-btn:active:not(:disabled) {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-loader {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.login-switch a {
  color: var(--warm-orange);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.login-switch a:hover {
  text-decoration: underline;
}

/* ============================================
   登录界面蛋形头像样式
   ============================================ */
.login-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  animation: eggBounce 2s ease-in-out infinite;
}

.login-egg-svg {
  width: 100%;
  height: 100%;
}

@keyframes eggBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

/* ============================================
   AI INIT MODAL (蛋黄初始化模态框)
   ============================================ */
.ai-init-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2001;
  background: rgba(45, 42, 38, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.ai-init-modal.open {
  display: flex;
}

.ai-init-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vh, 36px) clamp(24px, 4vw, 40px);
  max-width: 520px;
  width: 100%;
  max-height: min(560px, 85svh);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(255, 138, 58, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--warm-orange-light) transparent;
  transform-origin: center center;
}

.ai-init-content::-webkit-scrollbar {
  width: 6px;
}

.ai-init-content::-webkit-scrollbar-track {
  background: transparent;
}

.ai-init-content::-webkit-scrollbar-thumb {
  background: var(--warm-orange-light);
  border-radius: 3px;
}

.ai-init-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 138, 58, 0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--dark);
}

.ai-init-close:hover {
  background: rgba(255, 138, 58, 0.15);
}

.ai-init-avatar-preview {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 138, 58, 0.1), rgba(255, 209, 102, 0.1));
  border: 3px solid var(--warm-orange);
  box-shadow: 0 8px 32px rgba(255, 138, 58, 0.2);
  animation: avatarGlow 2s ease-in-out infinite;
}

.ai-init-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(255, 138, 58, 0.2); }
  50% { box-shadow: 0 8px 32px rgba(255, 138, 58, 0.4); }
}

.ai-init-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
  color: var(--dark);
}

.ai-init-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

/* 头像选择区域 */
.avatar-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.avatar-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-option:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.avatar-option.selected {
  border-color: var(--warm-orange);
  background: linear-gradient(135deg, rgba(255, 138, 58, 0.08), rgba(255, 209, 102, 0.08));
}

.avatar-option.selected::after {
  content: '（;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: var(--warm-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.avatar-option {
  position: relative;
}

.avatar-option img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.avatar-option:hover img {
  transform: scale(1.1);
}

.avatar-name {
  font-size: 12px;
  color: var(--dark-light);
  font-weight: 500;
}

.avatar-option.selected .avatar-name {
  color: var(--warm-orange);
  font-weight: 600;
}

/* 性别选择 */
.gender-selection {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.gender-option {
  flex: 1;
  cursor: pointer;
}

.gender-option input {
  display: none;
}

.gender-label {
  display: block;
  padding: 12px 16px;
  text-align: center;
  background: white;
  border: 2px solid rgba(255, 138, 58, 0.15);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-light);
  transition: all 0.3s;
}

.gender-option:hover .gender-label {
  border-color: var(--warm-orange-light);
}

.gender-option input:checked + .gender-label {
  background: linear-gradient(135deg, var(--warm-orange), #FF6B2C);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 138, 58, 0.3);
}

/* 地区选择 */
.location-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.select-wrapper {
  position: relative;
  min-width: 0;
}

.form-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid rgba(255, 138, 58, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: all 0.3s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--warm-orange);
  pointer-events: none;
}

.form-select:focus {
  border-color: var(--warm-orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 58, 0.1);
  background: white;
}

.form-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.4);
}

.location-private {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.location-private input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--warm-orange);
  cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 560px) {
  .ai-init-modal {
    padding: 0;
    align-items: flex-end;
  }
  
  .ai-init-content {
    padding: 28px 24px;
    margin: 0;
    max-height: 85vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  @keyframes modalSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .avatar-selection {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .avatar-option {
    padding: 10px 6px;
  }
  
  .avatar-option img {
    width: 40px;
    height: 40px;
  }
  
  .gender-selection {
    flex-direction: row;
  }
  
  .gender-label {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .location-selection {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .form-select {
    padding: 10px 32px 10px 12px;
    font-size: 14px;
  }
  
  .ai-init-title {
    font-size: 22px;
  }
  
  .ai-init-avatar-preview {
    width: 80px;
    height: 80px;
  }
  
  .import-actions {
    flex-direction: row;
    gap: 10px;
  }
  
  .import-actions .btn-secondary {
    flex: 0 0 auto;
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .import-actions .login-btn {
    flex: 1;
    margin-left: 0 !important;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .upload-tabs {
    gap: 8px;
  }
  
  .upload-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .upload-dropzone {
    padding: 28px 16px;
  }
}

/* ============================================
   13. PROGRESS MODAL (AI创建进度模态框)
   ============================================
   【组件说明】 显示AI训练进度状（
   ============================================ */
.progress-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(45, 42, 38, 0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.progress-modal.open {
  display: flex;
}

.progress-content {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vh, 48px);
  max-width: 480px;
  width: 100%;
  max-height: min(500px, 85svh);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
  text-align: center;
  animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--warm-orange-light) transparent;
}

.progress-content::-webkit-scrollbar {
  width: 6px;
}

.progress-content::-webkit-scrollbar-track {
  background: transparent;
}

.progress-content::-webkit-scrollbar-thumb {
  background: var(--warm-orange-light);
  border-radius: 3px;
}

.progress-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.progress-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background: rgba(255, 138, 58, 0.15);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--warm-orange), var(--warm-yellow));
  border-radius: 9999px;
  width: 0%;
  transition: width 0.3s ease-out;
}

.progress-status {
  font-size: 14px;
  color: var(--text-secondary);
}

.progress-percent {
  font-size: 36px;
  font-weight: 900;
  color: var(--warm-orange);
  margin-bottom: 8px;
}

/* ============================================
   14.1 AI生成中动画 (AI Generating Animation)
   ============================================
   【组件说明】 导入聊天记录后AI生成时的动画
   【动画风格】 与AI匹配动画保持一致，蛋黄学习主题
   ============================================ */
.ai-generating-container {
  position: relative;
  width: 220px;
  height: 180px;
  margin: 0 auto 24px;
  z-index: 10;
  /* 确保容器可见 */
  display: block;
  visibility: visible;
  overflow: visible;
}

/* 书本/学习桌面 */
.ai-study-desk {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 50px;
  background: linear-gradient(180deg, #A08060 0%, #7A5A40 100%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1;
  display: block;
  visibility: visible;
}

/* 书本 */
.ai-study-book {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 50px;
  background: linear-gradient(180deg, var(--warm-orange) 0%, #FF6B2C 100%);
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 2px 8px rgba(255, 107, 44, 0.4);
  z-index: 2;
  display: block;
  visibility: visible;
}

.ai-study-book::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 30px;
  background: linear-gradient(180deg, #FFF8F0 0%, #FFE4D6 100%);
  border-radius: 2px;
}

/* 书本上的文字线条 */
.ai-study-book::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: rgba(255, 140, 66, 0.3);
  box-shadow: 
    0 6px 0 rgba(255, 140, 66, 0.3),
    0 12px 0 rgba(255, 140, 66, 0.3);
}

/* 学习的蛋黄 */
.ai-study-egg {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 60px;
  animation: studyBounce 1.6s ease-in-out infinite;
  z-index: 3;
  display: block;
  visibility: visible;
}

/* 蛋黄身体 */
.ai-study-egg-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.95) 100%);
  border-radius: 50% 50% 48% 48%;
  box-shadow: 
    0 3px 10px rgba(255, 140, 66, 0.25),
    inset 0 -2px 5px rgba(255, 209, 102, 0.2);
}

/* 蛋黄脸蛋 */
.ai-study-egg-face {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 26px;
  background: radial-gradient(circle at 35% 35%, var(--warm-yellow) 0%, var(--warm-orange) 70%);
  border-radius: 50%;
  box-shadow: inset -1px -1px 3px rgba(0,0,0,0.08);
}

/* 眼睛 */
.ai-study-egg-eyes {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ai-study-eye {
  width: 4px;
  height: 4px;
  background: var(--dark);
  border-radius: 50%;
  animation: blink 3s ease-in-out infinite;
}

/* 专注的眼睛（眯眼） */
.ai-study-eye.focused {
  height: 2px;
  border-radius: 1px;
  animation: none;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* 嘴巴 - 认真表情 */
.ai-study-mouth {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 4px;
  border-bottom: 2px solid var(--dark);
  border-radius: 0 0 8px 8px;
}

/* 左手 - 扶书 */
.ai-study-arm-left {
  position: absolute;
  top: 32px;
  left: -2px;
  width: 14px;
  height: 4px;
  background: var(--dark);
  border-radius: 4px;
  transform: rotate(-30deg);
  transform-origin: right center;
  animation: armStudyLeft 2s ease-in-out infinite;
}

.ai-study-arm-left::after {
  content: '';
  position: absolute;
  left: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
}

/* 右手 - 翻书/写字 */
.ai-study-arm-right {
  position: absolute;
  top: 32px;
  right: -2px;
  width: 16px;
  height: 4px;
  background: var(--dark);
  border-radius: 4px;
  transform: rotate(25deg);
  transform-origin: left center;
  animation: armStudyRight 1.5s ease-in-out infinite;
}

.ai-study-arm-right::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
}

@keyframes armStudyLeft {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(-40deg); }
}

@keyframes armStudyRight {
  0%, 100% { transform: rotate(25deg) translateY(0); }
  25% { transform: rotate(35deg) translateY(-2px); }
  50% { transform: rotate(25deg) translateY(0); }
  75% { transform: rotate(15deg) translateY(-1px); }
}

/* 思考气泡 */
.ai-thought-bubble {
  position: absolute;
  top: 10px;
  right: 5px;
  opacity: 0;
  animation: thoughtAppear 2s ease-in-out infinite;
  z-index: 4;
}

.ai-thought-bubble::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 10px;
  width: 8px;
  height: 8px;
  background: rgba(255, 140, 66, 0.15);
  border-radius: 50%;
}

.ai-thought-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 4px;
  width: 5px;
  height: 5px;
  background: rgba(255, 140, 66, 0.1);
  border-radius: 50%;
}

.ai-thought-content {
  padding: 8px 12px;
  background: rgba(255, 140, 66, 0.12);
  border-radius: 16px;
  font-size: 14px;
  color: var(--warm-orange);
  font-weight: 600;
  border: 1px solid rgba(255, 140, 66, 0.2);
}

@keyframes thoughtAppear {
  0%, 100% { opacity: 0; transform: translateY(5px) scale(0.9); }
  40%, 60% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 跳动动画 */
@keyframes studyBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* 闪光效果 - 表示灵感 */
.ai-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--warm-yellow);
  border-radius: 50%;
  opacity: 0;
  animation: sparkleShine 1.8s ease-out infinite;
  z-index: 5;
}

.ai-sparkle:nth-child(1) {
  top: 30px;
  left: 30px;
  animation-delay: 0s;
}

.ai-sparkle:nth-child(2) {
  top: 20px;
  right: 35px;
  animation-delay: 0.6s;
}

.ai-sparkle:nth-child(3) {
  top: 50px;
  right: 20px;
  animation-delay: 1.2s;
}

@keyframes sparkleShine {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* 数据流动效果 - 表示正在处理 */
.ai-data-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--warm-orange) 20%, 
    var(--warm-yellow) 50%, 
    var(--warm-orange) 80%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: dataFlow 1.5s linear infinite;
  opacity: 0.6;
}

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

/* ============================================
   15. LETTER MODAL (信件模态框)
   ============================================
   【组件说明】 AI匹配社交信件展示弹窗
   【功能模块（ 信件列表、信件详情阅（
   ============================================ */
.letter-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(45, 42, 38, 0.5);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.letter-modal.open {
  display: flex;
}

.letter-content {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vh, 48px);
  max-width: 520px;
  width: 100%;
  max-height: min(560px, 85svh);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
  animation: letterIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--warm-orange-light) transparent;
  transform-origin: center center;
}

.letter-content::-webkit-scrollbar {
  width: 6px;
}

.letter-content::-webkit-scrollbar-track {
  background: transparent;
}

.letter-content::-webkit-scrollbar-thumb {
  background: var(--warm-orange-light);
  border-radius: 3px;
}

@keyframes letterIn {
  from { opacity: 0; transform: translateY(30px) scale(calc(var(--modal-scale, 1) * 0.95)); }
  to { opacity: 1; transform: translateY(0) scale(var(--modal-scale, 1)); }
}

.letter-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 138, 58, 0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.letter-close:hover {
  background: rgba(255, 138, 58, 0.15);
}

.letter-stamp {
  font-size: 40px;
  margin-bottom: 16px;
}

.letter-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.letter-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.letter-content .letter-sign {
  margin-top: 24px;
  font-style: italic;
  color: var(--warm-orange);
  font-weight: 600;
}

/* ============================================
   删除确认弹窗样式
   ============================================ */
.delete-modal .letter-content {
  max-width: 420px;
  padding: 32px;
}

.delete-modal .delete-icon {
  width: 72px;
  height: 72px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.delete-modal .delete-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}

.delete-modal .delete-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.delete-modal .delete-warning {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.delete-modal .delete-warning-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--error);
  margin-bottom: 4px;
}

.delete-modal .delete-warning-text {
  font-size: 12px;
  color: var(--dark-light);
}

.delete-modal .password-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(255, 140, 66, 0.2);
  border-radius: var(--radius-full);
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.delete-modal .password-input:focus {
  border-color: var(--warm-orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 58, 0.1);
}

.delete-modal .password-input.error {
  border-color: var(--error);
}

.delete-modal .btn-danger {
  background: var(--error);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.delete-modal .btn-danger:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.delete-modal .modal-footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================
   16. PHILOSOPHY SECTION (理念区块)
   ============================================
   【区块说明】 品牌核心理念展示
   【视觉特色（ 飘落花瓣动画效果
   【布局结构】 居中文字 + 花瓣装饰
   ============================================ */
.philosophy-section {
  padding: calc(160px * var(--spacing-scale)) 0;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF0E0 50%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.philosophy-card {
  padding: 48px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 140, 66, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--warm-orange), var(--warm-yellow));
  opacity: 0;
  transition: opacity 0.4s;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(255, 140, 66, 0.1);
  border-color: rgba(255, 140, 66, 0.15);
}

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

.philosophy-number {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 140, 66, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.philosophy-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   17. CTA SECTION (行动召唤区块)
   ============================================
   【区块说明】 引导用户注册/创建AI
   【视觉特效（ 3D蛋黄图标悬浮旋转
   【核心元素（ 行动按钮、装饰性蛋黄图（
   ============================================ */
.cta-section {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream);
}

.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.cta-bg-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--warm-orange);
  top: -100px;
  right: -100px;
}

.cta-bg-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--warm-yellow);
  bottom: -80px;
  left: -80px;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-title span {
  background: linear-gradient(135deg, var(--warm-orange), var(--warm-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 248, 240, 0.6);
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--warm-orange), var(--warm-yellow));
  color: var(--dark);
  font-weight: 700;
}

.btn-cta-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 140, 66, 0.4);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255, 248, 240, 0.2);
}

.btn-cta-secondary:hover {
  border-color: rgba(255, 248, 240, 0.5);
  background: rgba(255, 248, 240, 0.05);
}

/* ============================================
   18. FOOTER (页脚区块)
   ============================================
   【区块说明】 页面底部信息（
   【内容模块（ 版权信息、社交链接、导航链（
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 248, 240, 0.06);
  padding: 48px;
  color: rgba(255, 248, 240, 0.4);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--warm-orange), var(--warm-yellow));
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.footer-logo-icon::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

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

.footer-links a {
  color: rgba(255, 248, 240, 0.4);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 13px;
}

/* ============================================
   19. MOBILE RESPONSIVE (响应式适配)
   ============================================
   【响应范围（ 适配手机、平板等小屏幕设（
   【断点设置（
     - 768px: 平板/小屏幕适配
     - 480px: 手机适配
   【调整内容（ 
     - 导航（-> 汉堡菜单
     - 网格布局 -> 单列堆叠
     - 字体大小 -> 缩小
     - 间距 -> 紧凑
   ============================================ */
@media (max-width: 1024px) {
  .what-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .orbit-ring-2 {
    display: none;
  }
  
  .orbit-ring-1 {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }
  
  .nav.scrolled {
    padding: 12px 24px;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    font-size: 24px;
    font-weight: 700;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .hero {
    padding: 120px 24px 80px;
  }
  
  .section-container {
    padding: 0 24px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .timeline-track {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .timeline-track::-webkit-scrollbar {
    display: none;
  }
  
  .globe-container {
    width: 280px;
    height: 280px;
  }
  
  .create-body {
    min-height: 400px;
  }
  
  .orbit-ring-1 {
    width: 280px;
    height: 280px;
  }
  
  .orbit-ring-2 {
    display: none;
  }
  
  .philosophy-card {
    padding: 32px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #navUserItem {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  #navUserItem > div {
    position: static !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  #navUser {
    padding: 14px 24px !important;
    font-size: 20px !important;
  }
  
  #navUserAvatar {
    width: 40px !important;
    height: 40px !important;
  }
  
  #navUserName {
    font-size: 20px !important;
  }
  
  #navUserMenu {
    position: static !important;
    display: none;
    margin-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: auto !important;
    width: 100%;
    gap: 10px;
  }
  
  #navUserMenu.open {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #navUserMenu button {
    text-align: center !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    background: rgba(255,138,58,0.08) !important;
    border-radius: 12px !important;
    width: auto;
    min-width: 160px;
  }
  
  #navLoginItem {
    display: block !important;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .letter-content {
    padding: 32px;
  }
  
  .envelope-icon {
    top: -20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  /* 移除hover效果，使用触摸反（*/
  .btn, .nav-cta, .orbit-icon, .timeline-item, .landmark, .envelope-icon, .login-btn {
    -webkit-tap-highlight-color: rgba(255, 138, 58, 0.1);
  }
  
  .btn:hover, .nav-cta:hover, .timeline-item:hover {
    transform: none;
  }
  
  .btn:active, .nav-cta:active, .timeline-item:active {
    transform: scale(0.96);
    opacity: 0.9;
  }
  
  /* 确保可点击元素最小尺寸≥44px */
  .btn, button, .timeline-item, .nav-cta, a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* 聊天窗口移动端适配 */
  .chat-preview {
    max-width: 100%;
    margin: 0 16px;
  }
  
  .chat-messages {
    max-height: 300px;
  }
  
  .chat-input {
    padding: 12px !important;
  }
  
  .chat-input input {
    font-size: 16px !important;
  }
  
  /* 3D蛋黄图标移动端简（*/
  .hero-3d-egg {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: -1.5px;
  }
  
  .section-title {
    letter-spacing: -1px;
  }
  
  .timeline-item {
    padding: 0 16px;
  }
  
  .human-figure {
    width: 140px;
    height: 260px;
  }
  
  .egg-hatching-figure {
    width: 160px;
    height: 176px;
  }
  
  /* 移动端清空按钮优（*/
  .chat-header button {
    padding: 10px 14px !important;
    font-size: 12px !important;
  }
}

/* ============================================
   CUSTOM CURSOR (desktop only)
   ============================================ */
@media (hover: hover) {
  .custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--warm-orange);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, opacity 0.3s;
    mix-blend-mode: exclusion;
    opacity: 0;
  }
  
  .custom-cursor.visible {
    opacity: 1;
  }
  
  .custom-cursor.hover {
    transform: scale(2);
    background: rgba(255, 140, 66, 0.1);
  }
}

/* ============================================
   DOODLE ILLUSTRATIONS (SVG inline)
   ============================================ */
.doodle-float {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}


/* ============================================
   ���������¼��ʽ
   ============================================ */

.import-chat-container {
  padding: 20px 0;
}

.upload-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.upload-tab {
  padding: 12px 24px;
  border: 2px solid rgba(255, 140, 66, 0.2);
  border-radius: 9999px;
  background: white;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-tab:hover {
  border-color: var(--warm-orange);
  transform: translateY(-2px);
}

.upload-tab.active {
  background: linear-gradient(135deg, var(--warm-orange), var(--warm-yellow));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
}

.upload-area {
  margin-bottom: 20px;
}

.upload-dropzone {
  border: 2px dashed rgba(255, 140, 66, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255, 140, 66, 0.02);
}

.upload-dropzone:hover {
  border-color: var(--warm-orange);
  background: rgba(255, 140, 66, 0.05);
  transform: translateY(-2px);
}

.upload-dropzone.dragover {
  border-color: var(--warm-orange);
  background: rgba(255, 140, 66, 0.1);
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.upload-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

.file-list {
  margin-top: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  border: 1px solid rgba(255, 140, 66, 0.1);
}

.file-icon {
  font-size: 24px;
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.file-size {
  font-size: 12px;
  color: var(--text-secondary);
}

.file-remove {
  padding: 6px 12px;
  border: none;
  background: rgba(255, 140, 66, 0.1);
  color: var(--warm-orange);
  border-radius: 9999px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.file-remove:hover {
  background: var(--error);
  color: white;
}

.image-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 140, 66, 0.1);
}

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

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--error);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.image-preview-remove:hover {
  background: var(--error);
  color: white;
}

.chat-preview-section {
  margin: 24px 0;
  padding: 20px;
  background: rgba(255, 140, 66, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 140, 66, 0.1);
}

.preview-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.chat-preview-content {
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.import-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.import-actions .btn-secondary {
  flex: 0 0 auto;
  padding: 14px 32px;
}



/* ============================================
   14.2 AI生成中全屏动画 (AI Generating Fullscreen Animation)
   ============================================
   【组件说明】 全屏显示AI生成动画，类似匹配动画
   ============================================ */
.ai-generating-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(10px);
  z-index: 3000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.ai-generating-overlay.active {
  display: flex;
}

/* 动画容器 - 放大版 */
.ai-generating-full-container {
  position: relative;
  width: 320px;
  height: 260px;
  margin-bottom: 40px;
}

/* 学习桌面 */
.ai-full-desk {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 70px;
  background: linear-gradient(180deg, #A08060 0%, #7A5A40 100%);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 1;
  overflow: hidden;
}

/* 书本 */
.ai-full-book {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 75px;
  background: linear-gradient(180deg, var(--warm-orange) 0%, #FF6B2C 100%);
  border-radius: 6px 6px 12px 12px;
  box-shadow: 0 4px 15px rgba(255, 107, 44, 0.4);
  z-index: 2;
}

.ai-full-book::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 45px;
  background: linear-gradient(180deg, #FFF8F0 0%, #FFE4D6 100%);
  border-radius: 3px;
}

.ai-full-book::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 3px;
  background: rgba(255, 140, 66, 0.3);
  box-shadow: 
    0 10px 0 rgba(255, 140, 66, 0.3),
    0 20px 0 rgba(255, 140, 66, 0.3);
}

/* 学习的蛋黄 */
.ai-full-egg {
  position: absolute;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 90px;
  animation: studyBounceLarge 1.6s ease-in-out infinite;
  z-index: 3;
}

.ai-full-egg-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 65px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.95) 100%);
  border-radius: 50% 50% 48% 48%;
  box-shadow: 
    0 4px 15px rgba(255, 140, 66, 0.3),
    inset 0 -3px 8px rgba(255, 209, 102, 0.25);
}

.ai-full-egg-face {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 40px;
  background: radial-gradient(circle at 35% 35%, var(--warm-yellow) 0%, var(--warm-orange) 70%);
  border-radius: 50%;
  box-shadow: inset -2px -2px 5px rgba(0,0,0,0.1);
}

.ai-full-egg-eyes {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ai-full-eye {
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
  animation: blink 3s ease-in-out infinite;
}

.ai-full-eye.focused {
  height: 3px;
  border-radius: 2px;
  animation: none;
}

.ai-full-mouth {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  border-bottom: 3px solid var(--dark);
  border-radius: 0 0 12px 12px;
}

/* 手臂 */
.ai-full-arm-left {
  position: absolute;
  top: 48px;
  left: -3px;
  width: 22px;
  height: 6px;
  background: var(--dark);
  border-radius: 6px;
  transform: rotate(-30deg);
  transform-origin: right center;
  animation: armStudyLeftLarge 2s ease-in-out infinite;
}

.ai-full-arm-left::after {
  content: '';
  position: absolute;
  left: -4px;
  top: -3px;
  width: 9px;
  height: 9px;
  background: var(--dark);
  border-radius: 50%;
}

.ai-full-arm-right {
  position: absolute;
  top: 48px;
  right: -3px;
  width: 24px;
  height: 6px;
  background: var(--dark);
  border-radius: 6px;
  transform: rotate(25deg);
  transform-origin: left center;
  animation: armStudyRightLarge 1.5s ease-in-out infinite;
}

.ai-full-arm-right::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 9px;
  height: 9px;
  background: var(--dark);
  border-radius: 50%;
}

@keyframes armStudyLeftLarge {
  0%, 100% { transform: rotate(-30deg); }
  50% { transform: rotate(-45deg); }
}

@keyframes armStudyRightLarge {
  0%, 100% { transform: rotate(25deg) translateY(0); }
  25% { transform: rotate(40deg) translateY(-3px); }
  50% { transform: rotate(25deg) translateY(0); }
  75% { transform: rotate(10deg) translateY(-2px); }
}

@keyframes studyBounceLarge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* 思考气泡 */
.ai-full-thought-bubble {
  position: absolute;
  top: 15px;
  right: 20px;
  opacity: 0;
  animation: thoughtAppear 2s ease-in-out infinite;
  z-index: 4;
}

.ai-full-thought-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: rgba(255, 140, 66, 0.15);
  border-radius: 50%;
}

.ai-full-thought-bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 6px;
  width: 6px;
  height: 6px;
  background: rgba(255, 140, 66, 0.1);
  border-radius: 50%;
}

.ai-full-thought-content {
  padding: 10px 16px;
  background: rgba(255, 140, 66, 0.15);
  border-radius: 20px;
  font-size: 16px;
  color: var(--warm-orange);
  font-weight: 600;
  border: 1px solid rgba(255, 140, 66, 0.25);
}

/* 闪光效果 */
.ai-full-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--warm-yellow);
  border-radius: 50%;
  opacity: 0;
  animation: sparkleShine 1.8s ease-out infinite;
  z-index: 5;
}

.ai-full-sparkle:nth-child(1) {
  top: 40px;
  left: 40px;
  animation-delay: 0s;
}

.ai-full-sparkle:nth-child(2) {
  top: 30px;
  right: 50px;
  animation-delay: 0.6s;
}

.ai-full-sparkle:nth-child(3) {
  top: 80px;
  right: 30px;
  animation-delay: 1.2s;
}

/* 数据流动 */
.ai-full-data-flow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--warm-orange) 20%, 
    var(--warm-yellow) 50%, 
    var(--warm-orange) 80%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: dataFlow 1.5s linear infinite;
  opacity: 0.6;
}

/* 状态文字 */
.ai-generating-status {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}

.ai-generating-subtext {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  text-align: center;
}

/* 进度条容器 */
.ai-generating-progress-container {
  width: 400px;
  max-width: 80vw;
  text-align: center;
}

.ai-generating-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 140, 66, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.ai-generating-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--warm-yellow) 0%, var(--warm-orange) 100%);
  border-radius: 10px;
  width: 0%;
  transition: width 0.3s ease;
  position: relative;
}

.ai-generating-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}

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

.ai-generating-progress-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  margin-bottom: 8px;
}

.ai-generating-percent {
  font-size: 36px;
  font-weight: 800;
  color: var(--warm-orange);
  margin-top: 8px;
}

/* ============================================
   漂浮思考气泡
   ============================================ */
.thought-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

.thought-bubble {
  position: absolute;
  padding: 8px 16px;
  background: rgba(255, 248, 240, 0.95);
  border: 1px solid rgba(255, 138, 58, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-orange);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255, 138, 58, 0.12);
  opacity: 0;
  animation: bubbleFloat 5s ease-out forwards;
}

@keyframes bubbleFloat {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--tx, 40px), -100px) scale(1);
    opacity: 0;
  }
}

/* ============================================
   实时活动日志
   ============================================ */
.activity-log {
  margin-top: 24px;
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 80vw;
  flex-wrap: wrap;
}

.activity-log-prompt {
  color: var(--warm-orange);
  font-weight: 700;
}

.activity-log-text {
  color: var(--dark-light);
}

.activity-log-cursor {
  color: var(--warm-orange);
  animation: blinkCursor 1s step-end infinite;
}

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

/* ============================================
   用户协议与免责声明
   ============================================ */

/* 协议提示（非必填） */
.agreement-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 0 4px;
}

.agreement-hint input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--warm-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.agreement-hint label {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.agreement-hint label a {
  color: #2196F3;
  text-decoration: none;
  font-size: 12px;
}

.agreement-hint label a:hover {
  text-decoration: underline;
}

/* 协议弹窗 */
.agreement-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.agreement-modal.active {
  display: flex;
}

.agreement-content {
  background: var(--cream);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: min(600px, 85svh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin: auto;
}

.agreement-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 1;
}

.agreement-close:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #333;
}

.agreement-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  padding: 28px 24px 16px;
  flex-shrink: 0;
}

.agreement-body {
  padding: 0 24px 16px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
  max-height: calc(85vh - 120px);
}

.agreement-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 16px 0 8px;
}

.agreement-body p {
  margin: 6px 0;
}

.agreement-body ul {
  margin: 6px 0;
  padding-left: 20px;
}

.agreement-body li {
  margin: 4px 0;
}

.agreement-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.agreement-confirm-btn:hover {
  background: #e6760a;
  transform: translateY(-1px);
}

/* ============================================
   折叠式导入须知
   ============================================ */

.import-guide {
  margin-bottom: 16px;
  border: 1.5px solid var(--warm-orange);
  border-radius: 12px;
  overflow: hidden;
}

.import-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--warm-orange);
  font-size: 13px;
  font-weight: 600;
  user-select: none;
  transition: background 0.2s;
}

.import-guide-header:hover {
  background: rgba(255, 138, 58, 0.05);
}

.import-guide-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.import-guide.open .import-guide-arrow {
  transform: rotate(180deg);
}

.import-guide-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.import-guide.open .import-guide-body {
  max-height: 800px;
}

.import-guide-content {
  padding: 4px 16px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.import-guide-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 12px 0 8px;
}

.import-guide-content h3 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin: 16px 0 8px;
}

.import-guide-content ol {
  padding-left: 20px;
  margin: 0;
}

.import-guide-content ol li {
  margin-bottom: 6px;
}

.import-guide-table-wrapper {
  overflow-x: auto;
  margin-top: 8px;
}

.import-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.import-guide-table th,
.import-guide-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.import-guide-table th {
  background: rgba(255, 138, 58, 0.08);
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}

.import-guide-table td {
  color: #555;
}

.import-guide-table tr:last-child td {
  border-bottom: none;
}


/* ============================================
   小高度视口弹窗安全适配
   ============================================ */
@media (max-height: 700px) {
  .login-modal,
  .letter-modal,
  .ai-init-modal,
  .progress-modal,
  .agreement-modal {
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  .login-content,
  .letter-content,
  .ai-init-content,
  .progress-content,
  .agreement-content {
    max-height: calc(100svh - 24px);
  }
}

/* ============================================
   超宽屏幕比例优化
   ============================================ */
@media (min-width: 1920px) {
  .hero-3d-egg {
    width: clamp(120px, 8vw, 160px);
    height: clamp(120px, 8vw, 160px);
  }
}
