/* 来往 PC 官网首页 - 参考 pc.qq.com 风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; color: #1a1a1a; line-height: 1.6; background: #f5f5f5; }
a { color: inherit; text-decoration: none; }

/* ========== 顶部导航 ========== */
.top-nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eee; }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-left { display: flex; align-items: center; gap: 48px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-logo .logo-text { color: #1a1a2e; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 15px; color: #666; padding: 8px 0; position: relative; transition: color 0.2s; }
.nav-menu a:hover { color: #667eea; }
.nav-menu a.active { color: #667eea; font-weight: 600; }
.nav-menu a.active::after { content: ''; position: absolute; bottom: -17px; left: 0; right: 0; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-search { position: relative; display: flex; align-items: center; }
.nav-search input { width: 220px; height: 36px; padding: 0 14px 0 36px; border: 1px solid #e0e0e0; border-radius: 18px; font-size: 14px; outline: none; background: #f8f8f8; transition: all 0.2s; }
.nav-search input:focus { border-color: #667eea; background: #fff; }
.nav-search svg { position: absolute; left: 12px; color: #999; }
.nav-download { padding: 8px 24px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 20px; font-size: 14px; font-weight: 500; transition: transform 0.2s, box-shadow 0.2s; }
.nav-download:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(102,126,234,0.4); }

/* ========== Hero 主视觉区 ========== */
.hero { position: relative; overflow: hidden; background: #fff; padding: 60px 40px 80px; }
.hero-bg { position: absolute; top: -200px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(102,126,234,0.12) 0%, transparent 70%); }
.hero-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 80px; position: relative; z-index: 1; }
.hero-left { flex: 1; max-width: 600px; }
.hero-title { font-size: 56px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; color: #1a1a2e; }
.hero-subtitle { font-size: 22px; color: #666; margin-bottom: 24px; font-weight: 500; }
.hero-desc { font-size: 16px; color: #888; margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 28px; }
.btn-main { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 10px; font-size: 16px; font-weight: 500; transition: all 0.3s; box-shadow: 0 4px 20px rgba(102,126,234,0.3); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(102,126,234,0.5); }
.btn-web { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: #fff; color: #667eea; border: 2px solid #667eea; border-radius: 10px; font-size: 16px; font-weight: 500; transition: all 0.3s; }
.btn-web:hover { background: #f5f7ff; transform: translateY(-3px); }
.hero-meta { display: flex; gap: 28px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #999; }

/* Hero 右侧产品展示 */
.hero-right { flex: 1; position: relative; height: 480px; }
.product-showcase { position: relative; width: 100%; height: 100%; }
.showcase-card { position: absolute; width: 130px; height: 130px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,0.15); transition: transform 0.3s; }
.showcase-card:hover { transform: translateY(-8px) scale(1.05); }
.showcase-label { font-size: 14px; font-weight: 500; }
.showcase-card:nth-child(1) { top: 20px; left: 30px; }
.showcase-card:nth-child(2) { top: 60px; right: 120px; }
.showcase-card:nth-child(3) { bottom: 120px; left: 60px; }
.showcase-card.main { position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 380px; height: 380px; border-radius: 20px; color: #333; background: #fff; }
.showcase-card.main:hover { transform: translateY(-50%) translateY(-6px); }
.main-preview { width: 100%; height: 100%; padding: 20px; display: flex; flex-direction: column; }
.preview-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: #1a1a2e; }
.preview-body { flex: 1; display: flex; gap: 12px; background: #f8f9fa; border-radius: 12px; overflow: hidden; }
.preview-chat-list { width: 100px; background: #fff; border-right: 1px solid #eee; padding: 10px 0; }
.preview-chat-item { padding: 10px 12px; font-size: 13px; color: #666; cursor: pointer; border-left: 3px solid transparent; }
.preview-chat-item.active { color: #667eea; border-left-color: #667eea; background: #f5f7ff; font-weight: 500; }
.preview-chat-item:nth-child(2) { margin-top: 8px; }
.preview-chat-item:nth-child(3) { margin-top: 4px; }
.preview-msg-area { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.preview-msg { padding: 8px 14px; border-radius: 16px; font-size: 13px; max-width: 75%; }
.preview-msg.left { background: #fff; align-self: flex-start; border: 1px solid #eee; }
.preview-msg.right { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; align-self: flex-end; }

/* ========== 通用区块 ========== */
.section { padding: 60px 40px; background: #fff; }
.section.alt { background: #f8f8f8; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-title { font-size: 28px; font-weight: 700; color: #1a1a2e; }
.section-tag { font-size: 14px; color: #999; }
.section-tabs { display: flex; gap: 20px; margin-top: 8px; }
.tab-item { font-size: 14px; color: #666; padding: 6px 14px; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.tab-item:hover { background: #f0f0f0; color: #333; }
.tab-item.active { background: #667eea; color: #fff; }

/* ========== 精选功能网格 ========== */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; transition: all 0.3s; display: block; cursor: pointer; }
.feature-card:hover { border-color: #667eea; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(102,126,234,0.12); }
.feature-icon-box { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-info { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.feature-name { font-size: 15px; font-weight: 600; color: #333; }
.feature-tag { font-size: 11px; background: #eef1ff; color: #667eea; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
.feature-desc { font-size: 12px; color: #999; line-height: 1.5; }

/* ========== 内容卡片网格 ========== */
.content-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.content-grid.five { grid-template-columns: repeat(5, 1fr); }
.content-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eee; transition: all 0.3s; cursor: pointer; display: block; }
.content-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: transparent; }
.content-cover { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.content-card.big .content-cover { height: 240px; }
.content-card.big { grid-row: span 2; }
.content-info { padding: 16px 20px; }
.content-title { font-size: 15px; font-weight: 600; color: #333; padding: 12px 16px; }
.content-sub { font-size: 12px; color: #999; padding: 0 16px 12px; }
.content-subtitle { font-size: 13px; color: #666; margin-top: 4px; }
.content-card.tall .content-cover { height: 200px; }
.live-dot { position: absolute; top: 12px; left: 12px; background: #ff4757; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 500; }

/* ========== 底部 ========== */
.footer { background: #1a1a2e; color: #aaa; padding: 56px 40px 0; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 40px; }
.footer-col.brand .footer-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; color: #888; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-slogan { font-size: 14px; color: #666; line-height: 1.8; }
.footer-link { font-size: 13px; color: #777; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #2a2a40; padding: 24px 0; text-align: center; font-size: 13px; color: #666; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .content-grid.five { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-search input { width: 160px; }
  .hero { padding: 40px 24px 60px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-title { font-size: 40px; }
  .hero-right { height: 320px; width: 100%; }
  .showcase-card.main { width: 280px; height: 280px; }
  .section { padding: 40px 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.five { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .nav-search { display: none; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .content-grid.five { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
