.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #f8fafc;
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-close:hover { color: var(--text-dark); }
.modal-header {
  text-align: center;
  margin-bottom: 3rem;
}
.modal-header h2 {
  font-size: 2rem;
  color: var(--primary);
}
.modal-header p {
  color: #475569;
}

.modal-pricing-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.modal-pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 250px;
  padding-bottom: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}
.modal-tier-name {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  margin-bottom: 2rem;
  display: inline-block;
}
.modal-pricing-card.popular .modal-tier-name {
  background: #10b981;
}
.modal-price-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.modal-price-currency {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 4px;
}
.modal-price-details {
  color: #475569;
  margin-bottom: 2rem;
}
.btn-buy {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-dark);
  padding: 0.6rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-buy:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
