/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* BODY */
body {
  background: #f4f7fb;
  color: #1a1a1a;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0d6efd;
}

.navbar a {
  margin-left: 20px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.navbar a:hover {
  color: #0d6efd;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0d6efd, #4dabf7);
  color: white;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.9;
}

/* TOOL HEADER */
.tool-header {
  text-align: center;
  margin-bottom: 30px;
}

.tool-header h1 {
  font-size: 30px;
  margin-bottom: 5px;
}

.tool-header p {
  color: #666;
}

/* TOOL BOX */
.tool-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

/* INPUT / TEXTAREA */
textarea, input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 10px;
  font-size: 14px;
}

textarea:focus, input:focus {
  outline: none;
  border-color: #0d6efd;
}

/* BUTTON */
button {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 500;
  transition: 0.2s;
}

button:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

/* OUTPUT */
pre {
  background: #f1f3f6;
  padding: 15px;
  margin-top: 15px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #333;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.2s;
  font-weight: 500;
}

.card:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-5px);
}

/* CONTENT */
.content h2 {
  margin-top: 25px;
  color: #0d6efd;
}

.content ul {
  margin-left: 20px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: #111;
  color: #ccc;
  margin-top: 40px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #aaa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}