/* =============================================
   down-clash.com.cn - 原创全新布局样式
   与 clashofficial.com 完全不同的设计风格
   ============================================= */

:root {
  --primary: #5b21b6;
  --primary-dark: #4c1d95;
  --primary-light: #8b5cf6;
  --secondary: #0d9488;
  --accent: #f97316;
  --dark: #0c0a1d;
  --dark-2: #1a1333;
  --dark-3: #2d2250;
  --purple: #7c3aed;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --green: #10b981;
  --red: #ef4444;
  --gray: #94a3b8;
  --light: #f1f5f9;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.2);
  --gradient-hero: linear-gradient(135deg, #0c0a1d 0%, #1a1333 40%, #2d1b69 100%);
  --gradient-primary: linear-gradient(135deg, #5b21b6, #7c3aed);
  --gradient-btn: linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-green: linear-gradient(135deg, #0d9488, #10b981);
  --gradient-cyan: linear-gradient(135deg, #0891b2, #06b6d4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: #e2e8f0;
  background: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   Container
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   Header - 全屏沉浸式导航
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12,10,29,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(124,58,237,0.4);
}

.logo-text {
  background: linear-gradient(90deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav a.active { color: #c084fc; background: rgba(124,58,237,0.12); }

.nav-download {
  padding: 9px 22px !important;
  background: var(--gradient-btn) !important;
  color: #fff !important;
  font-weight: 600;
  margin-left: 8px;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.5) !important;
  color: #fff !important;
  background: var(--gradient-btn) !important;
}

/* =============================================
   Hero Section - 全新左右不对称布局
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 65%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 65%);
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-left { max-width: 560px; }

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.55);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat { text-align: left; }

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 6px;
}

/* Hero Right - 平台快捷下载网格 */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}

.platform-quick-card:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.3);
  transform: translateX(8px);
}

.pqc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pqc-icon-win { background: rgba(0,120,212,0.15); color: #3b82f6; }
.pqc-icon-mac { background: rgba(0,0,0,0.3); color: #a3a3a3; }
.pqc-icon-and { background: rgba(16,185,129,0.15); color: #10b981; }
.pqc-icon-ios { background: rgba(0,0,0,0.2); color: #a3a3a3; }
.pqc-icon-lin { background: rgba(255,153,0,0.12); color: #f59e0b; }
.pqc-icon-all { background: rgba(124,58,237,0.15); color: #c084fc; }

.pqc-info { flex: 1; }

.pqc-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.pqc-desc {
  font-size: 0.8rem;
  color: #64748b;
}

.pqc-arrow {
  font-size: 18px;
  color: #334155;
  transition: transform 0.2s, color 0.2s;
}

.platform-quick-card:hover .pqc-arrow {
  transform: translateX(4px);
  color: #c084fc;
}

/* =============================================
   Section 通用
   ============================================= */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-2); }
.section-darker { background: var(--dark); }
.section-purple { background: linear-gradient(180deg, #1a1333 0%, #2d1b69 100%); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c084fc;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: #7c3aed;
  border-radius: 1px;
}

.section-title {
  font-size: 2.125rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 600px;
  margin-bottom: 56px;
}

/* =============================================
   平台卡片 - 全新网格布局
   ============================================= */
.platform-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.platform-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-6px);
}

.platform-card:hover::before { opacity: 1; }

.platform-card.win::before { background: linear-gradient(90deg, #3b82f6, #0ea5e9); }
.platform-card.mac::before { background: linear-gradient(90deg, #6b7280, #a3a3a3); }
.platform-card.and::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.platform-card.ios::before { background: linear-gradient(90deg, #6b7280, #d1d5db); }
.platform-card.lin::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.platform-card.ver::before { background: var(--gradient-btn); }

.platform-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.platform-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.platform-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #c084fc;
  text-decoration: none;
  transition: gap 0.2s;
}

.card-link:hover { gap: 10px; color: #e879f9; }

/* =============================================
   协议标签展示 - 横向滚动
   ============================================= */
.protocol-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.proto-tag {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.proto-tag-v { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.2); }
.proto-tag-t { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.proto-tag-s { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.proto-tag-h { background: rgba(236,72,153,0.12); color: #f472b6; border: 1px solid rgba(236,72,153,0.2); }
.proto-tag-u { background: rgba(6,182,212,0.12); color: #22d3ee; border: 1px solid rgba(6,182,212,0.2); }
.proto-tag-l { background: rgba(168,85,247,0.12); color: #d8b4fe; border: 1px solid rgba(168,85,247,0.2); }

/* =============================================
   功能特性 - 左右交互布局
   ============================================= */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-visual {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.05));
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: 24px;
  padding: 48px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list { display: flex; flex-direction: column; gap: 20px; }

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: all 0.25s;
}

.feature-item:hover {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.2);
  transform: translateX(6px);
}

.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(124,58,237,0.12);
  color: #c084fc;
}

.feature-item-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.feature-item-text p {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   对比表格 - 深色主题
   ============================================= */
.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead { background: rgba(124,58,237,0.08); }

th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  color: #c084fc;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}

td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #94a3b8;
}

tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(124,58,237,0.04); }
tbody tr:hover td { color: #e2e8f0; }

/* =============================================
   FAQ 手风琴
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(124,58,237,0.2); }

summary {
  list-style: none;
  padding: 18px 24px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #64748b;
  transition: transform 0.2s;
  flex-shrink: 0;
}

details[open] summary::after { transform: rotate(45deg); color: #c084fc; }

.faq-answer {
  padding: 0 24px 18px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin: 0; }
.faq-answer ul, .faq-answer ol {
  padding-left: 20px;
  margin: 10px 0;
}

/* =============================================
   博客卡片 - 横向大图布局
   ============================================= */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blog-card-img {
  background: linear-gradient(135deg, #1a1333, #2d1b69);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(192,132,252,0.3);
  min-height: 160px;
}

.blog-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(124,58,237,0.15);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}

.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.65;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: #475569;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #06050f;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #475569;
  margin-top: 14px;
  line-height: 1.7;
}

.footer h4 {
  color: #f1f5f9;
  font-size: 0.875rem;
  margin-bottom: 18px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #c084fc; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #475569;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a { color: #475569; text-decoration: none; }
.footer-bottom-links a:hover { color: #c084fc; }

/* =============================================
   Download Page 专用
   ============================================= */
.download-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 65%);
}

.dl-stat-row {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.dl-stat {
  text-align: center;
  padding: 16px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.dl-stat-num {
  font-size: 1.625rem;
  font-weight: 900;
  color: #10b981;
}

.dl-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 4px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dl-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  transition: all 0.3s;
  align-items: flex-start;
}

.dl-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(124,58,237,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.dl-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.dl-icon-g { background: rgba(59,130,246,0.12); color: #3b82f6; }
.dl-icon-m { background: rgba(107,114,128,0.12); color: #9ca3af; }
.dl-icon-a { background: rgba(16,185,129,0.12); color: #10b981; }
.dl-icon-i { background: rgba(107,114,128,0.12); color: #9ca3af; }
.dl-icon-l { background: rgba(245,158,11,0.12); color: #f59e0b; }
.dl-icon-v { background: rgba(124,58,237,0.12); color: #c084fc; }

.dl-info { flex: 1; }

.dl-info h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.dl-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.6;
}

.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.dl-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--gradient-green);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
}

.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  color: #fff;
}

.dl-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  margin-left: 8px;
}

.dl-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  box-shadow: none;
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.875rem;
  color: #64748b;
}

.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: #c084fc; }
.breadcrumb span { color: #c084fc; }

/* =============================================
   Article
   ============================================= */
.article { max-width: 800px; margin: 0 auto; }

.article-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: #64748b;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.article-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content p {
  color: #94a3b8;
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: #94a3b8;
}

.article-content li { margin-bottom: 8px; line-height: 1.7; }

.article-content a { color: #c084fc; }
.article-content a:hover { color: #e879f9; }

.article-content strong { color: #e2e8f0; }

/* =============================================
   Code
   ============================================= */
code {
  background: rgba(124,58,237,0.1);
  color: #c084fc;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Fira Code', Consolas, monospace;
  font-size: 0.875em;
}

pre {
  background: #0a0614;
  color: #e2e8f0;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-family: 'Fira Code', Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  border: 1px solid rgba(124,58,237,0.1);
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* =============================================
   工具类
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.hidden { display: none; }
.fl { float: left; }
.fr { float: right; }

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: grid; grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.625rem; }
  .platform-showcase { grid-template-columns: 1fr 1fr; }
  .hero-right { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img { min-height: 120px; }
  .nav { display: none; }
  .header { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats-row { gap: 20px; flex-wrap: wrap; }
  .dl-stat-row { gap: 16px; }
  .dl-stat { padding: 12px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.625rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .platform-showcase { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4c3d7a; }
