* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #11181C;
  background-color: #fff;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  margin-bottom: 0;
}

/* ==========================================
   Products Section
   ========================================== */
.products {
  padding: 80px 24px;
}

.products h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #11181C;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.product-icon svg {
  color: #fff;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #11181C;
}

.product-card p {
  color: #687076;
  margin-bottom: 24px;
}

.product-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #4f46e5;
  color: #fff;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #11181C;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
  padding: 80px 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  text-align: center;
}

.contact h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
}

.contact .btn-primary {
  background-color: #fff;
  color: #4f46e5;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  padding: 32px 24px;
  background-color: #f9fafb;
  text-align: center;
}

footer p {
  color: #9BA1A6;
  font-size: 14px;
  margin-bottom: 0;
}

/* ==========================================
   Mobile Responsiveness
   ========================================== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .products h2,
  .contact h2 {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .product-links {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================
   Dark Mode Support
   ========================================== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a2e;
    color: #e4e4e7;
  }

  /* Hero */
  .hero {
    background: linear-gradient(135deg, #4f46e5 0%, #2e1065 100%);
  }

  /* Products */
  .products {
    background-color: #1a1a2e;
  }

  .products h2 {
    color: #e4e4e7;
  }

  .product-card {
    background: #16162a;
  }

  .product-card h3 {
    color: #e4e4e7;
  }

  .product-card p {
    color: #a1a1aa;
  }

  .btn-secondary {
    background-color: #2a2a40;
    color: #e4e4e7;
  }

  /* Contact */
  .contact {
    background: linear-gradient(135deg, #4f46e5 0%, #2e1065 100%);
  }

  .contact .btn-primary {
    background-color: #fff;
    color: #4f46e5;
  }

  /* Footer */
  footer {
    background-color: #16162a;
  }

  footer p {
    color: #a1a1aa;
  }
}
