/* ==========================================================================
   遥遥领先 Cloud (yyssr.cfd) - Unified Futuristic Tech Design System
   ========================================================================== */

:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-color-glow: rgba(56, 189, 248, 0.4);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-pink: #ff007f;
  --accent-green: #00ffaa;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tech: 'Rajdhani', 'JetBrains Mono', monospace, sans-serif;
  
  --glass-glow: 0 8px 32px 0 rgba(0, 242, 254, 0.12);
  --card-radius: 16px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::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-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Dynamic Background Canvas Container */
#tech-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Background Glowing Orbs */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}
.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: var(--accent-purple);
}
.orb-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  right: -150px;
  background: var(--primary-cyan);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.font-tech {
  font-family: var(--font-tech);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-pink {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

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

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  color: #040914;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
  background: linear-gradient(135deg, #2cf4ff 0%, #68b4ff 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color-glow);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section - Split 2-Column Layout (H1 Left + Vertical Telemetry Right)
   ========================================================================== */
.hero-section {
  padding: 160px 0 90px;
  position: relative;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content-left {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 30px;
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  line-height: 1.18;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-mini-highlights {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.mini-hl-item {
  display: flex;
  flex-direction: column;
}

.mini-hl-val {
  font-family: var(--font-tech);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.mini-hl-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   H1右侧直排展示面板 (Vertical Node Ping Telemetry Widget on Right of H1)
   ========================================================================== */
.hero-telemetry-right {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(10, 14, 28, 0.95));
  border: 1px solid var(--border-color-glow);
  border-radius: var(--card-radius);
  padding: 1.8rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-telemetry-right::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem;
}

.telemetry-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.telemetry-update-badge {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Vertical Node List Layout (直排展示 - 列表逐行整齐排布) */
.node-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.node-v-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.node-v-item:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--border-color-glow);
  transform: translateX(4px);
}

.node-v-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-v-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.node-v-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

.node-v-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.node-v-ping {
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: rgba(0, 255, 170, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 170, 0.2);
}

.ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.telemetry-footer-cta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* Glass Section Style */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  text-transform: uppercase;
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-glow);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.price-card.popular {
  border-color: var(--primary-cyan);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
  color: #040914;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
  min-height: 40px;
}

.plan-price {
  font-family: var(--font-tech);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  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: 2rem;
  flex-grow: 1;
}

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

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

/* 指令 6: 客户评论 平排左右自动展示 (Marquee Smooth Auto-Scroll Slider) */
.reviews-container {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  margin-top: 2rem;
  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);
}

.reviews-marquee-track {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.reviews-marquee-track.reverse {
  animation: marquee-scroll-reverse 45s linear infinite;
  margin-top: 1.5rem;
}

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

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

@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.8rem;
  width: 360px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.review-card:hover {
  border-color: var(--border-color-glow);
  box-shadow: var(--glass-glow);
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.user-meta h4 {
  font-size: 0.98rem;
  font-weight: 600;
}

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

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

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

/* FAQ Accordion */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

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

.faq-question {
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  user-select: none;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition-fast);
  color: var(--primary-cyan);
}

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

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

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

/* SEO Articles Grid */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 2rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-weight: 600;
  width: fit-content;
}

.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.article-card:hover h3 {
  color: var(--primary-cyan);
}

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

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

/* 【核心任务 2：页脚 PBN 权重精准输血管道】 */
footer.site-footer {
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

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

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

/* PBN Links Styling */
.pbn-links-zone {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.pbn-links-title {
  color: var(--text-dim);
  font-weight: 500;
}

.pbn-links-zone a {
  color: #7dd3fc;
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.82rem;
}

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

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 19, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    gap: 1.5rem;
  }

  .hero-grid-split {
    grid-template-columns: 1fr;
  }
  
  .hero-content-left {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-mini-highlights {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 130px;
  }

  .node-v-item {
    padding: 0.8rem;
  }

  .review-card {
    width: 290px;
    padding: 1.2rem;
  }
}
