/* ============================================
   FurMark Download Site - Main Stylesheet
   低调高级 · 内容紧凑 · 下载站风格
   ============================================ */

:root {
  --bg-0: #0a0e1a;
  --bg-1: #0f1422;
  --bg-2: #131826;
  --bg-3: #1a2030;
  --border: #232b3e;
  --border-2: #2d3548;
  --text-1: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --primary: #f97316;
  --primary-2: #ea580c;
  --primary-3: #fb923c;
  --primary-glow: rgba(249, 115, 22, 0.18);
  --accent: #38bdf8;
  --accent-2: #0ea5e9;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --gradient-1: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-2: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
  --gradient-bg: linear-gradient(180deg, #0a0e1a 0%, #0f1422 100%);
  --shadow-1: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(249, 115, 22, 0.25);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--gradient-bg);
  color: var(--text-1);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary-3); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

/* ===== 布局 ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col { flex: 1; min-width: 0; }

/* ===== 顶部导航 ===== */
.topbar {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-1);
}
.brand img { width: 32px; height: 32px; }
.brand-name { color: var(--text-1); }
.brand-ver { color: var(--text-3); font-size: 12px; font-weight: 400; margin-left: 6px; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav a:hover { background: var(--bg-2); color: var(--text-1); }
.nav a.active { color: var(--primary); background: var(--bg-2); }
.nav .nav-cta {
  background: var(--gradient-1);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 16px;
}
.nav .nav-cta:hover { background: var(--gradient-2); transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; color: var(--text-1); cursor: pointer; padding: 8px; font-size: 20px; }

/* ===== 顶部通告条 ===== */
.notice {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.08), rgba(249, 115, 22, 0.02));
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
  padding: 8px 0;
}
.notice-inner { display: flex; align-items: center; gap: 10px; justify-content: center; }
.notice-dot {
  width: 6px; height: 6px; background: var(--success);
  border-radius: 50%; box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== 英雄区 ===== */
.hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.stat {
  border-left: 2px solid var(--primary);
  padding-left: 12px;
}
.stat-num { font-size: 22px; font-weight: 700; color: var(--text-1); }
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(249, 115, 22, 0.4); color: #fff; }
.btn-ghost {
  background: var(--bg-2);
  color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--border-2); color: var(--text-1); }

.hero-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}
.hero-img img { width: 100%; display: block; }
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 26, 0.5));
  pointer-events: none;
}
.hero-img-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(15, 20, 34, 0.85);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* ===== 通用章节 ===== */
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { margin-bottom: 32px; text-align: center; }
.section-head.left { text-align: left; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 8px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-2);
  font-size: 15px;
  max-width: 720px;
  margin: 0 auto;
}
.section-head.left .section-sub { margin: 0; }

