/* Base styles and container setup */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 20px;
}

/* Flex container handles layout dynamically */
.pricing-container {
  display: flex;
  flex-direction: column; /* Stack vertically on mobile first */
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: stretch;
}

/* Individual card styles */
.pricing-card {
  background-color: #ffffff !important; /* Dark background matching your tailwind theme */
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1; /* Ensures equal height when side-by-side */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 1 !important; 
  backdrop-filter: none !important;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Popular card highlighting */
.pricing-card.popular {
  border: 2px solid #3b82f6; /* Blue highlight */
}

/* Visual Badge for popular item */
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #3b82f6;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Typography styles */
.pricing-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 24px 0;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  color: #9ca3af;
}

/* Feature list constraints */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
  flex-grow: 1; /* Pushes button to bottom if list sizes vary */
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid #1f2937;
  font-size: 0.95rem;
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Call-to-action button styling */
.btn {
  display: block;
  text-decoration: none;
  background-color: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #2563eb;
}

/* 📱💻 RESPONSIVE BREAKPOINT FOR DESKTOP SCREENS */
@media (min-width: 768px) {
  .pricing-container {
    flex-direction: row; /* Switch columns to horizontal row layout */
    justify-content: center;
  }
  
  .pricing-card.popular {
    transform: scale(1.05); /* Marginally enlarge popular card on desktop */
  }
  
  .pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

