/* 🌐 AI Text Toolkit - Brand Style */

/* --- GLOBAL LAYOUT --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- HEADER --- */
header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.3);
}

header h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --- TOOLBOX --- */
.toolbox {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

textarea {
  width: 100%;
  max-width: 800px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
  resize: none;
  transition: 0.3s;
}

textarea:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
}

/* --- BUTTONS --- */
.actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

button {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border: none;
  color: white;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.6);
}

button.ghost {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- RESULT BOX --- */
.result {
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  min-height: 100px;
  line-height: 1.6;
  font-size: 1rem;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
