:root {
  --bg: #07111f;
  --card: #0d1b2f;
  --muted: #9fb1c8;
  --text: #f5f8ff;
  --line: rgba(255,255,255,.12);
  --brand: #2f7dff;
  --brand2: #22d3ee;
  --ok: #22c55e;
  --warn: #f59e0b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(47,125,255,.35), transparent 32rem), var(--bg);
}

.topbar, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); flex-wrap: wrap; gap: 12px; }

.brand { display: flex; align-items: center; gap: 12px; }
.logoMark {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: white; font-weight: 900; letter-spacing: -1px;
  box-shadow: 0 18px 40px rgba(47,125,255,.3);
}
.brand span { display: block; color: var(--muted); font-size: 13px; }

main { padding: 32px clamp(18px, 5vw, 64px); }
.hero {
  padding: 64px 0 36px;
  max-width: 980px;
}
.eyebrow { color: var(--brand2); font-weight: 700; }
h1 { font-size: clamp(36px, 7vw, 76px); line-height: .95; margin: 0 0 18px; letter-spacing: -3px; }
.lead { color: var(--muted); font-size: clamp(17px, 2.2vw, 23px); line-height: 1.55; max-width: 780px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badges span {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.06); color: #dbe7ff; font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card, .privacy {
  background: rgba(13,27,47,.82);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.card h2, .privacy h2 { margin-top: 0; }
.uploadBox {
  border: 1.5px dashed rgba(255,255,255,.25);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 6px;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  margin-bottom: 14px;
}
.uploadBox:hover { border-color: var(--brand2); }
.uploadBox input { display: none; }
.uploadBox span { font-weight: 700; }
.uploadBox small, .note, .status { color: var(--muted); }

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin: 12px 0;
}
label span { display: block; color: var(--muted); margin-bottom: 6px; font-size: 13px; }
select, input, textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}
select option { color: #07111f; }
textarea {
  min-height: 230px;
  resize: vertical;
  line-height: 1.5;
}
#pdfText { min-height: 120px; }

button {
  border: 0;
  border-radius: 16px;
  padding: 12px 16px;
  color: white;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  font-weight: 800;
}
button:hover { transform: translateY(-1px); }
.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 16px 35px rgba(47,125,255,.24);
}
.ghost { padding: 9px 11px; border: 1px solid var(--line); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.progress {
  height: 9px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-top: 14px;
}
.progress div {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  transition: width .25s ease;
}
.privacy { margin: 18px 0 34px; }
.privacy p { color: var(--muted); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; gap: 12px; flex-direction: column; }
}
