/* Popup Modal Styles avec Glassmorphism */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.show .popup-container {
  transform: scale(1) translateY(0);
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: scale(1.1);
}

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

.popup-3d-section {
  flex: 0 0 50%;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.05), rgba(0, 153, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.model-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.popup-pricing-section {
  flex: 0 0 50%;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.pricing-content {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
  justify-content: center;
}

.offer-badge {
  display: inline-block;
  background: rgba(0, 153, 255, 0.1);
  color: #0099FF;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.popup-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.popup-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.4;
}

.validity-text {
  margin-top: 0.5rem;
  text-align: center;
}

.validity-text span {
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 400;
  display: block;
  margin-bottom: 0.3rem;
}

.validity-text span:last-child {
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0;
}

.price-container {
  margin-bottom: 1.2rem;
}

.old-price {
  font-size: 1.68rem;
  color: #777;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.new-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #0099FF;
  line-height: 1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.03em;
}

.price-ht {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 400;
}

.popup-cta {
  margin-bottom: 0;
}

.popup-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0099FF, #0077CC);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 153, 255, 0.3);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.01em;
}

.popup-buy-btn:hover {
  background: linear-gradient(135deg, #00BFFF, #0099FF);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 153, 255, 0.4);
  color: #fff;
  text-decoration: none;
}


/* Responsive Design pour le Popup */
@media (max-width: 768px) {
  .popup-container {
    max-width: 95%;
    max-height: 85vh;
  }
  
  .popup-body {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  
  .popup-3d-section {
    flex: none;
    height: 250px;
    min-height: 250px;
  }
  
  .popup-pricing-section {
    flex: none;
    padding: 1.5rem 1.5rem;
    overflow: hidden;
  }
  
  .popup-title {
    font-size: 1.8rem;
  }
  
  .popup-subtitle {
    font-size: 0.95rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .popup-buy-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .popup-container {
    max-width: 98%;
    border-radius: 16px;
  }
  
  .popup-3d-section {
    height: 200px;
    min-height: 200px;
  }
  
  .popup-pricing-section {
    padding: 1.2rem 1rem;
    overflow: hidden;
  }
  
  .popup-title {
    font-size: 1.6rem;
  }
  
  .popup-subtitle {
    font-size: 0.9rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .popup-buy-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .popup-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }
}

