/* ===================================================================
   狗急加速：全球专线连接 - 专属样式表
   Design System & Layout Skeleton inspired by AnyDesk China Modern Hub
   Palette: Vivid Crimson Red + Cobalt Sky Blue + Crisp Cold White
   =================================================================== */

:root {
  --primary-red: #ef4444;
  --primary-red-hover: #dc2626;
  --primary-red-glow: rgba(239, 68, 68, 0.3);
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-blue-glow: rgba(2, 132, 199, 0.25);
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --border-card: #e5edf5;
  --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(239, 68, 68, 0.08);
  --shadow-lg: 0 16px 36px rgba(17, 24, 39, 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;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red-hover);
}

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, #ef4444 0%, #dc2626 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--primary-red);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.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-red);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.3);
}

.btn-header-cta:hover {
  background: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 聚焦首屏 (AnyDesk 风格经典图文布局)
   =================================================================== */
.hero-anydesk-section {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border-light);
}

.hero-inner-2col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-pill-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  background: #fee2e2;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-h1-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}

.hero-h1-title span {
  color: var(--primary-red);
}

.hero-p-desc {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-cta-duo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-red-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px var(--primary-red-glow);
  transition: var(--transition);
}

.btn-hero-red-dl:hover {
  background: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.45);
}

.btn-hero-blue-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--accent-blue);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-blue);
  transition: var(--transition);
}

.btn-hero-blue-outline:hover {
  background: #f0f9ff;
  border-color: var(--accent-blue-hover);
}

/* 右侧情境 Mockup 视窗 */
.hero-mockup-frame {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.m-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.m-red { background: #ef4444; }
.m-yellow { background: #f59e0b; }
.m-green { background: #10b981; }

/* ===================================================================
   为什么选择 狗急加速 (3 大核心技术底座卡片 - AnyDesk 复刻)
   =================================================================== */
.why-pillars-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-h2-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc-lead {
  font-size: 16px;
  color: var(--text-muted);
}

.pillars-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: var(--transition);
}

.pillar-card-box:hover {
  background: #ffffff;
  border-color: #fca5a5;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon-b {
  font-size: 34px;
  margin-bottom: 18px;
}

.pillar-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pillar-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   企业与个人加速 就选 狗急加速 (6 宫格功能特色 - AnyDesk 复刻)
   =================================================================== */
.features-6grid-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.features-6grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
}

.feature-box-item:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.feature-box-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-box-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================================================
   多平台支持生态矩阵 (Cross-Platform Matrix)
   =================================================================== */
.platforms-matrix-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.platforms-5grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.pf-card-item {
  background: var(--bg-page);
  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);
}

.pf-card-item:hover {
  background: #ffffff;
  border-color: var(--primary-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pf-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.pf-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.pf-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.btn-pf-dl {
  width: 100%;
  padding: 10px 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  transition: var(--transition);
}

.pf-card-item:hover .btn-pf-dl {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

/* ===================================================================
   全球客户真实案例与权威背书 (Case Studies - AnyDesk 复刻)
   =================================================================== */
.testimonials-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card-box:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.test-quote-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.test-user-author h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.test-user-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================================================
   常见问题解答 FAQ
   =================================================================== */
.faq-section {
  padding: 85px 0;
  background: #ffffff;
}

.faq-list-wrap {
  max-width: 820px;
  margin: 35px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-box {
  background: var(--bg-page);
  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-red);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #111827;
  color: #9ca3af;
  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: #9ca3af;
  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: #9ca3af;
}

.footer-col-nav a:hover {
  color: var(--primary-red);
}

.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: #6b7280;
}

/* ===================================================================
   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: #6b7280;
  background: transparent;
  transition: var(--transition);
}

.float-btn:hover {
  background: #fee2e2;
  color: var(--primary-red);
}

.float-btn.active-dl {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner-2col {
    grid-template-columns: 1fr;
  }
  .pillars-3grid,
  .features-6grid,
  .testimonials-3grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms-5grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-h1-title {
    font-size: 32px;
  }
  .pillars-3grid,
  .features-6grid,
  .platforms-5grid,
  .testimonials-3grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
