:root {
  --bg-dark: #0a0a0f;
  --bg-card: rgba(25, 25, 35, 0.7);
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  --accent-primary: #00f0ff;
  --accent-secondary: #ff0055;
  --gradient-glow: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-height: 80px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: var(--bg-dark);
  overflow: hidden;
  pointer-events: none;
}

.bg-animation::before,
.bg-animation::after {
  content: '';
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(100px);
  opacity: 0.2;
  animation: floatBackground 20s infinite ease-in-out alternate;
}

.bg-animation::before {
  background: var(--accent-primary);
  top: -20%;
  left: -20%;
}

.bg-animation::after {
  background: var(--accent-secondary);
  bottom: -20%;
  right: -20%;
  animation-duration: 25s;
  animation-delay: -5s;
}

.bg-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px);
  background-size: 60px 60px, 120px 120px;
  background-position: 0 0, 30px 30px;
  animation: moveParticles 100s linear infinite;
}

@keyframes floatBackground {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15%, 5%) scale(1.1); }
  66% { transform: translate(-5%, 15%) scale(0.95); }
  100% { transform: translate(-10%, -10%) scale(1); }
}

@keyframes moveParticles {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: var(--gradient-glow);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

/* Sections */
section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  position: relative;
}

.section-title span {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btn {
  display: inline-block;
  background: var(--gradient-glow);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.5);
}

/* Feature Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
}

/* Pricing Cards */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: '热门推荐';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent-primary);
  color: #000;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 0.8rem;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-card:not(.popular):hover {
  transform: translateY(-10px);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: var(--accent-primary);
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-primary);
  margin-right: 10px;
  font-weight: bold;
}

.btn-buy {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: bold;
  border: 1px solid var(--accent-primary);
  transition: all 0.3s ease;
}

.pricing-card.popular .btn-buy {
  background: var(--gradient-glow);
  color: #fff;
  border: none;
}

.btn-buy:hover {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Status Table */
.status-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
}

.status-table th, .status-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-table th {
  background: rgba(0,0,0,0.3);
  font-weight: 600;
}

.status-good {
  color: #00ff88;
  font-weight: bold;
}

.ping-low {
  color: #00f0ff;
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

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

.faq-icon {
  transition: transform 0.3s ease;
}

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

/* Knowledge Base Links */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.kb-link {
  display: block;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.kb-link:hover {
  border-color: var(--accent-primary);
  transform: translateX(10px);
  background: rgba(0, 240, 255, 0.05);
}

.kb-link h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.kb-link p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: #050508;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Article Page Specifics */
.article-content {
  padding-top: calc(var(--nav-height) + 50px);
  max-width: 800px;
  margin: 0 auto;
}

.article-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
}

.article-content a {
  color: var(--accent-primary);
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card:hover {
    transform: translateY(-5px);
  }
}
