/* Global */
body {
  margin: 0;
  font-family: 'Outfit', 'Inter', Arial, sans-serif;
  background-color: #0B1119;
  color: #FFFFFF;
  line-height: 1.6;
}

/* Top Navigation */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #0B1119;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
}

.top-nav .nav-logo {
  height: 40px;
}

.top-nav .nav-links {
  display: flex;
  align-items: center;
}

.top-nav .nav-links a {
  color: #FFFFFF;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.top-nav .nav-links a:hover {
  color: #00C853;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .top-nav .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #0B1119;
    padding: 1rem 2rem;
  }

  .top-nav .nav-links.open {
    display: flex;
  }

  .top-nav .nav-links a {
    margin: 0.5rem 0;
  }
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #0B1119 0%, #101A28 100%);
}
.hero-icon {
  width: 120px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.2rem;
  margin: 0.5rem 0;
}
.tagline {
  font-size: 1.2rem;
  color: #AAB4BE;
}
.hero-screenshot {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto 0;
  border-radius: 12px;
  display: block;
}
.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: #00C853;
  color: #0B1119;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.cta-btn:hover {
  background: #00a846;
}

/* Features */
.features {
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: auto;
}

#templates {
  padding-top: 1rem;
}
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.feature {
  background: #1A2533;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

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

.feature img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid #fff;
}

.feature h3 {
  margin: 0.5rem 0;
  color: #00C853;
}

.feature-divider {
  border: 0;
  height: 1px;
  margin: 1rem auto;
  max-width: 1200px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.other-features {
  padding: 2rem;
  background: #101A28;
  text-align: center;
}
.other-features h2 {
  margin-bottom: 1rem;
}

.other-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.other-features-list li {
  background: #1A2533;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.other-features-list li::before {
  content: "\2713";
  color: #00C853;
  font-weight: bold;
}

/* About */
.about {
  padding: 2rem;
  background: #101A28;
  text-align: center;
}
.about h2 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  background: #0B1119;
}
footer a {
  color: #00C853;
  text-decoration: none;
  margin: 0 0.3rem;
}
footer a:hover {
  text-decoration: underline;
}

/* Back to top button */
#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #00C853;
  color: #0B1119;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
}

#backToTop.visible {
  display: flex;
}

@media (min-width: 769px) {
  #backToTop {
    display: none !important;
  }
}
