:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --dark-color: #212529;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.result-box {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

textarea.form-control {
  min-height: 200px;
  font-family: "Courier New", monospace;
}

.stat-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #e7f3ff;
  border-radius: 20px;
  margin: 0.25rem;
  font-weight: 500;
}

.btn-copy {
  position: absolute;
  top: 10px;
  right: 10px;
}

.color-preview {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

footer a:hover {
  color: white !important;
}

.blog-post-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.blog-post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #212529;
}

.blog-post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #495057;
}

.blog-post-content p {
  margin-bottom: 1.25rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .tool-container {
    padding: 1rem;
  }
}
