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

body {
  font-family: 'Inter', sans-serif;
  background-color: #1a1a1a;
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: 70px;
  font-size: 18px;
}

nav {
  background-color: #2d2d2d;
  color: white;
  padding: 1.5rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid #4a4a4a;
}

nav .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

nav .logo:hover {
  opacity: 0.8;
}

nav .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
}

nav .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

nav .status-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #4a4a4a;
  color: #ffa500;
  font-weight: 600;
  margin-top: 3px;
}

nav .back-link {
  color: #4a9eff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.back-arrow {
  display: none;
}

nav .back-link:hover {
  color: #6bb3ff;
}

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

nav .nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

nav .nav-links li a:hover {
  color: #4a9eff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

header {
  background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
  border-bottom: 2px solid #4a9eff;
}

.header-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.status-badge {
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-top: 1rem;
  background: #4a4a4a;
  color: #ffa500;
  font-weight: 600;
}

header h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #b0b0b0;
}

main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 2.5rem;
  color: #4a9eff;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

section > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #b0b0b0;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

#contribute .feature-list {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-list li {
  background: #3a3a3a;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #4a4a4a;
  transition: border-color 0.3s;
}

.feature-list li:hover {
  border-color: #4a9eff;
}

.feature-list h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: #4a9eff;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 25px !important;
  height: 25px !important;
  display: block;
}

.feature-list p {
  color: #b0b0b0;
  font-size: 1rem;
}

.feature-list li ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

.feature-list li ul li {
  padding: 0.4rem 0;
  color: #b0b0b0;
  background: transparent;
  border: none;
  position: relative;
  padding-left: 1.2rem;
}

.feature-list li ul li:hover {
  border: none;
}

.feature-list li ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #4a9eff;
  font-weight: bold;
}

.feature-list p a {
  color: #4a9eff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.feature-list p a:hover {
  color: #6bb3ff;
}

.code-block {
  background: #2d2d2d;
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  font-family: 'Courier New', monospace;
  color: #4a9eff;
  font-size: 1rem;
  line-height: 1.8;
}

.contact {
  margin-top: 3rem;
  padding: 2rem;
  background: #3a3a3a;
  border-radius: 12px;
  border: 1px solid #4a4a4a;
}

.contact h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4a9eff;
  font-weight: 600;
}

.contact p {
  font-size: 1rem;
  color: #b0b0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.contact a {
  color: #4a9eff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contact a:hover {
  color: #6bb3ff;
}

footer {
  background-color: #2d2d2d;
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 1rem;
  border-top: 1px solid #4a4a4a;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  nav {
    padding: 1rem;
    justify-content: center;
  }

  .back-text {
    display: none;
  }

  .back-arrow {
    display: inline;
  }

  nav .back-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
  }

  nav .logo {
    position: static;
    transform: none;
    justify-content: center;
  }

  nav .logo-text {
    font-size: 1.2rem;
  }

  nav .status-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #4a4a4a;
  }

  nav .nav-links.active {
    max-height: 300px;
  }

  nav .nav-links li {
    width: 100%;
    text-align: center;
    border-top: 1px solid #4a4a4a;
  }

  nav .nav-links li a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  main {
    padding: 0 1rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list li {
    padding: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .code-block {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .code-block code {
    font-size: 0.85rem;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
}
