/* ===================================================================
   狗急加速器：智能线路连接 - 对标 hellowordtran.com 现代 SaaS 布局
   =================================================================== */

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #6366f1;
  --accent-color: #06b6d4;
  --text-color: #1e293b;
  --text-light: #475569;
  --text-lighter: #94a3b8;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --box-shadow-hover: 0 12px 28px rgba(37, 99, 235, 0.12);
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 85px 0;
}

/* 模块标题与标志性短蓝底横线 (严格对标 hellowordtran) */
.section-header {
  text-align: center;
  margin-bottom: 55px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 3.5px;
  background: var(--primary-color);
  border-radius: 3px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 18px auto 0;
}

/* ===================================================================
   顶部导航栏 (Sticky Header)
   =================================================================== */
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(--border-color);
  height: 72px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-color);
}
.logo-icon-svg {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.logo-tag {
  font-size: 11px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.btn-header-cta {
  background: var(--primary-color);
  color: #ffffff;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-header-cta:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

/* ===================================================================
   Hero 首屏 (左右双栏布局 对标 hellowordtran.com)
   =================================================================== */
.hero-section {
  padding: 85px 0 75px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}
.hero-h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #0f172a;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 35px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary-pill {
  background: var(--primary-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-pill:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}
.btn-outline-pill {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 30px;
}
.btn-outline-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hero 右侧拟真软件视窗 Mockup */
.hero-mockup-window {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
.mockup-bar {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-light);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.m-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.m-dot.red { background: #ef4444; }
.m-dot.yellow { background: #f59e0b; }
.m-dot.green { background: #10b981; }

.mockup-body {
  padding: 24px;
}
.mockup-node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #eef2f6;
  font-size: 13.5px;
}
.mockup-node-item:last-child {
  margin-bottom: 0;
}
.node-ping {
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===================================================================
   6 大核心功能卡片网格 (2x3 或 3x2 网格 对标 hellowordtran)
   =================================================================== */
.features-section {
  background: var(--bg-light);
}
.features-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px 26px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
  border-color: #cbd5e1;
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-box h3 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.feature-box p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===================================================================
   5 大多元化应用场景网格 (Products & Solutions 对标 hellowordtran)
   =================================================================== */
.scenarios-section {
  background: #ffffff;
}
.scenarios-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.scenario-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 26px 20px;
  text-align: center;
  transition: var(--transition);
}
.scenario-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--primary-color);
  box-shadow: var(--box-shadow);
}
.scenario-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.scenario-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.scenario-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================================================
   3 档阶梯式定价卡片矩阵 (Pricing Matrix 对标 hellowordtran)
   =================================================================== */
.pricing-section {
  background: var(--bg-light);
}
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 38px 30px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured-card {
  border: 2px solid var(--primary-color);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.15);
  transform: scale(1.03);
  z-index: 2;
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.pricing-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}
.pricing-header .plan-desc {
  font-size: 13.5px;
  color: var(--text-light);
  margin-top: 6px;
  min-height: 38px;
}
.pricing-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-symbol {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}
.price-val {
  font-size: 42px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}
.price-unit {
  font-size: 14px;
  color: var(--text-lighter);
  margin-left: 4px;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 30px;
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
}
.plan-features-list li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: 800;
}

.btn-plan-buy {
  background: #f1f5f9;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border-radius: 30px;
  text-align: center;
  display: block;
  transition: var(--transition);
}
.btn-plan-buy:hover, .pricing-card.featured-card .btn-plan-buy {
  background: var(--primary-color);
  color: #ffffff;
}
.pricing-card.featured-card .btn-plan-buy:hover {
  background: var(--primary-hover);
}

/* ===================================================================
   3 维真实用户评价卡片 (Testimonials 对标 hellowordtran)
   =================================================================== */
.testimonials-section {
  background: #ffffff;
}
.testimonials-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px 26px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
  border-color: #cbd5e1;
}
.user-info {
  margin-bottom: 18px;
}
.user-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.user-role {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 2px;
}
.testimonial-content {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================================================
   底部大横幅行动召唤区 (CTA Banner 对标 hellowordtran)
   =================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}
.cta-h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* ===================================================================
   全局页脚 (4 列结构化布局)
   =================================================================== */
footer.site-footer {
  background: #090d16;
  color: #94a3b8;
  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: #64748b;
}
.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: #94a3b8;
}
.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: #64748b;
}

/* 浮动右侧快速按钮 */
.floating-side-bar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.float-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
.float-btn.active-dl {
  background: var(--primary-color);
  color: #ffffff;
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .features-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenarios-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .pricing-card.featured-card {
    transform: none;
  }
  .testimonials-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-h1 {
    font-size: 32px;
  }
  .features-grid-6 {
    grid-template-columns: 1fr;
  }
  .scenarios-grid-5 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
