/* ===================================================================
   狗急加速器：全球专线加速 - 对标 quickqix.com 经典优雅渐变风格
   =================================================================== */

:root {
  --wrap: 1100px;
  --gap: 22px;
  --border: rgba(0, 0, 0, 0.08);
  --brand: #1a73e8;
  --accent: #2b71ff;
  --ink: #0b1b2b;
  --muted: #6f7a8a;
  --line: #e8eef5;
  --wa-green: #2b71ff;
  --wa-dark: #111111;
  --wa-gray: #555555;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: #111111;
  line-height: 1.7;
  font-size: 16px;
  /* 标志性多段温和渐变底色 (对标 quickqix) */
  background: linear-gradient(135deg, #fdfbfb 0%, #e6f0ff 40%, #f3e9ff 70%, #ffe6f3 100%) !important;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================================
   顶部磨砂固定导航栏 (site-header 对标 quickqix)
   =================================================================== */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 19px;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon-svg {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  font-weight: 500;
  color: #111111;
  font-size: 14.5px;
}
.nav a:hover, .nav a.active {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.btn-header-fast {
  background: var(--accent);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
}
.btn-header-fast:hover {
  background: #1a56d6;
  color: #ffffff;
  text-decoration: none;
}

/* ===================================================================
   Hero 首屏双栏排布区 (.wa-hero 对标 quickqix)
   =================================================================== */
.wa-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 100px auto 60px;
  padding: 0 20px;
}
.wa-hero__content {
  flex: 1.1;
}
.wa-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.wa-hero h1 {
  font-size: 38px;
  line-height: 1.35;
  color: #111111;
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.wa-hero h1 strong {
  color: var(--accent);
}
.wa-hero p {
  font-size: 17px;
  color: #444444;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Hero 黑色商店大按键 (.download-btn 对标 quickqix) */
.wa-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  line-height: 1.2;
  transition: all 0.25s ease;
  min-width: 200px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.download-btn:hover {
  background: #222222;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.download-btn .btn-icon {
  width: 26px;
  height: 26px;
  fill: #60a5fa;
}
.download-btn span {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}
.download-btn span small {
  font-size: 11px;
  font-weight: normal;
  color: #cbd5e1;
  text-transform: uppercase;
}

/* Hero 右侧透视图片 (.wa-hero__image) */
.wa-hero__image {
  flex: 0.9;
  text-align: right;
}
.hero-window-mockup {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(43, 113, 255, 0.12);
  text-align: left;
}
.window-mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.node-ping-pill {
  color: #10b981;
  font-weight: 800;
}

/* ===================================================================
   居中极速介绍区块 (.vpn-section 对标 quickqix)
   =================================================================== */
.vpn-section {
  padding: 60px 20px;
  text-align: center;
}
.vpn-section .text-box {
  max-width: 820px;
  margin: 0 auto;
}
.vpn-section .title {
  font-size: 30px;
  font-weight: 800;
  color: #1f2a44;
  margin-bottom: 16px;
  line-height: 1.35;
}
.vpn-section .desc {
  font-size: 16.5px;
  color: #5f6b85;
  line-height: 1.8;
}

/* ===================================================================
   双图文斑马交错演示区 (.wa-section & reverse 对标 quickqix)
   =================================================================== */
.wa-section {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 50px;
}
.wa-section.reverse {
  flex-direction: row-reverse;
}
.wa-text {
  flex: 1.1;
}
.wa-text h2 {
  font-size: 32px;
  color: var(--wa-dark);
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.wa-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--wa-gray);
  margin-bottom: 20px;
}
.wa-text strong {
  color: var(--accent);
}
.wa-img {
  flex: 0.9;
  text-align: center;
}
.wa-img-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* ===================================================================
   近期博客 3 列卡片网格 (.home-latest 对标 quickqix)
   =================================================================== */
.home-latest {
  max-width: 1200px;
  margin: 70px auto 40px;
  padding: 0 20px;
}
.home-latest > h2 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-link {
  display: block;
  color: inherit !important;
}
.card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e6e9f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 113, 255, 0.4);
  box-shadow: 0 12px 28px rgba(43, 113, 255, 0.12);
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.card-date {
  font-size: 13px;
  color: #7a8797;
  margin-bottom: 8px;
  font-weight: 600;
}
.card-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 800;
  color: #111111;
}
.card:hover .card-title {
  color: var(--accent);
}
.card-desc {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

/* ===================================================================
   横向资讯条走马灯 (.wa-strip 背景 #E9FBE3 对标 quickqix)
   =================================================================== */
.wa-strip {
  background: #e9fbe3;
  border-radius: 24px;
  padding: 32px 24px 38px;
  margin: 50px auto;
  max-width: 1200px;
}
.wa-strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 8px;
}
.wa-strip__title {
  font-size: 26px;
  line-height: 1.25;
  margin: 0;
  color: #0f1f2e;
  font-weight: 900;
}
.wa-strip__desc {
  margin: 0;
  color: #334155;
  font-size: 14.5px;
  max-width: 720px;
}
.carousel-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.wa-item {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.16);
}
.wa-item__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}
.wa-item__text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #334155;
}

/* ===================================================================
   结构化多列企业页脚 (.wa-lite-footer 对标 quickqix)
   =================================================================== */
footer.wa-lite-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  color: #333333;
  margin-top: 50px;
}
.wa-lite__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.wa-lite__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #111111;
}
.wa-lite__list--products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.wa-lite__link-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  transition: all 0.2s ease;
}
.wa-lite__link-product:hover {
  background: #eff6ff;
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}
.wa-lite__icon {
  font-size: 26px;
}

.wa-lite__list {
  list-style: none;
}
.wa-lite__link {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #4b5563;
}
.wa-lite__link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.wa-lite-footer__bar {
  background: #fafafa;
  border-top: 1px solid #eee;
  color: #777777;
  font-size: 13px;
  padding: 16px 20px;
  text-align: center;
}

/* 浮动右侧快速工具 */
.floating-side-bar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.float-btn.active-dl {
  background: var(--accent);
  color: #ffffff;
}

/* 响应式适配 */
@media (max-width: 960px) {
  .wa-hero {
    flex-direction: column;
    text-align: center;
    margin-top: 80px;
  }
  .wa-hero__actions {
    justify-content: center;
  }
  .wa-section, .wa-section.reverse {
    flex-direction: column;
    text-align: center;
  }
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .carousel-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .wa-lite__inner {
    grid-template-columns: 1fr;
  }
  .wa-lite__list--products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .latest-grid, .carousel-grid-4 {
    grid-template-columns: 1fr;
  }
  .wa-lite__list--products {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
  }
  .wa-hero h1 {
    font-size: 30px;
  }
}
