/* ===================================================================
   狗急加速器：全球线路加速 - 专属样式表
   Design System & Layout Skeleton inspired by Shadowrocket
   Palette: Electric Rocket Indigo + Cyber Cyan + Crisp Cold White
   =================================================================== */

:root {
  --primary-indigo: #4f46e5;
  --primary-cyan: #06b6d4;
  --gradient-rocket: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --gradient-rocket-hover: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.1);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1160px;
}

* {
  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(--primary-indigo);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-cyan);
}

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: var(--gradient-rocket);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text span {
  background: var(--gradient-rocket);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.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(--primary-indigo);
}

.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(--gradient-rocket);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.5);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 聚焦首屏与手机拟物视窗 (Shadowrocket 经典复刻)
   =================================================================== */
.hero-rocket-section {
  padding: 70px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-pill-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-indigo);
  background: #ede9fe;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.hero-title-h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}

.hero-title-h1 span {
  background: var(--gradient-rocket);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 800px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-stats-3col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.stat-item-h strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-indigo);
  margin-bottom: 2px;
}

.stat-item-h span {
  font-size: 13px;
  color: var(--text-muted);
}

/* iPhone 灵动岛真机拟物 Mockup */
.phone-mockup-island {
  max-width: 320px;
  margin: 0 auto;
  background: #ffffff;
  border: 8px solid #0f172a;
  border-radius: 42px;
  padding: 24px 18px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.25);
  position: relative;
  text-align: left;
}

.island-notch {
  width: 110px;
  height: 22px;
  background: #0f172a;
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
}

.mockup-inner-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
}

.mockup-switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.mockup-switch-btn {
  width: 44px;
  height: 24px;
  background: #4f46e5;
  border-radius: 12px;
  position: relative;
}

.mockup-switch-btn::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
}

.mockup-pills-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-pill-tag {
  flex: 1;
  text-align: center;
  padding: 6px;
  background: #ede9fe;
  color: #4f46e5;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}

.mockup-ping-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* ===================================================================
   30秒极速安装矩阵 (Quick Download Deck)
   =================================================================== */
.download-deck-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-h2-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-p-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.deck-3cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.deck-card-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  text-align: center;
  transition: var(--transition);
}

.deck-card-item:hover {
  background: #ffffff;
  border-color: var(--primary-indigo);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.deck-icon-b {
  font-size: 34px;
  margin-bottom: 16px;
}

.deck-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.deck-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-deck-dl {
  width: 100%;
  padding: 11px 0;
  background: var(--gradient-rocket);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-block;
}

.btn-deck-dl:hover {
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

/* 4 项信赖数据横排 */
.trust-4stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.trust-stat-col strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-indigo);
  margin-bottom: 2px;
}

.trust-stat-col span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================================================
   四条核心优势 (4 Key Advantages Grid)
   =================================================================== */
.advantages-4grid-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.advantages-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
}

.advantage-card:hover {
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow-sm);
}

.advantage-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.advantage-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   四步装完就能畅游 (4-Step Onboarding)
   =================================================================== */
.onboarding-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.steps-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: var(--transition);
}

.step-card-box:hover {
  background: #ffffff;
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow-sm);
}

.step-num-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-indigo);
  background: #ede9fe;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.step-h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   问得最多的五个疑问 (5 Key FAQs)
   =================================================================== */
.faqs-section {
  padding: 90px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.faq-list-box {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card-item {
  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-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-q-btn:hover {
  color: var(--primary-indigo);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   专业玩家深度工具箱 (4 Pro Tools)
   =================================================================== */
.pro-tools-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.pro-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pro-tool-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 20px;
}

.pro-tool-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-indigo);
  margin-bottom: 8px;
}

.pro-tool-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   用户反馈互动表单 (Feedback Form)
   =================================================================== */
.feedback-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.feedback-form-box {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.btn-form-submit {
  width: 100%;
  padding: 12px 0;
  background: var(--gradient-rocket);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* ===================================================================
   底部常驻悬浮通栏 (Bottom Floating Bar)
   =================================================================== */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gradient-rocket);
  color: #ffffff;
  z-index: 998;
  padding: 12px 0;
  box-shadow: 0 -4px 20px rgba(79, 70, 229, 0.25);
  text-align: center;
}

.btn-sticky-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-sticky-dl:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #0f172a;
  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: #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: #94a3b8;
}

.footer-col-nav a:hover {
  color: var(--primary-cyan);
}

.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: #ede9fe;
  color: var(--primary-indigo);
}

.float-btn.active-dl {
  background: var(--primary-indigo);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .deck-3cards-grid,
  .trust-4stats-row,
  .advantages-4grid,
  .steps-4grid,
  .pro-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title-h1 {
    font-size: 32px;
  }
  .deck-3cards-grid,
  .trust-4stats-row,
  .advantages-4grid,
  .steps-4grid,
  .pro-tools-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 60px;
  }
}
