/* ===================================================================
   狗急加速器：软件官方下载 - 对标 telegramtlg.com 经典纯白天蓝风格
   =================================================================== */

:root {
  --tg-blue: #2481cc;
  --tg-blue-hover: #1a6da8;
  --tg-blue-light: #eff7fd;
  --tg-text: #222222;
  --tg-muted: #707579;
  --tg-border: #e4e4e4;
  --tg-bg: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(36, 129, 204, 0.12);
  --transition: all 0.22s ease-in-out;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--tg-bg);
  color: var(--tg-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tg-blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================================
   顶部导航栏 (tlgt-header 56px 对标 telegramtlg.com)
   =================================================================== */
header.tlgt-header {
  border-bottom: 1px solid var(--tg-border);
  background: #ffffff;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--tg-text);
}
.logo-icon-circle {
  width: 32px;
  height: 32px;
  background: var(--tg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--tg-muted);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--tg-blue);
  text-decoration: none;
  font-weight: 600;
}

.btn-header-fast {
  background: var(--tg-blue);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}
.btn-header-fast:hover {
  background: var(--tg-blue-hover);
  color: #ffffff;
  text-decoration: none;
}

/* ===================================================================
   Hero 居中徽标与标语区 (.tl_main_head 对标 telegramtlg.com)
   =================================================================== */
.hero-head-section {
  text-align: center;
  padding: 55px 0 35px;
}
.main-center-logo {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(34, 158, 217, 0.35);
  transition: transform 0.25s ease;
}
.main-center-logo:hover {
  transform: scale(1.05);
}
.main-center-logo svg {
  width: 58px;
  height: 58px;
  fill: currentColor;
}

.hero-h1-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--tg-text);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.hero-slogan-sub {
  font-size: 15px;
  color: var(--tg-muted);
  margin-bottom: 35px;
}

/* ===================================================================
   核心全端橱窗下载展示区 (.telegram-download-showcase 对标 telegramtlg.com)
   =================================================================== */
.showcase-download-section {
  margin-bottom: 55px;
}

/* 上部主推电脑端大卡片 */
.pc-showcase-card {
  background: #ffffff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}
.pc-showcase-card:hover {
  border-color: var(--tg-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pc-info-side h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--tg-text);
  margin-bottom: 8px;
}
.pc-info-side p {
  font-size: 14.5px;
  color: var(--tg-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.btn-pill-tg {
  background: var(--tg-blue);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(36, 129, 204, 0.3);
  transition: all 0.25s ease;
}
.btn-pill-tg:hover {
  background: var(--tg-blue-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}
.pc-mockup-graphic {
  background: #f8fafc;
  border: 1px solid var(--tg-border);
  border-radius: 12px;
  padding: 20px 24px;
  min-width: 320px;
  font-size: 13px;
  color: var(--tg-muted);
  line-height: 1.7;
}

/* 下部双列移动端下载行 */
.mobile-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mobile-download-card {
  background: #ffffff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}
.mobile-download-card:hover {
  border-color: var(--tg-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.mobile-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tg-text);
  margin-bottom: 4px;
}
.mobile-card-sub {
  font-size: 13px;
  color: var(--tg-muted);
}
.btn-pill-mini {
  background: var(--tg-blue-light);
  color: var(--tg-blue);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-pill-mini:hover {
  background: var(--tg-blue);
  color: #ffffff;
  text-decoration: none;
}

/* ===================================================================
   “为什么选择” 3×3 九宫格优势矩阵 (.tlgt-features 对标 telegramtlg.com)
   =================================================================== */
.features-9grid-section {
  padding: 55px 0 65px;
  border-top: 1px solid var(--tg-border);
}
.section-headline {
  font-size: 24px;
  font-weight: 800;
  color: var(--tg-text);
  margin-bottom: 30px;
  text-align: center;
}

.grid-9-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 26px;
}
.feature-cell-box {
  display: flex;
  flex-direction: column;
}
.cell-icon {
  font-size: 30px;
  margin-bottom: 12px;
}
.cell-h3-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tg-blue);
  margin-bottom: 8px;
}
.cell-p-text {
  font-size: 13.5px;
  color: var(--tg-muted);
  line-height: 1.65;
}

/* ===================================================================
   最近的新闻与排障资讯 (.tlgt-news-section 对标 telegramtlg.com)
   =================================================================== */
.news-tips-section {
  padding: 55px 0 65px;
  border-top: 1px solid var(--tg-border);
}
.news-cards-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.news-post-item {
  background: #ffffff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.news-post-item:hover {
  border-color: var(--tg-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.news-post-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--tg-text);
  line-height: 1.45;
  margin-bottom: 8px;
}
.news-post-desc {
  font-size: 13.5px;
  color: var(--tg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.news-date-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* ===================================================================
   深度排障手风琴 FAQ (.telegram-faq 对标 telegramtlg.com)
   =================================================================== */
.faq-section {
  padding: 55px 0 75px;
  border-top: 1px solid var(--tg-border);
}
.faq-list-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item-card {
  background: #ffffff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-trigger-btn {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tg-text);
  user-select: none;
}
.faq-trigger-btn:hover {
  color: var(--tg-blue);
}
.faq-icon-plus {
  font-size: 20px;
  color: var(--tg-muted);
}
.faq-content-body {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--tg-muted);
  line-height: 1.75;
  border-top: 1px dashed var(--tg-border);
  padding-top: 14px;
}

/* ===================================================================
   4 列结构化专业页脚 (.tlgt-footer 对标 telegramtlg.com)
   =================================================================== */
footer.tlgt-footer {
  border-top: 1px solid var(--tg-border);
  padding: 55px 0 35px;
  font-size: 13.5px;
  color: var(--tg-muted);
  background: #ffffff;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--tg-border);
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--tg-text);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--tg-muted);
}
.footer-col ul li a:hover {
  color: var(--tg-blue);
  text-decoration: none;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #94a3b8;
}

/* 浮动右侧快速工具 */
.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: 0 4px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tg-text);
  border: 1px solid var(--tg-border);
  transition: var(--transition);
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--tg-blue);
  color: #ffffff;
  border-color: var(--tg-blue);
}
.float-btn.active-dl {
  background: var(--tg-blue);
  color: #ffffff;
}

/* 响应式断点 */
@media (max-width: 860px) {
  .pc-showcase-card {
    flex-direction: column;
    text-align: center;
  }
  .pc-mockup-graphic {
    min-width: 100%;
    text-align: left;
  }
  .mobile-showcase-row {
    grid-template-columns: 1fr;
  }
  .grid-9-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-cards-4grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .grid-9-boxes {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-h1-title {
    font-size: 28px;
  }
}
