@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Grundläggande body med gradient och bubblor */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
  position: relative;

  /* Vertikal gradient: vit/beige högst upp till ljusblå innan footern */
  background: linear-gradient(to bottom, #fefcf5 0%, #e3f2ff 100%);
}

/* Bubblor i bakgrunden */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.bubble {
  position: fixed;
  bottom: -50px;
  background-color: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  animation: rise 10s linear infinite;
  z-index: 0;
}

/* Bubble sizes and positions */
.bubble:nth-child(1) { width: 20px; height: 20px; left: 10%; animation-duration: 8s; }
.bubble:nth-child(2) { width: 35px; height: 35px; left: 30%; animation-duration: 12s; }
.bubble:nth-child(3) { width: 15px; height: 15px; left: 50%; animation-duration: 10s; }
.bubble:nth-child(4) { width: 25px; height: 25px; left: 70%; animation-duration: 14s; }
.bubble:nth-child(5) { width: 10px; height: 10px; left: 90%; animation-duration: 9s; }

/* Animation för att bubblor ska flyta uppåt */
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

/* Container som alltid centrerar innehållet */
main.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Orange text */
.orange-text {
  color: #FF6600;
}

/* Huvudrubrik */
h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Subtitles */
.subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #333333;
}

.subtitle-small {
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: #555555;
}

/* Köpknapp med hover pulse */
.buy-button {
  display: inline-block;
  background-color: #06012b;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
  margin-bottom: 1rem;
}

.buy-button:hover {
  transform: scale(1.05);
  background-color: #06012b;
}

/* Sektionstitel */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

/* Kort-layout med hover animation */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.card {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 300px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #555555;
}

/* Footer */
footer.footer {
  width: 100%;
  background-color: #06012b;
  color: #ffffff;
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-subtitle {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-info {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Mobilanpassning */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    gap: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .buy-button {
    width: 90%;
    font-size: 1rem;
  }
}
