/* ===================================================================
   狗急加速：智能选路服务 - 对标 app-yifanyi.com 现代高端 SaaS 规范
   =================================================================== */

:root {
  --ink: #07132f;
  --ink-2: #1b2b49;
  --muted: #62708a;
  --muted-2: #8c99ae;
  --blue: #0b4bff;
  --blue-2: #2f8cff;
  --blue-3: #6fc6ff;
  --cyan: #64d8ff;
  --ice: #f7faff;
  --ice-2: #edf4ff;
  --line: #e6ecf6;
  --line-strong: #d8e2f2;
  --white: #ffffff;
  --success: #0b9e75;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-xs: 0 2px 8px rgba(8, 27, 68, 0.04);
  --shadow-sm: 0 8px 28px rgba(8, 27, 68, 0.06);
  --shadow-md: 0 20px 55px rgba(8, 27, 68, 0.1);
  --shadow-blue: 0 16px 34px rgba(11, 75, 255, 0.24);
  --container: 1200px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 85px 0;
}

/* ===================================================================
   顶部可关闭公告栏 (.announcement 对标 app-yifanyi.com)
   =================================================================== */
.announcement-bar {
  background: var(--ink);
  color: #dbeafe;
  font-size: 13px;
  padding: 10px 24px;
  text-align: center;
  position: relative;
  z-index: 101;
}
.announcement-bar a {
  color: #38bdf8;
  font-weight: 700;
  margin-left: 8px;
}

/* ===================================================================
   顶部浮动导航栏 (Header 76px 对标 app-yifanyi.com)
   =================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: 76px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.logo-icon-svg {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.logo-tag {
  font-size: 11px;
  background: var(--ice-2);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
}

.btn-header-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-header-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(11, 75, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
}

/* ===================================================================
   Hero 首屏双栏聚焦区 (.hero 对标 app-yifanyi.com)
   =================================================================== */
.hero-section {
  padding: 90px 0 80px;
  background: radial-gradient(circle at 10% 20%, #f0f7ff 0%, #ffffff 60%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 52px;
}
.hero-h1 {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 850;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-h1 span {
  color: var(--blue);
}
.hero-desc-p {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 580px;
}

/* 3 条核验勾选点 */
.hero-checklist {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.check-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.check-pill-item svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
}

/* 平台版本大胶囊下载组 */
.hero-dl-box {
  background: var(--ice);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-dl-large {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-dl-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(11, 75, 255, 0.35);
  color: #ffffff;
  text-decoration: none;
}
.hero-dl-subtext {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* 4 组特性标签横排 */
.feature-tags-line {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.feature-tags-line span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Hero 右侧拟真视窗 Mockup */
.hero-preview-window {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.preview-bubble-item {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.preview-bubble-item:hover {
  border-color: var(--blue);
  background: #ffffff;
}
.bubble-row-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.bubble-latency {
  color: var(--success);
  font-weight: 800;
  font-size: 13px;
}
.bubble-meta-text {
  font-size: 12px;
  color: var(--muted);
}

/* ===================================================================
   多平台渠道矩阵生态带 (.platforms 对标 app-yifanyi.com)
   =================================================================== */
.platforms-section {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-center-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}
.sec-h2-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.sec-p-sub {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
}

.platforms-12grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.platform-item-pill {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: all 0.2s ease;
}
.platform-item-pill:hover {
  background: #ffffff;
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

/* ===================================================================
   核心价值重构 5 大图文卡片 (.narrative 对标 app-yifanyi.com)
   =================================================================== */
.narrative-section {
  background: var(--ice);
}
.narrative-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.narrative-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.narrative-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-2);
  box-shadow: var(--shadow-md);
}
.card-icon-badge {
  font-size: 28px;
  margin-bottom: 16px;
}
.card-h3-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.card-desc-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.card-spec-tag {
  font-size: 12px;
  color: var(--blue);
  background: var(--ice-2);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  align-self: flex-start;
}

/* ===================================================================
   交互式工作流选项卡 (.workflow 01/02/03 Tabs 对标 app-yifanyi.com)
   =================================================================== */
.workflow-section {
  background: #ffffff;
}
.workflow-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn-item {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn-item:hover, .tab-btn-item.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.workflow-tab-content {
  background: var(--ice);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tab-content-h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.tab-content-p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.tab-bullets-list {
  list-style: none;
}
.tab-bullets-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-bullets-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 900;
}

/* ===================================================================
   4 大场景 (.scenarios 01-04 对标 app-yifanyi.com)
   =================================================================== */
.scenarios-section {
  background: var(--ice);
}
.scenarios-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.scenario-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.scenario-box:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.scenario-num-tag {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
}
.scenario-h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.scenario-p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===================================================================
   三步上手向导 (.steps 对标 app-yifanyi.com)
   =================================================================== */
.steps-section {
  background: #ffffff;
}
.steps-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card-item {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
}
.step-number-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
}
.step-h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.step-p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===================================================================
   设备下载矩阵与系统要求 (.downloads 对标 app-yifanyi.com)
   =================================================================== */
.downloads-section {
  background: var(--ice);
}
.downloads-5grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.device-card-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.device-card-box:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.device-h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.device-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.device-meta-row {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* ===================================================================
   深度排障手风琴 FAQ (.faq 对标 app-yifanyi.com)
   =================================================================== */
.faq-section {
  background: #ffffff;
}
.faq-wrap-box {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item-card {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-trigger-btn {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq-trigger-btn:hover {
  color: var(--blue);
}
.faq-plus-icon {
  font-size: 20px;
  color: var(--muted);
}
.faq-body-text {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* ===================================================================
   底部行动召唤横带 (.closing 对标 app-yifanyi.com)
   =================================================================== */
.closing-banner-section {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.closing-h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
}
.closing-p {
  font-size: 16px;
  color: #dbeafe;
  max-width: 680px;
  margin: 0 auto 34px;
}
.closing-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn-white-pill {
  background: #ffffff;
  color: var(--blue);
  font-size: 15.5px;
  font-weight: 800;
  padding: 14px 38px;
  border-radius: 12px;
}
.btn-white-pill:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===================================================================
   全局页脚 (.site-footer 对标 app-yifanyi.com)
   =================================================================== */
footer.site-footer {
  background: #040c1e;
  color: var(--muted-2);
  padding: 65px 0 35px;
  font-size: 13.5px;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-about p {
  margin-top: 14px;
  line-height: 1.7;
  max-width: 320px;
  color: var(--muted-2);
}
.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--muted-2);
}
.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: none;
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* 浮动右侧快速工具 */
.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: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}
.float-btn.active-dl {
  background: var(--blue);
  color: #ffffff;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-checklist, .hero-dl-box, .feature-tags-line {
    justify-content: center;
  }
  .platforms-12grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .narrative-cards-grid, .downloads-5grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenarios-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-content-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .platforms-12grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-cards-grid, .scenarios-4grid, .steps-3grid, .downloads-5grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .closing-btns {
    flex-direction: column;
    align-items: stretch;
  }
}
