@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap");

body {
  /* padding: 2rem; */
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
  background-color: #fff9f5;
}

h1 {
  font-size: 16px;
  margin-top: 0;
}

p {
  color: rgb(107, 114, 128);
  font-size: 15px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.card {
  max-width: 620px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid lightgray;
  border-radius: 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.magic-hover {
  transition: all 0.3s ease;
}

.magic-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.artwork-card {
  perspective: 1000px;
}

.artwork-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.artwork-card:hover .artwork-card-inner {
  transform: rotateY(180deg);
}

.artwork-card-front,
.artwork-card-back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

.artwork-card-back {
  transform: rotateY(180deg);
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.comic-font {
  font-family: "Comic Neue", cursive;
}

.gradient-bg {
  background: linear-gradient(135deg, #ffd6e0 0%, #c8f7ff 100%);
}


 /* Modal styles */
 .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-container {
  background-color: white;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.close-modal:hover {
  color: #555;
}

.dropzone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.dropzone.active {
  border-color: #ec4899;
  background-color: #fdf2f8;
}

.preview-container {
  position: relative;
  margin: 20px 0;
}

.preview-image {
  max-width: 100%;
  max-height: 400px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.watermark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255,0.7);
  color: rgba(0,0,0,0.5);
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top-color: #ec4899;
  animation: spin 1s ease-in-out infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #e5e7eb;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
}

.step-number.active {
  background-color: #ec4899;
  color: white;
}

.step-label {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.step-label.active {
  color: #111827;
  font-weight: 500;
}

.payment-form {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.payment-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 16px;
}

.payment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #4a5568;
}

.comparison-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .comparison-container {
      flex-direction: column;
  }
}

.comparison-box {
  flex: 1;
  text-align: center;
}

.comparison-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #4a5568;
  font-size: 14px;
}

.ai-generating-placeholder {
  background-color: #f3f4f6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #6b7280;
}

.style-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.style-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.style-card.selected {
  border-color: #ec4899;
  background-color: #fdf2f8;
}

.style-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.style-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.style-desc {
  font-size: 14px;
  color: #6b7280;
}

.uploaded-images-container {
  margin-top: 20px;
}

.uploaded-image {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8fafc;
  border-radius: 8px;
}

.uploaded-image-preview {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}

.uploaded-image-info {
  flex: 1;
}

.uploaded-image-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.uploaded-image-style {
  font-size: 14px;
  color: #6b7280;
}

.remove-image {
  color: #ef4444;
  cursor: pointer;
  padding: 8px;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background-color: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
}

.download-option-info {
  display: flex;
  align-items: center;
}

.download-option-preview {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: #f8fafc;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pricing-tier.active {
  background-color: #fdf2f8;
  border: 2px solid #ec4899;
}