/* lally-pricing.css - paste into lally-pricing folder */

/* --- Global Table Wrapper --- */
.lally-pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-items: center;
  font-family: 'Poppins', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
}

/* --- Individual Card Styling --- */
.lally-pricing-card {
  background: #fdfdfd;
  border-radius: 8px;
  box-shadow: 5px 5px 30px rgba(61, 173, 136, 0.3) !important;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  text-align: center;
  overflow: visible;
}

/* --- Gradients and Headers --- */
.lally-pricing-header {
  background: linear-gradient(to bottom, #1e2649, #38ae89);
  color: white;
  padding: 12px 18px; /* tightened header padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  box-sizing: border-box;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.lally-pricing-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.5px;
  font-family: "TMA Josefin", "Josefin Sans", sans-serif;
  margin-bottom: 6px;
}

/* --- Pricing Area --- */
.lally-pricing-price-box {
  padding: 18px 20px 12px; /* reduced vertical spacing */
  background-color: #ffffff;
}

.lally-pricing-from {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}

.lally-pricing-amount {
  font-size: 52px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 0 0; /* tighten spacing */
  line-height: 1;
  letter-spacing: -1px;
}

.lally-pricing-currency {
  font-size: 24px;
  vertical-align: middle;
  position: relative;
  top: 4px; /* small nudge */
  margin-right: 2px;
}

/* --- List Features Area --- */
.lally-pricing-features {
  padding: 0 20px 20px;
  flex-grow: 1;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.lally-section-title {
  font-weight: 700;
  font-size: 16px;
  color: #222222;
  margin: 18px 0 10px; /* tightened section spacing */
}

.lally-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #444444;
  line-height: 1.7; /* slightly tighter */
}

/* Group wrappers for aligning Experiences vertically */
.lally-feature-group { margin: 0; }
.lally-feature-group.experiences { margin-top: 0; }
.lally-pricing-features > .lally-feature-group:first-of-type { min-height: 200px; }
.lally-features-list li.italic-item { font-style: italic; }

/* --- Footer & Pill Buttons --- */
.lally-pricing-footer {
  padding: 16px 20px 24px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lally-btn {
  background-color: #38ae89;
  color: #ffffff;
  border: none;
  border-radius: 10px; /* slightly larger radius */
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  display: block;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  line-height: 1.2;
}

.lally-btn--secondary { background-color: #1e2649; color: #ffffff; box-shadow: none; }
.lally-btn:hover { background-color: #309474; color: #ffffff !important; }

@media (max-width: 768px) {
  .lally-pricing-wrapper { grid-template-columns: 1fr !important; padding: 20px 12px; }
  .lally-pricing-card { width: 100%; max-width: 720px; min-height: auto; margin: 0 auto 24px; }
  .lally-pricing-header { min-height: auto; }
  .lally-pricing-features { justify-content: flex-start; }
  .lally-pricing-features > .lally-feature-group:first-of-type { min-height: 0; }
  .lally-btn { width: 100%; min-width: 0; }
}

/* Tablet - two columns between 768px and 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .lally-pricing-wrapper { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .lally-pricing-card { max-width: 460px; min-height: 560px; }
  .lally-pricing-footer { padding: 16px 18px 22px; }
}
