/* ==========================================================================
   Ash Network - Ultra High-Tech Cyber Design System (ashnet.homes)
   Includes "空宁元素" Background, "白蓝渐变色" Typography & Cyber Dashboard
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&display=swap');

:root {
  --bg-dark: #030610;
  --bg-navy-panel: rgba(10, 18, 36, 0.92);
  --bg-card: rgba(13, 23, 46, 0.95);
  --bg-card-hover: rgba(19, 34, 66, 0.98);
  --bg-stat-box: #040915;
  
  --border-cyan: rgba(56, 189, 248, 0.35);
  --border-neon: #00f2fe;
  --border-card: rgba(56, 189, 248, 0.2);
  
  --primary-cyan: #38bdf8;
  --primary-blue: #3b82f6;
  --neon-cyan: #00f2fe;
  --status-green: #10b981;
  --status-green-glow: 0 0 12px #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

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;
}

/* --------------------------------------------------------------------------
   Ethereal Sky & Cyber Grid Background ("空宁元素" + 科幻矩阵)
   -------------------------------------------------------------------------- */
.sky-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: 
    radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, #02040a 0%, #060c1c 50%, #030610 100%);
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.7;
}

.sky-bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 80px 120px, rgba(0, 242, 254, 0.5), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 250px 300px, rgba(56, 189, 248, 0.4), rgba(0, 0, 0, 0)),
    radial-gradient(3px 3px at 450px 150px, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 750px 420px, rgba(0, 242, 254, 0.4), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 800px 800px;
  animation: floatParticles 35s linear infinite;
}

@keyframes floatParticles {
  0% { transform: translateY(0); }
  100% { transform: translateY(-800px); }
}

/* --------------------------------------------------------------------------
   Typography & Glowing Gradient Text ("白蓝渐变色")
   -------------------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 35%, #38bdf8 70%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.3));
}

.gradient-text-alt {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Layout & Components
   -------------------------------------------------------------------------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-green);
  box-shadow: var(--status-green-glow);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
  border-color: #ffffff;
}

.btn-secondary {
  background: rgba(13, 23, 46, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(22, 38, 74, 0.95);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 6, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--neon-cyan);
}

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

/* Hero */
.hero {
  padding: 95px 0 50px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 24px 0;
}

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

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-features-list {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
  list-style: none;
  flex-wrap: wrap;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-feature-icon {
  color: var(--neon-cyan);
}

/* --------------------------------------------------------------------------
   Real-Time Node Dashboard ("实时流量节点状态" - Align Symmetric 2x2 Grid)
   -------------------------------------------------------------------------- */
.node-section {
  padding: 55px 0;
}

.sci-fi-panel {
  background: var(--bg-navy-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(56, 189, 248, 0.05);
  backdrop-filter: blur(20px);
}

.sci-fi-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.dashboard-title {
  text-align: center;
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.dashboard-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Symmetric 2x2 Straight Node Alignment */
.node-grid-straight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .node-grid-straight { grid-template-columns: 1fr; }
}

.node-card-straight {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.node-card-straight:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.node-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-title-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.node-pill-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  white-space: nowrap;
}

.node-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--status-green);
  font-weight: 600;
  font-family: var(--font-mono);
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-green);
  box-shadow: var(--status-green-glow);
}

.node-stat-inset-box {
  background: var(--bg-stat-box);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   Floating Price Cards ("价格表全部要浮动展示")
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 75px 0;
}

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

.floating-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.float-delay-1 { animation: floatAnim1 6s ease-in-out infinite; }
.float-delay-2 { animation: floatAnim2 7s ease-in-out infinite 0.5s; }
.float-delay-3 { animation: floatAnim3 6.5s ease-in-out infinite 1s; }
.float-delay-4 { animation: floatAnim1 7.5s ease-in-out infinite 1.5s; }

@keyframes floatAnim1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatAnim2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@keyframes floatAnim3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating-card:hover {
  animation-play-state: paused;
  transform: translateY(-16px) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.35);
}

.pricing-card-popular {
  border: 2px solid var(--neon-cyan);
  background: linear-gradient(180deg, rgba(13, 23, 46, 0.95) 0%, rgba(20, 35, 68, 0.95) 100%);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #00f2fe, #2563eb);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.price-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
}

.price-currency {
  font-size: 1.5rem;
  color: var(--neon-cyan);
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  list-style: none;
  margin: 20px 0 28px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-feature-icon {
  color: var(--status-green);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Article Preview Grid & Author Badge ("文章创办人")
   -------------------------------------------------------------------------- */
.articles-section {
  padding: 75px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 26px;
  margin-top: 36px;
}

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

.article-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

.article-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffffff;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Reviews */
.reviews-section {
  padding: 75px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

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

.review-stars {
  color: #f59e0b;
  margin-bottom: 12px;
}

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

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

.user-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--neon-cyan);
}

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

.user-meta-tag {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* FAQ */
.faq-section {
  padding: 75px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

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

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

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

/* Article Page Layout */
.article-page {
  padding: 55px 0 95px;
}

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

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

.article-body-content {
  background: var(--bg-navy-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 920px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body-content h2 {
  font-size: 1.75rem;
  color: #f8fafc;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

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

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

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

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

.article-body-content blockquote {
  border-left: 4px solid var(--neon-cyan);
  background: rgba(0, 242, 254, 0.06);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
}

.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-cyan);
}

.keyword-tag {
  background: rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer PBN Links ("页脚 PBN 权重输血管道") */
.footer {
  background: #020409;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  padding: 48px 0 30px;
  text-align: center;
}

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

.footer-brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}

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

.footer-pbn-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px stroke rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.84rem;
  color: #475569;
}

.footer-pbn-label {
  color: #475569;
  font-weight: 500;
}

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

.footer-pbn-link:hover {
  color: var(--neon-cyan);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.3rem; }
  .navbar { height: 70px; }
  .nav-links { display: none; }
  .sci-fi-panel { padding: 30px 20px; }
}
