/* Pricing section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 124, 107, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-header h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin: 8px 0;
}

.price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  display: block;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.online-note {
  margin: 16px 0 0 0;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.online-note strong {
  color: var(--accent);
  font-weight: 600;
}

.pricing-notes {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}

.pricing-notes p {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-notes p:last-child {
  margin-bottom: 0;
}

.pricing-notes strong {
  color: var(--text);
}

/* Group form section */
.group-form-container {
  margin-top: 24px;
}

#groupFormWrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Sibling discounts section */
.sibling-discounts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}

.sibling-discounts h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.discount-section h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.example-calculations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.example-box {
  background: rgba(58, 124, 107, 0.05);
  border: 1px solid rgba(58, 124, 107, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.example-box h5 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.example-box p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.example-box p strong {
  color: var(--accent);
  font-weight: 600;
}

.joint-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.pricing-option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.pricing-option h5 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.pricing-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-option li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

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

.pricing-option li strong {
  color: var(--accent);
}

.discount-benefits p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.discount-benefits strong {
  color: var(--text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card {
    padding: 24px;
  }
  
  .price {
    font-size: 28px;
  }
  
  .sibling-discounts {
    padding: 24px;
  }
  
  .example-calculations {
    grid-template-columns: 1fr;
  }
  
  .joint-pricing {
    grid-template-columns: 1fr;
  }
}
