/* ==========================================================================
   奈云机场 (NaiCloud) - 高科技闪耀火花与电路主题样式
   Domain: naiujc.cyou
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 22, 33, 0.75);
  --bg-card-hover: rgba(28, 35, 52, 0.85);
  --primary-orange: #ff6b00;
  --secondary-orange: #ff9e00;
  --bright-yellow: #ffea00;
  --glow-orange: rgba(255, 107, 0, 0.4);
  --glow-spark: rgba(255, 200, 50, 0.6);
  --border-neon: rgba(255, 120, 0, 0.25);
  --border-neon-active: rgba(255, 160, 0, 0.7);
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 橙色渐变文本通用样式 */
.text-gradient-orange {
  background: linear-gradient(135deg, #fff 0%, #ffaa00 35%, #ff6b00 70%, #ff3b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-orange-glow {
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.6), 0 0 30px rgba(255, 150, 0, 0.3);
}

/* Background Spark Canvas */
#spark-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Mouse Trail Spark Canvas */
#cursor-spark-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-neon);
  transition: var(--transition-fast);
}

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

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

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: radial-gradient(circle, rgba(255,107,0,0.25) 0%, rgba(7,9,14,0.8) 70%);
  border: 1.5px solid var(--primary-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--glow-orange);
  animation: pulse-glow 3s infinite alternate;
}

.nav-logo-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--secondary-orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #ffaa00);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

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

.nav-link:hover {
  color: var(--secondary-orange);
  text-shadow: 0 0 8px rgba(255, 158, 0, 0.5);
}

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

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c00 0%, #ff4500 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 0, 0.7);
  background: linear-gradient(135deg, #ffa500 0%, #ff5500 100%);
}

.btn-recommend {
  background: rgba(255, 165, 0, 0.12);
  color: var(--secondary-orange);
  border: 1px solid rgba(255, 165, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 165, 0, 0.2);
}

.btn-recommend:hover {
  background: rgba(255, 165, 0, 0.25);
  border-color: #ffaa00;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
  transform: translateY(-2px);
}

/* Speed Lightning Badge */
.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--border-neon);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--secondary-orange);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.15);
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Hero Section (Directive 3: H1 + Live Online User Counter) */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: center;
  position: relative;
}

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

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

/* Live Online Counter Widget */
.live-counter-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(18, 22, 33, 0.9);
  border: 1px solid var(--border-neon);
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-orange);
  margin-bottom: 2.5rem;
}

.live-counter-number {
  font-family: monospace, monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffaa00;
  letter-spacing: 1px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Section Header Shared Component */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2,
.section-header h3,
.section-header h4,
.section-header h5,
.section-header h6 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

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

/* Directive 4: H2 Customer Reviews & Dynamic Speed Test */
.reviews-speed-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-neon-active);
  box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2);
  transform: translateY(-4px);
}

/* Review Carousel Card */
.review-carousel {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-item {
  display: none;
  animation: fadeIn 0.6s ease-in-out forwards;
}

.review-item.active {
  display: block;
}

.review-stars {
  color: #ffea00;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-content {
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #ffea00);
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-meta .user-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

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

/* Speed Test Real-time Monitor */
.speed-test-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.speed-table {
  width: 100%;
  border-collapse: collapse;
}

.speed-table th, .speed-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
}

.speed-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.speed-table td {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ping-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: monospace;
}

.ping-fast {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.4);
}

/* Directive 5: H3 Dynamic 3D Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 24px;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  transform-style: preserve-3d;
}

.pricing-card.popular {
  border-color: var(--primary-orange);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.25);
  background: radial-gradient(circle at top right, rgba(255,107,0,0.12), rgba(18,22,33,0.85));
}

.pricing-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
  border-color: #ffaa00;
  box-shadow: 0 20px 50px rgba(255, 107, 0, 0.4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, #ff8c00, #ff4500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
}

.plan-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin: 1rem 0;
}

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

.plan-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.plan-features li svg {
  width: 18px;
  height: 18px;
  stroke: #00ff88;
  flex-shrink: 0;
}

/* Directive 6: H4 Tech Article Horizontal Slider (No standard scrollbar) */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 2.5rem 0;
}

.article-track {
  display: flex;
  gap: 1.8rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.article-card {
  min-width: 340px;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.article-card:hover {
  border-color: var(--secondary-orange);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
  transform: translateY(-6px);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-orange);
  background: rgba(255, 165, 0, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.article-title a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition-fast);
}

.article-title a:hover {
  color: var(--secondary-orange);
}

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

.article-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary-orange);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 22, 33, 0.9);
  border: 1px solid var(--border-neon);
  color: var(--secondary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary-orange);
  color: #fff;
  box-shadow: 0 0 15px var(--glow-orange);
}

/* Directive 7: H5 FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  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.2rem;
  color: var(--secondary-orange);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

/* Directive 8: H6 Device Protection Section */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: 18px;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: var(--transition-fast);
}

.device-card:hover {
  border-color: var(--secondary-orange);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  transform: translateY(-5px);
}

.device-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  fill: none;
  stroke: var(--secondary-orange);
  stroke-width: 1.8;
}

.device-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* Core Task 2: PBN Footer Dofollow Links */
footer.pbn-footer {
  background: #040508;
  border-top: 1px solid var(--border-neon);
  padding: 3rem 0 2rem 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.88rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pbn-links-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.8rem 1.8rem;
  background: rgba(18, 22, 33, 0.5);
  border: 1px dashed rgba(255, 107, 0, 0.2);
  border-radius: 30px;
}

.pbn-links-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pbn-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.pbn-link:hover {
  color: var(--secondary-orange);
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: #64748b;
}

/* Animations */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px var(--glow-orange); }
  100% { box-shadow: 0 0 25px rgba(255, 165, 0, 0.8); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .reviews-speed-wrapper { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero p.hero-subtitle { font-size: 1rem; }
  .section-header h2, .section-header h3, .section-header h4, .section-header h5, .section-header h6 { font-size: 1.7rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .article-card { min-width: 280px; }
}
