/* -------------------- Base -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
body {
  background: #12131A;
  color: #EEE;
  overflow-x: hidden;
  line-height: 1.4;
}

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18,19,26,0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #61AFEF;
  text-decoration: none;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 0.8rem;
}
.nav-list a {
  color: #DDD;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.nav-list a:hover {
  background: rgba(97,175,239,0.2);
  color: #61AFEF;
}

/* mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #DDD;
  border-radius: 1px;
}

/* -------------------- Sections -------------------- */
section {
  padding: 4rem 1rem 2rem;
  max-width: 900px;
  margin: auto;
}
section#about {
  padding-top: 6rem;
}

/* -------------------- Hero -------------------- */
.hero {
  text-align: center;
  padding: 6rem 1rem 3rem;
}
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 0.95rem;
  color: #CCC;
  max-width: 500px;
  margin: 0 auto 1.2rem;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .3s ease;
}
.glow {
  background: #61AFEF;
  color: #12131A;
  box-shadow: 0 0 12px rgba(97,175,239,0.5);
}
.glow:hover {
  box-shadow: 0 0 24px rgba(97,175,239,0.7);
  transform: translateY(-1px);
}

/* -------------------- Features -------------------- */
.features h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 0.8rem 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}
.feature-list li {
  background: #20232A;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.feature-list li::before {
  content: '✔';
  color: #98C379;
  font-weight: bold;
  font-size: 1rem;
}

/* -------------------- Install/Code -------------------- */
.open-source {
  padding: 3rem 1rem 2rem;
  text-align: center;
}
.open-source h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #EEE;
}
.open-source .os-desc,
.open-source .os-req {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0.4rem auto;
  color: #CCC;
  line-height: 1.5;
}
.open-source .os-desc a.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #61AFEF;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.open-source .os-desc a.github-link svg {
  fill: currentColor;
}
.open-source .os-desc a.github-link:hover {
  color: #79C0FF;
}
.open-source .os-req {
  font-style: italic;
}
.code-block {
  background: #1E1E1E;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  margin: 0.8rem auto;
  overflow-x: auto;
  font: 0.85rem/1.4 'Courier New', monospace;
}
.code-block code {
  display: block;
  color: #DDD;
  white-space: pre;
}

/* -------------------- Preview -------------------- */
#preview .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 0.8rem;
}
#preview .grid img {
  width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* -------------------- Coming Soon -------------------- */
#coming-soon {
  text-align: center;
  padding-bottom: 2.5rem;
}
#coming-soon h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
#coming-soon p {
  color: #CCC;
  font-size: 0.9rem;
  max-width: 500px;
  margin: auto;
}

/* -------------------- Footer -------------------- */
.site-footer {
  text-align: center;
  padding: 1rem 1rem;
  background: #111;
  color: #666;
  font-size: 0.8rem;
}
.site-footer a {
  color: #61AFEF;
  text-decoration: none;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #20232A;
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 4px;
  }
  .nav-list.show {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
}
