.hero {
  background: var(--bg);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-family: 'Barlow', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

.search-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.search-card {
  background: transparent;
  padding: 0;
  text-align: center;
}

.search-label {
  display: none;
}

.search-row { 
  display: flex; 
  min-height: 58px; 
  justify-content: center;
  max-width: 580px;
  margin: 0 auto;
}

.vin-input {
  flex: 1;
  min-height: 58px;
  background: #fff;
  border: 2px solid #000;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: #000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.vin-input::placeholder {
  text-transform: none;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0;
  color: var(--text-faint);
  font-size: 15px;
}

.vin-input:focus {
  outline: none;
  background: #fcfcfc;
}

.vin-input:focus + .lookup-btn {
  border-color: var(--blue);
}

.lookup-btn {
  height: 58px;
  padding: 0 32px;
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 0 8px 8px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.lookup-btn:hover {
  background: #222;
  border-color: #222;
}

.lookup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vin-hint {
  font-size: 12px;
  color: #f87171;
  margin-top: 8px;
  min-height: 18px;
}

/* ---- Mode toggle ---- */

.mode-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
  background: #eee;
  border-radius: 10px;
  padding: 3px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.mode-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: #000;
  color: #fff;
}

.mode-btn:hover:not(.active) {
  color: #374151;
}

/* ---- Manual selects ---- */

.manual-selects {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.manual-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.manual-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.manual-select-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  padding-left: 4px;
}

.manual-select {
  padding: 10px 28px 10px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  background: #f9fafb;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.manual-select:hover:not(:disabled) {
  border-color: #d1d5db;
  background: #fff;
}

.manual-select:focus {
  outline: none;
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.manual-select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f3f4f6;
}
