/* ═══════════════════════════════════════════════════
   TG中文版 官网样式表
   设计理念：深蓝渐变科技风，现代简洁
   ═══════════════════════════════════════════════════ */

/* ─── 基础重置与变量 ─── */
:root {
  --primary: #00a8e8;
  --primary-dark: #0077b6;
  --primary-darker: #023e8a;
  --accent: #00b4d8;
  --success: #52b788;
  --warning: #f4a261;
  --danger: #e63946;
  --dark: #0a1929;
  --dark-light: #112240;
  --dark-lighter: #1a3353;
  --text: #e6f1ff;
  --text-secondary: #8892b0;
  --text-muted: #5a6a82;
  --bg: #0a1929;
  --bg-light: #112240;
  --bg-card: #112240;
  --border: #1a3353;
  --shadow: rgba(0, 168, 232, 0.15);
  --gradient-start: #023e8a;
  --gradient-end: #00a8e8;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* {
  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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── 动画关键帧 ─── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 168, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 168, 232, 0); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease forwards;
}

/* ─── 滚动显示动画 ─── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── 导航栏 ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 25, 41, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.navbar-nav a:hover {
  color: var(--text);
  background: var(--bg-light);
}

.navbar-nav a.active {
  color: var(--primary);
  background: rgba(0, 168, 232, 0.1);
  border: 1px solid rgba(0, 168, 232, 0.3);
}

.navbar-nav a.active:hover {
  background: rgba(0, 168, 232, 0.15);
}

.navbar-nav a svg {
  width: 18px;
  height: 18px;
}

/* 移动端菜单 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ─── 按钮样式 ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 168, 232, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 168, 232, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ─── 区块容器 ─── */
.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Hero 区域 ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, var(--primary-darker) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 168, 232, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 168, 232, 0.1);
  border: 1px solid rgba(0, 168, 232, 0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  animation: fadeIn 1.2s ease 0.3s both;
}

.hero-phone {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: var(--dark-light);
  border-radius: 40px;
  padding: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 168, 232, 0.1);
  animation: float 5s ease-in-out infinite;
}

.hero-phone-screen {
  background: var(--dark);
  border-radius: 28px;
  padding: 24px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.phone-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.phone-chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius);
  max-width: 85%;
  font-size: 0.9rem;
}

.phone-chat-bubble.received {
  background: var(--dark-lighter);
  align-self: flex-start;
}

.phone-chat-bubble.sent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  align-self: flex-end;
}

/* ─── 特性卡片 ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 168, 232, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 168, 232, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), rgba(0, 180, 216, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── 下载平台区域 ─── */
.download-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--dark-light) 100%);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 232, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), rgba(0, 180, 216, 0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.platform-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.platform-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.platform-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ─── 功能详细介绍区 ─── */
.detail-section {
  background: var(--dark-light);
}

.detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item.reverse {
  direction: rtl;
}

.detail-item.reverse > * {
  direction: ltr;
}

.detail-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.detail-visual svg {
  max-width: 200px;
  max-height: 200px;
}

.detail-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.detail-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.detail-content ul {
  list-style: none;
  margin-top: 20px;
}

.detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-content ul li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── 用户评价区 ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(0, 168, 232, 0.2);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-weight: 600;
  font-size: 1rem;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--warning);
}

.review-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── 数据统计区 ─── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--dark-light) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(10, 25, 41, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(0, 168, 232, 0.3);
  transform: translateY(-4px);
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(0, 168, 232, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ─── 对比表格 ─── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.compare-table th {
  background: var(--dark);
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.compare-table tr:hover td {
  background: rgba(0, 168, 232, 0.03);
}

.compare-table .tg-col {
  color: var(--primary);
  font-weight: 600;
}

.compare-check {
  color: var(--success);
}

.compare-cross {
  color: var(--danger);
}

.compare-check svg, .compare-cross svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 168, 232, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(0, 168, 232, 0.03);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ─── CTA 区域 ─── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--dark-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 168, 232, 0.15) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ─── 页脚 ─── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(82, 183, 120, 0.1);
  border: 1px solid rgba(82, 183, 120, 0.2);
  border-radius: var(--radius);
  color: var(--success);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-badge svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ─── 面包屑 ─── */
.breadcrumb {
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ─── 下载页专用样式 ─── */
.download-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-darker) 100%);
  padding: 140px 24px 80px;
  text-align: center;
}

.download-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.download-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.download-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.download-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 600px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.download-main-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.15), rgba(0, 180, 216, 0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 168, 232, 0.25);
}

.download-main-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.download-main h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.download-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-meta svg {
  width: 16px;
  height: 16px;
}

.platform-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.platform-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.platform-download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 232, 0.3);
}

.platform-download-card .platform-icon {
  margin-bottom: 16px;
}

.platform-download-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.platform-download-card .version-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.platform-download-card .install-steps {
  text-align: left;
  margin: 16px 0;
  padding: 16px;
  background: var(--dark);
  border-radius: var(--radius-sm);
}

.platform-download-card .install-steps ol {
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* 安装指南 */
.guide-section {
  background: var(--dark-light);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.guide-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.guide-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-block h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.guide-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

.guide-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 系统要求 */
.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.req-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.req-item span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* 更新日志 */
.changelog-list {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-version {
  flex-shrink: 0;
  width: 100px;
}

.changelog-version .version-tag {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
}

.changelog-version .version-date {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.changelog-content h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.changelog-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 安全下载 */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.safety-card:hover {
  border-color: rgba(0, 168, 232, 0.2);
}

.safety-card .feature-icon {
  margin: 0 auto 16px;
}

.safety-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.safety-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── SEO页专用 ─── */
.seo-content {
  max-width: 900px;
  margin: 0 auto;
}

.seo-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 32px;
}

.seo-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.seo-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--primary);
}

.seo-article p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1rem;
}

.seo-article ul {
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.seo-article ul li {
  margin-bottom: 8px;
}

.seo-cta {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary-darker), var(--dark-light));
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.seo-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.seo-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── 对比卡片（SEO页用） ─── */
.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.compare-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.compare-card h4 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.compare-card ul {
  list-style: none;
  padding-left: 0;
}

.compare-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.compare-card ul li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.compare-card.tg-card {
  border-color: rgba(0, 168, 232, 0.3);
  background: rgba(0, 168, 232, 0.05);
}

.compare-card.tg-card h4 {
  color: var(--primary);
}

/* ─── 技巧卡片 ─── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.tip-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 14px;
}

.tip-card svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.tip-card h4 {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

.tip-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── 响应式 ─── */
@media (max-width: 1024px) {
  .features-grid,
  .platforms-grid,
  .reviews-grid,
  .stats-grid,
  .safety-grid,
  .platform-download-grid,
  .compare-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-container,
  .detail-item,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .detail-item.reverse {
    direction: ltr;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 25, 41, 0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .features-grid,
  .platforms-grid,
  .reviews-grid,
  .stats-grid,
  .safety-grid,
  .platform-download-grid,
  .compare-cards,
  .tips-grid,
  .requirements-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .download-main {
    padding: 32px 20px;
    margin: -20px 20px 0;
  }

  .guide-grid {
    gap: 24px;
  }

  .guide-block {
    padding: 24px;
  }

  .seo-article {
    padding: 28px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .detail-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* ─── 滚动条美化 ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-lighter);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ─── 选中样式 ─── */
::selection {
  background: rgba(0, 168, 232, 0.3);
  color: var(--text);
}
