/* ANRUN Network - Cosmic Satellite Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-dark: #030712;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glow: rgba(56, 189, 248, 0.25);
  --border-glow-active: rgba(56, 189, 248, 0.6);
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gradient-title: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --shadow-blue: 0 10px 30px -10px rgba(56, 189, 248, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0f172a 0%, #030712 100%);
}

/* Cyber Desert Background Elements (沙漠元素) */
.cosmic-bg, .desert-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: url('../images/desert-bg.svg') no-repeat center center / cover;
  overflow: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #070a14;
  color: var(--text-main);
  overflow-x: hidden;
}

/* Desert Dust Particles */
.stars-overlay, .desert-dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 30px 40px, #f59e0b, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 70px 120px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 80px, #fef08a, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 240px 190px, #38bdf8, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.45;
  animation: desertDustDrift 15s ease-in-out infinite alternate;
}

@keyframes desertDustDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0.35; }
  50% { transform: translateY(-15px) translateX(10px); opacity: 0.55; }
  100% { transform: translateY(0) translateX(0); opacity: 0.35; }
}

/* Desert Glowing Sun / Horizon Aura */
.desert-sun {
  position: absolute;
  top: 2%;
  right: 20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(56, 189, 248, 0.1) 45%, rgba(3, 7, 18, 0) 75%);
  filter: blur(50px);
}

/* Desert Dunes SVG Wave Silhouettes (沙丘波浪) */
.desert-dunes-svg {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 35vh;
  min-height: 220px;
  pointer-events: none;
  opacity: 0.35;
}

.nebula-glow-1 {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
  filter: blur(90px);
}

.nebula-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
  filter: blur(100px);
}

/* Typography Gradient */
.gradient-text {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-recommend {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid var(--accent-purple);
  color: #e9d5ff;
}

.btn-recommend:hover {
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Live Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  backdrop-filter: blur(12px);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-glow-active);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-blue);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

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

/* FLOATING PRICING CARDS (价格表全部要浮动展示) */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Keyframes for Levitating Floating Pricing Cards */
@keyframes floatPricingCard1 {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

@keyframes floatPricingCard2 {
  0% { transform: translateY(-8px); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(-8px); }
}

@keyframes floatPricingCard3 {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0px); }
}

@keyframes floatPricingCard4 {
  0% { transform: translateY(-10px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(-10px); }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Floating animation assignment */
.pricing-grid .pricing-card:nth-child(1) {
  animation: floatPricingCard1 6s ease-in-out infinite;
}

.pricing-grid .pricing-card:nth-child(2) {
  animation: floatPricingCard2 7s ease-in-out infinite;
}

.pricing-grid .pricing-card:nth-child(3) {
  animation: floatPricingCard3 5.5s ease-in-out infinite;
}

.pricing-grid .pricing-card:nth-child(4) {
  animation: floatPricingCard4 6.5s ease-in-out infinite;
}

.pricing-card:hover {
  animation-play-state: paused;
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.4);
}

.pricing-card.featured {
  border: 2px solid var(--accent-cyan);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

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

.plan-features li {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Features Grid */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* Articles Section */
.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.article-tag {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

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

.read-more {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Testimonials / User Reviews (用户评价) */
.reviews-section {
  padding: 80px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.user-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ Section (常见问题FAQ) */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: var(--accent-cyan);
}

/* ARTICLE DETAIL STYLING */
.article-container {
  max-width: 860px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

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

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin: 28px 0 14px;
}

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

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FOOTER & PBN LINKS (页脚 PBN 权重精准输血管道) */
footer {
  background: rgba(2, 6, 23, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

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

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

.footer-copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* PBN Low-profile discreet dofollow friend links area */
.pbn-links-area {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.pbn-links-area span {
  opacity: 0.7;
}

.pbn-links-area a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.pbn-links-area a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .pricing-grid, .stats-grid, .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 640px) {
  .pricing-grid, .stats-grid, .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .nav-links {
    display: none;
  }
  .hero-cta {
    flex-direction: column;
  }
}
