/* Siya9a Pricing Modal — YouCanPay Integration */
.siya-pricing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 28, 0.78);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.siya-pricing-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 1100px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: siya-pricing-in 0.25s ease-out;
}
@keyframes siya-pricing-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.siya-pricing-header {
  text-align: center;
  margin-bottom: 28px;
}
.siya-pricing-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0a1233;
}
.siya-pricing-header p {
  color: #5b6478;
  margin: 0;
  font-size: 15px;
}
.siya-pricing-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f3f9;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  color: #5b6478;
}
.siya-pricing-close:hover { background: #e3e6f0; }

.siya-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .siya-pricing-grid { grid-template-columns: 1fr; }
}

.siya-plan-card {
  border: 1.5px solid #e3e6f0;
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}
.siya-plan-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}
.siya-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.siya-plan-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7588;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.siya-plan-name {
  font-size: 22px;
  font-weight: 800;
  color: #0a1233;
  margin-bottom: 14px;
}
.siya-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.siya-plan-price-num {
  font-size: 38px;
  font-weight: 800;
  color: #0a1233;
}
.siya-plan-price-curr {
  font-size: 14px;
  font-weight: 600;
  color: #5b6478;
}
.siya-plan-period {
  color: #6b7588;
  font-size: 13px;
  margin-bottom: 18px;
}
.siya-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.siya-plan-features li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: #404a63;
  margin-bottom: 9px;
  line-height: 1.45;
}
.siya-plan-features li::before {
  content: "✓";
  color: #16a34a;
  font-weight: bold;
  flex-shrink: 0;
}

.siya-plan-cta {
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: #0a1233;
  color: #fff;
  transition: transform 0.15s, background 0.15s;
}
.siya-plan-cta:hover { background: #1f2a4a; transform: translateY(-1px); }
.siya-plan-cta.primary { background: #2563eb; }
.siya-plan-cta.primary:hover { background: #1d4ed8; }
.siya-plan-cta:disabled {
  background: #c7cbda;
  cursor: not-allowed;
  transform: none;
}

.siya-pricing-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
  color: #6b7588;
}
.siya-pricing-footer .sandbox-tag {
  display: inline-block;
  background: #fff7d6;
  color: #886000;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
  margin-right: 8px;
}

.siya-pricing-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.siya-pricing-error.visible { display: block; }
