:root {
  --bg: #0f172a;
  --card: #111827;
  --accent: #00d8a6;
  --accent-2: #7c3aed;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(0, 216, 166, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.1), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.7));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 216, 166, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

.task-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 216, 166, 0.1);
  border: 1px solid rgba(0, 216, 166, 0.3);
  color: var(--accent);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.task-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 216, 166, 0.12);
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}

input[type="file"],
textarea {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #01b48e);
  color: #04100d;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 216, 166, 0.25);
}

.progress {
  margin-top: 12px;
  background: #0b1222;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 12px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.status-line {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.pill-small {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.download {
  margin-top: 12px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
