/* 白月光官网 (bygyun.cyou) 核心样式库 */
:root {
  --bg-dark: #070913;
  --bg-card: rgba(18, 22, 38, 0.75);
  --bg-card-hover: rgba(28, 34, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --primary-accent: #7952b3;
  --neon-blue: #00f2fe;
  --neon-purple: #4facfe;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --radius: 16px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 背景半月上升动画 */
.moon-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 背景暖金弯月上升动画 (纯透明矢量弯月，无黑色遮罩) */
.half-moon {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: url('moon-icon.svg') no-repeat center center;
  background-size: contain;
  filter: drop-shadow(0 0 45px rgba(255, 190, 40, 0.7)) drop-shadow(0 0 90px rgba(255, 110, 0, 0.4));
  animation: moonRising 18s ease-in-out infinite alternate;
  opacity: 0.92;
}

@keyframes moonRising {
  0% {
    bottom: -180px;
    opacity: 0.3;
    transform: translateX(-50%) scale(0.8);
  }
  50% {
    bottom: 25%;
    opacity: 0.75;
    transform: translateX(-50%) scale(1.05);
  }
  100% {
    bottom: 55%;
    opacity: 0.9;
    transform: translateX(-50%) scale(1.1);
  }
}

/* 星空暗斑网格背景 */
.bg-stars {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(79, 172, 254, 0.1) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* 导航栏 */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 19, 0.8);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

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

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

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

.btn-cta {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #070913;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

/* 3D 彩虹渐变字体 */
.rainbow-3d-text {
  background: linear-gradient(
    135deg,
    #ff2d55 0%,
    #ff9500 18%,
    #ffcc00 36%,
    #4cd964 54%,
    #5ac8fa 72%,
    #007aff 85%,
    #5856d6 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 4px 15px rgba(255, 45, 85, 0.3),
    2px 2px 0px rgba(0,0,0,0.8),
    4px 4px 0px rgba(255, 255, 255, 0.15);
  animation: rainbowShift 6s linear infinite;
  display: inline-block;
}

@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HERO 头部区域 */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-h1-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
}

/* 全新赛博高科技数据挂件模板 (Cyber Live Stats Template) */
.cyber-stats-template {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(16, 22, 42, 0.9) 0%, rgba(26, 34, 62, 0.85) 100%);
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: 40px;
  padding: 8px 22px;
  backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(0, 242, 254, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  vertical-align: middle;
}

.cyber-stats-template:hover {
  border-color: rgba(0, 242, 254, 0.7);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.cyber-stat-node, .cyber-stat-user, .cyber-stat-speed {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #94a3b8;
  white-space: nowrap;
}

.cyber-label {
  font-weight: 500;
  color: #cbd5e1;
}

.cyber-num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cyber-num.cyan {
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.cyber-num.green {
  color: #4cd964;
  text-shadow: 0 0 10px rgba(76, 217, 100, 0.5);
}

.cyber-num.yellow {
  color: #ffcc00;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.cyber-unit {
  font-size: 0.75rem;
  color: #94a3b8;
}

.cyber-tag-glow {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4cd964;
  background: rgba(76, 217, 100, 0.15);
  border: 1px solid rgba(76, 217, 100, 0.3);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 2px;
}

.cyber-divider {
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4cd964;
  border-radius: 50%;
  box-shadow: 0 0 10px #4cd964;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(76, 217, 100, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
}

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* 核心特性网格 */
.features-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

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

/* 价格卡片区域 */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 24px;
  backdrop-filter: blur(12px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #ff2d55, #ff9500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

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

.price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 自动滚动客户评价 (横向左右轮播) */
.reviews-section {
  padding: 60px 0 80px;
  overflow: hidden;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7952b3, #00f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-info h4 {
  font-size: 1rem;
  color: #fff;
}

.review-stars {
  color: #ffcc00;
  font-size: 0.85rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* 常见问题 FAQ */
.faq-section {
  padding: 60px 0 90px;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '➕';
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '➖';
}

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

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

/* SEO 文章矩阵区域 */
.articles-section {
  padding: 60px 0 90px;
  background: rgba(0, 0, 0, 0.2);
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.article-tag {
  color: #00f2fe;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.article-link {
  color: #4facfe;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* SEO 文章正文布局 */
.article-page {
  padding: 60px 0 100px;
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-header h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(12px);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
}

.article-body h2 {
  color: #fff;
  font-size: 1.6rem;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  color: #e2e8f0;
  font-size: 1.3rem;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-cta-box {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(0,242,254,0.1), rgba(79,172,254,0.15));
  border: 1px solid rgba(0, 242, 254, 0.4);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

/* 页脚 包含权重大气 dofollow 外链区 */
footer {
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
}

/* 低调、美观、小字号友情链接/PBN输血管道 */
.friend-links-area {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.friend-links-title {
  color: #475569;
  font-weight: 600;
}

.friend-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.friend-link:hover {
  color: #94a3b8;
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .pricing-card.popular { transform: none; }
  .article-body { padding: 24px; }
}
