/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #fefefe;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav .nav-logo {
  font-size: 1.2rem;
  font-weight: 600;
}
nav .nav-links {
  display: flex;
  gap: 1rem;
}
nav .nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
nav .menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    border-top: 1px solid #ddd;
  }
  nav .nav-links.active {
    display: flex;
  }
  nav .menu-toggle {
    display: block;
  }
}

/* Layout */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: linear-gradient(to bottom right, #f9fafb, #e5e7eb);
}
.logo {
  width: 100px;
  margin: 0 auto 1rem;
  display: block;
}
.email-input {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}
.email-input input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  font-size: 1rem;
}
.email-input button {
  background-color: #333;
  color: #fff;
  padding: 0 1.2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.email-input button:hover {
  background-color: #555;
}

.products {
  padding: 3rem 1rem;
  text-align: center;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-tile {
  width: 180px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s;
}
.product-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
.product-tile img {
  width: 100%;
  display: block;
}
.product-tile p {
  padding: 0.5rem;
  background: #f8f8f8;
}

.about, .contact {
  padding: 2.5rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about h2, .contact h2, .products h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center;
  }
  .product-tile {
    width: 90%;
    max-width: 300px;
  }
}