/* ===================================================================
   狗急加速器：官方客户端下载 - 专属样式表
   Design System & Layout Skeleton inspired by Modern Client SaaS
   Palette: Slate Mist Light Theme + Sapphire Royal Blue + Sunset Orange
   =================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --accent-orange: #f97316;
  --accent-green: #10b981;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-card: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-page);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--primary);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-header-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero Section (Clash Verge Style: Centered + High-Fidelity GUI Mockup)
   =================================================================== */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* GUI Window Mockup (macOS style window frame) */
.hero-mockup-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #ffffff;
  text-align: left;
}

.mockup-header-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-left: 12px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 380px;
  background: #ffffff;
}

.mockup-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  border-radius: 6px;
}

.sidebar-item.active {
  background: #e0e7ff;
  color: var(--primary);
  font-weight: 600;
}

.mockup-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: hidden;
}

.mockup-top-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.status-meta {
  font-size: 13px;
  color: #64748b;
}

.mockup-nodes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
}

.mockup-node-row.selected {
  border-color: var(--primary);
  background: #f0f7ff;
}

.node-name {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-ping {
  font-weight: 700;
  color: #10b981;
  font-size: 12px;
}

/* ===================================================================
   Cross-Platform Download Deck (全平台客户端下载)
   =================================================================== */
.download-deck-section {
  padding: 85px 0;
  background: #ffffff;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-heading-h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-lead-p {
  font-size: 16px;
  color: var(--text-muted);
}

.deck-cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-download-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.platform-download-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.platform-download-box.featured {
  border-color: #93c5fd;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.badge-rec {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.platform-box-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.platform-box-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.platform-box-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn-platform-get {
  width: 100%;
  padding: 12px 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.platform-download-box:hover .btn-platform-get,
.platform-download-box.featured .btn-platform-get {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ===================================================================
   Feature Highlights 6-Grid (核心功能特性)
   =================================================================== */
.features-6grid-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.grid-6features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
}

.feature-grid-item:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.feature-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-item-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   4-Step Quick Onboarding Guide (四步快速启用指引)
   =================================================================== */
.steps-guide-section {
  padding: 90px 0;
  background: #ffffff;
}

.steps-row-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-item-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  position: relative;
  transition: var(--transition);
}

.step-item-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.step-badge-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-item-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   Articles & Knowledge Base (最新资讯与配置指南 - SEO 核心)
   =================================================================== */
.articles-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border-light);
}

.articles-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.article-card-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.article-card-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.article-title-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.article-date-badge {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ===================================================================
   FAQ Section (常见问题解答)
   =================================================================== */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header-btn {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header-btn:hover {
  color: var(--primary);
}

.faq-content-body {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 75px 0 35px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about-col p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 300px;
}

.footer-nav-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  color: #94a3b8;
}

.footer-nav-col a:hover {
  color: #60a5fa;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

/* ===================================================================
   Floating Right Tool Bar
   =================================================================== */
.floating-side-bar {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
}

.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: transparent;
  transition: var(--transition);
}

.float-btn:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.float-btn.active-dl {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* ===================================================================
   Download Page Specific Styles
   =================================================================== */
.download-page-header {
  padding: 60px 0 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .deck-cards-3col,
  .grid-6features,
  .steps-row-4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid-2col {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .mockup-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar {
    display: none;
  }
  .deck-cards-3col,
  .grid-6features,
  .steps-row-4col {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
