:root {
  --primary-color: #00e5ff;
  --bg-color: #050505;
  --text-color: #f0f0f0;
  --secondary-bg: rgba(20, 20, 20, 0.8);
  --border-color: rgba(0, 229, 255, 0.2);
  --hover-border: rgba(0, 229, 255, 0.6);
  --glass-bg: rgba(10, 10, 10, 0.6);
  --gradient-bg: linear-gradient(135deg, #050505 0%, #111 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--gradient-bg);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 10px var(--primary-color);
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.logo h1 {
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #ccc;
  font-size: 16px;
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: var(--primary-color);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 15px var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 60px;
}

.hero h2 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px rgba(0, 229, 255, 0.2); }
  to { text-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  color: #aaa;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
  color: #000;
  text-shadow: none;
}

/* Sections */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-color);
}

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

.feature-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(5px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--hover-border);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #999;
  font-size: 15px;
}

/* Pricing Section - Table Design */
.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--secondary-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.pricing-table th {
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary-color);
  padding: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #ccc;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover {
  background: rgba(0, 229, 255, 0.05);
}

.pricing-table td:first-child {
  font-weight: bold;
  color: #fff;
  text-align: left;
  padding-left: 30px;
}

.price-val {
  color: #fff;
  font-size: 18px;
}

/* Node Status */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.status-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.node-name {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag {
  width: 20px;
  height: 15px;
  background-color: #555;
  display: inline-block;
  border-radius: 2px;
}

.node-delay {
  color: #0f0;
  font-family: monospace;
  font-size: 16px;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Reviews */
.reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.review-card {
  background: var(--secondary-bg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 10px;
  width: calc(33.333% - 20px);
  min-width: 300px;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 60px;
  color: rgba(0, 229, 255, 0.1);
  font-family: serif;
}

.review-stars {
  color: #ffca28;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  color: #bbb;
  margin-bottom: 20px;
}

.review-author {
  font-weight: bold;
  color: var(--primary-color);
}

/* FAQs */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--secondary-bg);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

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

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary-color);
  transition: transform 0.3s;
}

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: #aaa;
}

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

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

.kb-card {
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  display: block;
}

.kb-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.1);
}

.kb-card h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
  transition: color 0.3s;
}

.kb-card:hover h4 {
  color: var(--primary-color);
  text-shadow: none;
}

.kb-card p {
  color: #888;
  font-size: 13px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 50px;
}

footer p {
  color: #666;
  font-size: 14px;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #888;
  font-size: 14px;
}

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

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero h2 {
    font-size: 40px;
  }
  
  .review-card {
    width: 100%;
  }
  
  .pricing-table td:first-child {
    padding-left: 10px;
  }
  
  .pricing-table th, .pricing-table td {
    padding: 10px 5px;
    font-size: 14px;
  }
}
