body {
  background: linear-gradient(135deg, #eef2ff, #f7f7fb);
  font-family: system-ui;
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  width: min(600px, 90%);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

#dropzone {
  border: 2px dashed #6366f1;
  padding: 2.5rem;
  text-align: center;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all .25s ease;
  background: #fafaff;
}

#dropzone:hover {
  background: #eef2ff;
}

#dropzone.hover {
  background: #e0e7ff;
  border-color: #3b82f6;
}

#dropzone p {
  margin: 0;
  font-weight: 600;
}

#dropzone .sub {
  display: block;
  margin-top: .3rem;
  font-size: .9rem;
  color: #475569;
}

#file-list {
  font-size: .9rem;
  margin-bottom: 1rem;
  color: #334155;
}

.progress {
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  margin: 1rem 0;
}

.bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transition: width .3s;
}

.logs {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1rem;
  border-radius: 10px;
  font-family: monospace;
  font-size: .9rem;
  max-height: 200px;
  overflow-y: auto;
}

.logs .error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
  font-weight: 600;
}

.btn.primary {
  width: 100%;
  padding: .9rem;
  border-radius: 12px;
  background: linear-gradient(135deg,#3b82f6,#6366f1);
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  color: #222;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.tool-card.disabled {
  opacity: .5;
  pointer-events: none;
}

.tool-icon {
  font-size: 2.5rem;
}

.badge {
  display: inline-block;
  margin-top: .8rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
}

.badge.active {
  background: #d1fae5;
  color: #065f46;
}

.badge.soon {
  background: #fee2e2;
  color: #991b1b;
}


.footer {
  margin-top: 2rem;
  text-align: center;
}

.footer-line {
  height: 1px;
  width: 100%;
  margin-bottom: 0.75rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.6),
    transparent
  );
}

.footer-text {
  font-size: 0.85rem;
  color: #64748b;
}

.footer-text strong {
  color: #334155;
  font-weight: 600;
}

.footer-text .author {
  color: #3b82f6;
  font-weight: 500;
}

.footer-text .sep {
  margin: 0 0.4rem;
  color: #94a3b8;
}

