:root {
  --primary-color: #00d4ff;
  --secondary-color: #7928ca;
  --accent-color: #ff0080;
  --bg-dark: #0a0a0f;
  --bg-card: #1a1a2e;
  --text-light: #ffffff;
  --text-gray: #a0a0a0;
  --success-color: #00ff88;
  --gradient: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color),
    var(--accent-color)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Particles Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--bg-dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 50px;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 1s ease;
}

/* Glitch Effect */
.glitch {
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 500ms infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
      0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
      0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

.tagline {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  animation: fadeIn 1s ease 0.3s backwards;
}

.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

.description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  animation: fadeIn 1s ease 0.6s backwards;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.9s backwards;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

/* Terminal */
.terminal {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: left;
  margin: 2rem auto;
  max-width: 700px;
  animation: fadeInUp 1s ease 1.2s backwards;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.terminal-header {
  background: #1e1e2e;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.btn-close,
.btn-minimize,
.btn-maximize {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.btn-close {
  background: #ff5f56;
}
.btn-minimize {
  background: #ffbd2e;
}
.btn-maximize {
  background: #27c93f;
}

.terminal-title {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.terminal-body {
  padding: 1.5rem;
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.prompt {
  color: var(--success-color);
  font-weight: bold;
}

.command {
  color: var(--primary-color);
  font-weight: bold;
}

.command-line {
  margin-bottom: 1rem;
}

.typing {
  animation: typing 2s steps(20) infinite;
  border-right: 2px solid var(--primary-color);
}

@keyframes typing {
  0%,
  100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

.output {
  color: var(--text-gray);
}

.success {
  color: var(--success-color);
  font-weight: bold;
}

.user-input {
  color: var(--accent-color);
  font-weight: bold;
}

.comment {
  color: #666;
  font-style: italic;
}

.terminal.small {
  max-width: 400px;
}

.terminal.large {
  max-width: 900px;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Comparison Section */
.comparison {
  background: rgba(26, 26, 46, 0.5);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.comparison-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.vs {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
}

.comparison-note {
  text-align: center;
  color: var(--text-gray);
  margin-top: 1rem;
  font-style: italic;
}

/* Download Section */
.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.download-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s;
  position: relative;
}

.download-card.primary {
  border-color: var(--primary-color);
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.9),
    rgba(0, 212, 255, 0.1)
  );
}

.download-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--gradient);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  color: var(--text-gray);
}

.version {
  margin-top: 1rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Install Instructions */
.install-instructions {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.install-instructions h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.step-content p {
  color: var(--text-gray);
}

code {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  color: var(--primary-color);
  font-family: "Consolas", "Monaco", monospace;
}

/* Usage Section */
.usage-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.commands-list {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.commands-list h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.command-item {
  margin-bottom: 2rem;
}

.command-item code {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.command-item p {
  color: var(--text-gray);
}

/* Footer */
footer {
  background: rgba(26, 26, 46, 0.5);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--text-gray);
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .vs {
    text-align: center;
  }

  .usage-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .terminal-body {
    font-size: 0.8rem;
  }
}
