/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 0;
}

.hero h1 {
  font-family: 'Cleo Folk', serif;
  font-size: 5rem;
  color: #f2864f;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.pill {
  background-color: #e9e9e9;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 800;
  font-family: 'JUST Sans', sans-serif;
  color: #333;
}

.pill.highlight {
  background-color: #fae6d8;
}

.hero-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.3rem;
  color: #444;
  line-height: 1.5;
  font-family: 'TT Interphases', sans-serif;
}

/* Cards container */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* Card styles */
.card {
  width: 250px;
  border-radius: 25px;
  overflow: hidden;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floating 5s ease-in-out infinite;
}

.card:nth-child(2) {
  animation-delay: 1s;
}

.card:nth-child(3) {
  animation-delay: 2s;
}

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

.blue-card {
  background-color: #304c9c;
}

.yellow-card {
  background-color: #ffd424;
}

.green-card {
  background-color: #506c54;
}

/* Hero buttons container */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: .2rem;
  margin-bottom: 2rem;
}

/* Signup button */
.signup-button {
  font-weight: 800;
  font-family: 'JUST Sans', sans-serif;
  background-color: #f2864f;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.signup-button svg {
  margin-left: 10px;
}

.disclaimer {
  color: #777;
  font-size: 0.9rem;
}

/* Animation */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Problem Statement Section Styles */
.problem-section {
  padding: 50px 0;
  background-color: #fdfbf5;
}

.problem-section .container {
  text-align: center;
}

.problem-section .tagline {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.problem-section h2 {
  font-size: 3.5rem;
  color: #f2864f;
  margin-bottom: 30px;
}

.problem-section .description {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
}

.toys-showcase {
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  margin: 0 auto;
  max-width: 1000px;
}

.toys-showcase img {
  width: 100%;
  border-radius: 20px;
}

/* Value text styling */
.value-text {
  display: inline-block;
  font-size: 0.9em;
  color: #666;
  margin-top: 3px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    padding: 0 0 20px;
    margin-top: -1px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .limited-offer-box {
    display: none !important; /* Hide the limited offer box on mobile */
  }

  .hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  
  .pill {
    padding: 8px 10px;
    font-size: 0.9rem;
    flex: 0 0 auto;
    text-align: center;
  }
  
  /* First two pills (Less Waste and More Play) side by side */
  .pill:nth-child(1),
  .pill:nth-child(2) {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    box-sizing: border-box;
  }
  
  /* Third pill (Happier Home) centered below */
  .pill:nth-child(3) {
    flex: 0 0 auto;
    margin-top: 5px;
    width: 70%;
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0 15px;
    margin-bottom: 25px;
    line-height: 1.5;
  }
  
  .cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    margin: 0 auto 20px;
    max-width: 320px;
    text-align: center;
  }
  
  .card {
    width: auto;
    padding: 8px;
    border-radius: 15px;
    margin: 0 auto;
    height: auto;
  }
  
  .card img {
    width: 100%;
    height: auto;
    transform: scale(1.5);
  }
  
  /* Blue card in top left */
  .blue-card {
    grid-column: 1;
    grid-row: 1;
  }
  
  /* Yellow card in top right */
  .yellow-card {
    grid-column: 2;
    grid-row: 1;
  }
  
  /* Green card centered below */
  .green-card {
    grid-column: 1 / span 2;
    grid-row: 2;
    width: 50%;
    margin: 0 auto;
  }
  
  /* Stack buttons vertically on mobile */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 1.5rem;
  }
  
  .signup-button {
    max-width: 300px;
    padding: 12px 18px;
    font-size: 0.95rem;
    white-space: nowrap;
    justify-content: center;
    margin-bottom: 0;
  }
  
  .disclaimer {
    font-size: 0.8rem;
  }
  
  /* Animation adjustment for mobile */
  @keyframes floating {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-8px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  /* Limited Time Offers box mobile styling */
  [style*="max-width: 800px"][style*="background-color: #fffbeb"] {
    max-width: 90% !important;
    padding: 0.75rem 1rem 0.75rem !important;
  }
  
  [style*="display: flex"][style*="justify-content: center"][style*="gap: 2rem"] {
    gap: 0.8rem !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  [style*="display: flex"][style*="align-items: center"][style*="gap: 1rem"] {
    width: 100% !important;
    max-width: 280px !important;
  }
  
  /* Problem section mobile styles */
  .problem-section {
    padding: 30px 0;
  }
  
  .problem-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .problem-section .tagline {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .problem-section .description {
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.5;
  }
  
  .toys-showcase {
    border-radius: 20px;
  }
  
  .value-text {
    font-size: 0.8em;
  }
}
