/* ===================================================================
   狗急加速器：电脑版下载 - 专属样式表
   Design System & Layout Skeleton inspired by HelloWorld Content Hub
   Palette: Sapphire Blue + Energy Amber + Fresh Clean White
   =================================================================== */

:root {
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --accent-amber: #ff7d00;
  --accent-amber-hover: #e67000;
  --bg-page: #f7f8fa;
  --bg-white: #ffffff;
  --text-dark: #1d2129;
  --text-body: #4e5969;
  --text-muted: #86909c;
  --border-light: #e5e6eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 32px rgba(0, 102, 255, 0.1);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

* {
  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;
  padding-bottom: 70px; /* 为移动端底部 Dock 留出安全空间 */
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-amber);
}

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: 68px;
}

.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, #0066ff 0%, #0052cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  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: #4e5969;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.3);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.45);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #4e5969;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 幻灯片轮播组件 (Hero Carousel - HelloWorld 架构)
   =================================================================== */
.hero-carousel-section {
  padding: 30px 0 40px;
}

.carousel-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.carousel-slide {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 50px 60px;
}

.carousel-slide.active {
  display: grid;
}

.slide-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.slide-content h2 span {
  color: var(--primary);
}

.slide-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #e8f3ff;
  color: var(--primary);
  margin-bottom: 16px;
}

.slide-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 26px;
}

.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-slide-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
  transition: var(--transition);
}

.btn-slide-download:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.45);
}

.btn-slide-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2f3f5;
  color: #4e5969;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-slide-sub:hover {
  background: #e5e6eb;
  color: var(--text-dark);
}

.slide-visual-box {
  background: linear-gradient(135deg, #0b1736 0%, #172a5a 100%);
  border-radius: var(--radius-md);
  padding: 30px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.visual-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.visual-title {
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
}

.visual-status-pill {
  font-size: 12px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* 轮播底栏控制栏 */
.carousel-nav-bar {
  background: #fcfdfe;
  border-top: 1px solid var(--border-light);
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator-dot {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: #e5e6eb;
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: var(--primary);
  width: 36px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #4e5969;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-arrow-btn:hover {
  background: #e8f3ff;
  color: var(--primary);
  border-color: #bfdbfe;
}

.slide-counter {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===================================================================
   精选文章走马灯推荐区 (Featured Articles Slider)
   =================================================================== */
.featured-slider-section {
  padding: 40px 0 60px;
}

.section-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head-title h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.section-head-title span {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 10px;
}

.featured-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.featured-article-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.card-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #e8f3ff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.card-article-h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-article-p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid #f2f3f5;
  padding-top: 12px;
}

/* ===================================================================
   最新资讯与实操手册信息流 (News Stream & PC Guides)
   =================================================================== */
.news-stream-section {
  padding: 50px 0 80px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.news-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.news-item-row {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.news-item-row:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.news-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.news-tag-bubble {
  background: #e8f3ff;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* ===================================================================
   友情链接与生态合作 (Friendly Links)
   =================================================================== */
.friendly-links-section {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.links-row-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}

.links-label {
  font-weight: 700;
  color: var(--text-dark);
}

.friendly-link-item {
  color: var(--text-muted);
  transition: var(--transition);
}

.friendly-link-item:hover {
  color: var(--primary);
}

/* ===================================================================
   移动端专属底部悬浮 Dock (Mobile Bottom Dock - HelloWorld 架构)
   =================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
}

.dock-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4e5969;
  font-size: 11px;
  font-weight: 600;
  gap: 2px;
}

.dock-item-btn.active {
  color: var(--primary);
}

.dock-item-icon {
  font-size: 18px;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #191c24;
  color: #8f959e;
  padding: 75px 0 35px;
  font-size: 14px;
}

.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: #8f959e;
}

.footer-col-nav 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: #e8f3ff;
  color: var(--primary);
}

.float-btn.active-dl {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

/* ===================================================================
   Download Page Details
   =================================================================== */
.dl-card-grid-pc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.pc-download-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  transition: var(--transition);
}

.pc-download-box:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    padding: 36px 30px;
  }
  .featured-grid-3,
  .dl-card-grid-pc {
    grid-template-columns: 1fr;
  }
  .news-stream-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .slide-content h2 {
    font-size: 26px;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-bottom-dock {
    display: flex;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 75px;
  }
}
