/* 贝贝云机场 - beibeiyunjc.homes 官方落地页样式 */
:root {
  --font-kaiti: "STKaiti", "KaiTi", "楷体", "DFKai-SB", "Microsoft YaHei", serif;
  --bg-gradient: linear-gradient(to right, rgb(41, 128, 185), rgb(109, 213, 250), rgb(255, 255, 255));
  --primary-blue: #1b4965;
  --accent-cyan: #0077b6;
  --accent-gold: #f39c12;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(27, 73, 101, 0.15);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.2);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-kaiti);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Canvas 动态特效背景 */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-blue);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 1px;
}

.logo-badge {
  background: linear-gradient(135deg, #1b4965, #0077b6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 119, 182, 0.08);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0077b6 0%, #1b4965 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.45);
  background: linear-gradient(135deg, #1b4965 0%, #0077b6 100%);
}

.cta-btn-gold {
  background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.35);
}

.cta-btn-gold:hover {
  background: linear-gradient(135deg, #d35400 0%, #f39c12 100%);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Hero 英雄区 */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-cyan);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 119, 182, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(120deg, #1b4965, #0077b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.hero-feature-item {
  background: var(--card-bg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-blue);
}

/* 通用 Banner & Card 样式 */
.section {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  color: #0f172a;
  font-weight: 800;
}

/* 核心卖点卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 182, 0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(27, 73, 101, 0.15));
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 套餐价格 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card.popular {
  border: 2px solid var(--accent-cyan);
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.4);
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li i {
  color: #27ae60;
}

/* 客户端使用教程 tab卡片 */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tutorial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.tutorial-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-list {
  padding-left: 20px;
  color: var(--text-muted);
}

.step-list li {
  margin-bottom: 10px;
}

/* 故障排查板块 */
.trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trouble-card {
  background: #ffffff;
  border-left: 5px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.trouble-card h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

/* 文章板块 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  background: rgba(0, 119, 182, 0.1);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-readmore {
  font-weight: 700;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b4965, #0077b6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.review-info h4 {
  font-size: 1.1rem;
  color: #0f172a;
}

.review-stars {
  color: #f39c12;
  font-size: 0.9rem;
}

.review-text {
  color: var(--text-muted);
  font-style: italic;
}

/* FAQ 手风琴 */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(0, 119, 182, 0.05);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 400px;
}

/* 66 关键词标签云 */
.tags-section {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}

.tag-item {
  background: #ffffff;
  color: var(--primary-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(0, 119, 182, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.tag-item:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
}

/* 页脚 Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  color: #64748b;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    transition: 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .pricing-card.popular {
    transform: none;
  }
}
