/*! Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #0f172a;
  color: #f1f5f9;
  overflow-x: hidden;
}

/*! Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #14b8a6;
  border-radius: 4px;
}

/*! Header */

header {
  position: sticky;
  top: 0;
  background: #1e293b;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

header h1 {
  color: #14b8a6;
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: 0.3s;
}

nav ul li a:hover {
  background: #14b8a6;
  color: #0f172a;
}

/*! Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 2rem;
  background: #1e293b;
  border-radius: 12px;
  margin: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  color: #14b8a6;
}

.hero p {
  max-width: 600px;
}

.hero button {
  background: #14b8a6;
  border: none;
  padding: 0.8rem 2rem;
  color: #0f172a;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: #0d9488;
}

/*! Products */

.products {
  padding: 4rem 2rem;
}

.products h2 {
  text-align: center;
  color: #14b8a6;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 1rem;
  transition: 0.3s;
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 12px;
}

.product-card h3 {
  margin: 1rem 0 0.5rem;
  color: #f1f5f9;
}

.product-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card button {
  background: #14b8a6;
  border: none;
  padding: 0.5rem 1rem;
  color: #0f172a;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.product-card button:hover {
  background: #0d9488;
  transform: translateY(-3px);
}

/*! Footer */

footer {
  text-align: center;
  padding: 2rem;
  background: #0f172a;
  border-top: 1px solid #334155;
}

/*! Responsive */

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
  }
}
