/* ==========================================================================
   白月光机场 (bygjc.xyz) - 2026 官方落地页主样式表
   主题：白月光 (White Moonlight Silvery Etherial Light Theme)
   ========================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-color: rgba(186, 230, 253, 0.6);
  --border-glow: rgba(56, 189, 248, 0.6);
  
  --primary-cyan: #0284c7;
  --primary-indigo: #4f46e5;
  --primary-purple: #7c3aed;
  --accent-moonlight: #0369a1;
  --accent-gold: #d97706;
  --accent-green: #059669;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #334155;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: 
    radial-gradient(ellipse at 50% -10%, rgba(224, 242, 254, 0.85) 0%, transparent 65%),
    radial-gradient(circle at 90% 30%, rgba(224, 231, 255, 0.65) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(243, 232, 255, 0.65) 0%, transparent 50%),
    #f8fafc;
  min-height: 100vh;
  color: var(--text-main);
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: #0369a1;
  text-shadow: 0 0 10px rgba(2, 132, 199, 0.2);
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 40%, #4f46e5 80%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel Effect (White Moonlight Style) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px 0 rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 14px 40px 0 rgba(2, 132, 199, 0.18);
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  height: 76px;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
}

.logo-img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.4));
}

.logo-text {
  background: linear-gradient(135deg, #0284c7 0%, #4338ca 60%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.45);
  filter: brightness(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 2px 10px rgba(148, 163, 184, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--primary-cyan);
  color: var(--primary-cyan) !important;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  padding: 24px;
  z-index: 999;
}

.mobile-drawer.active {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer ul a {
  color: var(--text-sub);
  font-size: 1.05rem;
  font-weight: 600;
  display: block;
  padding: 8px 0;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-cyan);
  background: rgba(186, 230, 253, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

/* Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
  position: relative;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 231, 255, 0.7);
  border: 1px solid rgba(165, 180, 252, 0.6);
  color: #4338ca;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right-card {
  padding: 32px;
}

.hero-right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 700;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(5, 150, 105, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 700;
  color: var(--text-main);
}

/* Metrics Counter Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  padding: 24px;
  text-align: center;
}

.metric-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-cyan);
  margin-bottom: 6px;
  font-family: monospace, var(--font-sans);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Ping Monitor Section */
.ping-container {
  padding: 32px;
}

.ping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ping-card-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.ping-card-item:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-cyan);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
}

.ping-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flag-icon {
  font-size: 1.8rem;
}

.node-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.node-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ping-right-badge {
  text-align: right;
  min-width: 90px;
}

.ping-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-green);
  font-family: monospace;
}

.ping-bar-bg {
  width: 80px;
  height: 6px;
  background: rgba(203, 213, 225, 0.5);
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.ping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #0284c7);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Core Advantages Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  padding: 32px;
}

.feature-box-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: inline-block;
  padding: 12px;
  background: rgba(224, 242, 254, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(186, 230, 253, 0.8);
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Pricing Cards Matrix (白月光主题) */
.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.recommended {
  border: 2px solid var(--primary-cyan);
  box-shadow: 0 8px 32px rgba(2, 132, 199, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.badge-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #4f46e5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  white-space: nowrap;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 38px;
}

.card-price-row {
  margin-bottom: 24px;
}

.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-moonlight);
}

.price-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-check-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-check-list li {
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-check-list svg {
  width: 18px;
  height: 18px;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* Testimonials / User Reviews Section (用户评价) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
}

.user-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.2rem;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.user-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.user-role-badge {
  font-size: 0.78rem;
  color: var(--primary-cyan);
  background: rgba(224, 242, 254, 0.8);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
  font-weight: 600;
}

.star-rating {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-content {
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* FAQ Accordion Section (常见问题FAQ) */
.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(2, 132, 199, 0.05);
}

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

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

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

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

/* Articles Section Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.art-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-indigo);
  background: rgba(224, 231, 255, 0.8);
  padding: 3px 10px;
  border-radius: 20px;
}

.art-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0;
  line-height: 1.45;
}

.art-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.art-read-more {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Article Detail Page Layout */
.article-detail-container {
  max-width: 920px;
  margin: 40px auto 80px auto;
  padding: 0 24px;
}

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

.breadcrumb-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-main-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-main);
}

.meta-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  padding-bottom: 20px;
}

.article-content-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-sub);
}

.article-content-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 40px 0 20px 0;
  padding-left: 14px;
  border-left: 4px solid var(--primary-cyan);
}

.article-content-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 28px 0 14px 0;
}

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

.article-content-body ul, .article-content-body ol {
  margin: 0 0 24px 24px;
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.8), rgba(224, 231, 255, 0.8));
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.12);
}

.article-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.related-articles-box {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
}

/* Footer Section & PBN Friend Links (Core Task 2 Spec) */
footer {
  background: rgba(241, 245, 249, 0.95);
  border-top: 1px solid rgba(203, 213, 225, 0.8);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-col a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.6);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* PBN Friend Links (Core Task 2 Spec) */
.footer-friend-links {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

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

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

.footer-friend-links a:hover {
  color: var(--primary-cyan);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .pricing-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .articles-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-layout-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .ping-grid {
    grid-template-columns: 1fr;
  }
  .pricing-matrix, .features-grid, .articles-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .meta-info-bar {
    flex-direction: column;
    gap: 8px;
  }
  .article-main-title {
    font-size: 1.8rem;
  }
}
