/* 来往下载页 样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; }

/* ========== 顶部导航 ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid #f0f0f0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 48px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; }
.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; }
.logo-text { background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 15px; color: #666; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: #667eea; font-weight: 500; }

/* ========== 下载 Hero ========== */
.download-hero { padding: 120px 24px 60px; background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%); text-align: center; }
.download-hero-inner { max-width: 800px; margin: 0 auto; }
.download-title { font-size: 48px; font-weight: 800; color: #1a1a2e; margin-bottom: 16px; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.download-subtitle { font-size: 18px; color: #666; }

/* ========== 平台卡片区 ========== */
.platforms-section { padding: 40px 24px 80px; background: #fff; }
.platforms-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

.platform-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 32px; transition: all 0.3s; }
.platform-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: #ddd; }
.platform-card.highlight { border-color: #667eea; background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%); }

.platform-header { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.platform-info h2 { font-size: 22px; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.platform-meta { display: flex; gap: 16px; font-size: 13px; color: #888; }

.platform-body { padding-left: 80px; }
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-download { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 24px; font-size: 14px; font-weight: 500; background: #f5f5f5; color: #666; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-download:hover:not(:disabled) { background: #eee; }
.btn-download.primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.btn-download.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(102,126,234,0.3); }
.btn-download.primary.big { padding: 16px 40px; font-size: 16px; border-radius: 30px; }
.btn-download:disabled { opacity: 0.6; cursor: not-allowed; }

.platform-tips { font-size: 13px; color: #999; line-height: 1.8; }
.platform-tips.highlight { color: #667eea; font-weight: 500; }

/* 移动端双卡布局 */
.mobile-downloads { display: flex; gap: 32px; margin-bottom: 16px; }
.mobile-item { display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: #fafafa; border-radius: 12px; flex: 1; }
.mobile-label { font-size: 14px; color: #666; margin-right: auto; }
.mobile-item .btn-download { padding: 8px 16px; font-size: 13px; }

/* 网页版特殊样式 */
.platform-card.web .platform-body { padding-left: 0; text-align: center; }
.platform-card.web .btn-download { margin: 0 auto; }

/* ========== 底部 ========== */
.footer { background: #1a1a2e; color: #aaa; padding: 48px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; }
.footer-logo { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-slogan { font-size: 13px; color: #666; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-size: 14px; color: #888; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a40; padding: 20px; text-align: center; font-size: 13px; color: #666; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .download-title { font-size: 32px; }
  .platform-card { padding: 24px; }
  .platform-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .platform-body { padding-left: 0; }
  .mobile-downloads { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
