/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}

/* ===== MODAL BOX ===== */
.modal-box {
  background: #0d1f3c;
  border: 1px solid rgba(0, 201, 177, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 620px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== CLOSE BUTTON ===== */
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  background: rgba(255,255,255,0.07);
  border: none; color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }

/* ===== MODAL HEADER ===== */
.modal-icon {
  width: 60px; height: 60px;
  background: rgba(0,201,177,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.3rem;
}
.modal-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.modal-subtitle {
  font-size: 0.78rem; color: #00c9b1;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 600; margin-bottom: 1rem;
}
.modal-desc {
  color: #94a3b8; font-size: 0.92rem;
  line-height: 1.75; margin-bottom: 1.5rem;
}

/* ===== FEATURES LIST ===== */
.modal-features {
  list-style: none;
  margin-bottom: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.modal-features li {
  font-size: 0.85rem; color: #e2e8f0;
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 0.6rem 0.8rem;
}
.modal-features li::before {
  content: '✓'; color: #00c9b1;
  font-weight: 700; flex-shrink: 0;
}

/* ===== PRICE TAG ===== */
.modal-price {
  background: rgba(0,201,177,0.08);
  border: 1px solid rgba(0,201,177,0.2);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; gap: 0.5rem;
}
.modal-price-label { font-size: 0.8rem; color: #94a3b8; }
.modal-price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: #00c9b1;
}

/* ===== MODAL BUTTONS ===== */
.modal-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.modal-btn-primary {
  background: linear-gradient(135deg, #00c9b1, #0891b2);
  color: #000; padding: 0.75rem 1.5rem;
  border-radius: 9px; font-weight: 700;
  font-size: 0.9rem; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.modal-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.modal-btn-wa {
  background: #25d366; color: #000;
  padding: 0.75rem 1.5rem; border-radius: 9px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.modal-btn-wa:hover { opacity: 0.88; transform: translateY(-2px); }

/* ===== CLICKABLE SERVICE CARD ===== */
.service-card { cursor: pointer; }

@media (max-width: 580px) {
  .modal-features { grid-template-columns: 1fr; }
  .modal-box { padding: 1.8rem 1.3rem; }
}

/* ===== CARD CTA ===== */
.card-cta {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}
.service-card:hover .card-cta {
  text-decoration: underline;
}
