
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  text-align: center;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  border-bottom: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #1e88e5, #ffb300);
  opacity: 0.1;
  z-index: -1;
}

header h1 {
  margin: 0;
  color: #1e88e5;
  font-size: 3em;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}

header p {
  margin: 10px 0 0;
  font-weight: 500;
  color: #ffb300;
  font-size: 1.3em;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro {
  padding: 40px 20px;
  font-size: 1.2em;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out 0.5s both;
}

.intro h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffb300;
  text-align: center;
}

.product-grid h2 {
  grid-column: 1 / -1;
  text-align: center;
  color: white;
  font-size: 2.2em;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: white;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 15px;
  font-size: 1em;
}

footer nav {
  margin-top: 10px;
}

footer nav a {
  color: #1e88e5;
  text-decoration: none;
  margin: 0 5px;
}

footer nav a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: auto;
}

.product-grid a {
  text-decoration: none;
  color: #333;
  background: white;
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-grid a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.product-grid a:hover::before {
  left: 100%;
}

.product-grid a:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-grid img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.product-grid a:hover img {
  transform: scale(1.05);
}

.product-grid p {
  font-weight: 600;
  font-size: 1.1em;
  margin: 0;
  color: #1e88e5;
}

.cta {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin: 40px 20px;
  border-radius: 25px;
  animation: fadeIn 1s ease-out 0.8s both;
}

.cta button {
  background: linear-gradient(45deg, #1e88e5, #1565c0);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
  position: relative;
  overflow: hidden;
}

.cta button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta button:hover::before {
  left: 100%;
}

.cta button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 136, 229, 0.4);
}

.cta button:active {
  transform: translateY(-1px);
}

footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  font-size: 1em;
  color: #666;
  margin-top: 40px;
  border-top: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2em;
  }
  
  header p {
    font-size: 1.1em;
  }
  
  .intro {
    font-size: 1.1em;
    padding: 30px 20px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 15px;
  }
  
  .cta {
    margin: 20px 15px;
    padding: 40px 20px;
  }
}

/* Add subtle animation delays for product grid items */
.product-grid a:nth-child(1) { animation-delay: 0.1s; }
.product-grid a:nth-child(2) { animation-delay: 0.2s; }
.product-grid a:nth-child(3) { animation-delay: 0.3s; }
