/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #1b1b1b;
  color: #f5f5f5;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: #2c2c2c;
  padding: 15px 0;
}

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-block;
}

header nav {
  float: right;
}

header nav a {
  color: #f5f5f5;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #00bfff;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(90deg, #2c2c2c, #1b1b1b);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  display: inline-block;
  background: #00bfff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #009acc;
}

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

.feature {
  background: #2c2c2c;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.feature:hover {
  background: #333;
  transform: translateY(-5px);
}

.feature h3 {
  margin-bottom: 15px;
  color: #00bfff;
}

/* Footer */
footer {
  background: #2c2c2c;
  padding: 30px 0;
  text-align: center;
}

footer .socials a {
  margin: 0 10px;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s;
}

footer .socials a:hover {
  color: #00bfff;
}
/* Docs & Commands */
.commands {
  padding: 60px 0;
}

.command-category {
  margin-bottom: 40px;
  background: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
}

.command-category h2 {
  color: #00bfff;
  margin-bottom: 15px;
}

.command-category ul {
  list-style: none;
  padding-left: 0;
}

.command-category li {
  margin-bottom: 10px;
}

/* Status Page */
.status {
  padding: 60px 0;
  text-align: center;
}

.status-card {
  display: inline-block;
  background: #2c2c2c;
  padding: 30px 50px;
  border-radius: 10px;
}

.status-card h2 {
  color: #00bfff;
  margin-bottom: 20px;
}

.status-card .online {
  color: #00ff7f;
  font-weight: 600;
}
/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.fade-in.delay-1 { animation-delay: 0.5s; }
.fade-in.delay-2 { animation-delay: 1s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s forwards;
}

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

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

/* Features Section */
.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background: #2c2c2c;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.feature:hover {
  background: #333;
  transform: translateY(-5px);
}

/* CTA Section */
.cta {
  background: #111;
  padding: 60px 0;
  text-align: center;
}

.cta h2 {
  color: #00bfff;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}
/* Moving Command Background */
.command-bg {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #111;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.command-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollCommands 10s linear infinite alternate;
}

.command-list span {
  font-size: 1.5rem;
  color: #00bfff;
  opacity: 0.5;
}

@keyframes scrollCommands {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

/* Features & Steps */
.invite-features {
  padding: 60px 0;
}

.invite-features h2 {
  text-align: center;
  color: #00bfff;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: #2c2c2c;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.step:hover {
  background: #333;
  transform: translateY(-5px);
}

.floating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-command {
  position: absolute;
  font-size: calc(1rem + 0.5vw);
  color: rgba(0, 191, 255, 0.15);
  white-space: nowrap;
  animation: floatMove calc(15s + var(--i) * 1s) linear infinite alternate;
  transform-origin: center;
}

@keyframes floatMove {
  0% {
    transform: translateX(0) translateY(100vh) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    transform: translateX(50px) translateY(50vh) rotate(5deg);
    opacity: 0.3;
  }
  100% {
    transform: translateX(-50px) translateY(-20vh) rotate(-5deg);
    opacity: 0.1;
  }
}


/* Ensure main content is above background */
.hero, .invite-features, .invite-steps, footer {
  position: relative;
  z-index: 1;
}
.status-card .offline {
  color: #ff4d4f;
  font-weight: 600;
}
.coming-soon {
  position: relative;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4d4f;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 10;
}

.coming-soon:hover + .tooltip {
  display: block;
}
.docs-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 0;
}

.doc-card {
  background: #2c2c2c;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.doc-card:hover {
  background: #333;
  transform: translateY(-5px);
}

.doc-card h2 {
  color: #00bfff;
  margin-bottom: 15px;
}

.doc-card p {
  margin-bottom: 20px;
}
.command-item {
  background: #222;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.command-title {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.command-details {
  padding: 15px;
  display: none;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #ccc;
}

.command-item.active .command-details {
  display: block;
}

.command-title .toggle {
  transition: transform 0.3s;
}

.command-item.active .toggle {
  transform: rotate(45deg);
}
.doc-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: #1c1c1c;
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.3);
}
/* Hamburger container */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
}

.hamburger div {
  position: absolute;      /* position bars on top of each other */
  width: 100%;
  height: 3px;
  background-color: #ddd;
  transition: all 0.4s ease;
  top: 50%;                /* center vertically */
  left: 0;
  transform-origin: center;
}

/* Offset bars initially */
.hamburger div:nth-child(1) { transform: translateY(-8px); }
.hamburger div:nth-child(2) { transform: translateY(0); }
.hamburger div:nth-child(3) { transform: translateY(8px); }

/* When open - full X */
.hamburger.open div:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.open div:nth-child(2) {
  opacity: 0;
}

.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}




/* === Responsive Nav === */
@media (max-width: 768px) {
  nav {
    position: relative;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #00448f, #60a5fa);
    position: absolute;
    top: 70px;
    right: 10px;
    padding: 10px 0;
    border-radius: 12px;
    z-index: 9999;

    /* Hidden by default */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.4s ease;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  }

  nav ul.show {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  nav ul li a {
    padding: 12px 20px;
    color: #d1d8e0;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  nav ul li a:hover {
    background: rgba(10, 61, 98, 0.3);
    transform: translateX(5px);
  }

  .hamburger {
    display: flex;
  }
}