/* ===== 卡片 ===== */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-icon {
  width: 32px; height: 32px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.card p { color: var(--text-2); font-size: 14px; }

/* ===== 网格 ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ===== 功能特性大区 ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.feature-img img { width: 100%; display: block; }
.feature-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.feature-text p { color: var(--text-2); margin-bottom: 16px; }
.feature-list { list-style: none; }
.feature-list li {
  padding: 8px 0;
  color: var(--text-1);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list li::before {
  content: "▸";
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* ===== 下载按钮区 ===== */
.dl-block {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.dl-block::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.dl-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.25s;
}
.dl-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.dl-card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.dl-card.quark .dl-card-icon { background: linear-gradient(135deg, #ffd84d, #ff9d3d); }
.dl-card.baidu .dl-card-icon { background: linear-gradient(135deg, #2585fd, #1e6cd9); }
.dl-card-name { font-size: 16px; font-weight: 700; color: var(--text-1); }
.dl-card-info { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dl-card-cta {
  margin-left: auto;
  background: var(--gradient-1);
  color: #fff;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.dl-card-cta:hover { background: var(--gradient-2); transform: translateY(-1px); }

.dl-tip {
  background: rgba(249, 115, 22, 0.06);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 24px;
  position: relative;
}
.dl-tip strong { color: var(--primary-3); }

/* ===== 二维码呼吸边框 ===== */
.qr-frame {
  position: relative;
  display: inline-block;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}
.qr-frame::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-3), var(--primary));
  background-size: 300% 300%;
  animation: qrbreathe 3s ease-in-out infinite, qrgb 6s linear infinite;
  z-index: -1;
}
@keyframes qrbreathe {
  0%, 100% { opacity: 0.55; filter: blur(0.5px); }
  50% { opacity: 1; filter: blur(0); }
}
@keyframes qrgb {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.qr-frame img { display: block; border-radius: 6px; }

/* ===== 弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s;
}
.modal-mask.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-2);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--bg-3); color: var(--text-1); }

.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal h3 .ver { font-size: 12px; color: var(--primary); background: var(--primary-glow); padding: 3px 8px; border-radius: 4px; font-weight: 600; }
.modal-sub { color: var(--text-2); font-size: 13px; margin-bottom: 22px; }

.modal-body { display: flex; gap: 22px; align-items: center; }
.modal-qr { text-align: center; flex-shrink: 0; }
.modal-qr .qr-frame img { width: 150px; height: 150px; }
.modal-qr-tip { font-size: 12px; color: var(--text-2); margin-top: 8px; line-height: 1.5; }

.modal-info { flex: 1; }
.modal-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.modal-info ul { list-style: none; }
.modal-info li {
  font-size: 13px;
  color: var(--text-2);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.modal-info li::before { content: "✓"; color: var(--success); font-weight: bold; flex-shrink: 0; }

.modal-warn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  margin-top: 16px;
  line-height: 1.6;
}

.modal-cta-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.modal-cta-hint strong { color: var(--primary-3); }

/* ===== 截图画廊 ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: all 0.3s;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover { transform: translateY(-3px); border-color: var(--primary); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff;
  font-size: 12px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-2); }
.faq-q {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after {
  content: "+";
  color: var(--primary);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
  transition: all 0.3s;
}
.faq-item.open .faq-a { padding: 0 20px 18px; max-height: 500px; }

/* ===== 表格 ===== */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.tbl th { background: var(--bg-3); color: var(--text-2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg-3); }

/* ===== 时间线 ===== */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute;
  left: -24px; top: 4px;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg-0);
}
.tl-date { font-size: 12px; color: var(--primary-3); font-weight: 600; margin-bottom: 4px; }
.tl-title { font-weight: 700; margin-bottom: 6px; }
.tl-text { color: var(--text-2); font-size: 14px; }

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.tag.primary { background: var(--primary-glow); color: var(--primary-3); border-color: rgba(249, 115, 22, 0.3); }
.tag.success { background: rgba(34, 197, 94, 0.1); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-2); font-size: 13px; }
.footer a:hover { color: var(--primary); }
.footer-brand p { color: var(--text-2); font-size: 13px; margin-top: 10px; line-height: 1.7; }

.disclaimer {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.8;
  margin: 20px 0 24px;
  text-align: center;
}
.disclaimer strong { color: var(--text-2); }

.copyright {
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ===== 面包屑 ===== */
.crumbs {
  font-size: 13px;
  color: var(--text-3);
  padding: 16px 0;
}
.crumbs a { color: var(--text-2); }
.crumbs .sep { margin: 0 6px; color: var(--text-3); }
.crumbs .current { color: var(--text-1); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-block { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .feature-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column;
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 12px;
    display: none;
  }
  .nav.active { display: flex; }
  .nav a { width: 100%; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 36px 0 24px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 18px; }
  .modal { padding: 24px; }
  .modal-body { flex-direction: column; text-align: center; }
  .container { padding: 0 14px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .dl-card { flex-direction: column; text-align: center; }
  .dl-card-cta { margin-left: 0; width: 100%; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat { border-left: none; border-top: 2px solid var(--primary); padding-left: 0; padding-top: 8px; }
}
