body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

/* Header */
.header {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header a {
  margin-left: 20px;
  text-decoration: none;
  color: #111;
}

/* Hero */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: 36px;
}

.hero p {
  margin: 10px 0;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

/* Tools */
.tools {
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tool-card {
  padding: 20px;
  border: 1px solid #eee;
  text-decoration: none;
  color: black;
  border-radius: 8px;
  transition: 0.2s;
}

.tool-card:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
}

/* SEO */
.seo {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* Footer */
.footer {
  border-top: 1px solid #eee;
  padding: 20px 0;
  text-align: center;
}

.footer a {
  margin: 0 10px;
}

/* Tool Page */
.tool-container {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

textarea, select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
}

button {
  padding: 12px;
  background: black;
  color: white;
  border: none;
  width: 100%;
  margin-top: 10px;
  border-radius: 6px;
}

.result {
  background: #f5f5f5;
  padding: 12px 15px;
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  font-size: 15px;
}

.result span {
  flex: 1;
  margin-right: 10px;
}

.result button {
  width: auto;
  padding: 6px 12px;
  font-size: 12px;
}
input[type="file"],
input[type="range"] {
  width: 100%;
  margin: 10px 0;
}
img {
  max-width: 100%;
}
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 8px 0;
}
.link-list a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #eee;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  transition: 0.2s;
}

.link-list a:hover {
  background: black;
  color: white;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
}

.hero textarea,
.hero input,
.hero select {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
}

.hero button {
  margin-top: 10px;
  padding: 10px 20px;
}

/* RESULTS */
.results-section {
  display: none;
  margin-top: 30px;
}

.top-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.regenerate-btn {
  background: #222;
  color: white;
}