:root {
    --bg-base: #fdfafc;
    --text-main: #2d272b;
    --text-soft: #6e6368;
    --brand-pink: #e89bb4;
    --brand-purple: #9a82b8;
    --grad-main: linear-gradient(135deg, #f295b3 0%, #b48ad9 100%);
    --grad-marquee: linear-gradient(90deg, #ff6b9d, #b46ce6, #6b8cff);
    --card-bg: #ffffff;
    --border-soft: #f1e6ed;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; display: block; }
  
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* 导航栏 */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(253, 250, 252, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 64px;
  }
  .logo-box { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 18px; }
  .logo-box img { height: 32px; border-radius: 6px; }
  
  /* 移动端菜单折叠 */
  .menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; }
  .nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--text-soft); }
  .nav-links a { position: relative; transition: color 0.3s; }
  .nav-links a:hover { color: var(--brand-pink); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--grad-main); transition: width 0.3s; border-radius: 2px;
  }
  .nav-links a:hover::after { width: 100%; }

  /* 首屏 Hero */
  .hero { padding: 60px 0 0; position: relative; }
  .hero-layout {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  }
  .hero-text h1 {
    font-size: 42px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; letter-spacing: -1px;
  }
  .hero-text h1 span {
    background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero-text p { font-size: 16px; color: var(--text-soft); margin-bottom: 32px; max-width: 90%; }
  .hero-downloads { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn-dl {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 24px; font-size: 14px; font-weight: bold;
    background: var(--grad-main); color: #fff; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(232, 155, 180, 0.3);
  }
  .btn-dl:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232, 155, 180, 0.5); }
  
  .hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-img-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-soft); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
  .hero-img-card img { width: 100%; height: auto; object-fit: cover; transition: transform 0.5s; }
  .hero-img-card:hover img { transform: scale(1.05); }
  .hero-img-card:nth-child(1) { transform: translateY(-20px); }
  .hero-img-card:nth-child(3) { grid-column: 1 / -1; margin-top: -10px; }

  /* 跑马灯 */
  .marquee-wrap { width: 100%; overflow: hidden; background: #f9f4f7; padding: 12px 0; margin-top: 40px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
  .marquee { display: flex; white-space: nowrap; animation: marquee 15s linear infinite; }
  .marquee span { font-size: 18px; font-weight: bold; padding: 0 30px; background: var(--grad-marquee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* 通用 Section 样式 */
  section { padding: 80px 0; }
  .section-title { text-align: center; margin-bottom: 48px; }
  .section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
  .section-title p { color: var(--text-soft); font-size: 16px; }

  /* 核心功能 - 左右图文结构 */
  .features { background-color: #ffffff; }
  .feat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .feat-img-box { border-radius: 24px; overflow: hidden; border: 1px solid var(--border-soft); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
  .feat-list { display: grid; gap: 20px; }
  .feat-item { display: flex; gap: 16px; background: #fdfafc; padding: 16px; border-radius: 16px; border: 1px solid var(--border-soft); }
  .feat-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-main); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; flex-shrink: 0; }
  .feat-text h3 { font-size: 16px; margin-bottom: 4px; }
  .feat-text p { font-size: 14px; color: var(--text-soft); }

  /* 教程与角色广场 */
  .tutorial { background-color: #fcf6f9; }
  .tut-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .tut-card { background: #fff; padding: 24px; border-radius: 20px; border: 1px solid var(--border-soft); text-align: center; }
  .tut-num { width: 40px; height: 40px; background: var(--grad-main); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 16px; }
  .tut-card h3 { font-size: 18px; margin-bottom: 8px; }
  .tut-card p { font-size: 14px; color: var(--text-soft); }

  /* 角色广场 */
  .roles { background-color: #ffffff; }
  .roles-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
  .roles-list { display: flex; flex-direction: column; gap: 12px; }
  .role-item { display: flex; justify-content: space-between; padding: 12px 16px; background: #fdfafc; border-radius: 12px; font-size: 14px; border: 1px solid var(--border-soft); }
  .role-item span:first-child { font-weight: bold; }
  .roles-img-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-soft); }
  .roles-img-card img { width: 100%; height: 100%; object-fit: cover; }

  /* 个性定制 - 问答风 */
  .custom { background-color: #f7f2f6; }
  .qa-grid { display: grid; gap: 16px; max-width: 800px; margin: 0 auto; }
  .qa-item { background: #fff; padding: 20px; border-radius: 16px; border: 1px solid var(--border-soft); }
  .qa-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--brand-purple); }
  .qa-item p { font-size: 14px; color: var(--text-soft); }

  /* AI聊天 - 截图墙 */
  .chat-show { background-color: #ffffff; }
  .chat-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .chat-wall img { border-radius: 16px; border: 1px solid var(--border-soft); width: 100%; height: auto; }

  /* 隐私安全 & 意见反馈 */
  .privacy { background-color: #f1f5f9; }
  .privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .priv-card { background: #fff; padding: 32px; border-radius: 20px; border: 1px solid #e2e8f0; }
  .priv-card h3 { margin-bottom: 16px; font-size: 20px; }
  .priv-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 12px; }
  
  /* 反馈 */
  .feedback { background-color: #ffffff; }
  .feedback-box { background: #fdfafc; padding: 40px; border-radius: 24px; border: 1px solid var(--border-soft); text-align: center; max-width: 600px; margin: 0 auto; }
  .feedback-box h3 { margin-bottom: 16px; font-size: 20px; }
  .feedback-box p { font-size: 14px; color: var(--text-soft); margin-bottom: 24px; }

  /* FAQ */
  .faq { background-color: #fff8fb; }
  .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
  .faq-item { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid var(--border-soft); }
  .faq-item h3 { font-size: 16px; margin-bottom: 8px; }
  .faq-item p { font-size: 14px; color: var(--text-soft); }

  /* 用户评论 */
  .reviews { background-color: #ffffff; }
  .review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .review-card { background: #fdfafc; padding: 20px; border-radius: 16px; border: 1px solid var(--border-soft); display: flex; gap: 16px; }
  .review-card img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-soft); }
  .review-content h4 { font-size: 14px; margin-bottom: 4px; }
  .review-content p { font-size: 13px; color: var(--text-soft); }

  /* 下载专区 */
  .download { background: var(--grad-main); color: #fff; padding: 80px 0; }
  .download .section-title h2, .download .section-title p { color: #fff; }
  .download-wrapper { display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .dl-img { border-radius: 24px; max-width: 400px; border: 4px solid rgba(255,255,255,0.3); }
  .dl-steps { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
  .step-item { background: rgba(255,255,255,0.2); padding: 16px 24px; border-radius: 16px; backdrop-filter: blur(10px); text-align: center; }

  /* 浮动下载窗口 */
  .float-download {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 999;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 10px 16px; border-radius: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-soft);
  }
  .float-download img { height: 32px; border-radius: 6px; }
  .float-text { font-size: 12px; color: var(--text-soft); font-weight: bold; }
  .float-btn { background: var(--grad-main); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: bold; }

  /* 复制链接弹窗 */
  .copy-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000;
    background: #fff; padding: 24px; border-radius: 16px; width: 90%; max-width: 320px;
    text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none;
  }
  .copy-modal p { font-size: 14px; margin-bottom: 16px; }
  .copy-modal input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 16px; font-size: 12px; text-align: center; }
  .copy-modal button { background: var(--grad-main); color: #fff; border: none; padding: 10px 24px; border-radius: 20px; width: 100%; font-weight: bold; cursor: pointer; }

  /* 页脚 */
  footer { padding: 40px 20px; text-align: center; font-size: 12px; color: #999; border-top: 1px solid var(--border-soft); }
  footer p { margin-bottom: 8px; }
  footer a { color: #999; text-decoration: underline; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-layout { gap: 20px; }
    .hero-text h1 { font-size: 36px; }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-soft); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 32px; }
    .hero-images { grid-template-columns: 1fr 1fr; margin-top: 20px; }
    .hero-img-card:nth-child(3) { grid-column: 1 / -1; }
    .hero-downloads { justify-content: center; }
    
    .feat-layout, .roles-layout, .privacy-grid, .review-grid, .chat-wall { grid-template-columns: 1fr; }
    .tut-grid { grid-template-columns: 1fr; }
    
    .float-download { width: 90%; max-width: 360px; justify-content: center; bottom: 10px; }
    .float-text { display: none; }
  }