:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #ec4899;
  --accent: #3b82f6;
  --background: #0a0a0f;
  --surface: #141419;
  --surface-light: #1c1c24;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --success: #10b981;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
  --gradient-vibrant: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #60a5fa 100%);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

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

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

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

.nav-buttons {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  z-index: 100;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15), transparent);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: var(--gradient);
  opacity: 0.6;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.8);
  }
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  animation: pulse-slow 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes pulse-slow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease;
}

#cyclingFont {
  display: inline-block;
  background: var(--gradient-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  will-change: font-family;
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.4s both;
  position: relative;
  z-index: 100;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: var(--surface);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.section-description code {
  background: var(--surface-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--surface-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  border-radius: 50%;
}

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

.feature-card:hover::after {
  width: 300px;
  height: 300px;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.5);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

.feature-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Commands Section */
.commands-section {
  padding: 6rem 2rem;
}

.search-container {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 2px solid var(--surface-light);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15), 0 0 20px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.category-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 2px solid var(--surface-light);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.filter-btn:hover::before {
  width: 200px;
  height: 200px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: scale(1.05);
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.command-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.command-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
  transition: left 0.5s;
}

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

.command-card:hover {
  transform: translateY(-5px) translateX(3px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.command-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.command-category {
  padding: 0.25rem 0.75rem;
  background: rgba(88, 101, 242, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.command-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.command-usage {
  background: var(--background);
  padding: 0.75rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--success);
  border-left: 3px solid var(--primary);
}

/* Status Section */
.status-section {
  padding: 6rem 2rem;
  background: var(--surface);
}

.status-container {
  max-width: 1000px;
  margin: 3rem auto 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--surface-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.info-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: var(--border-radius);
  z-index: -1;
}

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

.info-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
  border-color: transparent;
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  transition: all 0.4s;
}

.info-card:hover .info-icon {
  transform: rotateY(360deg) scale(1.1);
  background: rgba(124, 58, 237, 0.2);
}

.info-card h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-card p {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-card {
  background: var(--surface-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-muted);
  position: relative;
  animation: pulse 2s infinite;
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.status-dot.offline {
  background: var(--danger);
  animation: none;
}

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

.status-info {
  flex: 1;
}

.status-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.status-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.status-stat {
  background: var(--surface-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status-stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
}

/* Updates Section */
.updates-section {
  padding: 6rem 2rem;
}

.updates-timeline {
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.update-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.update-card:nth-child(1) { animation-delay: 0.1s; }
.update-card:nth-child(2) { animation-delay: 0.2s; }
.update-card:nth-child(3) { animation-delay: 0.3s; }
.update-card:nth-child(4) { animation-delay: 0.4s; }

.update-card:hover {
  transform: translateX(10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.update-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient);
  border-radius: 4px 0 0 4px;
  transition: width 0.4s;
}

.update-card:hover::before {
  width: 8px;
}

.update-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.update-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.update-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.update-content {
  color: var(--text-muted);
  line-height: 1.8;
}

.update-content h4 {
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.update-content h4:first-child {
  margin-top: 0;
}

.update-content ul {
  list-style: none;
  padding-left: 0;
}

.update-content li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.update-content li::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--primary);
  font-weight: bold;
}

.update-content code {
  background: var(--surface-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Credits Section */
.credits-section {
  padding: 6rem 2rem;
  background: var(--surface);
}

.credits-content {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.credit-card {
  background: var(--surface-light);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.credit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(139, 92, 246, 0.3);
}

.credit-card h3 {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.credit-name {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.credit-tag {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  background: var(--background);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-text {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

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