:root {
  --bg: #f4f7fb;
  --card: rgba(255, 255, 255, 0.88);
  --text: #172033;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(191, 219, 254, 0.72), transparent 32%),
    radial-gradient(circle at 90% 92%, rgba(221, 214, 254, 0.62), transparent 30%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.card {
  width: min(720px, 100%);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}

.logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 14px rgba(37, 99, 235, 0.22));
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 13px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
}

.drop-zone {
  padding: 44px 24px;
  text-align: center;
  border: 2px dashed #bfdbfe;
  border-radius: 24px;
  background: #f8fbff;
  cursor: pointer;
  transition: 0.18s ease;
}

.drop-zone:hover,
.drop-zone.dragover,
.drop-zone:focus-visible {
  border-color: var(--primary);
  background: #eff6ff;
  transform: translateY(-1px);
}

.drop-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-size: 26px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.drop-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.drop-main {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

.drop-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.file-info {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 14px;
}

.hidden {
  display: none;
}

.fields {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

label {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

label span,
label small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: white;
  margin-top: 7px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  outline: none;
}

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

button {
  width: 100%;
  margin-top: 20px;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  color: white;
  font: inherit;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

button:not(:disabled):hover {
  box-shadow: 0 15px 28px rgba(37, 99, 235, 0.27);
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.status {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  min-height: 21px;
}

.status.success {
  color: #047857;
  font-weight: 700;
}

.security-note {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 600px) {
  .page { padding: 16px; }
  .card { padding: 28px 22px; border-radius: 22px; }
  .drop-zone { padding: 34px 18px; }
}
