/* ======================
   GLOBAL
====================== */
body {
  scroll-behavior: smooth;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fff;
  color: #1f2937;
}

/* ======================
   BUTTONS
====================== */
button, .btn {
  transition: all 0.25s ease;
  border-radius: 999px;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
button:hover, .btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(236,72,153,0.25);
}

/* ======================
   FORM INPUTS
====================== */
input, textarea, select {
  transition: border 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236,72,153,0.2);
}

/* ======================
   LOADER
====================== */
.loader {
  border: 4px solid #f3f4f6;
  border-top: 4px solid #ec4899;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  animation: spin 1s linear infinite;
  margin: auto;
}

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

/* ======================
   TOAST MESSAGE
====================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(90deg,#ec4899,#7c3aed);
  color: white;
  padding: 14px 22px;
  border-radius: 16px;
  animation: slideIn 0.4s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@keyframes slideIn {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}

/* ======================
   SCROLL ANIMATION
====================== */
.animate {
  opacity: 0;
  transform: translateY(30px);
}
.animate-fade {
  animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ======================
   PROGRESS BAR
====================== */
.progress-bar {
  width: 100%;
  height: 12px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#ec4899,#7c3aed);
  width: 0%;
  transition: width 0.4s ease;
}

/* ======================
   CARD UI
====================== */
.card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* ======================
   PRICE TAG
====================== */
.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ec4899;
}

/* ======================
   AUDIO PLAYER
====================== */
.audio-btn {
  background: linear-gradient(90deg,#7c3aed,#ec4899);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.audio-btn:hover {
  background: linear-gradient(90deg,#6d28d9,#db2777);
}

/* ======================
   SECURITY TEXT
====================== */
.secure-text {
  color: #16a34a;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ======================
   MODAL (POPUP)
====================== */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}
.modal {
  background: white;
  border-radius: 24px;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ======================
   STEP INDICATOR
====================== */
.step {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e5e7eb;
  font-weight: 600;
}
.step.active {
  background: linear-gradient(90deg,#7c3aed,#ec4899);
  color: white;
}

/* ======================
   SUCCESS & ERROR
====================== */
.success {
  color: #16a34a;
  font-weight: 600;
}
.error {
  color: #dc2626;
  font-weight: 600;
}

/* ======================
   IMAGE EFFECT
====================== */
img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 16px;
}
img:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
