/* 归程专线 - 全局样式 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
  --radius: 12px;
  --max-width: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* 头部导航 */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.logo span {
  color: var(--primary);
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--primary);
}
.nav-cta {
  padding: 8px 18px;
  font-size: 0.95rem;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-points {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  color: var(--text-light);
  font-weight: 500;
}
.hero-points li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

/* 信任指标 */
.stats {
  background: var(--primary);
  color: #fff;
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.8rem;
}
.stat span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 通用 section */
.section {
  padding: 64px 0;
}
.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* 卖点 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* 场景 */
.scenarios {
  background: var(--bg-alt);
}
.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.scenario-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* 套餐 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.price-card h3 {
  text-align: center;
  margin-bottom: 8px;
}
.price {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary);
}
.price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}
.price-card ul {
  list-style: none;
  margin: 20px 0 28px;
  flex: 1;
}
.price-card li {
  padding: 6px 0;
  color: var(--text-light);
}
.price-card li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 步骤 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--text-light);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  padding: 0 20px 16px;
  color: var(--text-light);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  margin-bottom: 32px;
  opacity: 0.95;
}
.cta-contacts {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-banner .btn-primary:hover {
  background: #eff6ff;
}
.wechat-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 14px 24px;
  border-radius: 8px;
}
.wechat-box strong {
  display: block;
  margin-bottom: 4px;
}

/* 页脚 */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 48px 0 0;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col .logo {
  color: #fff;
  margin-bottom: 12px;
  display: block;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: #d1d5db;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.9rem;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .features-grid,
  .pricing-grid,
  .steps-grid,
  .scenario-list,
  .stats-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 文章正文 */
.article-body {
  max-width: 760px;
}
.article-body h1 {
  font-size: 2rem;
  line-height: 1.35;
  margin-bottom: 16px;
}
.article-body h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-body p {
  color: var(--text-light);
  margin-bottom: 16px;
}
.article-body li {
  margin-bottom: 8px;
}

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.product-head h2 {
  font-size: 1.15rem;
  margin: 0;
}
.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.product-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}
.product-features {
  list-style: none;
  margin: 0 0 20px;
  flex: 1;
}
.product-features li {
  padding: 4px 0;
  color: var(--text-light);
  font-size: 0.95rem;
}
.product-features li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}
.product-mini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: border-color 0.2s;
}
.product-mini:hover {
  border-color: var(--primary);
}
.product-mini strong {
  color: var(--text);
}
.product-mini .mini-price {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
