/* PhotoSolver lend11 — extra layer over lend9 styles */

.photo-card { padding: 22px; }
.photo-zone {
  border: 2px dashed rgba(99,102,241,0.45);
  border-radius: 22px;
  padding: 38px 22px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(99,102,241,0.06), rgba(168,85,247,0.04));
  cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.photo-zone:hover {
  border-color: rgba(99,102,241,0.85);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px rgba(99,102,241,0.55);
}
.photo-icon {
  width: 78px; height: 78px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(99,102,241,0.6);
}
.photo-title { font-weight: 700; font-size: 17px; color: #1e1b4b; margin-bottom: 4px; }
.photo-hint  { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.photo-or {
  font-size: 12px; color: #94a3b8; margin: 12px 0 14px; position: relative;
  text-transform: uppercase; letter-spacing: .14em;
}
.photo-or::before, .photo-or::after {
  content:""; position:absolute; top:50%; width:38%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.5), transparent);
}
.photo-or::before { left: 0; }
.photo-or::after  { right: 0; }
.photo-tags {
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  margin-top: 18px;
}
.photo-tags span {
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(99,102,241,0.08);
  color: #4338ca;
  border: 1px solid rgba(99,102,241,0.15);
}

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 30px;
}
.step { padding: 28px 24px; position: relative; }
.step-num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color: #fff; font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px -8px rgba(99,102,241,0.55);
}
.step h3 { margin: 0 0 8px; font-size: 18px; color: #1e1b4b; }
.step p  { margin: 0; color: #475569; line-height: 1.55; font-size: 14.5px; }

/* Prices */
.prices {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 30px;
  align-items: stretch;
}
.price-card {
  padding: 28px 24px; position: relative;
  display: flex; flex-direction: column;
}
.price-card.price-pop {
  border: 1.5px solid rgba(99,102,241,0.55);
  box-shadow: 0 22px 60px -28px rgba(99,102,241,0.45);
  transform: translateY(-6px);
}
.price-badge {
  position:absolute; top:-12px; right:18px;
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color:#fff; font-weight:700; font-size:12px;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(99,102,241,0.6);
}
.price-name { font-size: 15px; color: #6366f1; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.price-val  { font-size: 32px; font-weight: 800; color: #1e1b4b; margin: 8px 0 16px; }
.price-val span { font-size: 14px; color: #64748b; font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li {
  padding: 8px 0 8px 26px; position: relative;
  color: #334155; font-size: 14.5px;
}
.price-card li::before {
  content:"✓"; position:absolute; left:0; top:8px;
  color:#22c55e; font-weight:800;
}

/* Final CTA */
.cta-final { padding-bottom: 60px; }
.cta-box {
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.10), rgba(168,85,247,0.08));
}
.cta-box h2 { margin: 0 0 8px; color: #1e1b4b; }
.cta-box p  { margin: 0 0 20px; color: #475569; }

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid; place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-bg {
  position: absolute; inset: 0;
  background: rgba(15, 12, 41, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalBgIn .25s ease;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 32px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 32px 80px -20px rgba(67, 56, 202, 0.45),
              0 0 0 1px rgba(99, 102, 241, 0.08);
  text-align: center;
  animation: modalIn .28s cubic-bezier(.2,.9,.3,1.2);
}
.modal-card.info-card {
  max-width: 560px;
  text-align: left;
  padding: 30px 32px;
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background .15s, transform .15s, color .15s;
}
.modal-close:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #1e1b4b;
  transform: rotate(90deg);
}
.modal-card h3 {
  margin: 0 0 10px;
  padding-right: 32px;
  font-size: 22px;
  font-weight: 800;
  color: #1e1b4b;
  letter-spacing: -0.01em;
}
.modal-card.info-card h3 { padding-right: 36px; }
.modal-lead {
  margin: 0 0 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
}
.modal-card .btn {
  width: 100%;
  justify-content: center;
}
.modal-fine {
  margin-top: 16px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.45;
}
.modal-card.info-card h4 {
  margin: 18px 0 6px;
  font-size: 15px;
  color: #1e1b4b;
}
.modal-card.info-card p {
  margin: 0 0 8px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.55;
}
.modal-card.info-card #infoBody {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}

@keyframes modalBgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(30, 27, 75, 0.95);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 40px -10px rgba(30, 27, 75, 0.5);
  animation: toastIn .25s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 520px) {
  .modal-card { padding: 26px 22px 22px; max-width: 100%; }
  .modal-card h3 { font-size: 19px; padding-right: 28px; }
  .modal-close { top: 10px; right: 10px; width: 32px; height: 32px; }
}

/* Responsive */
@media (max-width: 860px){
  .steps, .prices { grid-template-columns: 1fr; }
  .price-card.price-pop { transform: none; }
}
@media (max-width: 520px){
  .photo-zone { padding: 28px 14px 22px; }
  .photo-title { font-size: 15.5px; }
  .photo-icon { width: 64px; height: 64px; }
}
