/* ============================================================
   SixSecondScan — Global Styles
   Dark terminal aesthetic with monospace typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  background: #0a0a0a;
  color: #e5e5e5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #60a5fa; text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 820px;
  margin: 0 auto;
}

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 60px 24px 32px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.logo-bracket { color: #22c55e; }
.logo-text { color: #fafafa; }

.tagline {
  font-size: 15px;
  color: #a3a3a3;
  margin-bottom: 8px;
}
.tagline-sub {
  font-size: 13px;
  color: #737373;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---- How It Works ---- */
.how-it-works {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px;
  flex-wrap: wrap;
}
.step {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
  min-width: 160px;
  flex: 1;
  max-width: 220px;
}
.step-num {
  font-size: 32px;
  font-weight: 800;
  color: #22c55e;
  line-height: 1;
  margin-bottom: 8px;
}
.step-label {
  font-size: 13px;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 4px;
}
.step-desc {
  font-size: 11px;
  color: #737373;
}
.step-arrow {
  font-size: 20px;
  color: #333;
}

/* ---- Upload Form ---- */
.upload-section {
  padding: 16px 24px;
}

.form-card {
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 32px 28px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 8px;
}
.label-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  letter-spacing: 1px;
}
.required { color: #f87171; font-size: 12px; }
.optional { color: #525252; font-size: 11px; font-weight: 400; }

/* Dropzone */
.dropzone {
  border: 2px dashed #262626;
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.dragover {
  border-color: #22c55e;
  background: rgba(34,197,94,0.03);
}
.dropzone.has-file {
  border-style: solid;
  border-color: #22c55e;
  background: rgba(34,197,94,0.05);
}

.dropzone-sm {
  padding: 16px 20px;
}

.dropzone-icon {
  font-size: 28px;
  color: #525252;
  margin-bottom: 8px;
}
.dropzone-text {
  font-size: 13px;
  color: #a3a3a3;
  margin-bottom: 4px;
}
.dropzone-text-sm {
  font-size: 12px;
  color: #525252;
}
.dropzone-hint {
  font-size: 11px;
  color: #525252;
}

.dropzone-file {
  font-size: 13px;
  color: #22c55e;
  font-weight: 600;
}

/* Job Description textarea */
.jd-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 6px;
  color: #e5e5e5;
  font-family: inherit;
  font-size: 13px;
  padding: 14px;
  resize: vertical;
  line-height: 1.6;
  transition: border-color 0.2s;
  min-height: 200px;
}
.jd-input:focus {
  outline: none;
  border-color: #22c55e;
}
.jd-input::placeholder { color: #525252; }

.char-count {
  text-align: right;
  font-size: 11px;
  color: #525252;
  margin-top: 4px;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #22c55e;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  margin-top: 8px;
}
.submit-btn:hover { background: #16a34a; }
.submit-btn:disabled {
  background: #262626;
  color: #525252;
  cursor: not-allowed;
}

.disclaimer {
  text-align: center;
  font-size: 11px;
  color: #525252;
  margin-top: 16px;
  line-height: 1.5;
}

.error-banner {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #f87171;
  margin-bottom: 20px;
}

/* ---- Features ---- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 32px 24px;
}
.feature {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 20px;
}
.feature-icon {
  font-size: 14px;
  color: #22c55e;
  margin-bottom: 8px;
}
.feature-title {
  font-size: 13px;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 11px;
  color: #737373;
  line-height: 1.4;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 11px;
  color: #333;
  letter-spacing: 1px;
}

/* ---- Utility colors ---- */
.green { color: #22c55e; }
.yellow { color: #eab308; }
.red { color: #ef4444; }

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .hero { padding: 40px 16px 24px; }
  .logo { font-size: 22px; }
  .how-it-works { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }
  .form-card { padding: 20px 16px; }
  .features { grid-template-columns: 1fr; }
  .upload-section { padding: 16px 12px; }
}
