body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #4b115f, #120422);
  color: #f4ecf8;
}

.tool-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.tool-card {
  background: rgba(30, 13, 56, 0.95);
  border-radius: 28px;
  padding: 30px;
}

/* ---------- TYPOGRAPHY ---------- */

h1 {
  font-family: "Cormorant Garamond", serif;
  text-align: center;
  font-size: 3rem;
  color: #f7f0fa;
}

.intro {
  text-align: center;
  color: #d6c8e7;
}

/* ---------- STEPS ---------- */

.step {
  display: none;
}

.step.active {
  display: block;
}

/* ---------- TEXTAREAS (FIXED) ---------- */

textarea {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: #3a2563; /* lighter for readability */
  color: #f4ecf8; /* brighter user text */
  border: 1px solid rgba(210, 178, 255, 0.15);
  margin: 12px 0 22px;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.2s ease;
}

/* ✨ placeholder fix */
textarea::placeholder {
  color: #b8a8cb;
  opacity: 1;
}

/* ✨ focus glow (feels premium) */
textarea:focus {
  outline: none;
  border-color: rgba(210, 178, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(210, 178, 255, 0.15);
}

/* ---------- TEMPLATE BUTTONS ---------- */

.templates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.template {
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(210,178,255,0.15);
  border: 1px solid rgba(210,178,255,0.2);
  color: #e6dcf5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.template:hover {
  background: rgba(210,178,255,0.25);
  transform: translateY(-1px);
}

/* ---------- NAV BUTTONS ---------- */

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

#nextBtn {
  background: linear-gradient(180deg, #d9b8ff, #caa4ff);
  color: #2d174b;
}

#nextBtn:hover {
  transform: translateY(-1px);
}

#backBtn {
  background: rgba(255,255,255,0.08);
  color: #f4ecf8;
}

/* ---------- RESULT ---------- */

.result-box {
  background: rgba(210,178,255,0.12);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(210,178,255,0.2);
  color: #f4ecf8;
}

/* ---------- PROGRESS DOTS ---------- */

.progress-dots {
  text-align: center;
  margin-bottom: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 5px;
  background: #6b5c85;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background: #d2b2ff;
}

/* ---------- HIDDEN ---------- */

.hidden {
  display: none;
}
