/* === MyJobJump Brand Variables === */
:root {
  --mjj-navy: #1c2350;
  --mjj-deep-purple: #211749;
  --mjj-olive: #2d3d1f;
  --mjj-forest: #263718;
  --mjj-muted-green: #5f8141;
  --mjj-royal-blue: #293476;
  --mjj-vibrant-blue: #323f8f;
  --mjj-plum: #432a59;
  --mjj-black: #070809;
  --mjj-white: #ffffff;
  --mjj-light-gray: #aeaeae;
  --mjj-dark-gray: #3f3f3f;
  --mjj-gold: #d9b314;

  /* Semantic mappings */
  --bg-primary: #0e1225;
  --bg-card: #161b35;
  --bg-input: #0e1225;
  --border-subtle: #2a3158;
  --border-card: #2a3158;
  --text-primary: #f0f1f5;
  --text-secondary: #9ca3bf;
  --text-muted: #6b7194;
  --accent: var(--mjj-muted-green);
  --accent-hover: var(--mjj-olive);
  --accent-glow: rgba(95, 129, 65, 0.15);
  --accent-border: rgba(95, 129, 65, 0.3);
}

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

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

/* Header */
.site-header {
  background: var(--mjj-forest);
  border-bottom: 1px solid rgba(95, 129, 65, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  height: 40px;
  width: auto;
}

/* Steps */
.step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.step.active {
  display: block;
}

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

/* Badge */
.badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--mjj-muted-green);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent-border);
}

/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Intro with Headshot */
.intro-with-headshot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.intro-with-headshot .subtitle {
  margin-bottom: 0;
}

.headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--accent-border);
  flex-shrink: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-icon {
  color: var(--mjj-muted-green);
  font-size: 0.5rem;
}

/* Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

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

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

/* Drop Zone */
.drop-zone {
  border: 2px dashed var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.drop-zone.drag-over {
  border-color: var(--mjj-muted-green);
  background: var(--accent-glow);
}

.drop-zone.has-file {
  border-color: var(--mjj-muted-green);
  border-style: solid;
  background: rgba(95, 129, 65, 0.05);
}

.drop-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.drop-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.drop-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-secondary {
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

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

.drop-zone-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.drop-zone-file span {
  color: var(--mjj-muted-green);
  font-weight: 600;
  font-size: 1rem;
}

.btn-remove {
  padding: 0.35rem 0.75rem;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-remove:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.divider span {
  padding: 0 1rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 2rem;
  background: var(--mjj-olive);
  color: var(--mjj-white);
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--mjj-forest);
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-primary:disabled {
  background: var(--border-subtle);
  cursor: not-allowed;
}

.btn-large {
  padding: 1.1rem 2rem;
  font-size: 1.15rem;
  width: auto;
  display: inline-block;
}

.disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Social Proof */
.social-proof {
  border-left: 3px solid var(--mjj-muted-green);
  padding: 1rem 1.5rem;
  background: rgba(95, 129, 65, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Results */
#results-content {
  margin-bottom: 2.5rem;
}

.score-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.score-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.score-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.score-high {
  background: rgba(95, 129, 65, 0.15);
  color: #7cb950;
}

.score-mid {
  background: rgba(217, 179, 20, 0.15);
  color: var(--mjj-gold);
}

.score-low {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.score-section p,
.score-section li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.score-section ul {
  list-style: none;
  padding: 0;
}

.score-section li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.score-section li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--mjj-muted-green);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--mjj-navy) 0%, var(--bg-card) 100%);
  border: 1px solid var(--mjj-royal-blue);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.cta-card h2 {
  font-size: 1.75rem;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.cta-card .btn-primary {
  background: var(--mjj-deep-purple);
}

.cta-card .btn-primary:hover {
  background: var(--mjj-navy);
}

.cta-sub {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* Spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-subtle);
  border-top-color: var(--mjj-muted-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 4rem;
  background: var(--mjj-forest);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.7;
}

footer p {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 1.65rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.5rem;
  }

  .cta-card {
    padding: 1.75rem;
  }

  .intro-with-headshot {
    flex-direction: column;
    text-align: center;
  }

  .headshot {
    width: 80px;
    height: 80px;
  }

  .btn-large {
    width: 100%;
  }
}
