/* ===================================================================
   狗急加速器：最新版本下载 - 专属样式表
   Design System & Layout Skeleton inspired by Sogou Windows Portal
   Palette: Flame Orange-Red + High-Speed Cobalt Blue + Crisp White
   =================================================================== */

:root {
  --primary-orange: #fa541c;
  --primary-orange-hover: #d4380d;
  --primary-orange-glow: rgba(250, 84, 28, 0.35);
  --accent-blue: #1890ff;
  --accent-blue-hover: #096dd9;
  --bg-page: #f7f8fa;
  --bg-white: #ffffff;
  --text-dark: #1f2329;
  --text-body: #4e5969;
  --text-muted: #86909c;
  --border-light: #e5e6eb;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(250, 84, 28, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --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.65;
  overflow-x: hidden;
  padding-bottom: 75px; /* 为底部常驻通栏留出安全空间 */
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-orange);
}

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: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fa541c 0%, #ff7a45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(250, 84, 28, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--primary-orange);
  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-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-orange);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(250, 84, 28, 0.35);
}

.btn-header-cta:hover {
  background: var(--primary-orange-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 聚焦首屏与吉祥物 (Sogou 风格亲民高转化架构)
   =================================================================== */
.hero-sogou-section {
  padding: 70px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, #fff2e8 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border-light);
}

.mascot-avatar-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fa541c 0%, #1890ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(250, 84, 28, 0.25);
}

.mascot-avatar-box svg {
  width: 58px;
  height: 58px;
  fill: #ffffff;
}

.hero-main-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-main-title span {
  color: var(--primary-orange);
}

.hero-slogan-desc {
  font-size: 17px;
  color: var(--text-body);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-pill-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-pill-orange-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #fa541c 0%, #ff7a45 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px var(--primary-orange-glow);
  transition: var(--transition);
}

.btn-pill-orange-dl:hover {
  background: linear-gradient(135deg, #d4380d 0%, #fa541c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(250, 84, 28, 0.5);
}

/* 快速切换其他终端链接 */
.quick-terminals-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.quick-term-link {
  color: #4e5969;
  font-weight: 600;
  transition: var(--transition);
}

.quick-term-link:hover {
  color: var(--primary-orange);
}

/* ===================================================================
   4 大核心特色场景板块 (Sogou 图文大卡片)
   =================================================================== */
.features-scenes-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-h2-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-sub-lead {
  font-size: 16px;
  color: var(--text-muted);
}

.features-scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.scene-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: var(--transition);
}

.scene-card-box:hover {
  background: #ffffff;
  border-color: #ffbb96;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.scene-card-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.scene-card-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.scene-card-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   全平台与多架构下载矩阵 (Platform Matrix)
   =================================================================== */
.platform-matrix-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.platform-matrix-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.matrix-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.matrix-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-orange);
  box-shadow: var(--shadow-sm);
}

.matrix-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.matrix-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.matrix-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.btn-matrix-dl {
  width: 100%;
  padding: 9px 0;
  background: #fff2e8;
  border: 1px solid #ffd591;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-orange);
  transition: var(--transition);
}

.matrix-card-item:hover .btn-matrix-dl {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #ffffff;
}

/* ===================================================================
   用户交流与专属服务支持 (Support & Community)
   =================================================================== */
.support-community-section {
  padding: 70px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.community-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.comm-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.comm-col p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================================================
   常见问题解答 FAQ
   =================================================================== */
.faq-section {
  padding: 85px 0;
  background: var(--bg-page);
}

.faq-list-wrap {
  max-width: 820px;
  margin: 35px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-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-btn:hover {
  color: var(--primary-orange);
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   底部常驻悬浮通栏 (Bottom Sticky Bar)
   =================================================================== */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  z-index: 998;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.btn-sticky-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fa541c 0%, #ff7a45 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(250, 84, 28, 0.35);
}

.btn-sticky-orange:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #191c24;
  color: #8f959e;
  padding: 75px 0 35px;
  font-size: 13px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-about p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col-nav h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-nav a {
  color: #8f959e;
}

.footer-col-nav a:hover {
  color: var(--primary-orange);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  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: #fff2e8;
  color: var(--primary-orange);
}

.float-btn.active-dl {
  background: var(--primary-orange);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(250, 84, 28, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-scenes-grid {
    grid-template-columns: 1fr;
  }
  .platform-matrix-grid,
  .community-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 30px;
  }
  .platform-matrix-grid,
  .community-box {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 60px;
  }
}
