/* 白月光 (Baiyueguang) - 极速代理/网络加速器落地页样式表 */
:root {
  --primary: #5b46f6;
  --primary-hover: #4834e4;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --accent: #00d2d3;
  --bg-light: #f8f9fc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(91, 70, 246, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(91, 70, 246, 0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(91, 70, 246, 0.25);
  transition: var(--transition);
}

.logo-container:hover .logo-icon {
  transform: scale(1.08) rotate(-5deg);
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-btn {
  background: var(--primary-gradient);
  color: white !important;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(91, 70, 246, 0.25);
  transition: var(--transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(91, 70, 246, 0.4);
}

/* 页面大容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

section {
  scroll-margin-top: 90px;
  margin-bottom: 4rem;
}

/* 视觉主区 (Hero Section) */
.hero-card {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: -0.8px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-light {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(91, 70, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 70, 246, 0.45);
}

/* 章节标题 */
.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 网格布局通用 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 核心能力卡片 */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 70, 246, 0.3);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1.25rem;
}

.icon-purple { background: #eef2ff; color: #4f46e5; }
.icon-green { background: #ecfdf5; color: #10b981; }
.icon-blue { background: #eff6ff; color: #3b82f6; }
.icon-orange { background: #fff7ed; color: #f97316; }

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 流媒体与 AI 支持 */
.app-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: var(--transition);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.app-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.app-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.app-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 价格对比表 */
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}

/* 12 SEO 文章列表区 */
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 70, 246, 0.4);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #eef2ff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;

}

.article-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.article-title a:hover {
  color: var(--primary);
}

.article-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
  line-height: 1.5;
}

.article-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.article-link:hover {
  text-decoration: underline;
}

/* 用户评价 */
.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-name {
  font-weight: 700;
  font-size: 1rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  margin-bottom: 0.8rem;
}

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

/* FAQ 问答 */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(91, 70, 246, 0.4);
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-q::before {
  content: 'Q.';
  color: var(--primary);
  font-weight: 800;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.8rem;
}

/* 页脚 (Footer) */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 2rem 2rem 2rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

/* PBN 友情链接 & 版权声明区 */
.pbn-container {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
}

.pbn-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pbn-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: var(--transition);
}

.pbn-link:hover {
  color: #ffffff;
  background: var(--primary);
}

.copyright {
  font-size: 0.85rem;
  color: #64748b;
}

/* 右侧浮动章节切换箭头控制 */
.floating-nav {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  user-select: none;
}

.nav-arrow:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(91, 70, 246, 0.4);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* 移动端响应式 (@media) */
@media (max-width: 992px) {
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
  }
  .nav-links {
    display: none; /* 移动端精简菜单 */
  }
  .container {
    padding: 1rem;
  }
  .hero-card {
    padding: 2.5rem 1.2rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .floating-nav {
    right: 12px;
  }
  .nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}
