/* MODAL SHARED STYLES - Antigravity Editorial System */

.modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; opacity: 0; visibility: hidden; transition: 0.4s;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-content {
  background: #fff;
  width: 90%; max-width: 1000px;
  border-radius: 24px;
  position: relative; 
  overflow: hidden;
  transform: translateY(30px); transition: 0.4s;
}

.modal.active .modal-content { transform: translateY(0); }

.modal-flex { display: flex; min-height: 500px; }

.modal-image-side {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.modal-image-side::before {
  content: "";
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.modal-info-side {
  flex: 1.2;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  overflow-y: auto;
  max-height: 100vh;
}

.modal-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 15px;
  margin-top: 30px;
  display: block;
}

.modal-workflow {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 20px;
}

.modal-workflow::before {
  content: "";
  position: absolute; top: 12px; left: 0; width: 100%; height: 2px;
  background: #eee; z-index: 1;
}

.workflow-step {
  position: relative; z-index: 2;
  background: #fff;
  text-align: center;
  flex: 1;
}

.step-dot {
  width: 24px; height: 24px; background: #fff; border: 2px solid #DC143C;
  border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #DC143C;
}

.step-label { font-size: 0.7rem; font-weight: 700; color: #333; text-transform: uppercase; }

.modal-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.impact-item {
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.impact-item:hover { border-color: #DC143C; transform: translateY(-3px); }

.impact-icon { color: #DC143C; font-size: 1.2rem; margin-bottom: 8px; display: block; }
.impact-label { font-size: 0.75rem; font-weight: 800; color: #111; display: block; margin-bottom: 4px; }
.impact-desc { font-size: 0.65rem; color: #777; line-height: 1.4; }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

.modal-close:hover { background: #DC143C; color: #fff; }

.modal-category {
  color: #DC143C; font-weight: 800; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 10px;
}

.modal-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.modal-body { color: #555; line-height: 1.8; font-size: 1.1rem; margin-bottom: 20px; }

.modal-features {
  list-style: none; margin-bottom: 0px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.modal-features li {
  margin-bottom: 0; display: flex; align-items: center; gap: 10px;
  font-weight: 500; color: #333; font-size: 0.9rem;
}

.modal-features li i { color: #DC143C; font-size: 12px; }

.btn-cta {
  background: #000; color: #fff; border: none; padding: 18px 35px;
  border-radius: 4px; font-weight: 700; cursor: pointer; display: inline-flex;
  align-items: center; gap: 10px; transition: 0.3s; width: fit-content;
  margin-top: 40px;
}

.btn-cta:hover { background: #DC143C; }

@media (max-width: 900px) {
  .modal-flex { flex-direction: column; }
  .modal-image-side { height: 250px; }
  .modal-info-side { padding: 40px 25px; max-height: 80vh; }
  .modal-title { font-size: 2rem; }
  .modal-impact-grid { grid-template-columns: 1fr; }
}
