/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & Background */
body {
  font-family: 'Fira Code', Consolas, monospace, monospace;
  background: linear-gradient(135deg, #121212, #1f1f1f);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Header */
header {
  background: #181818;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 48px;
  filter: drop-shadow(0 0 2px #3adecb);
}

nav a {
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
  color: #3adecb;
}

nav a:hover {
  background-color: rgba(58,222,203,0.15);
}

/* Active nav link */
nav a.active {
  background-color: #28b3a9;
  color: #121212;
}

/* Buttons */
.btn {
  cursor: pointer;
  display: inline-block;
  user-select: none;
}

.btn-primary {
  background: #3adecb;
  color: #121212;
}

.btn-primary:hover {
  background: #28b3a9;
}

.btn-secondary {
  background: #2196f3;
  color: #fff;
}

.btn-secondary:hover {
  background: #1b7ed9;
}

.btn-ghost {
  background: transparent;
  color: #3adecb;
  border: 1.5px solid #3adecb;
}

.btn-ghost:hover {
  background: #3adecb;
  color: #121212;
}

.btn-download {
  background: #3adecb;
  color: #121212;
  font-weight: 700;
  padding: 0.7rem 2rem;
  border-radius: 7px;
  box-shadow: 0 4px 8px rgba(58,222,203,0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
  background: #28b3a9;
  box-shadow: 0 6px 12px rgba(40,179,169,0.8);
}

/* Titles */
h1, h2 {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #3adecb;
  text-shadow: 0 0 6px rgba(58,222,203,0.7);
}

.highlight {
  color: #fff;
  text-shadow: none;
}

/* Subtitle */
.subtitle {
  color: #b0f7f1;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Paragraphs */
p {
  margin-bottom: 1.4rem;
  color: #ccc;
}

/* Features List */
.features-list {
  list-style: none;
  margin-left: 1rem;
  margin-bottom: 2rem;
  color: #9bded9;
}

.features-list li {
  margin-bottom: 0.8rem;
  font-weight: 500;
}

/* Notices */
.notice {
  font-style: italic;
  color: #f0a500;
  margin-top: 1rem;
}

/* Code Block */
pre {
  background: #222;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: inset 0 0 8px #0ff;
  font-size: 1rem;
  overflow-x: auto;
  margin-top: 1rem;
  font-family: 'Fira Code', monospace;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.8rem 2rem;
  background: #181818;
  font-size: 0.9rem;
  color: #777;
  margin-top: auto;
  user-select: none;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.8s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.3s;
}

.fade-in.delay-2 {
  animation-delay: 0.6s;
}

.fade-in.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  nav a {
    font-size: 0.85rem;
    margin-left: 0.6rem;
    padding: 0.4rem 0.8rem;
  }
}

/* About and Contact page styles */
.about, .contact {
  margin-top: 2rem;
  color: #ccc;
}

.about h1, .contact h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3adecb;
  text-shadow: 0 0 6px rgba(58,222,203,0.7);
}

.about p, .contact p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding-left: 0;
  color: #9bded9;
}

.contact ul li {
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.contact ul li a {
  color: #3adecb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact ul li a:hover {
  color: #28b3a9;
  text-decoration: underline;
}
