/* ==========================================================================
   冲上云霄机场 - 破晓云海跃升风 (Cloud Breakthrough & Jet Background)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  /* Color Palette - 破晓云海跃升风 */
  --bg-dark: #0F0C1B;          /* 主背景色：破晓紫夜黑 60% */
  --bg-card: #1E1735;          /* 表面/卡片色：晨曦暮云紫 20% */
  --bg-card-hover: #261E42;    /* 卡片悬浮色 */
  --bg-card-glass: rgba(30, 23, 53, 0.78);
  
  --border-card: rgba(244, 63, 94, 0.22); /* 1px 半透明朝霞粉光晕描边 */
  --border-card-hover: rgba(255, 94, 54, 0.45);
  
  --text-white: #FFFFFF;       /* 纯净雪云白 */
  --text-muted: #DDD6FE;       /* 晨雾浅紫灰 */
  --text-subtle: #9CA3AF;      /* 辅助灰色 */
  
  --cta-gradient: linear-gradient(135deg, #FF5E36 0%, #F43F5E 100%); /* 破晓烈焰日出橙 -> 极光粉 */
  --cta-hover-gradient: linear-gradient(135deg, #FF724E 0%, #FB7185 100%);
  --gold-glow: #FBBF24;        /* 晨光金 */
  --sky-blue: #60A5FA;         /* 天空蓝 */
  --purple-glow: #8B5CF6;      /* 极光紫 */
  --emerald-green: #10B981;    /* 正常状态绿 */
  
  /* Shadows & Effects */
  --shadow-card: 0 12px 35px -8px rgba(15, 12, 27, 0.65), 0 0 20px 0 rgba(244, 63, 94, 0.08);
  --shadow-hover: 0 20px 45px -10px rgba(255, 94, 54, 0.25), 0 0 30px 2px rgba(244, 63, 94, 0.2);
  --shadow-glow: 0 0 25px rgba(255, 94, 54, 0.5);
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout */
  --container-max: 1240px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --header-height: 76px;
}

/* 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-white);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 800;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

.text-gradient {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-glow);
}

.text-sky {
  color: var(--sky-blue);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Glass & Card Styles */
.card-grid {
  display: grid;
  gap: 24px;
}

.cloud-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cloud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.6s ease;
}

.cloud-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-hover);
}

.cloud-card:hover::before {
  left: 100%;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 12, 27, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 63, 94, 0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--cta-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.4);
  font-size: 1.25rem;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cta-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 94, 54, 0.35);
}

.btn-primary:hover {
  background: var(--cta-hover-gradient);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 94, 54, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 54, 0.16);
  border: 1px solid rgba(255, 94, 54, 0.38);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-glow);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.2);
}

.hero-badge i {
  color: #FF5E36;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(15, 12, 27, 0.8);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(15, 12, 27, 0.9);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(221, 214, 254, 0.12);
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 23, 53, 0.65);
  border: 1px solid rgba(244, 63, 94, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.platform-pill i {
  color: var(--sky-blue);
}

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

.section-tag {
  color: var(--gold-glow);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* Node Latency & Status Section */
.status-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

.node-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.node-type {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.node-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(15, 12, 27, 0.55);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-glow);
}

.ping-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.ping-bar-fill {
  height: 100%;
  background: var(--cta-gradient);
  border-radius: 3px;
  transition: width 1s ease;
}

/* Pricing Section */
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

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

.pricing-card.popular {
  border-color: rgba(255, 94, 54, 0.65);
  background: linear-gradient(180deg, rgba(38, 30, 66, 0.92) 0%, rgba(30, 23, 53, 0.96) 100%);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--cta-gradient);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 94, 54, 0.4);
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-white);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.pricing-features li i {
  color: var(--gold-glow);
  font-size: 1.1rem;
}

/* Advantage Section */
.advantages-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.advantage-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.advantage-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 94, 54, 0.15);
  border: 1px solid rgba(255, 94, 54, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #FF5E36;
  flex-shrink: 0;
}

.advantage-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--gold-glow);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 22px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Knowledge Base Articles Section */
.articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.article-category {
  display: inline-block;
  background: rgba(96, 165, 250, 0.15);
  color: var(--sky-blue);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.read-more {
  color: var(--gold-glow);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  color: #FF5E36;
  transform: translateX(4px);
}

/* Testimonials / User Reviews Section */
.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cta-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(255, 94, 54, 0.3);
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

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

.review-comment {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
}

/* Article Detail Page Layout */
.article-detail-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.article-header-box {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold-glow);
}

.article-content {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  backdrop-filter: blur(14px);
}

.article-content h2 {
  font-size: 1.75rem;
  color: var(--text-white);
  margin: 36px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 63, 94, 0.2);
}

.article-content h3 {
  font-size: 1.35rem;
  color: var(--gold-glow);
  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(255, 94, 54, 0.18) 0%, rgba(244, 63, 94, 0.18) 100%);
  border: 1px solid rgba(255, 94, 54, 0.45);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

/* Footer */
.footer {
  background: rgba(15, 12, 27, 0.95);
  border-top: 1px solid rgba(244, 63, 94, 0.18);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

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

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

.footer-links a:hover {
  color: var(--gold-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(15, 12, 27, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: left 0.35s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
