@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600&display=swap');

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

body {
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  color: white;
  background-color: #0f0f0f;
}

::selection {
  background-color: #ffffff;
  color: #000000;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 20px;
  text-align: center;
  margin-top: -50px;
}

.help {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 60px 20px;
  text-align: center;
}

.help h1 {
  font-size: clamp(2.4rem, 10vw, 4rem);
  font-weight: bold;
  margin-bottom: 5px;
}

.help p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 30px;
}

.help .features-grid {
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  width: 100%;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.doc-back {
  display: inline-block;
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 30px;
  transition: color 0.2s ease;
}

.doc-back:hover {
  color: white;
}

.doc h1 {
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 10px;
}

.doc-lead {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 20px;
}

.doc h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}

.doc h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.doc p {
  color: #cfcfcf;
  margin-bottom: 14px;
}

.doc-list {
  color: #cfcfcf;
  padding-left: 22px;
  margin-bottom: 14px;
}

.doc-list li {
  margin-bottom: 8px;
}

.doc a {
  color: #90c8ff;
}

.doc code {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
  font-family: Consolas, Menlo, monospace;
  color: #e6e6e6;
}

.doc-note {
  font-size: 0.95rem;
  color: #9a9a9a;
  border-left: 3px solid #3a3a3a;
  padding-left: 12px;
  margin: 6px 0 14px;
}

.doc-figure {
  margin: 18px 0 26px;
}

.doc-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #333;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.doc-figure figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #888;
}

.doc-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1px dashed #3a3a3a;
  border-radius: 8px;
  background: #161616;
  color: #666;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.doc-buttons {
  justify-content: flex-start;
  margin-top: 40px;
}

a.feature-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.plugin-item {
  display: flex;
  flex-direction: column;
}

.plugin-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.plugin-head h3 {
  margin-bottom: 0;
}

.plugin-badge {
  margin-left: auto;
  font-size: 0.75rem;
  color: #bbb;
  background: #2c2c2c;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.plugin-meta {
  font-size: 0.85rem;
  color: #888;
  margin: 10px 0 16px;
}

.plugin-download {
  width: 100%;
  margin-top: auto;
  text-decoration: none;
  padding: 10px 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 5rem);
  font-weight: bold;
  margin-bottom: 5px;
}

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

.modern-button {
  display: inline-block;
  width: 220px;
  max-width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 3px;
  background: rgb(18, 18, 18);
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  font-size: 1.0rem;
  outline: 1px solid #454545;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.modern-button:hover {
  background-color: rgb(38, 38, 38);
}

.features {
  background: inherit;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px 19px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-item {
  background: #1e1e1e;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  transition: background-color 0.3s ease;
  cursor: default;
  text-align: left;
}

.feature-item:hover {
  background-color: #2c2c2c;
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.feature-item .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-right: 2px;
}

.feature-item p {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.4;
  margin: 0;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #0f0f0f;
  color: #666;
  text-align: left;
  padding: 10px 10px;
  font-size: 0.9rem;
  font-family: inherit;
  user-select: none;
  border-top: 1px solid #333;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}
.fade-in-delay-2 {
  animation-delay: 0.4s;
}
.fade-in-delay-3 {
  animation-delay: 0.5s;
}
.fade-in-delay-4 {
  animation-delay: 0.6s;
}
