/* ===================================================================
   狗急加速器：官方首页 - 专属样式表
   Design System & Layout Skeleton inspired by QuickQ Download Center
   Palette: Deep Ocean Navy + Electric Cyber Cyan + Crisp White
   =================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --cyan: #00c2ff;
  --cyan-hover: #00a8e0;
  --cyan-glow: rgba(0, 194, 255, 0.3);
  --navy-dark: #07162c;
  --navy-surface: #0a1a38;
  --navy-border: rgba(30, 80, 160, 0.4);
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--cyan);
}

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.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c2ff 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text span {
  color: #0284c7;
  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: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #00c2ff 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.3);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 194, 255, 0.45);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero Download Section (QuickQ Layout)
   =================================================================== */
.hero-download {
  padding: 65px 0 55px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-download-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #0284c7;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.download-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.btn-hero-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--text-dark);
}

.btn-hero-grid:hover {
  border-color: #00c2ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 194, 255, 0.15);
}

.btn-hero-grid.primary-win {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-hero-grid.primary-win:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.btn-grid-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.btn-grid-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.btn-grid-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-hero-grid.primary-win .btn-grid-text p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta-note {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-mockup-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15);
  border: 1px solid #dbeafe;
}

/* ===================================================================
   ⚡ QuickQ 4 大核心技术优势 (Deep Navy Card Container)
   =================================================================== */
.tech-pillars-section {
  padding: 40px 0 70px;
}

.tech-pillars-box {
  background: var(--navy-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--navy-border);
  box-shadow: 0 20px 40px rgba(7, 22, 44, 0.4);
  color: #ffffff;
}

.pillars-box-header {
  margin-bottom: 30px;
  text-align: center;
}

.pillars-box-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pillars-box-desc {
  font-size: 14px;
  color: #94a3b8;
}

.pillars-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-tech-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.pillar-tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 194, 255, 0.4);
  transform: translateY(-2px);
}

.pillar-tech-h4 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-tech-p {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ===================================================================
   选择适合你的版本 (6 宫格版本卡片)
   =================================================================== */
.version-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-head-h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-head-p {
  font-size: 15px;
  color: var(--text-muted);
}

.versions-6grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.version-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.version-card:hover {
  transform: translateY(-4px);
  border-color: #00c2ff;
  box-shadow: var(--shadow-md);
}

.version-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #0284c7;
  margin-bottom: 16px;
}

.version-card-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.version-card-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-version-dl {
  padding: 10px 0;
  text-align: center;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.version-card:hover .btn-version-dl {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* ===================================================================
   各平台详细安装说明 (5 大系统图文指南)
   =================================================================== */
.guides-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}

.guide-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  transition: var(--transition);
}

.guide-item-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.guide-card-p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.guide-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  list-style-type: disc;
  color: #475569;
  font-size: 13px;
}

/* ===================================================================
   常见问题解答 (12 组深度 FAQ 问答库)
   =================================================================== */
.faq-section {
  padding: 90px 0;
  background: #ffffff;
}

.faq-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.faq-card-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-q-btn {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-q-btn:hover {
  color: var(--primary);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #07162c;
  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-col-about p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col-nav h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-nav a {
  color: #94a3b8;
}

.footer-col-nav a:hover {
  color: var(--cyan);
}

.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: #f0f7ff;
  color: var(--primary);
}

.float-btn.active-dl {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-download-inner {
    grid-template-columns: 1fr;
  }
  .versions-6grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-4grid,
  .faq-grid-2col {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .download-btn-grid {
    grid-template-columns: 1fr;
  }
  .versions-6grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
