:root {
  --bg: #0b0d12;
  --card: #121624;
  --ink: #f4f6ff;
  --muted: #aab2d5;
  --line: #232a44;
  --accent: #6ea8fe;
  --accent-glow: rgba(110, 168, 254, 0.2);
  --success: #63e6be;
  --danger: #ff6b6b;
  --surface: rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 20% 0%, #1a2140 0%, var(--bg) 70%);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  margin-bottom: 40px;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* App Screens */
.screen { display: none; }
.screen.active { display: block; animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card Styling */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Doc List */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.doc-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doc-item:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* Wizard Progress */
.progress-bar {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent);
}

/* Forms */
.form-group { margin-bottom: 24px; }

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0f1322;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.checkbox-label:hover {
  border-color: var(--line);
  background: rgba(255,255,255,0.05);
}

input[type="checkbox"] {
  width: 20px; height: 20px; margin: 0;
}

/* Multi-select dummy */
.multi-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  padding: 6px 12px;
  background: var(--line);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip.active {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}

/* Actions */
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface);
}

/* Review screen */
.review-item {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-label { font-size: 0.8rem; color: var(--muted); }
.review-value { font-size: 1.1rem; margin-top: 4px; }

/* Instruction box */
.instructions {
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  padding: 20px;
  border-radius: 16px;
  margin-top: 24px;
}

.instructions h4 { margin: 0 0 10px 0; color: var(--accent); }
.instructions ol { padding-left: 20px; margin: 0; }
.instructions li { margin-bottom: 8px; color: var(--muted); font-size: 0.9rem; }
