body, a, h1, h2, h3, p {
  font-family: 'Syne', sans-serif;
  margin: 0;
  padding: 0;
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL */
.modal {
  background: #fff;
  border-radius: 20px;
  padding: clamp(20px,3vw,40px);
  width: clamp(300px, 90%, 700px); /* máximo 700px en escritorio/ultra-wide */
  max-width: 700px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-50px);
  transition: transform 0.4s ease, opacity 0.4s ease;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.modal-overlay.active .modal {
  transform: translateY(0);
}

/* CERRAR MODAL */
.modal-close {
  position: absolute; top: 15px; right: 20px;
  font-size: clamp(20px,2vw,28px);
  cursor: pointer; color: #555;
  border: none; background: none;
}

/* TITULO */
.modal h1 {
  font-size: clamp(24px,4vw,36px);
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%; text-align: center;
}

/* CONTENIDO */
.modal-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(15px,2vw,25px);
  width: 100%;
  opacity: 0; transform: translateY(20px);
  transition: all 0.5s ease;
}
.modal-overlay.active .modal-content {
  opacity: 1; transform: translateY(0);
}

/* IMAGEN */
.modal-content img {
  width: clamp(120px,20vw,180px);
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0px 0px rgba(0,0,0,0.2);
}

/* TEXTO */
.modal-text {
  flex: 1; text-align: left;
}
.modal-text h2 { font-size: clamp(20px,2.5vw,28px); margin-bottom: 8px; color: #222; font-weight: 700; }
.modal-text h3 { font-size: clamp(16px,2vw,20px); margin-bottom: 12px; color: #555; font-weight: 500; }
.modal-text p { font-size: clamp(14px,1.8vw,16px); margin-bottom: 20px; color: #555; line-height: 1.5; }

/* ICONOS */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px,1.5vw,20px);
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #666;
}
.feature-item svg { width: 20px; height: 20px; stroke: #FF6B00; }

/* PRECIOS */
.price-container { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.prelaunch-price { font-size: clamp(18px,2.5vw,22px); font-weight: 700; color: #FF6B00; }
.normal-price { font-size: clamp(14px,2vw,16px); color: #777; text-decoration: line-through; }

/* CTA */
.modal-text button.cta {
  padding: clamp(12px,2vw,16px) clamp(20px,4vw,30px);
  border: none; border-radius: 2.2rem;
  background: linear-gradient(90deg, #FF6B00, #FF8C42);
  color: #fff; font-size: clamp(14px,2vw,16px); font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulseCTA 2s infinite;
  box-shadow: 0 5px 20px rgba(255,107,0,0.4);
}
.modal-text button.cta:hover {
  transform: scale(1.05); box-shadow: 0 8px 25px rgba(255,107,0,0.5);
  animation: none;
}
@keyframes pulseCTA { 0%{transform:scale(1);}50%{transform:scale(1.03);}100%{transform:scale(1);} }

/* NOTA DE PRECIO */
.price-note { display: block; width: 100%; margin-top: 20px; font-size: 10px; color: #777; text-align:center; line-height:1.3; }

/* MEDIA QUERIES */
@media (max-width: 900px) {
  .modal {
    width: clamp(280px, 90%, 95%);
  }
  .modal-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-text { text-align: center; }
  .price-container { justify-content: center; }

  .features { justify-content: center; } /* solo en móvil/tablet */
}

@media (min-width: 1800px) {
  .modal { max-width: 700px; padding: 40px; } /* mantiene proporción de escritorio */
  .modal h1 { font-size: 36px; }
  .modal-content img { width: 180px; }
}
