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

:root {
  --bg: #0d0d0d;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #888888;
  --accent-blue: #60a5fa;
  --accent-purple: #c084fc;
  --input-border: #333333;
  --radio-selected-border: #ffffff;
  --grad: linear-gradient(to right, #60a5fa, #c084fc);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ---- NAV ---- */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo-hw {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text);
}
.logo-cr {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-purple);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-nav-ghost {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted) !important;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.btn-nav-ghost:hover {
  border-color: var(--muted);
  color: var(--text) !important;
}

/* ---- HERO ---- */
.hero {
  text-align: center;
  padding: 60px 24px 40px;
  max-width: 680px;
  margin: 0 auto;
}
.label-sm {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- MAIN FORM ---- */
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ---- FIELD GROUPS ---- */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.field-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: -8px;
}
.optional-tag {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ---- RADIO CARDS ---- */
.radio-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 14px;
  color: var(--text);
}
.radio-card:hover { border-color: #444; }
.radio-card input[type="radio"] {
  accent-color: var(--text);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.radio-card:has(input:checked) {
  border-color: var(--radio-selected-border);
  background: #222;
}
#caption-auto-card:has(input:checked) {
  border-color: var(--accent-blue);
}

/* ---- TEXT INPUTS ---- */
.text-input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.text-input:focus { border-color: var(--accent-blue); }
.text-input::placeholder { color: var(--muted); }

.text-area {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: border-color 0.15s;
}
.text-area:focus { border-color: var(--accent-blue); }
.text-area::placeholder { color: var(--muted); }

/* ---- DROPZONE ---- */
.dropzone {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.dropzone:hover,
.dropzone.drag-over { border-color: var(--accent-blue); }
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.dropzone-content { pointer-events: none; }
.upload-icon {
  background: #1e3a5f;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.dropzone-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.dropzone-hint {
  font-size: 12px;
  color: var(--muted);
}
.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.file-item {
  background: #222;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

/* ---- CONSENT CARDS ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.consent-notice {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.consent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.consent-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
}
.disclaimer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-row:last-child { margin-bottom: 0; }
.checkbox-row input[type="checkbox"] {
  accent-color: var(--text);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- SUBMIT BUTTON ---- */
.btn-submit {
  width: 100%;
  background: var(--grad);
  border: none;
  border-radius: 999px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn-submit:hover { opacity: 0.9; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- STATUS MESSAGE ---- */
.status-msg {
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}
.status-msg.success {
  background: #0d2e1a;
  color: #4ade80;
  border: 1px solid #166534;
}
.status-msg.error {
  background: #2d0d0d;
  color: #f87171;
  border: 1px solid #7f1d1d;
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-logo { margin-bottom: 8px; }
.footer-tag {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
}
.footer-right {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.footer-right a {
  color: var(--muted);
  text-decoration: underline;
  display: block;
  margin-bottom: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .radio-grid-2 { grid-template-columns: 1fr; }
  .nav-links a { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}
