/* ===================================================================
   狗急加速器：移动端应用 - 专属样式表
   Design System & Layout Skeleton inspired by Shadowrocket End-to-End Cryptographic Page
   Palette: Royal Sapphire Blue + Cyber Cyan + Crisp White
   =================================================================== */

:root {
  --primary-blue: #1d4ed8;
  --primary-blue-hover: #1e40af;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #ecfeff;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --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(29, 78, 216, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 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-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-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: linear-gradient(135deg, #1d4ed8 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--primary-blue);
  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(--primary-blue);
}

.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-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(29, 78, 216, 0.3);
}

.btn-header-cta:hover {
  background: var(--primary-blue-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===================================================================
   Hero 聚焦首屏与双真机视窗 (ios.shadowrockes 经典架构复刻)
   =================================================================== */
.hero-encryption-section {
  padding: 55px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 80%);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-trail {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dual-phone-mockup-wrap {
  max-width: 460px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.phone-mockup-frame-sm {
  width: 210px;
  background: #0f172a;
  border: 5px solid #1e293b;
  border-radius: 32px;
  padding: 16px 14px;
  color: #ffffff;
  text-align: left;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.pill-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 18px;
}

.hero-main-title {
  font-size: 42px;
  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-blue);
}

.hero-slogan-desc {
  font-size: 17px;
  color: var(--text-body);
  max-width: 780px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero-cta-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.btn-blue-pill-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
  transition: var(--transition);
}

.btn-blue-pill-dl:hover {
  background: var(--primary-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.45);
}

.btn-ghost-boundary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.btn-ghost-boundary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* 3 大硬核安全指标 */
.hero-3stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.stat-item-box strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.stat-item-box span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================================================
   加密与分流判定边界 (Key Takeaways & 11 行参数表格)
   =================================================================== */
.boundary-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-h2-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-p-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 30px;
}

.takeaways-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.takeaways-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 14px;
}

.takeaways-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.takeaways-list li::before {
  content: "•";
  color: var(--primary-blue);
  font-size: 18px;
  line-height: 1;
}

/* 11 行结构化参数表格 (核心复刻) */
.params-table-frame {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.param-table-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  align-items: center;
}

.param-table-row:last-child {
  border-bottom: none;
}

.param-col-label {
  font-weight: 700;
  color: var(--text-dark);
  background: #f8fafc;
  margin: -14px -20px -14px -20px;
  padding: 14px 20px;
  border-right: 1px solid var(--border-light);
}

.param-col-val {
  color: var(--text-body);
  padding-left: 20px;
}

/* ===================================================================
   4 渠道安全取包矩阵 (4 Channels)
   =================================================================== */
.channels-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.channels-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.channel-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.channel-card-item:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.channel-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.channel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-channel-get {
  width: 100%;
  padding: 11px 0;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-block;
}

.btn-channel-get:hover {
  background: var(--primary-blue-hover);
  color: #ffffff;
}

/* 4 项信赖数据横排 */
.trust-stats-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}

.trust-stat-item strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.trust-stat-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================================================
   4 道安全关卡防线 (4 Security Checkpoints)
   =================================================================== */
.checkpoints-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.checkpoints-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.checkpoint-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: var(--transition);
}

.checkpoint-card:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.checkpoint-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkpoint-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   四步极速上手向导 (4-Step Onboarding)
   =================================================================== */
.onboarding-flow-section {
  padding: 85px 0;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.steps-flow-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-flow-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  transition: var(--transition);
}

.step-flow-box:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.step-num-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-blue);
  background: #dbeafe;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.step-flow-h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-flow-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   12 组深度 FAQ 问答库 (FAQ Accordion)
   =================================================================== */
.faq-12grid-section {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.faq-2col-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 36px auto 0;
}

.faq-accordion-item {
  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-blue);
}

.faq-a-body {
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===================================================================
   真实用户口碑与安全反馈表单
   =================================================================== */
.feedback-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.feedback-form-box {
  max-width: 620px;
  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-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.btn-form-submit {
  width: 100%;
  padding: 12px 0;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background: var(--primary-blue-hover);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  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: #94a3b8;
}

.footer-col-nav a:hover {
  color: var(--accent-cyan);
}

.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: #eff6ff;
  color: var(--primary-blue);
}

.float-btn.active-dl {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .channels-3grid,
  .trust-stats-box,
  .checkpoints-4grid,
  .steps-flow-4grid,
  .faq-2col-wrap {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 30px;
  }
  .param-table-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .param-col-label {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-side-bar {
    right: 12px;
    bottom: 30px;
  }
}
