/* ===================================================================
   狗急加速：移动客户端下载 - 专属样式表
   Design System & Layout Skeleton inspired by ProtonPA Clean Lavender
   Palette: Royal Violet-Purple + Ice Lavender White + Deep Plum Slate
   =================================================================== */

:root {
  --proton-purple: #6d4aff;
  --proton-purple-hover: #5338e4;
  --proton-lavender: #ede9fe;
  --proton-lavender-light: #f5f3ff;
  --bg-page: #f9f9fb;
  --bg-white: #ffffff;
  --text-heading: #160d33;
  --text-body: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-card: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(109, 74, 255, 0.08);
  --shadow-lg: 0 16px 36px rgba(22, 13, 51, 0.08);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1140px;
}

* {
  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-heading);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--proton-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--proton-purple-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.95);
  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: 800;
  color: var(--text-heading);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6d4aff 0%, #5338e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.35);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--proton-purple);
  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(--proton-purple);
}

.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: 600;
  color: #ffffff;
  background: var(--proton-purple);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(109, 74, 255, 0.3);
}

.btn-header-cta:hover {
  background: var(--proton-purple-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-heading);
}

/* ===================================================================
   Hero 聚焦首屏 (ProtonPA 风格)
   =================================================================== */
.hero-proton-section {
  padding: 70px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, #f5f3ff 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border-light);
}

.proton-badge-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--proton-purple);
  background: var(--proton-lavender);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.hero-h1-title {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.6px;
}

.hero-p-desc {
  font-size: 17px;
  color: var(--text-body);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-purple-pill-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--proton-purple);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.35);
  transition: var(--transition);
}

.btn-purple-pill-dl:hover {
  background: var(--proton-purple-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(109, 74, 255, 0.45);
}

.btn-ghost-learn {
  font-size: 15px;
  font-weight: 600;
  color: var(--proton-purple);
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost-learn:hover {
  text-decoration: underline;
}

.hero-sub-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 45px;
}

/* 3 项核心参数条 (Proton 特色) */
.hero-3stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stat-metric-col strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--proton-purple);
  margin-bottom: 4px;
}

.stat-metric-col span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 手机真机 Mockup */
.hero-phone-mockup-frame {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.phone-badge-card {
  text-align: left;
  max-width: 320px;
}

.phone-badge-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.phone-badge-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   6 大生活与移动场景 (These Times You Need VPN - Proton 架构)
   =================================================================== */
.scenarios-life-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: 32px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.section-desc-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.scenarios-6grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-life-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}

.scenario-life-card:hover {
  background: #ffffff;
  border-color: var(--proton-purple);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.scenario-emoji-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--proton-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.scenario-card-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.scenario-card-p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   从安装到连上只需三步 (3-Step Onboarding - Proton 架构)
   =================================================================== */
.onboarding-3steps-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.steps-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-flow-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  transition: var(--transition);
}

.step-flow-card:hover {
  border-color: var(--proton-purple);
  box-shadow: var(--shadow-sm);
}

.step-num-big {
  font-size: 18px;
  font-weight: 800;
  color: var(--proton-purple);
  margin-bottom: 14px;
}

.step-flow-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-flow-p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   看不见的地方，我们想得更多 (4 大底层特性)
   =================================================================== */
.under-hood-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.under-hood-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.under-hood-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.under-hood-item:hover {
  border-color: var(--proton-purple);
  background: #ffffff;
}

.hood-check-icon {
  color: var(--proton-purple);
  font-size: 20px;
  margin-top: 2px;
}

.hood-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.hood-text p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===================================================================
   对比表：直连 vs 普通代理 vs 狗急加速 (Proton 三维对比表)
   =================================================================== */
.comparison-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.comparison-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  align-items: center;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row.head-row {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-heading);
}

.compare-col-highlight {
  font-weight: 700;
  color: var(--proton-purple);
}

/* ===================================================================
   新手术语词典 (Terminology Primer)
   =================================================================== */
.terms-primer-section {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.terms-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.term-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
}

.term-card:hover {
  background: #ffffff;
  border-color: var(--proton-purple);
}

.term-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--proton-purple);
  margin-bottom: 8px;
}

.term-card-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ===================================================================
   常见问题解答 FAQ
   =================================================================== */
.faq-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.faq-list-container {
  max-width: 820px;
  margin: 0 auto;
  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-q-btn {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-q-btn:hover {
  color: var(--proton-purple);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   底部行动唤起 (给你的网络加一把锁)
   =================================================================== */
.bottom-cta-banner-section {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.bottom-cta-h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.bottom-cta-p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ===================================================================
   Footer (Proton 4 栏页脚)
   =================================================================== */
.site-footer {
  background: #160d33;
  color: #94a3b8;
  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: #a5b4fc;
  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: #cbd5e1;
}

.footer-col-nav a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #94a3b8;
}

/* ===================================================================
   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: var(--text-muted);
  background: transparent;
  transition: var(--transition);
}

.float-btn:hover {
  background: var(--proton-lavender);
  color: var(--proton-purple);
}

.float-btn.active-dl {
  background: var(--proton-purple);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(109, 74, 255, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .scenarios-6grid,
  .steps-3grid,
  .terms-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-h1-title {
    font-size: 32px;
  }
  .scenarios-6grid,
  .steps-3grid,
  .under-hood-4grid,
  .terms-4grid {
    grid-template-columns: 1fr;
  }
  .compare-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
